I'm trying to build a plugin for OsmAnd, and have mulitple problems with it.
First one is with inspect tool. I'm trying to check whether my custom obf file has information that i need.
If I run "inspector.bat -vaddress Leuven.obf" where Leuven.obf is my file I should see all addresses from the file.
D:\Development\OsmAnd\tools\OsmAndMapCreator>java.exe -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCreator.jar;./lib/OsmAnd-core.jar;./lib
/*.jar" net.osmand.binary.BinaryInspector -vaddress D:\Maps\OsmAnd\Leuven.obf
Binary index Leuven.obf version = 2 edition = Sat May 03 21:55:35 CEST 2014
1 Map data Leuven - 2629699 bytes
1.1 Map level minZoom = 15, maxZoom = 22, size = 1830350 bytes
Bounds (left top - right bottom) : 4.59, 50.92 NE - 4.81, 50.83 NE
1.2 Map level minZoom = 13, maxZoom = 14, size = 435543 bytes
Bounds (left top - right bottom) : 4.59, 50.92 NE - 4.81, 50.83 NE
1.3 Map level minZoom = 12, maxZoom = 12, size = 260846 bytes
Bounds (left top - right bottom) : 4.59, 50.92 NE - 4.81, 50.83 NE
1.4 Map level minZoom = 11, maxZoom = 11, size = 94734 bytes
Bounds (left top - right bottom) : 4.59, 50.92 NE - 4.81, 50.83 NE
2 Routing data Leuven - 513046 bytes
Bounds (left top - right bottom) : 4.59, 50.92 NE - 4.81, 50.83 NE
3 Address data Leuven - 519641 bytes
3.1 Address part size=317777 bytes
3.3 Address part size=74372 bytes
3.2 Address part size=67266 bytes
Cities/Towns section, 3 group(s)
Villages section, 17 group(s)
Postcodes section, 15 group(s)
4 Poi data Leuven - 383992 bytes
5 Transport data Leuven - 79923 bytes
Bounds (left top - right bottom) : 4.591, 50.9196 NE - 4.8095, 50.8309 NE
In fact I am not looking for addresses but for points with rcn_ref tags, so I hoped that "-vmap" parameter can dump everything and I can search for rcn_ref tag.
However - vmap also doesn't output anything except summary.
Oleh.