[Mapserver-users] Railway-line style

Krzysztof Chodak k.chodak at autoguard.pl
Tue May 20 07:39:17 EDT 2003


Such symbols still do not "keep" line direction (are always vertical)...

BR
 
Krzysztof Chodak
 


-----Original Message-----
From: Stepan Kafka [mailto:stepan.kafka at centrum.cz] 
Sent: Tuesday, May 20, 2003 1:13 PM
To: Krzysztof Chodak; mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] Railway-line style


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