This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Large map cropping issue

0

I'm trying to export an image (ideally an SVG) of the entire Fiji region - which is quite large.

Whenever I go to export the map, it's cropped to a smaller region than what I've selected. I've tried other formats, scales and regions, but it seems to be unable to export the whole area.

Are there any fixes or alternate ways of getting the full region?

This is what I'm selecting: http://i.imgur.com/Gj4O8Wv.png This is what gets exported: http://imgur.com/5FHVe0D

Thanks!

asked 03 Dec '15, 06:30

micjen0's gravatar image

micjen0
11112
accept rate: 0%


2 Answers:

3

I suspect you are seeing the problem because the area you select is spanning the 180° meridian. I would suggest, as a workaround, exporting two images, one for the area in the western hemisphere, and one for the part of Fiji in the eastern hemisphere.

There is likely a bug either in the area-selection code, or in the image export, that causes this.

answered 03 Dec '15, 11:34

Andy%20Allan's gravatar image

Andy Allan
12.5k23128153
accept rate: 28%

Thanks - good suggestion, but the bug seems to break the area directly adjacent to the meridian, giving me Invalid Bounding Box or server areas. In fact it's almost impossible to export the part of Fiji east of the line.

(07 Dec '15, 20:38) micjen0

0

I am not sure whether that "error" also occurs in other OSM based tools.

So have a look at OSM_on_Paper or SVG in the OSM wiki and tell us about success or failure.

answered 07 Dec '15, 17:04

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

I tried Mapbox earlier which had the same problem - but I'll give these a shot too, thanks.

(07 Dec '15, 20:40) micjen0

Source code available on GitHub .