logo separator

[mkgmap-dev] Intertile/access related routing problem

From Carlos Dávila cdavilam at orangecorreo.es on Tue Jan 3 19:19:19 GMT 2017

Hello all

I have several routes calculated in MapSource which fail to follow the 
logical route. They should go by a roundabout that is crossed by tile 
border. Instead of that, they take a shortcut before the roundabout, 
using a way tagged as highway=footway (converted to cycleway by style), 
which should not be used in car mode. In other test route goes by a 
path, which shouldn't be used by cars either. I have done a lot of test 
with two custom styles until I realized it also happens with default 
style. I first thought it was related with new splitter, but I have 
found a map from last November which has the same problem.

All data to reproduce the problem can be downloaded from 
http://alternativaslibres.org/files/problem.zip Zip includes three tiles 
to build test map, areas.list from splitter, *.args file (only first 
three input files are needed) and a *.gdb file that can be opened in 
MapSource with five test routes: route 1 uses a path, routes 2 and 3 use 
a cycleway, route 4 is very similar to 2 and 3 but strangely uses the 
roundabout and is OK, and route 5 which also uses the roundabout without 

Map was produced with the following commands:

java -Xmx6G -jar splitter.jar --max-nodes=1500000 
--geonames-file=geonames/cities15000_$ABR.zip --max-areas=1024 
--mapid=551${FID}001 --output=o5m $pais.o5m

java -Xmx2500m -ea -jar mkgmap.jar --bounds=bounds.zip 
--precomp-sea=sea.zip --max-jobs --route --latin1 --code-page=1252 
--country-name=$PAIS --country-abbr=$ABR --area-name=$MAPA 
--family-name="OSM $MAPA Truck" --family-id=4$FID --product-id=1 
--product-version=$VERSION --series-name="OSM-$MAPA-Truck" 
--overview-mapname=$ABR-4$FID --overview-mapnumber=554${FID}000 
--name-tag-list=$NAMETAG --index --process-destination --process-exits 
--housenumbers --reduce-point-density=4 --polygon-size-limits="24:12, 
18:10, 16:0" --add-pois-to-areas --link-pois-to-ways 
--location-autofill=is_in,nearest --drive-on=detect,$DRIVEON 
--check-roundabouts --check-roundabout-flares 
--license-file=license_ODbL.txt --copyright-message="OpenStreetMap 
contributors, ODbL. See: http://www.openstreetmap.org/copyright" 
--style=default -c spain.args

More information about the mkgmap-dev mailing list