[Mapserver-users] Railway-line style

Stepan Kafka stepan.kafka at centrum.cz
Tue May 20 07:13:00 EDT 2003


You can use truetype symbols eg. "|" overlayed upon the line. See
documentation. Here you have an example of the symbol definition:

SYMBOL
  NAME "railway"
  TYPE truetype
  FONT arial
  CHARACTER "|"
  GAP 25 # distance between symbols
END

In layer class definition (form 3.6.x, in 3.7 and 4.0 use rather STYLE) then


CLASS
  SYMBOL 'circle'
  COLOR 0 0 0
  SIZE 1
  OVERLAYSYMBOL 'railway'
  OVERLAYCOLOR 0 0 0
  OVERLAYSIZE 10
END

You may aslo use your own truetype symbols as you need.

Good luck

Stepan Kafka
Help Service Remote Sensing
tel: +420-327514118
mailto:kafka at email.cz
http://www.bnhelp.cz



> -----Puvodní zpráva-----
> Od: mapserver-users-admin at lists.gis.umn.edu
> [mailto:mapserver-users-admin at lists.gis.umn.edu]za uživatele Krzysztof
> Chodak
> Odesláno: 20. kvetna 2003 11:39
> Komu: mapserver-users at lists.gis.umn.edu
> Predmet: [Mapserver-users] Railway-line style
>
>
> Can anyone suggest a solution for making streight line with ticks
> along it?
> Like that one made from pluses +++++++++++++.
> It (ticks) should also follow line direction.
>
> BR
>
> Krzysztof Chodak
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
> ---
> Príchozí zpráva neobsahuje viry.
> Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
> Verze: 6.0.481 / Virová báze: 277 - datum vydání: 13.5.2003
>
---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.483 / Virová báze: 279 - datum vydání: 19.5.2003




More information about the mapserver-users mailing list