[mapserver-users] Railroad and dual carriage way styles

Sara Yurman syurman at spatialfocus.com
Tue Mar 19 03:56:43 PST 2002


Could somebody let me know if you're able to make a good quality line 
with this railroad symbol?  I've had it flatten out as it turns corners.

Sara

TCHaddad wrote:
> Mapservers,
> 
> In the archive I found the following exmaple for "Railroad and dual carriage way styles":
> 
> http://mapserver.gis.umn.edu/cgi-bin/wilma_hiliter/mapserver-users/0112/msg00142.html
> 
> However, when I add the symbol 'circle' to my symbolset, and refer to it in my map file, it bombs out. Conversely, when I comment out the map file ref. to 'circle' and the symbol in the symbolset, everything works again...
> 
> I've attached my symbolset and the layer def. below.-- What am I doing wrong? (Apologies if it is something obvious...)
> 
> TH
> 
> MSS 3.5, WIN2k, IIS
> 
> ----------------------------------------------------------
> 
> LAYER
>   NAME Main_Roads
>   GROUP roads
>   TYPE LINE
>   DATA "d:\gis\roads"
>   STATUS OFF
>   CLASS
>     SYMBOL 'circle'
>     COLOR 0 0 0
>     SIZE 5
>     OVERLAYSYMBOL 'circle'
>     OVERLAYCOLOR 255 0 0
>     OVERLAYSIZE 3
>   END
> END
> 
> ----------------------------------------------------------
> 
> SYMBOLSET
> 
>   Symbol
>     NAME 'interstate_shield'
>     TYPE PIXMAP
>     IMAGE 'symbols/interstate.gif'
>     TRANSPARENT 7
>   END
> 
>   Symbol
>     NAME 'us_highway_shield'
>     TYPE PIXMAP
>     IMAGE 'symbols/ushwy.gif'
>     TRANSPARENT 1
>   END
> 
>   Symbol
>     NAME 'state_highway_shield'
>     TYPE PIXMAP
>     IMAGE 'symbols/sthwy.gif'
>   END 
> 
>   Symbol
>     NAME 'county_highway_shield'
>     TYPE PIXMAP
>     IMAGE 'symbols/ctyhwy.gif'
>     TRANSPARENT 0	
>   END
> 
>   Symbol
>     NAME 'circle'
>     TYPE ELLIPSE
>     FILLED true
>       POINTS
>         1 1
>       END
>   END
> 
> END # MapServer Symbol Set
> 
> ----------------------------------------------------------
> 
> 
> 






More information about the MapServer-users mailing list