I have pbf file which I want to convert to obf file.

I create batch.xml file with settings and try to run ./OsmAndMapCreator.sh
java -Djava.util.logging.config.file=logging.properties -Xms256M -Xmx1024M 
-cp 
"./OsmAndMapCreator.jar:./lib/OsmAnd-core.jar:./lib/*.jar;./lib-gl/*.jar" 
net.osmand.swing.OsmExtractionUI

but after short output osmandmapcreator fails with

algot@algot-16:~/mapbuild/osmandmapcreator$ 
./OsmAndMapCreator.sh
Jul 29, 2016 10:18:46 PM net.osmand.osm.MapPoiTypes init
INFO: Time to init poi types 25
Jul 29, 2016 10:18:46 PM net.osmand.binary.BinaryMapIndexReader 
searchMapIndex
INFO: Search is done. Visit 2235 objects. Read 2235 objects.
Jul 29, 2016 10:18:46 PM net.osmand.binary.BinaryMapIndexReader 
searchMapIndex
INFO: Read 59 subtrees. Go through 115 subtrees.
Jul 29, 2016 10:18:46 PM net.osmand.swing.ExceptionHandler handle
SEVERE: Error in thread main
com.google.protobuf.UninitializedMessageException: Message was missing 
required fields.  (Lite runtime could not determine which fields were 
missing).
    at 
com.google.protobuf.AbstractMessageLite$Builder.newUninitializedMessageException(AbstractMessageLite.java:306)
    at 
net.osmand.binary.OsmandIndex$OsmAndStoredIndex$Builder.build(OsmandIndex.java:215)
    at 
net.osmand.binary.CachedOsmandIndexes.readFromFile(CachedOsmandIndexes.java:311)
    at net.osmand.swing.OsmExtractionUI.createUI(OsmExtractionUI.java:210)
    at net.osmand.swing.OsmExtractionUI.<init>(OsmExtractionUI.java:164)
    at net.osmand.swing.OsmExtractionUI.main(OsmExtractionUI.java:126)

What can be wrong with osmandmapcreator?

-- 
You received this message because you are subscribed to the Google Groups 
"Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to