NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

5
1

My area of interest will fit better on a printed page if rotated first. Is there a simple way to do this?

As an example, Toronto, if printed, would fit better on a page in landscape mode. But Toronto would fit even better* on a printed page if the northern boundary of the city were parallel to the top edge of the printed page.

Toronto, default rotation

Toronto, rotated to align northern boundary with paper edge

asked 07 Dec '10, 13:33

Richard%20Weait's gravatar image

Richard Weait
3.0k133452
accept rate: 17%

edited 07 Dec '10, 14:21

Just a note: I generally find it very confusing if a map is not oriented to the north, as is common for maps. So you might want stick to the standard orientation...

(13 Jan '11, 10:49) sleske
1

Local street atlases to me (where the nearby coastline runs roughly NE to SW) generally rotate the town to make best use of the space, rather than having N at the top and half of each page purely North Sea. Also information boards around the town often have a rotated map of the town to make best use of space available. This requirement might be peculiar to coastal areas, but for local maps in such areas might well be common. See e.g. town map on council run website at http://www.essex-sunshine-coast.org.uk/findus.htm and compare to http://osm.org/go/0EHmHUA8--

(28 Feb '11, 15:14) EdLoach ♦

I don't know about "easy", but in Maperitive you can export a Web tiles map into a SVG file with tiles attached to it. Then you can rotate it in a SVG editor (or just print it rotated, if your SVG software allows this).

UPDATE: or, even simpler, use export-bitmap command in Maperitive to generate the bitmap and then rotate it in bitmap editing software (I managed to do that using Paint.NET).

permanent link

answered 07 Dec '10, 13:52

Breki's gravatar image

Breki
2.0k51843
accept rate: 10%

edited 07 Dec '10, 16:43

2

If you rotate after rendering, the labels will be rotated as well (definitely if you rotate as a bitmap, and probably also when rotating a vector image). This is probably not what he wants...

(25 Mar '11, 11:56) sleske

You can take an OpenStreetMap image and rotate it using raster graphics editing software (e.g. photoshop, gimp, or Paint.NET) The result of this is illustrated in the question. It works OK, but the motorway labels and the 'Toronto' text label are no longer horizontal, and there is a fuzziness introduced by rotating raster graphics by anything other than 90 degrees.

You could export an OpenStreetMap image to SVG, and then rotate it using vector graphics editing software (e.g. Inkscape, or Adobe Illustrator) You could then attempt to fix the labels by manually rotating them back to horizontal one by one. This approach would be a bit laborious even if it worked, but for the complexity of the map image shown, it might be too much data complexity to work with (most computers wouldn't cope well with opening the file) Another subtle point about this approach, is that collision detection in the rendering process will not take account of the re-rotated label positions.

The best approach, yielding output with the text labels still drawn horizontally, will be to render the map data again yourself. This involves familiarising yourself with rendering software such as Mapnik or maperative, and generally is not all that simple. Additionally there's still the problem of how to do the rotating. A smart solution would be to apply some sort of projection on the data within the rendering set-up, or within postGIS as the data is read out. A less smart solution is to simply rotate the data (without uploading!), such that things are no longer geolocated properly, and then the renderer can produce what it thinks is a normal north upwards map. There's some good looking rotated maps by Holger Schöner here with some technical details.

permanent link

answered 10 Oct '11, 13:06

Harry%20Wood's gravatar image

Harry Wood
9.5k2588128
accept rate: 14%

edited 10 Oct '11, 13:11

I posted this on Gis stackexchange, and got some answers, basically either rotate everythong in postgis, but really no ready made solutions, but an idea how to do it.

Rotating text lables in Mapnik

still missing rotation for pointsymbolizers and highway shields.

permanent link

answered 14 Jan '11, 21:11

emj's gravatar image

emj
2.0k123547
accept rate: 15%

edited 17 Jan '11, 07:13

If you are using the online rendered maps there is no way to rotate the labels, but other than that it is quite possible to get the map oriented 90°. The simplest way is probably to manually select an area when exporting and print in the orientation you want. See the wiki for more methods.

If you want to rotate the map in another angle say 60° you will get into problems with the rendered maps. You can try rendering your own map if you dare, or you could try an image editor like Gimp or Photoshop and see what the result is.

permanent link

answered 07 Dec '10, 13:52

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

edited 25 Mar '11, 07:22

emj's gravatar image

emj
2.0k123547

You can use osmarender to render the map on your own and then put the .svg output in inkscape to rotate it there.

permanent link

answered 07 Jan '11, 14:56

Kartograefin's gravatar image

Kartograefin
592178
accept rate: 0%

how do you not rotate the text labels?

(25 Mar '11, 07:20) emj
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×55
×12

question asked: 07 Dec '10, 13:33

question was seen: 33,006 times

last updated: 10 Oct '11, 13:11

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum