-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Editing PostGIS Layer Fails #5345
Comments
@rettenda , what do you do exactly to "update the geometry"? Which geometry editor tool are you using? |
@nirvn , unfortunately out tablet is in use with a colleague at the moment, so i'm not capable of creating screenshots. I try to describe the process, but if it's unclear I could create the screenshots later.. Steps for creating points:
Steps for updating the points:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue
We have created a few QField projects last year. The main datasource is a PostGIS database that we access directly. Just after the setup, everything worked just fine. But now we tried to replicate the project and had some issues when directly updating the geometries with a GNSS reciever.
The database contains 2d point features, and when creating new points everything works flawlessly. But as soon as we try to edit the geometries of existing points, saving fails with the message "ERROR: Geometry has Z dimension but column does not". As it worked last year, and the behaviour is not the same when creating and editing features, I assume this is a bug introduced in a recent version.
Reproduction steps
Steps to reproduce the behavior:
Expected behavior
Z value of point gets dropped, just like when creating the point
Observed behavior
Saving the changes fails with error "ERROR: Geometry has Z dimension but column does not" in the log protocol.
Screenshots and GIFs
Desktop
Mobile
Additional information
The text was updated successfully, but these errors were encountered: