--- 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

I just checked a MIF file instead of a tab as you suggested and the
symbol comes out like so:
Symbol ("Arial",16711680,16,0)

it appears the symbol number is getting lost. I'll do a quick console
app that writes a single point to a MIF and see if it does the same
thing. If it does I'll submit that as you suggest. If not then I'll
try and figure out where I messed up in my code.
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/
 



Reply via email to