Add create_geometry_index table option to a flex config #1550
Replies: 2 comments 2 replies
-
This has come up several times already. We are looking for some more general solution here. Adding more and more options to enable or disable different parts of the osmp2gsql processing chain will create a huge mess which nobody can understand after a while. If anybody has an idea how to do this, please speak up. We have to keep in mind that osm2pgsql does many different things depending on what command line options are used and what's in the config file. It usually "does the right thing" and it does the "performant" thing, so it knows about a good sequence of doing the processing etc. If we allow the user to fiddle with these things, we loose the ability to change them to make osm2pgsql better for the "normal" use case. We'd have to document what osm2pgsql is doing when so that users can understand what all the new options mean, but then we are stuck with that sequence and so on. |
Beta Was this translation helpful? Give feedback.
-
This option can default to "true" (or "auto" - same strategy as for |
Beta Was this translation helpful? Give feedback.
-
Currently, there is only a
cluster
option to control clustering on geometry index.But there are cases when geometry index is not needed at all.
Adding a
create_geometry_index
flag to table options would speed up imports in those cases.Beta Was this translation helpful? Give feedback.
All reactions