Implement private access road style

This commit is contained in:
Victor Shcherb 2012-06-03 14:23:14 +02:00
parent 18bba6c0c4
commit 638bccc572
2 changed files with 5 additions and 1 deletions

View file

@ -48,7 +48,7 @@ public class BinaryInspector {
// test cases show info
inspector(new String[]{"-vmap", /*"-bbox=-121.785,37.35,-121.744,37.33", */"/home/victor/projects/OsmAnd/data/osm-gen/Map.obf"});
// inspector(new String[]{"-vmap", /*"-bbox=-121.785,37.35,-121.744,37.33", */"/home/victor/projects/OsmAnd/data/osm-gen/Map.obf"});
// test case extract parts
// test case
}

View file

@ -1408,6 +1408,10 @@ public class BinaryMapIndexReader {
onewayReverseAttribute = id;
} else if("ref".equals(tag)){
refEncodingType = id;
} else if("tunnel".equals(tag)){
negativeLayers.add(id);
} else if("bridge".equals(tag)){
positiveLayers.add(id);
} else if("layer".equals(tag)){
if(val != null && !val.equals("0") && val.length() > 0) {
if(val.startsWith("-")) {