
On Feb 1, 2009, at 01:16, Frédéric Bonifas wrote:
I have generated 160 .osm files with srtm2osm to generate a garmin elevation map for France. When trying to run mkgmap-r844 on the folder containing the files, I got a problem :
Exception in thread "main" java.lang.NullPointerException at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java: 991) at java.lang.Double.parseDouble(Double.java:510) at uk .me .parabola .mkgmap.reader.osm.xml.Osm5XmlHandler.addNode(Osm5XmlHandler.java:316)
It looks like the .osm-file is malformed, or at least not in the format mkgmap expects: This is mkgmap trying to parse the latitude and longitude of a node as floating point numbers and failing. Perhaps they're in a different format or missing? Cheers Robert