logo separator

[mkgmap-dev] [Patch] sequence in marine charts

From Ronny Klier ronny.klier at s1999.tu-chemnitz.de on Tue Feb 28 21:54:08 GMT 2012

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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: sequence3.patch
Type: text/x-patch
Size: 1085 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120228/28a1d460/attachment.bin 


More information about the mkgmap-dev mailing list