On Jul 9, 2010, at 5:02 PM, Mak Kolybabi wrote:

> I was very excited to find that the development version of Mapnik has the
> ability to use SVG images.

Yes, this is really fantastic recent work - thanks Artem and the mapquest team 
(http://devblog.mapquest.com/).

> In the process of converting everything I can to SVG,
> I've run into a problem with the ShieldSymbolizer.

Yes, I see that. Seems a ticket is in order!

Also, since you appear to be needing to not place text, you might be interested 
in trying out the markers_symbolizer. Thanks to the great work of Hermann it 
now has spacing and collision avoidance: http://trac.mapnik.org/ticket/553

> 
> Using the sign.svg file, Mapnik r1964, and the following rule, there appears 
> to
> be a dot on the "T", which gets worse as the sign approaches the desired 
> (small)
> size. At the small size, the T even start to turn grey for some reason. The 
> big
> file has transform="scale(4.0,4.0)", the small file has
> transform="scale(0.5,0.5)", and the normal file has no transformation.
> 
>  <Rule>
>    <Filter>
>      [highway] eq 30
>    </Filter>
>    <ShieldSymbolizer
>       avoid_edges="true"
>       base="badges"
>       face_name="DejaVu Sans Bold"
>       file="sign.svg"
>       min_distance="50"
>       name="''"
>       no_text="true"
>       placement="line"
>       type="svg">
>    </ShieldSymbolizer>
>  </Rule>
> 
> Any suggestions would be appreciated.
> 
> -- 
> Mak Kolybabi
> Programmer
> Telenium Inc.
> 204-957-2821
> <sign.svg><svg-big.png><svg-normal.png><svg-small.png>_______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to