[mkgmap-dev] how to deal with "Attention: Tile contains both drive-on-left (303) and drive-on-right roads" ?
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Aug 1 17:15:39 BST 2019
Hi Gerd Another case where I get similar errors is when there is a barrier that imposes a restriction that is on the join of 2 ways (quite a common and sensible thing to do): WARN: uk.me.parabola.mkgmap.osmstyle.StyledConverter 74210002.osm.pbf: Access restriction in POI node http://www.openstreetmap.org/node/1043237463 affects routing on multiple ways Ticker On Thu, 2019-08-01 at 12:29 +0000, Gerd Petermann wrote: > Hi Alexis, > > turned out I was wrong. The messages which I referred to should > contain the string "internal error". Your case was in fact simply > wrong data. > With r4288 the message was improved: > http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4288 > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag > von Gerd Petermann <gpetermann_muenchen at hotmail.com> > Gesendet: Donnerstag, 1. August 2019 13:23 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] how to deal with "Attention: Tile contains > both drive-on-left (303) and drive-on-right roads" ? > > Hi Alexis, > > thanks, that will help. > > Gerd > > ________________________________________ > Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag > von Alexis Huxley <alexishuxley at gmail.com> > Gesendet: Donnerstag, 1. August 2019 13:18 > An: Development list for mkgmap > Betreff: Re: [mkgmap-dev] how to deal with "Attention: Tile contains > both drive-on-left (303) and drive-on-right roads" ? > > Hi Gerd, > > Ticker wrote: > > > > I forgot to answer one of your previous questions fully: > > > > SEVERE (RestrictionRelation): /u/ahux/tmp- > > > > dir/as/38610173.osm.pbf: Turn restriction (no_straight_on) > > > > http://www.openstreetmap.org/relation/9335098 (at > > > > http://www.openstreetmap.org/?mlat=-6.405884&mlon=106.829270&zo > > > > om=17) > > > > via node is not a routing node > > Gerd wrote: > > > Whenever this message appears it means that there is a severe error > > in > > mkgmap. > > > > @Ticker: If you have sample data that allows to reproduce the > > problem please > > post a link. > > Geofabrik's daily 'asia-latest.osm.pbf' has this problem. I just re > -downloaded > from http://download.geofabrik.de/asia-latest.osm.pbf to verify the > problem > is still there, which it is. In case it helps, the checksum of the > asia-latest.osm.pbf I just tested is: > > $ md5sum download-cache-dir/asia-latest.osm.pbf > bae4ea71f6b48366cb21c2cdf5ceda20 download-cache-dir/asia > -latest.osm.pbf > $ > > Besides the numerous 'Tile contains both drive-on-left and drive-on > -right' > messages, which is what I originally posted about, and which Ticker > has > already explained are not really errors, these are the other errors: > > $ grep SEVERE *.log | grep -v 'Tile contains both drive-on > -left' > SEVERE (RestrictionRelation): 59890171.osm.pbf: Turn > restriction (only_straight_on) > http://www.openstreetmap.org/relation/9335096 (at > http://www.openstreetmap.org/?mlat=-6.442483&mlon=106.830079&zoom=17) > via node is not a routing node > SEVERE (MapFailedException): 59890543.osm.pbf: (thrown in > RoadDef.writeRgnOffsets()) Overflow of the NET1. The tile > (59890543.osm.pbf) must be split so that there are fewer roads in it > SEVERE (MapFailedException): 59890570.osm.pbf: (thrown in > RoadDef.writeRgnOffsets()) Overflow of the NET1. The tile > (59890570.osm.pbf) must be split so that there are fewer roads in it > $ > > For the 'Overflow' ones, Ticker already advised me how to split the > tiles > up a bit more. > > Regading the 'Turn restriction', I've copied the specific tile > 59890171.osm.pbf > to https://datashare.rzg.mpg.de/s/RHEzSLYhNNkPbfb?path=%2Ftmp. > > My splitter and mkgmap command line arguments are: > > java -Xmx380000M -jar splitter.jar --mapid=59890001 --search > -limit=1000000 /u/ahux/tmp-dir/as/asia-latest.osm.pbf > java -Xmx380000M -jar mkgmap.jar --code-page=1252 --latin1 - > -route --remove-short-arcs --add-pois-to-areas --index --location > -autofill=is_in,nearest --tdbfile --mapname=59890001 --family-id=5989 > --family-name="OSM_AS" --overview-mapname=as --series-name="OSM Asia > (2019 08)" --description="OSM_AS" --bounds=/u/ahux/tmp-dir/as/bounds > -latest.zip --precomp-sea=/u/ahux/tmp-dir/as/sea-latest.zip --style > -file=/u/ahux/tmp-dir/as/mkgmap/distrib/mkgmap > -r4287/examples/styles/default -c template.args > > and I'm using: > > $ ls -l ../../download-cache-dir/*.zip > -rw-r--r-- 2 ahux rzs 1090392991 Aug 1 10:36 ../../download > -cache-dir/bounds-latest.zip > -rw-r--r-- 1 ahux rzs 3401612 Aug 1 11:45 ../../download > -cache-dir/mkgmap-r4287.zip > -rw-r--r-- 2 ahux rzs 224903148 Aug 1 10:36 ../../download > -cache-dir/sea-latest.zip > -rw-r--r-- 1 ahux rzs 1569564 Aug 1 11:45 ../../download > -cache-dir/splitter-r592.zip > $ > > Hope that helps you to help us! :-) Thanks! > > Alexis > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] how to deal with "Attention: Tile contains both drive-on-left (303) and drive-on-right roads" ?
- Next message: [mkgmap-dev] how to deal with "Attention: Tile contains both drive-on-left (303) and drive-on-right roads" ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list