diff --git a/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java b/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java index 7693bf1b37..132f432f2e 100644 --- a/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java +++ b/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java @@ -757,7 +757,7 @@ public class IndexCreator { // 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/poland.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")); diff --git a/DataExtractionOSM/src/net/osmand/data/preparation/IndexRouteCreator.java b/DataExtractionOSM/src/net/osmand/data/preparation/IndexRouteCreator.java index cd0a0c9553..08f77feb7c 100644 --- a/DataExtractionOSM/src/net/osmand/data/preparation/IndexRouteCreator.java +++ b/DataExtractionOSM/src/net/osmand/data/preparation/IndexRouteCreator.java @@ -681,7 +681,8 @@ public class IndexRouteCreator extends AbstractIndexPartCreator { douglasPeukerSimplificationStep(clusters); // 4. remove line duplication - removeSmall2RoadsConnectors(clusters); + // very buggy poland (deletes part of motorway) +// removeSmall2RoadsConnectors(clusters); // 5. write to db