Hi,

1. ) Is there a way to draw a small image over  a dashed line? I tried using
the ShieldSymbolizer with the LineSymbolizer. In the ShieldSymbolizer, I
specified size as "0" to indicate that I do not want to write a text on the
image.

Following is textual representation of what I am trying to render. It is
okay to draw the image and the name anywhere on the line.

====<image> ============ My line name here ===================


            <LineSymbolizer>
                <CssParameter name="stroke">rgb(255,0,0)</CssParameter>
                <CssParameter name="stroke-width">2.5</CssParameter>
                <CssParameter name="stroke-dasharray">4,2</CssParameter>
            </LineSymbolizer>
             <ShieldSymbolizer name="NAME" face_name="DejaVu Sans Bold"
size="0" fill="#ff0000" min_distance="50" file="path to my png file"
type="png" width="15" height="15" spacing="100"
allow_overlap="false"></ShieldSymbolizer>
            <TextSymbolizer name="NAME" face_name="DejaVu Sans Bold"
size="8" fill="rgb(204,204,204)" placement="line"
allow_overlap="true"></TextSymbolizer>

2) Is there a way to draw a line with double dashes (=====) without  using
the LinePatternSymbolizer?

Thanks,

-- MB.
Tired of reading blogs? Listen to  your favorite blogs at
http://www.blogbard.com   !!!!
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to