Hello,

I wonder if anyone can help me with that.  I just can't figure out what I 
am doing wrong.  I get that message both in Linux and Windows.


Command line.
java -Djava.util.logging.config.file=logging.properties -Xms256M -Xmx12G 
-cp "./OsmAndMapCreator.jar:./lib/OsmAnd-core.jar:./lib/*.jar" 
net.osmand.util.IndexBatchCreator ./batch.xml

I also tried 
java -cp "./OsmAndMapCreator.jar:./lib/OsmAnd-core.jar:./lib/*.jar" 
net.osmand.util.IndexBatchCreator batch.xml


My osm file is /mnt/d/osmand/qosm.osm and I know it's valid file because it 
works just fine when I run the GUI osmandmapcreator

Batch.xml

<?xml version="1.0" encoding="utf-8"?>
<batch_process>
<process_attributes 
mapZooms="7;8;9;10;11;12;13-14;15-" 
renderingTypesFile="/mnt/d/osmand/rendering_types.xml" 
zoomWaySmoothness="2"
osmDbDialect="sqlite" 
mapDbDialect="sqlite"/>

<!-- There are 3 subprocess :
1. Download fresh osm files from servers to 'directory_for_osm_files' 
(override existings).
2. Generate index files from all files in 'directory_for_osm_files' and put 
all indexes into 'directory_for_index_files'
3. Upload index files from 'directory_for_index_files' to googlecode.
If directory directory_for_uploaded_files is specified all uploaded files 
will be moved to it
All these subprocess could be ran independently ! So you can create some 
files check them and after that try to upload on googlecode,
or you can upload any file you have to googlecode (just put into 
'directory_for_index_files')
-->
<!-- zoomWaySmoothness - 1-4, typical mapZooms - 11;12;13-14;15-   -->
<!--
<process directory_for_osm_files="/home/..." 
directory_for_index_files="/home/..." directory_for_generation="/home/..."
skipExistingIndexesAt="/home/..." directory_for_srtm_files="/home/..." 
indexPOI="true" indexRouting="true" indexMap="true"
indexTransport="true" indexAddress="true">
-->
<process 
directory_for_osm_files="/mnt/d/OsmAnd" 
directory_for_index_files="/mnt/d/OsmAnd" 
directory_for_generation="/mnt/d/OsmAnd"
skipExistingIndexesAt="/mnt/d/OsmAnd" 
directory_for_srtm_files="/mnt/d/OsmAnd" 
indexPOI="true" 
indexRouting="true" 
indexMap="true"
indexTransport="true" 
indexAddress="true">

<!-- Add wget="C:/Program Files/GNUWin32/bin/wget.exe" to process, to use 
wget for download.
On linux systems if wget is in your path it can be wget="wget" or you can 
make own script with wget command:
wget="/path/to/script/wget.sh"
Defaultly enabled parameter of wget is: &-&-read-timeout=5 that prevents 
hanging of download from  cloudmade/geofabrik server
-->

</process>
</batch_process>




-- 
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