[mapserver-users] Symbols in MapInfo
Agnieszka Żak
agnieszka_zak at interia.pl
Sun Mar 31 09:21:53 PST 2002
Hi,
Thanks a lot. It works.
But I have some questions:
How can I read different line styles from MapInfo files (.tab). I have tried
to write 'mapinfo-xx' in my .sym file but I get only solid lines.
I want to read all MapInfo line styles. How can I change line style at run
time (I would like to give users a possibility to create workspace -
something like .wor in MapInfo).
I have MapInfo layer with lines, polygons and symbols. Do you have any idea
of how can I read this?
I use MapServer 3.5 and PHP.
Thanks for any help.
Regards,
Agnieszka Żak
> When you use STYLEITEM AUTO, MapServer tries to match symbol names
> returned by OGR to names in your symbol file. For a quick solution, try
> using the following symbol file:
>
> http://www2.dmsolutions.ca/msapps/yk_demo/etc/symbols_mapinfo.sym
>
> The name of the symbols returned by OGR to MapServer depends on the file
> format. In the case of MapInfo files, it will be:
>
> - For "old-style" symbols (default MapInfo 3.0 symbols numbered 32 to
> 67) the symbol name will be 'mapinfo-sym-##' where '##' is the symbol
> number, e.g. 'mapinfo-sym-32'
>
> - For "Font Symbols", the symbol name is also 'mapinfo-sym-##' where
> '##' is the symbol number in the font. In this case, the name of
> the font itself is ignored by MapServer.
>
> - MapInfo also supports "custom symbols" (bitmap symbols)... I'm not
> sure what you would get from OGR for this, but I'm pretty sure that
> MapServer doesn't do anything useful with them.
>
>
> Also note that the 'ogrinfo' utility can be used to find out exactly
> which symbol names OGR will return to MapServer. Look at the "Style"
> string in the ogrinfo output for each shape that is read.
>
> I hope that helps,
> --
> ------------------------------------------------------------
> Daniel Morissette morissette at dmsolutions.ca
> DM Solutions Group http://www.dmsolutions.ca/
> ------------------------------------------------------------
> Don't put for tomorrow what you can do today, because if
> you enjoy it today you can do it again tomorrow.
----------------------------------------------------------------------
Informacje i akty prawne. Kompleksowa baza danych.
>>> http://nettax.interia.pl/
More information about the MapServer-users
mailing list