Joerg Ostertag (OSM Munich/Germany)
17 years ago
I had a look at
http://wiki.openstreetmap.org/index.php/Mapnik#World_Boundaries
Section:
World Boundaries
Mapnik uses external data for coastlines at lower zoom levels. See Coastlines#Mapnik
$ wget http://tile.openstreetmap.org/world_boundaries-spherical.tgz (51MB)
$ wget http://hypercube.telascience.org/~kleptog/processed_p.zip (~200MB)
But doing a
wget http://tile.openstreetmap.org/world_boundaries-spherical.tgz
results in
http://tile.openstreetmap.org/world_boundaries-spherical.tgz:
2008-05-10 23:16:16 ERROR 404: Not Found.
And on the other hand I'd like to know which of the two is needed? Or do I
need both. I'm just trying to update the debian package
openstreetmap-mapnik-world-boundaries
Since the old one no longer seems to work with the current mapnik and osm.xml
I found this by stating gpsdrive and got the following error:
...
Mapnik convert: 'build/scripts/mapnik/osm-template.xml' ----> '/home/tweety/.gpsdrive/osm.xml'
Mapnik convert Username: tweety
Mapnik convert to '/home/tweety/.gpsdrive/osm.xml' done.
datasource_cache::instance()->register_datasources(/usr/lib/mapnik/0.5/input/)
freetype_engine::register_font(/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf)
mapnik::load_map('/home/tweety/.gpsdrive/osm.xml')
got exception ...
terminate called after throwing an instance of 'std::ios_base::failure'
what(): failed opening file: Bad file descriptor
I then did
strace -f -F -o gpsdrive.strace ./build/src/gpsdrive -T -s -D 111 -C tests/gpsdriverc
grep ENOENT gpsdrive.strace | tail
...
And saw one of the problems:
25824 open("/usr/share/mapnik/world_boundaries/world_boundaries_m.index", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
25824 open("/usr/share/mapnik/world_boundaries/processed_p.shp", O_RDONLY) = -1 ENOENT (No such file or directory)
http://wiki.openstreetmap.org/index.php/Mapnik#World_Boundaries
Section:
World Boundaries
Mapnik uses external data for coastlines at lower zoom levels. See Coastlines#Mapnik
$ wget http://tile.openstreetmap.org/world_boundaries-spherical.tgz (51MB)
$ wget http://hypercube.telascience.org/~kleptog/processed_p.zip (~200MB)
But doing a
wget http://tile.openstreetmap.org/world_boundaries-spherical.tgz
results in
http://tile.openstreetmap.org/world_boundaries-spherical.tgz:
2008-05-10 23:16:16 ERROR 404: Not Found.
And on the other hand I'd like to know which of the two is needed? Or do I
need both. I'm just trying to update the debian package
openstreetmap-mapnik-world-boundaries
Since the old one no longer seems to work with the current mapnik and osm.xml
I found this by stating gpsdrive and got the following error:
...
Mapnik convert: 'build/scripts/mapnik/osm-template.xml' ----> '/home/tweety/.gpsdrive/osm.xml'
Mapnik convert Username: tweety
Mapnik convert to '/home/tweety/.gpsdrive/osm.xml' done.
datasource_cache::instance()->register_datasources(/usr/lib/mapnik/0.5/input/)
freetype_engine::register_font(/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf)
mapnik::load_map('/home/tweety/.gpsdrive/osm.xml')
got exception ...
terminate called after throwing an instance of 'std::ios_base::failure'
what(): failed opening file: Bad file descriptor
I then did
strace -f -F -o gpsdrive.strace ./build/src/gpsdrive -T -s -D 111 -C tests/gpsdriverc
grep ENOENT gpsdrive.strace | tail
...
And saw one of the problems:
25824 open("/usr/share/mapnik/world_boundaries/world_boundaries_m.index", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
25824 open("/usr/share/mapnik/world_boundaries/processed_p.shp", O_RDONLY) = -1 ENOENT (No such file or directory)
--
J?rg (Germany, Tettnang)
http://www.ostertag.name/
irc://irc.oftc.net/#osm
Tel.: +49 89 420950304
Skype: JoergOstertag
J?rg (Germany, Tettnang)
http://www.ostertag.name/
irc://irc.oftc.net/#osm
Tel.: +49 89 420950304
Skype: JoergOstertag