I am facing the same problem. When I try to convert .pbf to .obf
, it first throws an exception and then I try again with the same .pbf. It says it converted successfully. But the .obf is just 1 kb(empty). The log file is:
SEVERE: Unexpected error
java.lang.IllegalArgumentException: No enum constant net.osmand.osm.MapRenderingTypesEncoder.EntityConverType.SPL?T
at java.lang.Enum.valueOf(Unknown Source)
at net.osmand.osm.MapRenderingTypesEncoder$EntityConverType.valueOf(MapRenderingTypesEncoder.java:747)
at net.osmand.osm.MapRenderingTypesEncoder.parseEntityConvertXML(MapRenderingTypesEncoder.java:125)
at net.osmand.osm.MapRenderingTypes.init(MapRenderingTypes.java:308)
at net.osmand.osm.MapRenderingTypes.checkIfInitNeeded(MapRenderingTypes.java:81)
at net.osmand.osm.MapRenderingTypesEncoder.getRouteTags(MapRenderingTypesEncoder.java:115)
at net.osmand.osm.MapRoutingTypes.<init>(MapRoutingTypes.java:43)
at net.osmand.data.preparation.IndexRouteCreator.<init>(IndexRouteCreator.java:123)
at net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:485)
at net.osmand.swing.OsmExtractionUI$13.run(OsmExtractionUI.java:547)
at net.osmand.swing.ProgressDialog$WorkerThread.run(ProgressDialog.java:87)
Jun 09, 2015 4:55:59 PM net.osmand.swing.ExceptionHandler handle
SEVERE: Exception during operation
java.lang.IllegalArgumentException: No enum constant net.osmand.osm.MapRenderingTypesEncoder.EntityConverType.SPL?T
at java.lang.Enum.valueOf(Unknown Source)
at net.osmand.osm.MapRenderingTypesEncoder$EntityConverType.valueOf(MapRenderingTypesEncoder.java:747)
at net.osmand.osm.MapRenderingTypesEncoder.parseEntityConvertXML(MapRenderingTypesEncoder.java:125)
at net.osmand.osm.MapRenderingTypes.init(MapRenderingTypes.java:308)
at net.osmand.osm.MapRenderingTypes.checkIfInitNeeded(MapRenderingTypes.java:81)
at net.osmand.osm.MapRenderingTypesEncoder.getRouteTags(MapRenderingTypesEncoder.java:115)
at net.osmand.osm.MapRoutingTypes.<init>(MapRoutingTypes.java:43)
at net.osmand.data.preparation.IndexRouteCreator.<init>(IndexRouteCreator.java:123)
at net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:485)
at net.osmand.swing.OsmExtractionUI$13.run(OsmExtractionUI.java:547)
at net.osmand.swing.ProgressDialog$WorkerThread.run(ProgressDialog.java:87)
Jun 09, 2015 4:56:10 PM net.osmand.data.preparation.DBDialect getDatabaseConnection
INFO: SQLITE running in native mode
Jun 09, 2015 4:56:10 PM net.osmand.swing.ProgressDialog startTask
FINE: Memory before task exec: 1029177344 free : 847050264