On Sat, Aug 6, 2011 at 6:40 PM, Peter Körner <[email protected]> wrote:
> Hi
>
> I'm using Mapnik trunk. I have all my symbols as SVGs and would like to
> tender them at different sized depending on zoom level (on z14 at 16px, on
> z18 ad 24px).
>
> I tried to use an PointSymbolizer with width-argument, but mapnik complains
> about with not being an attribute of PointSymbolizer.
>
> In fact, mapnik tries to read the size from the svg. I know that it is
> possible to change the size of the icon on the map using transform, but
> writing transform="scale(0,027)" instead of width="16" seems rather
> complicated to me.

I have a similar issue with the pointsymbolizer and raster images. For
unimportant reasons I used a 1px transparent .png file with a
combination of widths and heights to stretch it appropriately, but
this is no longer possible in mapnik trunk. I've had to generate lots
of transparent .png files of different sizes.

I can see the (huge) advantages in making width and height optional,
but I don't know why they were removed entirely. It would be nice to
have them as optional parameters again for the few occasions that they
are useful.

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

Reply via email to