Thanks for the reply,
I cannot access that mailing list page because of the security restrictions where I am (it’s a goverment agency… it’s a pain). Can you data be downloaded in a common format (like shapefiles)? I’m using a GeoServer WMS to serve my data, which supports shapefiles and postgis (I’ve never used this, though). As long as one of these is possible then it’s suitable.
It’s a shame there’s no WMS available I can connect to to save my bandwidth!
Any advice would be greatly appreciated,
Thanks,
Jon
OpenStreetMap once had it’s own WMS but that is history. Our ‘product’ is an XML file called ‘the planet file’ that contains all our data for the whole world. It is exported form our database on a weekly basis and you can download it from the main site and several mirrors.
Several tools have been developed to import, convert, extract, etc. the planet file into other formats, databases, etc. You might have to develop a tool for your target format if it isn’t available yet, but you can probably reuse some of the existing tools for that which can be found in the wiki or trac so that shouldn’t be a major problem. We would appreciate it ofcourse if any new tool or improvements made to the existing tools or dataset are donated back to the community.
I run Geoserver WFS service that delivers Scandinavian OSM data from PostGIS. For loading OSM data into PostGIS I am using a very efficient utility “osm2pgsql”. Unfortunately I cannot keep my service up all the time, but feel feel free to ask more if you are interested.
Thanks for the offer but I only really need the UK data. While you mention osm2pgsql… are you running it on windows? I’ve downloaded the Windows version from http://artem.dev.openstreetmap.org/files/ and I can’t get it working. I don’t have access to anything other that Windows where I am right now.
The network here in my office does not allow me access to the mailing list (comes up as “General Email”). Could you please forward any response to me at jon.britton [at] forestry.gsi.gov.uk? Or just post it here.
You should use pgadmin3 to give yourself (your login username) enough rights (create/update/select etc) on database you’re loading data, and also enable password-less connections from localhost (TRUST option in pg_hba.conf )
Oh, one more thing… is it possible to get closed-polygon coastline data? The old uk postgis dump had coastline lines (they were in the planet_osm_polygon table but weren’t actually polygons…), and this new version I’ve just added to the database doesn’t have anything at all.