logo separator

[mkgmap-dev] meaning of compile errorrs

From maning sambale emmanuel.sambale at gmail.com on Wed Aug 25 09:14:47 BST 2010

This is interesting because I converted the data from a GDB file (of
survey points) and then further edited in JOSM.  Node IDs are negative
because the data didn't come from the main OSM dbase.

head elkNEW_PRS92.osm<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' generator='JOSM'>

  <node id='-34478' action='modify' timestamp='2010-08-25T06:17:10Z'
visible='true' lat='7.310225' lon='122.845977'>
    <tag k='man_made' v='survey_point' />
    <tag k='name' v='ZSI-63' />
    <tag k='note' v='ZSI-63' />

  <node id='-34476' action='modify' timestamp='2010-08-25T06:17:10Z'
visible='true' lat='7.311016' lon='122.844688'>
    <tag k='man_made' v='survey_point' />
    <tag k='name' v='ZSI-62' />

On Wed, Aug 25, 2010 at 3:41 PM, Marko Mäkelä <marko.makela at iki.fi> wrote:
> On Wed, Aug 25, 2010 at 02:47:33PM +0800, maning sambale wrote:
>>I am compiling a custom map from OSM format, what do these error messages mean:
>>ava.lang.NumberFormatException: null
>>       at java.lang.Integer.parseInt(Integer.java:443)
>>       at java.lang.Integer.parseInt(Integer.java:514)
>>       at uk.me.parabola.mkgmap.scan.TokenScanner.nextInt(TokenScanner.java:255)
>>       at uk.me.parabola.mkgmap.osmstyle.StyleImpl.checkVersion(StyleImpl.java:564)
>>       at
>>       uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:133)
>>       at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.createConverter(Osm5MapDataSource.java:123)
>>       at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:81)
> Without looking at the code, it seems that the parser is expecting an
> XML attribute containing a (version?) number string, but it instead gets
> no attribute at all. It would be nice if Osm5MapDataSource.load() would
> catch the exception and add the source file and line number to the error
> message.
>        Marko
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/

More information about the mkgmap-dev mailing list