41 lines
2.6 KiB
XML
41 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<batch_process>
|
|
<!-- These attributes are required to upload/delete downloads
|
|
* cookieHSID - cookie HSID is required for delete index (could be taken from source (!) of page when you are about delete index)
|
|
* cookieSID - cookie SID is required for delete index (could be taken from source (!) of page when you are about delete index)
|
|
* pagegen - pagegen attribute is required for delete index (could be taken from source (!) of page when you are about delete index)
|
|
* token - token attribute is required for delete index (could be taken from source (!) of page when you are about delete index)
|
|
* google_code_user - is required to upload index
|
|
* google_code_password - is required to upload index (is not gmail password!) - could be found in profile
|
|
-->
|
|
<authorization_info cookieHSID=""
|
|
cookieSID=""
|
|
pagegen="" token=""
|
|
google_code_user="" google_code_password=""
|
|
osmand_download_user="" osmand_download_password=""/>
|
|
|
|
<process_attributes mapZooms="" renderingTypesFile="" 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 - 8-10;11-12;13-14;15 -->
|
|
<process directory_for_osm_files="~/indexes/osm" directory_for_index_files="~/indexes"
|
|
directory_for_uploaded_files="~/indexes/uploaded" keepPoiOdb="false"
|
|
downloadOsmFiles="true" generateIndexes="true" uploadIndexes="false"
|
|
upload_osmand_googlecode="false" deleteFilesAfterUploading="false" indexPOI="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>
|