Tile contains both drive-on-left and drive-on-right roads

Hi, I got this line in a log file : "2014/12/20 17:36:29 GRAVE (StyledConverter): 29730001.o5m: Attention: Tile contains both drive-on-left (95) and drive-on-right roads (7568)" How to find what is the wrong road(s) ? - mkgmap-r3383 - log.props : # This is the logging properties file for use with mkgmap: # java -ea -Dlog.config=logging.properties -jar mkgmap.jar ... # The default level FINE, WARNING, INFO, SEVERE .level=SEVERE #handlers: java.util.logging.ConsoleHandler handlers: java.util.logging.FileHandler # package or class name with .level appended and then the level #uk.me.parabola.imgfmt.level=INFO #uk.me.parabola.mkgmap.build.level=INFO uk.me.parabola.mkgmap.main.Main.level=WARNING #uk.me.parabola.mkgmap.main.MapMaker.level=INFO uk.me.parabola.mkgmap.general.RoadNetwork.level=WARNING #uk.me.parabola.mkgmap.general.MapLine.level=INFO uk.me.parabola.mkgmap.osmstyle.level=SEVERE uk.me.parabola.mkgmap.osmstyle.StyledConverter.level=WARNING uk.me.parabola.mkgmap.reader.osm.level=WARNING uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation.level=SEVERE uk.me.parabola.mkgmap.reader.osm.RestrictionRelation.level=WARNING uk.me.parabola.mkgmap.reader.osm.Restriction.level=WARNING uk.me.parabola.mkgmap.reader.osm.boundary.level=WARNING #uk.me.parabola.mkgmap.osmstyle.stats.level=INFO # For ConsoleHandler java.util.logging.ConsoleHandler.level=FINE java.util.logging.ConsoleHandler.formatter=uk.me.parabola.log.UsefulFormatter # For FileHandler java.util.logging.FileHandler.level=FINE java.util.logging.FileHandler.encoding=UTF-8 java.util.logging.FileHandler.formatter=uk.me.parabola.log.UsefulFormatter #java.util.logging.FileHandler.limit=5000000 #java.util.logging.FileHandler.count=4 java.util.logging.FileHandler.pattern=mkgmap.log java.util.logging.FileHandler.append=false Steph

Le 20/12/2014 17:50, Stéphane MARTIN a écrit :
Hi,
I got this line in a log file :
"2014/12/20 17:36:29 GRAVE (StyledConverter): 29730001.o5m: Attention: Tile contains both drive-on-left (95) and drive-on-right roads (7568)"
It's because there are (95) roads in Surinam (drive-on-left) and (7568) roads in French Guiana (drive-on-right) ! Right ? So it's not a problem, isn't it ? The "GRAVE" is frightening ! Steph

Am 20.12.2014 um 22:25 schrieb Stéphane MARTIN:
Le 20/12/2014 17:50, Stéphane MARTIN a écrit :
Hi,
I got this line in a log file :
"2014/12/20 17:36:29 GRAVE (StyledConverter): 29730001.o5m: Attention: Tile contains both drive-on-left (95) and drive-on-right roads (7568)"
It's because there are (95) roads in Surinam (drive-on-left) and (7568) roads in French Guiana (drive-on-right) ! Right ?
So it's not a problem, isn't it ? The "GRAVE" is frightening !
Steph
I have seen the same problem on Dec.19th with my chinese extract, maybe while hongkong drives on left? The map is created, but not tested at this moment, will do it today Bernd

Am Sonntag, 21. Dezember 2014, 09:49:51 schrieb Bernd Weigelt:
I have seen the same problem on Dec.19th with my chinese extract, maybe while hongkong drives on left?
In my case the problems/messages are here mapname: 65100001 description: PK-Lahore input-file: 65100001.o5m mapname: 65100003 description: IN-Delhi input-file: 65100003.o5m II: building basemap Time started: Sun Dec 21 11:13:42 CET 2014 SCHW: uk.me.parabola.mkgmap.osmstyle.StyledConverter /home/bernd/map_build/tiles/65100003.o5m: Attention: Tile contains both drive- on-left (1006) and drive-on-right roads (17025) SCHW: uk.me.parabola.mkgmap.osmstyle.StyledConverter /home/bernd/map_build/tiles/65100001.o5m: Attention: Tile contains both drive- on-left (142) and drive-on-right roads (41611) Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Sun Dec 21 11:17:44 CET 2014 Total time taken: 242305ms But i have more problems with this message for nonroutable layers like boundary, housenumbers and fixme. II: building boundary Time started: Sun Dec 21 11:12:38 CET 2014 java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:400) at java.util.ArrayList.get(ArrayList.java:413) at uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:690) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:221) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:120) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:82) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:253) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:249) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Sun Dec 21 11:13:42 CET 2014 Total time taken: 64197ms Bernd -- amarok2 now playing: artist: Radiohead title: Optimistic album: Radiohead (Boxset)

