[Geoserver-users] FW: Help in loading OpenStreetMap [.osm file]

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

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

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.

···

On 10 April 2014 07:48, <rushil.agarwal@anonymised.com> 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
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

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:image001.png@anonymised.com633...

···

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, <rushil.agarwal@anonymised.com> 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
Geoserver-users@anonymised.comsts.sourceforge.net
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.