From 61300925adcfe6b663ebd949438e007799e84ab4 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 15 Oct 2015 00:53:15 +0200 Subject: [PATCH] Update output --- .../src/net/osmand/binary/BinaryInspector.java | 14 +++++++------- OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java | 5 +++++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java index 47e295b882..a41b6311be 100644 --- a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java +++ b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java @@ -66,17 +66,17 @@ public class BinaryInspector { // test cases show info if(args.length == 1 && "test".equals(args[0])) { in.inspector(new String[]{ -// "-vpoi", -// "-vmap", "-vmapobjects", // "-vmapcoordinates", - "-vrouting", + "-vpoi", +// "-vmap","-vmapobjects", // "-vmapcoordinates", +// "-vrouting", // "-vaddress", "-vcities",//"-vstreetgroups", // "-vstreets", "-vbuildings", "-vintersections", // "-zoom=15", // "-bbox=1.74,51.17,1.75,51.16", // "-vstats", -// "/Users/victorshcherb/osmand/maps/Synthetic_test_rendering.obf" + "/Users/victorshcherb/osmand/maps/Synthetic_test_rendering.obf" // "/Users/victorshcherb/osmand/maps/Netherlands_europe_2.road.obf" - "/Users/victorshcherb/osmand/maps/Map.obf" +// "/Users/victorshcherb/osmand/maps/Map.obf" }); } else { in.inspector(args); @@ -1036,9 +1036,9 @@ public class BinaryInspector { while(it.hasNext()) { Entry e = it.next(); if(e.getValue().startsWith(" gz ")) { - s += e.getKey() +"=..."; + s += " " + e.getKey() +"=..."; } else { - s += e.getKey() +"=" +e.getValue(); + s += " " + e.getKey() +"=" +e.getValue(); } } diff --git a/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java b/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java index 3b0348e2ae..69cb5c5443 100644 --- a/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java +++ b/OsmAnd-java/src/net/osmand/osm/MapPoiTypes.java @@ -56,6 +56,11 @@ public class MapPoiTypes { } + public static void setDefault(MapPoiTypes types) { + DEFAULT_INSTANCE = types; + DEFAULT_INSTANCE.init(); + } + public static MapPoiTypes getDefault() { if(DEFAULT_INSTANCE == null){ DEFAULT_INSTANCE = new MapPoiTypes(null);