Well Kosmos does it like this "Width=1:1;9:1.5;17:6". Which means 1 pixel for zoomlevel 1, 1.5 pixels on zoomlevel 9 and 6 pixels on zoomlevel 17. You can give as much different widths as you want. As mapnik uses scaledenominator, it coulde be something like this, For example motorways <denominator>25000000:1, 5000000:1.5, 1000000:2, 500000:2.5</denominator>
On Sun, Mar 9, 2008 at 10:04 AM, Martijn van Oosterhout <[EMAIL PROTECTED]> wrote: > > > > On Sat, Mar 8, 2008 at 2:23 PM, Skywave <[EMAIL PROTECTED]> wrote: > > Hello all, > > > > While editing the Openstreetmap template for Mapnik, i noticed that there > > are many separate rules for separate zoom values. In the program i edited > > before, Kosmos, there are using a different way to do this. In Kosmos you > > will have to enter different widths for 2 or more zoom values and it will > > average the width for each zoom level. I think this is way simpler and > > better. Would Mapnik be able to support something similar? > > I've wondered about this myself but have not yet thought of a good way > of doing it. By that I mean: how do you fit it into the config file? > > Ideas? > > Have a nice day, > -- > Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/ > _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

