logo separator

[mkgmap-dev] Intertile/access related routing problem

From Gerd Petermann GPetermann_muenchen at hotmail.com on Wed Jan 4 07:10:37 GMT 2017

Hi Carlos,

I tried to reproduce the problem with r3742 and this command:
java -Xmx6G -ea -jar d:\mkgmap\dist\mkgmap.jar --bounds=f:\osm\bounds.zip --precomp-sea=f:\osm\sea.zip --max-jobs --route
--latin1 --code-page=1252 --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,right --check-roundabouts --check-roundabout-flares --nsis *.o5m

I installed the map, started MapSource, pressed Ctrl+G two times to clear all caches. Next I loaded your
problem.gdb and selected the routes for recalculation. Each of them changed, typically my calculated time was longer,
and route 2 and 3 used the roundabout.
So I assume it is related to the routing settings in MapSource (they seem not to go into the *.gdb format).
My settings:
Vehicle: Car/Motorcycle
Avoidance: U-turns
Faster Time
Road Selection: in the middle
Driving Speeds: reset to default

Please report your settings and then try to  reproduce the problem with my simplified command.

Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam at orangecorreo.es>
Gesendet: Dienstag, 3. Januar 2017 20:19:19
An: Development list for mkgmap
Betreff: [mkgmap-dev] Intertile/access related routing problem

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

mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk

More information about the mkgmap-dev mailing list