--- In [email protected], Frank Warmerdam <[EMAIL PROTECTED]> wrote:
> On Tue, 15 Feb 2005 14:40:50 -0700, Canfield, Andrew
> <[EMAIL PROTECTED]> wrote:
> >
> > To anyone who may know,
> >
> > I have the following code:
> > poFeature->SetSymbolNo(33);
> > poFeature->SetSymbolSize(16);
> > poFeature->SetSymbolColor(16711680);
> >
> > It sets the color and the size just fine but no matter what I put in
> > SetSymbolNo I always get a box. Does anyone have an idea as to
what I might
> > be doing wrong?
> >
> > I am using the mitab source from version 1.3.0-win32
> >
> > I would like to change the symbol to a circle if at all possible.
Any help
> > would be greatly appreciated.
>
> Andy,
>
> I skimmed through the code, and I don't see any obvious reason why the
> symbol number would be lost. If you re-read the file that you
wrote, does
> the symbol number seem to be preserved as far as MITAB knows? Have
> you tried writing to a mif file and see if that works properly?
>
> If you can find a "round trip" problem, then it should be pretty
easy to
> track down for Daniel or I. Just submit a bug report with a short
program
> that demonstrates the problem, and we can track through to see what is
> getting lost. However, if the data seems to come back fine as far as
> MITAB is concerned, but it still does not display right in MapInfo
it will
> be harder to deal with. Working with mif helps out in that it is
easier to
> fiddle with the text file to see what we *ought* to be writing.
>
> Best regards,
> --
>
---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED]
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | Geospatial Programmer for Rent
Frank,
I found the problem but I don't know if it's a bug or if it's by
design. I was using a TABCustomPoint and the symbol was always zero in
a mif file I switched it to TABPoint and it works just fine. I don't
know if TABCustomPoint is supposed to support symbol styles or not. If
it is I can submit it as a bug but if it doesn't by design then I just
know to use TABPoint from now on. If you could let me know which it is
I'd appreciate it.
Thanks,
Andy
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/mitab/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/