[Marble-devel] [Differential] [Request, 221 lines] D1885: Script for automating lower level tile generation
tandon (Akshat Tandon)
noreply at phabricator.kde.org
Wed Jun 15 07:51:12 UTC 2016
tandon created this revision.
tandon added reviewers: Marble, nienhueser, rahn.
tandon set the repository for this revision to rMARBLE Marble.
REVISION SUMMARY
Input: A text file which contains information regarding Natural Earth datasets for each lower level
Output: Vector tiles of the levels described in the above text file.
Features:
- Automatic download of Natural Earth shp files in zipped form.
- Extracting the zipped version of the above files.
- Conversion of the shp files to osm and creation of a specific planetosm for a particular level.
- Creation of vector tiles using the above planetosm for a particular level.
(In the skype chat it was decided that downloading of files will not be done by the script but I still included it since only the download module of vectortilecreator.py had to be edited slightly to achieve the required facility)
Usage:
For creating the text file containing dataset information for each lower level, proceed as follows:
For each level :-
- No. followed by asterisk is the level no.
- All the lines following the above line are Natural Earth dataset names which can be obtained by looking at their download urls.
REPOSITORY
rMARBLE Marble
REVISION DETAIL
https://phabricator.kde.org/D1885
AFFECTED FILES
tools/lvtilegenerator/level_info.txt
tools/lvtilegenerator/vltilegenerator.py
tools/shp2osm/polyshp2osm.py
tools/vectortilecreator/vectortilecreator.py
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: tandon, #marble, nienhueser, rahn
Cc: marble-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20160615/20bd3623/attachment.html>
More information about the Marble-devel
mailing list