From 04468c6f383093dbc435df34b692257214c053ff Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Mon, 25 Jul 2016 20:12:57 +0200 Subject: [PATCH] Add support for alt_name/old_name --- OsmAnd-java/src/net/osmand/binary/BinaryMapIndexReader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd-java/src/net/osmand/binary/BinaryMapIndexReader.java b/OsmAnd-java/src/net/osmand/binary/BinaryMapIndexReader.java index c931ab7ce9..49d0231af6 100644 --- a/OsmAnd-java/src/net/osmand/binary/BinaryMapIndexReader.java +++ b/OsmAnd-java/src/net/osmand/binary/BinaryMapIndexReader.java @@ -2038,7 +2038,7 @@ public class BinaryMapIndexReader { public static void main(String[] args) throws IOException { // File fl = new File(System.getProperty("maps") + /Synthetic_test_rendering.obf"); - File fl = new File(System.getProperty("maps") + "/Netherlands_noord-holland_europe_merge.obf"); + File fl = new File(System.getProperty("maps") + "/Map.obf"); RandomAccessFile raf = new RandomAccessFile(fl, "r"); BinaryMapIndexReader reader = new BinaryMapIndexReader(raf, fl); @@ -2326,7 +2326,7 @@ public class BinaryMapIndexReader { public boolean isCancelled() { return false; } - }, "Benelux", StringMatcherMode.CHECK_ONLY_STARTS_WITH); + }, "Красноарм", StringMatcherMode.CHECK_ONLY_STARTS_WITH); // req.setBBoxRadius(52.276142, 4.8608723, 15000); reader.searchAddressDataByName(req); }