Commit 7e767314 authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Use the Marble based tooling instead of osmconvert/osmfilter

parent 7eee1fb7
......@@ -21,9 +21,8 @@ import argparse
import urllib3
import zipfile
import polyshp2osm
import vectortilecreator
from subprocess import call
def unzip_file(filename, in_dir):
......@@ -129,4 +128,4 @@ if __name__ == "__main__":
f = open('bound_info_{}'.format(level), "w")
print('tiny_planet_{}.1.osm;Level;-180.0;-86.0;180.0;86.0'.format(level), file=f)
f.close()['bound_info_{}'.format(level)], args.cache, args.refresh, args.out_dir, args.overwrite, [level])
call(["marble-vectorosm-tilecreator", "-e", "o5m", "-z", str(level), "-o", args.out_dir, 'tiny_planet_{}.1.osm'.format(level)])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment