Fix issue with compare

This commit is contained in:
Victor Shcherb 2017-09-03 01:22:03 +02:00
parent 0b3a64d988
commit f14707b2f0
2 changed files with 7 additions and 5 deletions

View file

@ -74,15 +74,16 @@ public class BinaryInspector {
in.inspector(new String[] {
// "-vpoi",
"-vmap", "-vmapobjects", // "-vmapcoordinates",
// "-vrouting",
// "-vmap", "-vmapobjects",
"-vmapcoordinates",
"-vrouting",
// "-vtransport",
// "-vaddress", "-vcities","-vstreetgroups",
// "-vstreets", "-vbuildings", "-vintersections",
// "-lang=ru",
// "-bbox=30.4981,50.4424,30.5195,50.4351",
// "-osm="+System.getProperty("maps.dir")+"/map_full.obf.osm",
System.getProperty("maps.dir")+"/diff/Diff.obf"
System.getProperty("maps.dir")+"/diff/17_08_29_22_00.diff.obf"
// System.getProperty("maps.dir")+"../temp/kiev/Ukraine_kiev-city_europe_17_06_05.obf",
// System.getProperty("maps.dir")+"Ukraine_kiev-city_europe_2.obf",
});
@ -923,7 +924,7 @@ public class BinaryInspector {
}
private static void printMapDetails(BinaryMapDataObject obj, StringBuilder b, boolean vmapCoordinates) {
public static void printMapDetails(BinaryMapDataObject obj, StringBuilder b, boolean vmapCoordinates) {
boolean multipolygon = obj.getPolygonInnerCoordinates() != null && obj.getPolygonInnerCoordinates().length > 0;
if (multipolygon) {
b.append("Multipolygon");

View file

@ -283,7 +283,8 @@ public class BinaryMapDataObject {
return equals;
}
// thatObj.mapIndex.decodeType(thatObj.types[0])
// mapIndex.decodeType(types[0]) id >>7
return false;
}