Hello! I want to keep an updated database of all restaurants on the planet. My
current approach is to use
[osmium-tags-filter](https://docs.osmcode.org/osmium/latest/osmium-tags-filter.html)
to filter the planet file in order to get a filtered PBF containing just the
restaurants. This is significantly faster than filtering the data in osm2pgsql.
I'm wondering if using this extract with osm2pgsql-replication and the [regular
planet replication URL](https://planet.osm.org/replication/hour/) will result
in unexpected behavior? Does `osm2pgsql-replication` need to initialize with
all existing nodes on the planet in order to process updates correctly?
I'm imagining a process like this, but I'd like to know if it will result in
the correct data:
* Download the standard planet PBF
* Run osmium tags filter to get just the restaurants
* Use that filtered PBF with the flex output for osm2pgsql that also filters
for just restaurants
* Run `osm2pgsl-replication init`
* ...time passes
* Whenever an update is needed, run `osm2pgsql-replication update`
Thanks!
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2263
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving