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

Gary68 gary at gary68.de
Wed Jul 15 21:11:09 BST 2009


hi.

a surrounding polygon and osmosis would do the job on a planet file, i
think.

gary68
gerhard



On Wed, 2009-07-15 at 16:06 -0400, simon at mungewell.org wrote:
> > 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.
> 
> 
> 
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk





More information about the talk mailing list