-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make edge_id user configurable #1737
Conversation
Am I correct that this is only breaking in the sense that the new version expects |
Correct on both. You can read older models with Python, as pyogrio hardcodes the index to fid anyway, we rename it afterwards. 😄 |
Regarding this point from #1718:
Should we create an issue to start hiding A bit of a nit, but in QGIS This id column is hardcoded in the iMOD QGIS plugin to |
Co-authored-by: Martijn Visser <[email protected]>
I tried to make things consistent by having the indexes always there in Python with the same name as well, not just in geopackage. While the
Not sure why that happens, in the table schema it shows up as the first column. |
Great, let's merge then. The |
Fixes #1718
Sets node_id and edge_id as primary key fields in the geopackage. Also sets fid indexes for all non-node/edge tables. This now sorts the Node table by node_id only (used to be node_type first).
I triggered some bugs by the amount of code I touched, so I changed some more: