diff --git a/build-scripts/indexes-generate-srtm.sh b/build-scripts/indexes-generate-srtm.sh new file mode 100755 index 0000000000..51e9f62921 --- /dev/null +++ b/build-scripts/indexes-generate-srtm.sh @@ -0,0 +1,8 @@ +cd ~/srtm-proccess/ +rm -rf .work +mkdir .work +mkdir .work/osm +if [ -z $INDEXES_FILE ]; then INDEXES_FILE="build-scripts/regions/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" diff --git a/build-scripts/srtm-batch-generate.xml b/build-scripts/srtm-batch-generate.xml new file mode 100644 index 0000000000..dd3b150cfc --- /dev/null +++ b/build-scripts/srtm-batch-generate.xml @@ -0,0 +1,24 @@ + + + + + + + + + + +