[Tile-serving] [openstreetmap/osm2pgsql] trying to update database with --append fails when piped osmosis and osm2pgsql (#861)
bambam1
notifications at github.com
Fri Aug 10 13:21:05 UTC 2018
Hi,
When I run `osmosis --read-replication-interval workingDirectory=/home/renderuser/osmosis --simplify-change --write-xml-change changes.osc.gz` and than ` osm2pgsql --append -d gis –-slim changes.osc.gz `everything works fine, but when I pipe `osmosis --read-replication-interval workingDirectory=/home/renderuser/osmosis --simplify-change --write-xml-change - | osm2pgsql --append -d gis –-slim -` I got "Osm2pgsql failed due to ERROR: --append can only be used with slim mode!" same when I try `osmosis --read-replication-interval workingDirectory=/home/renderuser/osmosis --simplify-change --write-xml-change /home/renderuser/osmosis/changes.osc.gz && osm2pgsql --append -d gis –-slim /home/renderuser/osmosis/changes.osc.gz`
any ideas why it fails ? I did import with `osm2pgsql -d gis --create --slim -G --hstore --tag-transform-script ~/src/openstreetmap-carto/openstreetmap-carto.lua -C 7000 --number-processes 6 -S ~/src/openstreetmap-carto/openstreetmap-carto.style ~/data/europe-latest.osm.pbf`
I am using Ubuntu server 18.04 and osm2pgsql 0.94.0
--
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/861
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180810/3d5b1677/attachment.html>
More information about the Tile-serving
mailing list