All, How about just using a "+" sign as a symbol for the line instead of all the STYLE stuff?
bobb >>> "Bistrais, Bob" <[email protected]> wrote: Hmm, still not getting the spacing correct. The crossties seem to be at a consistent interval, but the dashed centerline isn't spacing well- sometimes I get ties centered on the line (which is whaat I want), and sometimes the ties are at the end of a dash. -----Original Message----- From: thomas bonfort [mailto:[email protected]] Sent: Thursday, September 22, 2011 11:21 AM To: Bistrais, Bob Cc: [email protected] Subject: Re: [mapserver-users] Abandoned railroad symbol SYMBOL NAME "tie" TYPE TRUETYPE FONT "path/to/arial.ttf" CHARACTER "|" END CLASS EXPRESSION ('[STATUS]' = '3') # The crossties: STYLE COLOR 200 200 200 SIZE 4 SYMBOL "tie" GAP -10 END # The centerline: STYLE COLOR 200 200 200 WIDTH 1 PATTERN 5 10 END END END On Thu, Sep 22, 2011 at 17:15, Bistrais, Bob <[email protected]> wrote: > I've been playing around with the symbology but I'm not getting my spacing > right. I'm trying to create a symbol for abandoned railroad track, looks > like the standard RR symbol, a line with the crossties, but dashed. Here is > my code. Problem is, although I get a dashed line and the crossties, the > interval isn't correct, and I was wondering if anyone had advice on making > it more consistent so the crossties are always on the dashed line: > > > > CLASS > > EXPRESSION ('[STATUS]' = '3') > > # The crossties: > > STYLE > > COLOR 200 200 200 > > WIDTH 4 > > LINECAP BUTT > > ANGLE 90 > > PATTERN > > 1 10 > > END > > END > > # The centerline: > > STYLE > > COLOR 200 200 200 > > WIDTH 1 > > PATTERN > > 5 10 > > END > > END > > > > END > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