Hi Bernd, this part of the source is rather old, please post data that allows to reproduce the problem. Gerd
But i have more problems with this message for nonroutable layers like boundary, housenumbers and fixme.
II: building boundary Time started: Sun Dec 21 11:12:38 CET 2014 java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:400) at java.util.ArrayList.get(ArrayList.java:413) at uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:690) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:221) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:120) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:82) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:253) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:249) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Number of MapFailedExceptions: 0 Number of ExitExceptions: 0 Time finished: Sun Dec 21 11:13:42 CET 2014 Total time taken: 64197ms
Bernd
-- amarok2 now playing: artist: Radiohead title: Optimistic album: Radiohead (Boxset)
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Am Sonntag, 21. Dezember 2014, 12:02:32 schrieb Gerd Petermann:
this part of the source is rather old, please post data that allows to reproduce the problem.
Ok, i'm now uploading the files to http://files.mkgmap.org.uk/, it seems that 65100009.o5m is corrupted. china.o5m is cut out from a local planet file three days ago, which is possible also corrupted, a new cut off is affected, too http://files.mkgmap.org.uk/download/241/65100009.o5m.zip Bernd -- amarok2 now playing:

Hi Bernd, the problem was caused by a missing check for an empty map. I've changed that with r3388. I am not sure what you mean with corrupted data. The file seems to be ok for me. Gerd Bernd Weigelt wrote
Am Sonntag, 21. Dezember 2014, 12:02:32 schrieb Gerd Petermann:
this part of the source is rather old, please post data that allows to reproduce the problem.
Ok, i'm now uploading the files to http://files.mkgmap.org.uk/, it seems that 65100009.o5m is corrupted. china.o5m is cut out from a local planet file three days ago, which is possible also corrupted, a new cut off is affected, too
http://files.mkgmap.org.uk/download/241/65100009.o5m.zip
Bernd
-- amarok2 now playing:
_______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
-- View this message in context: http://gis.19327.n5.nabble.com/Tile-contains-both-drive-on-left-and-drive-on... Sent from the Mkgmap Development mailing list archive at Nabble.com.

Am Sonntag, 21. Dezember 2014, 07:35:03 schrieb GerdP:
the problem was caused by a missing check for an empty map. I've changed that with r3388.
I am not sure what you mean with corrupted data. The file seems to be ok for me.
I've got 2 tiles with a size of 30 Kb and the new extract of china had only a size of 202 MB against 256 MB of the old one But it isn't a problem to fetch a new planet and update this one, takes two hours. Overnight i will build a new mapset with all mapstyles and check your new changes thank you very much Bernd -- amarok2 now playing:

Hi Steph, please check the description: http://www.mkgmap.org.uk/news/ Gerd
Date: Sat, 20 Dec 2014 18:25:21 -0300 From: st3ph.martin@laposte.net To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] Tile contains both drive-on-left and drive-on-right roads
Le 20/12/2014 17:50, Stéphane MARTIN a écrit :
Hi,
I got this line in a log file :
"2014/12/20 17:36:29 GRAVE (StyledConverter): 29730001.o5m: Attention: Tile contains both drive-on-left (95) and drive-on-right roads (7568)"
It's because there are (95) roads in Surinam (drive-on-left) and (7568) roads in French Guiana (drive-on-right) ! Right ?
So it's not a problem, isn't it ? The "GRAVE" is frightening !
Steph _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
participants (4)
-
Bernd Weigelt
-
Gerd Petermann
-
GerdP
-
Stéphane MARTIN