[OSM-dev] [OSM] Informations about osmarender for Google SoC

Robert (Jamie) Munro rjmunro at arjam.net
Thu Mar 27 11:46:45 GMT 2008

Hash: SHA1

Frederik Ramm wrote:
| Currently all clipping in Osmarender is done through SVG, i.e.
| Osmarender always renders the full input even if you request to see
| only a small rectangle, and then it is left to the SVG renderer to
| cut out that rectangle. For top-quality maps this is probably
| unavoidable as there might be nods outside the rectangle that still
| influence what is seen inside the rectangle (think a node
| representing "place=city name=London" just outside your box; the text
| would stretch into the box).

I disagree with this point of view. In nearly all cases, if there is a
place outside the map, I don't want half of it's label on my map.
There's no point making a custom map if it is that crude. There is one
obscure exception, that only doesn't seem obscure because it's about all
we do at the moment, and that is where you are rendering a map in
sections that have match perfectly at the edges across the whole world
when they tile (tiles at home). 99% of maps are not tiled, they just
show a single area. Being able to not show half of names cut off should
be one of the advantages of generating a digital map from OSM data,
rather than cropping an image of a pre-rendered map.

Robert (Jamie) Munro
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the dev mailing list