[OSM-dev] help: drawing circles on mapnik
Enzo Losantas
joselorenzo at gmail.com
Mon Nov 17 03:40:11 GMT 2008
Thanks Andy for replying.. somehow gave me an idea how it works.
although there are still things that im confused about. as for the kind of
circles, maybe circles that have dynamic
radius based on a certain parameter. Since these are varying radii, I'll
probably follow your advice regarding
drawing polylines in postgis.
As for the item on LineSymbolizer / PolygonSymbolizer, can you help me with
this? Are there any available
API or references that can be of help as well? How does this work exactly?
thanks,
Enzo
On Wed, Nov 12, 2008 at 8:16 PM, Andy Allan <gravitystorm at gmail.com> wrote:
> What kind of circles are you looking for? If you just want small
> circles to mark point locations, then make a .png and use a
> PointSymbolizer with it. But if you're trying to vary the size of the
> circles, like for example "draw me a circle where the radius is
> proportional to the population of the town", then you'd be better off
> creating polylines in postgis (or shapefile) and then just
> LineSymbolizer / PolygonSymbolizer depending on whether you want the
> outline or it filled.
>
> Cheers,
> Andy
>
> On Wed, Nov 12, 2008 at 2:54 AM, Enzo Losantas <joselorenzo at gmail.com>
> wrote:
> > hello,
> >
> > im wondering if anyone here is familiar with rendering osm through
> mapnik?
> > Particularly, anyone knows how to render circles? is it through node-ways
> or
> > it can be done through the rules?
> >
> >
> > _______________________________________________
> > dev mailing list
> > dev at openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/dev
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081117/e44a2f12/attachment.html>
More information about the dev
mailing list