[gdal-dev] ogr2ogr openstreetmap

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Wed Sep 4 07:21:53 PDT 2019


I can't tell what goes wrong but your command works for me and new tables
have this much features:

points "809161"
lines "1517114"
multilinestrings "9812"
multipolygons "3317706"
other_relations "12587"

I used the default osmconf.ini file and Swedish data from last night.

-Jukka Rahkonen-



paul.malm wrote
> Hi,
> When I try to convert an open street map directory to a postgis data base
> I only get one layer(other_relations) with some lines and some points, far
> from everything.  There are no error meassages.
> ogr2ogr-f "PostgreSQL" PG:"host= 127.0.0.1 user=postgres dbname=test
> password=postgres" c:\temp\sweden-latest.osm.pbf
> 
> Kind regards,
> Paul





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list