logo separator

[mkgmap-dev] Routing not working

From Thorsten Kukuk kukuk at suse.de on Mon Sep 12 15:21:56 BST 2011

On Mon, Sep 12, Carlos Dávila wrote:

> I have compiled a map of India from Geofabrik extract, using the 
> commands below, similar to the ones I use for other countries. The map 
> compiles without errors but routing doesn't work on MapSource, only a 
> straight line is drawn from point A to B. I have tried with different 
> days extracts with the same result. I also tried reducing the parameters 
> in the mkgmap call to the minimum, but still the same result. Any idea 
> why routing is not working?

You are using --merge-lines.
>From mkgmap help text:

--merge-lines
        At the moment this option causes routing errors. Use only if routing 
        is not needed in your map.

I would try it without that option.

> java -Xmx1500M -jar splitter.jar --max-nodes=1400000 --mapid=55180001 
> india.osm.pbf
> java -Xmx1200m -enableassertions -Dlog.config=logging.properties -jar 
> mkgmap.jar --max-jobs --generate-sea=polygons,extend-sea-sectors --route 
> --tdbfile --latin1 --code-page=1252 --gmapsupp --country-name=India 
> --country-abbr=IND --area-name=India --family-name="OSM India" 
> --family-id=18 --product-id=1 --series-name="OSM-India" 
> --overview-mapname=55180000 --index --ignore-maxspeeds 
> --remove-short-arcs --merge-lines --add-pois-to-areas 
> --adjust-turn-headings --report-similar-arcs --link-pois-to-ways 
> --location-autofill=bounds,is_in,nearest --drive-on-left 
> --check-roundabouts --check-roundabout-flares --style=mio -c india.args
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)



More information about the mkgmap-dev mailing list