[Tile-serving] [openstreetmap/osm2pgsql] How to load OSM file from local machine to the server using osm2pgsql? (#929)

GAUTAM SHAHI notifications at github.com
Wed May 1 11:39:04 UTC 2019


I wanted to upload the OSM file from my local machine to server using osm2pgsql, but the data is not imported.

I have just created the database s1(no table), do I need to create the table also, if yes how?

My osm2pgsql query

    osm2pgsql -c -d osm -U s1 --password xx -k -H yy  /home/g/Downloads/niedersachsen-latest.osm.pbf pbf -r -S /home/g/default.style -s

I am getting an error 

    Osm2pgsql failed due to ERROR: Unknown file format '-S'.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/929
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20190501/3d1eddef/attachment.html>


More information about the Tile-serving mailing list