Fix small parts delete

This commit is contained in:
Victor Shcherb 2012-10-15 01:21:13 +02:00
parent 6e2e2d9fd5
commit 5d1e5ea54d
2 changed files with 3 additions and 2 deletions

View file

@ -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"));

View file

@ -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