More OSM
#1
Posted 29 November 2010 - 10:27 AM
Inspired by recent discussions on using OSM, I thought I would try to see if I could use Open Streetmap for a project I was working on just now. I have been working on a map over South Sudan, and now the client decided that they wanted major roads on there as well. It is just for background, so the accuracy is not crucial.
Anyhow - I suspect that the data I have handy, like the ArcGIS Data & Maps roads layer (from Delorme) is decent for my purposes, but I have hunch that the OSM data for this region might be even better. That also depends on how it is classified though, I have never worked with it, so it is part of the exploration!
I kind of assume that the data for this region is not so detailed (the OSM data for a decent sized Western city is probably more, in terms of size!?).
But - I have problems doing simple exports - e.g. XML or the SVG formats provided by the main OSM website.
And that site with shape file exports has only a few countries in Africa... Global Mapper only loads up pre-rendered tiles (no vector data).
I tried with Maperitive now, but all I get is timeouts for this area of the world... And downloading using the REST/API url tells me that the bbox is too large...
So is there some other smart/easy way? I am downloading the 12 GB planet file right now.
(this is just for fun, I delivered the map with the ESRI roads data)
#2
Posted 29 November 2010 - 10:59 AM
Charles Syrett
Map Graphics
http://www.mapgraphics.com
#3
Posted 29 November 2010 - 11:51 AM
http://download.clou...om/africa/sudan
Regards, N.
#4
Posted 29 November 2010 - 11:56 AM
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
#5
Posted 30 November 2010 - 03:17 AM
They say the update their data daily using the OSM servers.
Cheers,
C
http://wygoda.net
#6
Posted 30 November 2010 - 06:43 AM
Hans, thanks for the offer, but I don't think it is needed right now. I assume that you have downloaded a planet.osm file (and converted it?).
Any tips on what I would use to do extracts from the giant planet.osm file?
#7
Posted 30 November 2010 - 08:35 AM
That was just for a small area though, not a whole country...
#8
Posted 30 November 2010 - 09:28 AM
Hum, a twelve-gigabyte OSM file. The only practical way I can think of would be to load it into a PostGIS database using osm2pgsql. Once aboard the lugger, sorry, once in the database it would be possible to select the data required by extent and feature and bring it into GIS.Any tips on what I would use to do extracts from the giant planet.osm file?
There are tools that are supposed to be able to subset OSM data, but I'm not sure how they would perform with a such a huge OSM file.
Regards, N.
#9
Posted 30 November 2010 - 09:33 AM
But that loader script seems to work fine on the 183MB africa.osm.bz2 file that I picked up... (still running though, so i haven't seen the result yet!)
#10
Posted 30 November 2010 - 02:00 PM
Hans, thanks for the offer, but I don't think it is needed right now. I assume that you have downloaded a planet.osm file (and converted it?).
I haven't dared doing that yet... No, my process queries the OSM database directly, which is why it's not exactly suited to doing large regions.
I might give the planet.osm-to-database a go. Once it's in there I can get by with just the diff files and I'd be able to get extracts faster since it'll be coming out of my local database.
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
#11
Posted 01 December 2010 - 03:57 AM
#12
Posted 01 December 2010 - 03:59 AM
I haven't dared doing that yet... No, my process queries the OSM database directly, which is why it's not exactly suited to doing large regions.
My understanding is that there is a maximum bbox of .25 degrees by .25 degrees for the REST api - so one would have to split into tiles and query for them separately, and then merge them...
#13
Posted 01 December 2010 - 10:20 AM
My understanding is that there is a maximum bbox of .25 degrees by .25 degrees for the REST api - so one would have to split into tiles and query for them separately, and then merge them...
I thought it was limited to a certain number of objects. A fixed size would be too easy...
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
#14
Posted 02 December 2010 - 04:10 PM
#15
Posted 18 March 2011 - 12:33 PM
And that site with shape file exports has only a few countries in Africa... Global Mapper only loads up pre-rendered tiles (no vector data).
So is there some other smart/easy way? I am downloading the 12 GB planet file right now.
(this is just for fun, I delivered the map with the ESRI roads data)
I know this thread is a little old...but
Actually globalmapper can read the OSM xml based file - just not through the menu that deals with online sources.
I will warn you, if you extract the osm file for some reason, it's huge. I suspect that the arc method might have run out of memory. I'm also interested in getting the entire planet file into a geodatabase. Has anyone since been able to do this?
Also, has anyone written a sqlite or spatialite importer for the Planet file? I ask as I wouldnt mind making my own tiles, but wish to symbolize using QGIS or ArcMap (or something similar). Editing the mapnik xml files gives me a headache.
Maybe I'll have to take a look at tilemill.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account

Sweden
Back to top
Canada
United Kingdom
Netherlands
Germany
United States








