[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 15:09:38 UTC 2022
I used this process to load and prepare my database for updates:
```sh
curl -s https://download.geofabrik.de/europe-220116.osm.pbf | \
osmium extract -p denmark_ext.geojson -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
```
And then update with:
```sh
python3 osm2pgsql-replication.py update --prefix denmark_ext
```
That will update with all changes in europe, which I now realize is what I have asked it for..
But, I would like to update only within the same polygon (defined by `denmark_ext.geojson`). Is that possible or would that need new feature development for the osm2pgsql-replication.py helper script?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/discussions/1612
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/repo-discussions/1612 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220117/9cfc0853/attachment.htm>
More information about the Tile-serving
mailing list