You are not logged in.

#1 2011-02-28 03:57:41

blanco5
Member
Registered: 2010-12-08
Posts: 7

JOSM opening big maps

Hi,

I am trying to open the map of Poland with JOSM but the program freezes after a while and gives a heap error. Merkaartor also freezes. Any way of importing country OSM file to edit them?

Thanks.

Offline

#2 2011-02-28 06:21:04

csdf
Member
From: UK, living in Abu Dhabi
Registered: 2009-08-11
Posts: 313
Website

Re: JOSM opening big maps

You can try to allocate more space to josm using the -Xmx call, but ultimately you can't open really big maps in JOSM no matter what you try.  The biggest "usable" large map I've opened is a 13 Mb bz2 file (not sure how big that is uncompressed).

For example,

java -Xmx1500m -jar josm-tested.jar 

will allocate 1.5 Gb of heap space to JOSM.  Obviously your system must have this amount of RAM to start with.

Last edited by csdf (2011-02-28 06:21:46)

Offline

#3 2011-02-28 11:56:38

MikeN
Member
Registered: 2009-09-03
Posts: 326

Re: JOSM opening big maps

csdf wrote:

You can try to allocate more space to josm using the -Xmx call, but ultimately you can't open really big maps in JOSM no matter what you try.  The biggest "usable" large map I've opened is a 13 Mb bz2 file (not sure how big that is uncompressed).

   I have worked with a 420 MB uncompressed file as a second layer to compare road networks.   I didn't edit the 420 MB layer however.    I gave 4G of RAM to JOSM.

Offline

#4 2011-02-28 15:13:59

blanco5
Member
Registered: 2010-12-08
Posts: 7

Re: JOSM opening big maps

How about uncompressing the OSM file to individual files first or something like that, ie, preprocessing. All I want to do is open a map of a country and view it, so could I preprocess once and use the files from then onwards? Thanks.

Offline

#5 2011-03-01 07:28:48

Willi2006
Member
From: Khon Kaen, Thailand
Registered: 2009-12-12
Posts: 421
Website

Re: JOSM opening big maps

My recommendation is to download only the part needed for editing. Downloading and changing are much faster and the risk to change something by accident is much lower.

JOSM is great for editing but very limited for viewing a whole country because all details get drawn on each zoom level. To circumvent this different filters at different zoom levels could be used. But there are much better programs for viewing a map which are fast and show more details at higher zoom. Some offer even customizable rendering and routing: OSM wiki: Software

Last edited by Willi2006 (2011-03-01 07:29:48)

Offline

Board footer

Powered by FluxBB