Can osm2pgsql-replication init
be used with an extract from osmium-tags-filter?
#2263
Unanswered
wcedmisten
asked this question in
Q&A
Replies: 1 comment
-
No. This does not work. For instance a new way might come in with a certain tag that you are interested in but the nodes in that way are not in the update and not in your original data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I want to keep an updated database of all restaurants on the planet. My current approach is to use osmium-tags-filter 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 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:
osm2pgsl-replication init
osm2pgsql-replication update
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions