[OSM-talk] [Mapnik-devel] curves

Martijn van Oosterhout kleptog at gmail.com
Thu Jan 3 15:24:00 GMT 2008


On Jan 3, 2008 4:16 PM, Artem Pavlenko <artem.mapnik at googlemail.com> wrote:
> P.S. Are there some hints (tags) in OSM that can be used for to
> smooth or not?
> Also, are there are examples where it does work well and where it
> doesn't?

AFAIK there are no explicit hints, but there is code in osmarender to
do bezier curves. There there is a lot of fudging to make it look
good, but it's there. The main problem being that angles of 90 degrees
or greater should possibly not be rounded. I think we can pretty
safely turn it on for roads and river boundaries/coastlines. Though
the parts that represent piers need to be exempted somehow.

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the talk mailing list