[mapserver-users] Abandoned railroad symbol

Bistrais, Bob Bob.Bistrais at maine.gov
Thu Sep 22 09:35:52 PDT 2011


Hmm, that doesn't work too badly at all.  We'll see what the critics
think, but I like it!

 

________________________________

From: Bob Basques [mailto:Bob.Basques at ci.stpaul.mn.us] 
Sent: Thursday, September 22, 2011 12:23 PM
To: thomas bonfort; Bistrais, Bob
Cc: mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] Abandoned railroad symbol

 

All, 


How about just using a "+" sign as a symbol for the line instead of all
the STYLE stuff? 

 

bobb 

 


>>> "Bistrais, Bob" <Bob.Bistrais at maine.gov> 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:thomas.bonfort at gmail.com]
Sent: Thursday, September 22, 2011 11:21 AM
To: Bistrais, Bob
Cc: mapserver-users at lists.osgeo.org
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 <Bob.Bistrais at maine.gov>
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
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110922/218c9e1e/attachment.htm>


More information about the MapServer-users mailing list