Fix vehicle no routing
This commit is contained in:
parent
988604bf0c
commit
82e8a19afd
3 changed files with 4 additions and 2 deletions
|
@ -755,9 +755,9 @@ public class IndexCreator {
|
|||
MapRenderingTypes rt = MapRenderingTypes.getDefault();
|
||||
MapZooms zooms = MapZooms.getDefault(); // MapZooms.parseZooms("15-");
|
||||
|
||||
// String file = "/home/victor/projects/OsmAnd/temp/map.osm";
|
||||
String file = "/home/victor/projects/OsmAnd/temp/map.osm";
|
||||
// String file = "/home/victor/projects/OsmAnd/temp/belgium.osm.pbf";
|
||||
String file = "/home/victor/projects/OsmAnd/temp/warsaw-map.osm.pbf";
|
||||
// String file = "/home/victor/projects/OsmAnd/temp/warsaw-map.osm.pbf";
|
||||
int st = file.lastIndexOf('/');
|
||||
int e = file.indexOf('.', st);
|
||||
creator.setNodesDBFile(new File("/home/victor/projects/OsmAnd/data/osm-gen/"+file.substring(st, e) + ".tmp.odb"));
|
||||
|
|
|
@ -66,6 +66,7 @@ public class MapRoutingTypes {
|
|||
TAGS_TO_SAVE.add("motorcar");
|
||||
TAGS_TO_SAVE.add("motorcycle");
|
||||
TAGS_TO_SAVE.add("motor_vehicle");
|
||||
TAGS_TO_SAVE.add("vehicle");
|
||||
TAGS_TO_SAVE.add("oneway");
|
||||
TAGS_TO_SAVE.add("roundabout");
|
||||
TAGS_TO_SAVE.add("route");
|
||||
|
|
|
@ -123,6 +123,7 @@
|
|||
<avoid tag="motorcycle" value="no"/>
|
||||
<avoid tag="motorcar" value="no"/>
|
||||
<avoid tag="motor_vehicle" value="no"/>
|
||||
<avoid tag="vehicle" value="no"/>
|
||||
<avoid tag="motorcar" value="no"/>
|
||||
|
||||
<avoid tag="toll" value="yes" decreasedPriority="1">
|
||||
|
|
Loading…
Reference in a new issue