[OSM-talk] Map rendering, which is not aligned to coordinate axes

simon at mungewell.org simon at mungewell.org
Wed Jul 15 21:06:44 BST 2009


> Cutting and rotating a "normal" map would of course not be appropriate,
> because (beside possible loss of quality) the labels would not be
> horizontal
> any more ...

If you were working in an SVG frame work you could rotate the whole image
then apply a reverse rotation limited to just the labels after the map was
rendered.

I also think that there is a osmarender 'parameter' which can set the
rotation on each element, so you could set this prior to rendering in your
rules file.

You can use osmosis to cut a bounding polygon out of OSM data, this might
help you limit the plot to that of a rotated rectangle (or other shape).
http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#--bounding-polygon_.28--bp.29

You don't say what the required graphic format is (SVG, PNG, tiles, etc).
Does osmarender provided suitable output for you?

Simon.






More information about the talk mailing list