logo separator

[mkgmap-dev] NumberFormatException when making marine chart

From RheinSkipper rheinskipper1000 at gmx.de on Wed Feb 15 16:49:25 GMT 2012

> -----Ursprüngliche Nachricht-----
> Von: Ronny Klier [mailto:ronny.klier at s1999.tu-chemnitz.de]
> Gesendet: Montag, 13. Februar 2012 22:18
> An: Development list for mkgmap
> Betreff: Re: [mkgmap-dev] NumberFormatException when making marine
> chart
> 
> Am 08.02.2012 22:54, schrieb Steve Ratcliffe:
> > On 08/02/12 18:55, Marko Mäkelä wrote:
> >> On Wed, Feb 08, 2012 at 06:16:19PM +0100, Jürgen Baumgartl wrote:
> >>> When I use the marine style from resources/styles/marine, I get a
> >>> lot of errors similar to this:
> >>>
> >>> SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240040.osm.pbf: OSM
> id
> >>> 1460137282
> >>>
> >>> (java.lang.NumberFormatException: For input string: "3+")
> >>
> >> Do you see it in
> http://www.openstreetmap.org/browse/node/1460137282
> >> or does it come from the style? In the source data, there seems to be
> >> seamark:light:sequence="3+(1)". Is this causing the error?
> >
> > Yes it is. The piece of code that deals with light:sequence's is
> > unfinished and does nothing, so I suggest just commenting it out as in
> > attached patch. Until someone works out how to make them work.
> 
> The attached patch enables/fixes the encoding of sequence. A new line
> appears in the property window ("Blinkfolge" in german MapSource, I
> suppose this will be sequence in english).
> 
> While debugging the code I found that many seamark* attributes used in
> ExtTypeAttributes.java were not contained in attributes map although they
> are set in OSM data. It seems that there has to be a rule for each
attribute in
> style. Is there a possibility to force mkgmap to keep all seamark
attributes?
> 
> Ronny



Thank you very much for working on this problem.

With the new release of mkgmap I do not get these errors anymore when
compiling a Germany map.

But when compiling Europe, there are still a few hundred similar errors.

Here are some of them:

SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240139.osm.pbf: OSM id
1370799327 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240139.osm.pbf: OSM id
1370799327 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240167.osm.pbf: OSM id
1568125071 (java.lang.NumberFormatException: For input string: ",0.5")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240167.osm.pbf: OSM id
1568125071 (java.lang.NumberFormatException: For input string: ",0.5")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240167.osm.pbf: OSM id
1568125071 (java.lang.NumberFormatException: For input string: ",0.5")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240187.osm.pbf: OSM id
1370800943 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240187.osm.pbf: OSM id
1370800943 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240187.osm.pbf: OSM id
1370800943 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240191.osm.pbf: OSM id
1572635927 (java.lang.NumberFormatException: For input string: ",0.5")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240191.osm.pbf: OSM id
1572635927 (java.lang.NumberFormatException: For input string: ",0.5")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240191.osm.pbf: OSM id
1572635927 (java.lang.NumberFormatException: For input string: ",0.5")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240235.osm.pbf: OSM id
1370799398 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240235.osm.pbf: OSM id
1370799398 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240235.osm.pbf: OSM id
1370799398 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240251.osm.pbf: OSM id
1370799843 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240251.osm.pbf: OSM id
1370799843 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240251.osm.pbf: OSM id
1370799843 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240261.osm.pbf: OSM id
1420666124 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240261.osm.pbf: OSM id
1420666124 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240261.osm.pbf: OSM id
130475520 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240261.osm.pbf: OSM id
1420666124 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240296.osm.pbf: OSM id
1370799405 (java.lang.NumberFormatException: For input string: ",1")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240296.osm.pbf: OSM id
1370799406 (java.lang.NumberFormatException: For input string: ",0.2")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240296.osm.pbf: OSM id
1370799408 (java.lang.NumberFormatException: For input string: ",0.2")
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240296.osm.pbf: OSM id
1370799405 (java.lang.NumberFormatException: For input string: ",1")





More information about the mkgmap-dev mailing list