This forum has been archived. All content is frozen. Please use KDE Discuss instead.

vectortilecreator.py

Tags: None
(comma "," separated)
gagiopapinni
Registered Member
Posts
11
Karma
0

vectortilecreator.py

Sun Jan 03, 2016 10:09 pm
Oh , i am still trying to create vector tiles :)

look at this!
gagiopapinni@dell:~/marble-master/tools/vectortilecreator$ python3 vectortilecreator.py -d ~/.local/share/marble/maps/earth/vectorosm asia.txt
Creating cut out region ./japan-latest.osm.pbf.139.6561-35.5825-139.8820-35.7850.osm.o5m
Traceback (most recent call last):
File "vectortilecreator.py", line 102, in <module>
call(["osmconvert", "-t={}/osmconvert_tmp-".format(args.cache), "--complete-ways", "--complex-ways", "--drop-version", "-b={},{},{},{}".format(bounds[2], bounds[3], bounds[4], bounds[5]), "-o={}".format(cutted), os.path.join(args.cache, filename)])
File "/usr/lib/python3.4/subprocess.py", line 537, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1459, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'osmconvert'

in asia.txt i have this:http://download.geofabrik.de/asia/japan-latest.osm.pbf;Tokyo;139.6561;35.5825;139.8820;35.7850.It is from default asia.txt region file, so here everything is good... but what is wrong ?What is 'osmconvert' and where is it ?
User avatar
Earthwings
KDE Developer
Posts
172
Karma
1
OS

Re: vectortilecreator.py  Topic is solved

Mon Jan 04, 2016 4:29 am
See the section "Creating the tools - osmconvert and osmfilter" in https://techbase.kde.org/Projects/Marbl ... leCreation


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]