
El 12/09/11 16:21, Thorsten Kukuk escribió:
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. I already did that but nothing changed. I have removed one by one almost all parameters of the mkgmap call in successive runs trying to find the guilty one, but routing never worked.
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