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
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev