[mkgmap-dev] trouble routing across extracts
From Richard Hansen rhansen at bbn.com on Fri Jan 13 21:44:28 GMT 2012
Hi all, Using splitter on the US state extracts from Geofabrik, I am unable to route across state boundaries. On my Oregon 450 I get "route calculation error" after it sits at 80% for a while. If I combine the extracts before splitting, then routing works. Is this a known limitation? Would it be feasible to teach splitter how to combine the extracts internally before splitting? If not, what would it take to get mkgmap's routing to work across split extracts? DETAILS: The following produces a gmapsupp.img that does not support routing across state boundaries: STATES="massachusetts connecticut" for s in ${STATES}; do wget http://download.geofabrik.de/osm/north-america/us/${s}.osm.pbf done java -jar splitter.jar --no-trim *.osm.pbf java -jar mkgmap.jar --gmapsupp --route -c template.args The following produces a gmapsupp.img that works as expected: combine() { unset args for f in "$@"; do case ${f} in *.osm.pbf) r="--rb";; *) r="--rx";; esac args="${args} ${r} ${f} --sort${args+ --merge}" done osmosis ${args} --wb combined.osm.pbf } rm -f combined.osm.pbf combine *.osm.pbf java -jar splitter.jar --no-trim combined.osm.pbf java -jar mkgmap.jar --gmapsupp --route -c template.args Thanks, Richard
- Previous message: [mkgmap-dev] mkgmap command-line argument parsing bugs
- Next message: [mkgmap-dev] trouble routing across extracts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list