From 92ece464da7e9d44b0f67d8a0de4a127033157f3 Mon Sep 17 00:00:00 2001 From: xmd5a Date: Thu, 21 Jan 2016 17:22:00 +0300 Subject: [PATCH] BinaryInspector: output to osm v0.6 --- OsmAnd-java/src/net/osmand/binary/BinaryInspector.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java index 21905665ca..06496e4a55 100644 --- a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java +++ b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java @@ -952,7 +952,7 @@ public class BinaryInspector { if(point) { float lon= (float) MapUtils.get31LongitudeX(obj.getPoint31XTile(0)); float lat = (float) MapUtils.get31LatitudeY(obj.getPoint31YTile(0)); - b.append("\n" ); + b.append("\n" ); b.append(tags); b.append("\n"); } else { @@ -962,7 +962,7 @@ public class BinaryInspector { float lon = (float) MapUtils.get31LongitudeX(obj.getPoint31XTile(i)); float lat = (float) MapUtils.get31LatitudeY(obj.getPoint31YTile(i)); int id = OSM_ID++; - b.append("\t\n" ); + b.append("\t\n" ); ids.add(id); } long outerId = printWay(ids, b, multipolygon ? null : tags); @@ -974,13 +974,13 @@ public class BinaryInspector { float lon = (float) MapUtils.get31LongitudeX(polygonInnerCoordinates[j][i]); float lat = (float) MapUtils.get31LatitudeY(polygonInnerCoordinates[j][i + 1]); int id = OSM_ID++; - b.append("\n"); + b.append("\n"); ids.add(id); } innerIds.add(printWay(ids, b, null)); } int id = OSM_ID++; - b.append("\n" ); + b.append("\n" ); b.append(tags); b.append("\t\n" ); TLongIterator it = innerIds.iterator(); @@ -995,7 +995,7 @@ public class BinaryInspector { private long printWay(TLongArrayList ids, StringBuilder b , StringBuilder tags){ int id = OSM_ID++; - b.append("\n" ); + b.append("\n" ); if(tags != null) { b.append(tags); }