Add scripts for srtm generation

This commit is contained in:
Victor Shcherb 2012-10-21 01:09:22 +02:00
parent d1a820dab0
commit 239d38e8c9
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
rm -rf ~/srtm-proccess/.work
mkdir ~/srtm-proccess/.work
rm -rf .work
mkdir .work
if [ -z $INDEXES_FILE ]; then INDEXES_FILE="build-scripts/regions/srtm_indexes.xml"; echo "$INDEXES_FILE"; fi
echo "Running java net.osmand.data.index.IndexBatchCreator with $INDEXES_FILE"
java -XX:+UseParallelGC -Xmx4096M -Xmn512M -Djava.util.logging.config.file=build-scripts/batch-logging.properties -cp "DataExtractionOSM/OsmAndMapCreator.jar:DataExtractionOSM/lib/*.jar" net.osmand.data.index.IndexBatchCreator build-scripts/srtm-batch-generate.xml "$INDEXES_FILE"
java -XX:+UseParallelGC -Xmx8096M -Xmn512M -Djava.util.logging.config.file=build-scripts/batch-logging.properties -cp "DataExtractionOSM/OsmAndMapCreator.jar:DataExtractionOSM/lib/*.jar" net.osmand.data.index.IndexBatchCreator build-scripts/srtm-batch-generate.xml "$INDEXES_FILE"

View file

@ -12,7 +12,7 @@
or you can upload any file you have to googlecode (just put into 'directory_for_index_files')
-->
<!-- zoomWaySmoothness - 1-4, typical mapZooms - 8-10;11-12;13-14;15- -->
<process directory_for_osm_files="/var/lib/jenkins/srtm-proccess" directory_for_index_files="/var/lib/jenkins/indexes" directory_for_generation="/var/lib/jenkins/srtm-proccess/.work"
<process directory_for_osm_files="/var/lib/jenkins/data/contours-osm-bz2" directory_for_index_files="/var/lib/jenkins/indexes" directory_for_generation=".work"
skipExistingIndexesAt="/var/lib/jenkins/indexes/uploaded" indexPOI="false" indexMap="true" indexRouting="false" indexTransport="false" indexAddress="false">
<!-- 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: