
Thank you very much for patching again. Here is the output of the new r2235: SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240169.osm.pbf: Type=66057, l=[4344]nullnumber of light and eclipse phases has to be equal SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240256.osm.pbf: OSM id 858908267 (java.lang.NumberFormatException: For input string: "0.7(1.3)0.7(2.8)") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240256.osm.pbf: OSM id 858908267 (java.lang.NumberFormatException: For input string: "0.7(1.3)0.7(2.8)") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240256.osm.pbf: OSM id 858908267 (java.lang.NumberFormatException: For input string: "0.7(1.3)0.7(2.8)") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240256.osm.pbf: OSM id 858908267 (java.lang.NumberFormatException: For input string: "0.7(1.3)0.7(2.8)") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240256.osm.pbf: OSM id 858908267 (java.lang.NumberFormatException: For input string: "0.7(1.3)0.7(2.8)") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240273.osm.pbf: Type=66058, l=[1675]nullnumber of light and eclipse phases has to be equal SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240320.osm.pbf: OSM id 1329409893 (java.lang.NumberFormatException: For input string: "5n") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240320.osm.pbf: OSM id 1329409893 (java.lang.NumberFormatException: For input string: "5n") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240320.osm.pbf: OSM id 1329409893 (java.lang.NumberFormatException: For input string: "5n") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240384.osm.pbf: OSM id 34329207 (java.lang.NumberFormatException: For input string: "0.3(2.7)0.3(2.7)0.3(8.7)0.3(8.7)") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240496.osm.pbf: OSM id 1653367564 (java.lang.NumberFormatException: empty String) SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240496.osm.pbf: OSM id 1653367564 (java.lang.NumberFormatException: empty String) SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240496.osm.pbf: OSM id 1653367564 (java.lang.NumberFormatException: empty String)
-----Ursprüngliche Nachricht----- Von: mkgmap-dev-bounces@lists.mkgmap.org.uk [mailto:mkgmap-dev- bounces@lists.mkgmap.org.uk] Im Auftrag von Ronny Klier Gesendet: Dienstag, 28. Februar 2012 22:54 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] [Patch] sequence in marine charts
Hi,
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240171.osm.pbf: OSM id 858908267 (java.lang.NumberFormatException: For input string: "0.7(1.3)0.7(2.8)")
If there are only a small number of lights with sequence given in this format I would propose to insert the + signs. This format is defined by the norm IHO-S-57 (see http://www.caris.com/S- 57/frames/S57catalog.htm, Object:Lights, Attribute:SIGSEQ) which is referred by OpenSeaMap/Lights Data Model.
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240226.osm.pbf: number of light and eclipse phases has to be equal
This seems to be an error in OSM data. It would mean that two phases of light or eclipse follow each other but this isn't possible. The attached patch includes the OSM id in the message, so it should be easy to fix the error. The patch also fixes a problem introduced with my last patch: single light phases (e.g. 1+(2)) were ignored.
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240347.osm.pbf: OSM id 34329207 (java.lang.NumberFormatException: For input string: "0.3(2.7)0.3(2.7)0.3(8.7)0.3(8.7)") SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240411.osm.pbf: OSM id 1329409893 (java.lang.NumberFormatException: For input string: "5n")
I don't know what this should mean. Does anybody else?
SCHWERWIEGEND (ExtTypeAttributes): ..\tiles\63240577.osm.pbf: OSM id 1579301572 (java.lang.NumberFormatException: For input string: "unknown")
We could not invent missing information ;-)
Ronny