Why not ask your question on the new OpenStreetMap Community Forum?

I generated an OSM elevation contours file (using srtm2osm, from SRTM data), and want to use that in JOSM as a guide to mapping rivers, but can't find any way to make JOSM show the contours.

Using JOSM, I downloaded the relevant region from OSM, created a new layer, opened the contours file (which took a while to open, because it's a big file) but I can't find any way to make the contours visible. The contours file does appear to be correct, as I successfully used mkgmap to show its contents on my GPS.

So, am I missing something? Or does JOSM deliberately not show elevation contours?

asked 22 Jan '11, 16:24

tongro's gravatar image

accept rate: 0%

closed 22 Jan '11, 18:22

Richard's gravatar image

Richard ♦


It's really a Java issue, affecting any Java program, not just JOSM. You specify the memory allocation in the Java command. To allow up to 1GB you would do something like: java -Xmx1000M /usr/share/josm/josm.jar

(26 Jan '11, 21:35) tongro

The question has been closed for the following reason "User solved his own issue" by Richard 22 Jan '11, 18:22

Apologies, it turned out to be a memory issue. The file opening was failing silently. Increasing the Java memory allocation worked.

Matter closed.

permanent link

answered 22 Jan '11, 17:29

tongro's gravatar image

accept rate: 0%

Follow this question

By Email:

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



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:


question asked: 22 Jan '11, 16:24

question was seen: 7,487 times

last updated: 26 Jan '11, 21:35

powered by OSQA