rlcave3rd wrote:
> Hello,
>
> Does MITAB have an option that can be used to suppress the pen and brush info
that is attached to lines and polygons in a MIF file? We've had a customer
request this.
>
There is no option in the tab2tab program to do this, so you'd need a
bit of coding to do it, either with the C API or with the C++ classes.
If this is just a one-shot deal, a simple hack to do what you want would
be to convert the dataset to MIF, then use "grep -v" to filter out the
PEN and BRUSH lines, and finally convert back to TAB:
e.g. something like this (untested):
tab2tab source.tab tmp.mif
grep -v "PEN(" tmp.mif > tmp2.mif
grep -v "BRUSH(" tmp2.mif > tmp.mif
rm tmp2.mif
tab2tab tmp.mif dest.tab
This is for Unix/Linux of course, but there are several places offering
Windows ports of Unix/Linux utilities including
http://gnuwin32.sourceforge.net/
Daniel
--
Daniel Morissette
http://www.mapgears.com/