Hi,

We successfully loaded the planet files using the following ogr2ogr command

ogr2ogr -progress -append -f PostgreSQL PG:"dbname='osm' active_schema='latest' 
host=myhostname' port='myport' user='myuser' password='mypassword'" 
kansas-latest.osm.pbf -lco COLUMN_TYPES=other_tags=hstore -lco 
GEOM_TYPE=geometry -lco GEOMETRY_NAME=the_geom --config OSM_COMPRESS_NODES YES 
--config OSM_MAX_TMPFILE_SIZE 1024

Perhaps this will work for you as well?

You will still have to manipulate the database tables to the format you require 
from the tables that are generated.

Ref: 
http://osgeo-org.1560.x6.nabble.com/gdal-dev-New-OGR-driver-to-read-OpenStreetMap-osm-pbf-files-td4987382.html

Chris Snider
Senior Software Engineer
Intelligent Software Solutions, Inc.
[Description: Description: Description: cid:[email protected]]

From: Jonathan Moules [mailto:[email protected]]
Sent: Friday, April 11, 2014 6:36 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Geoserver-users] FW: Help in loading OpenStreetMap [.osm file]

Hi Rushil,
You're not clear what the problem is. What part of that isn't clear?
Probably a better idea is to use the OpenStreetMap documentation for how to 
load to PostGIS and work from there.

Cheers,
Jonathan


On 10 April 2014 07:48, 
<[email protected]<mailto:[email protected]>> wrote:
Hi Team,

I am trying to load open street data in Geoserver 2.5. I browsed this link but 
not merely able to understand the steps.
http://blog.geoserver.org/2009/01/30/geoserver-and-openstreetmap/

Kindly help in doing the same.

Regards,
Rushil


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.

<<inline: image001.png>>

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to