[Tile-serving] [openstreetmap/osm2pgsql] Stuck on PREPARE get_wkb(int8) AS SELECT way FROM "planet_osm_roads" WHERE osm_id = $1 (#1515)

Oscar Corredor notifications at github.com
Wed Jun 2 12:28:23 UTC 2021


> There is a typo in your command-line here:
> 
> ```
> osm2pgsql -r pbf -s -d osm -l -v -C 15000 --slim --drop --number-processes=8 -U odco -W - localhost -P 5432 --log-level='debug' --log-sql --log-sql-data colombia-latest.osm.pbf
>                                                                                        ^^^ 
> ```
> 
> You probably meant to write `-H localhost`. Because of the typo osm2pgsql interprets `-` as an input file. `-` means to read data from stdin. So after initialisation osm2pgsql just sits there and waits for data.

Thanks! this has done it!

-- 
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/1515#issuecomment-852984988
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210602/961f86dd/attachment.htm>


More information about the Tile-serving mailing list