[Tile-serving] [openstreetmap/osm2pgsql] osm2pgsql-replication.py updating a extracted (by polygon clip) dataset? (Discussion #1612)
Björn Harrtell
notifications at github.com
Mon Jan 17 16:08:37 UTC 2022
I see, thanks.
I determined that a bbox filter will be enough so I adjusted my method to use bbox filtering on both levels like this:
```sh
curl -s https://download.geofabrik.de/europe-220116.osm.pbf | \
osmium extract -b 6.701660,53.278353,16.018066,58.745407 -F pbf -s simple -f pbf - | \
osm2pgsql --slim --prefix=denmark_ext -r pbf -
python3 osm2pgsql-replication.py init --prefix denmark_ext --server https://download.geofabrik.de/europe-updates
python3 osm2pgsql-replication.py update --prefix denmark_ext -- -b 6.701660,53.278353,16.018066,58.745407
```
It does seem to work. Does it seem reasonable?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/discussions/1612#discussioncomment-1984547
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/repo-discussions/1612/comments/1984547 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220117/2b121246/attachment.htm>
More information about the Tile-serving
mailing list