[gdal-dev] ogr2ogr openstreetmap

paul.malm at lfv.se paul.malm at lfv.se
Wed Sep 4 08:51:53 PDT 2019


Sorry for asking, but how did you use the inifile?
Kind regards,
Paul

> 4 sep. 2019 kl. 16:22 skrev jratike80 <jukka.rahkonen at maanmittauslaitos.fi>:
> 
> 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
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list