qfieldsync icon indicating copy to clipboard operation
qfieldsync copied to clipboard

QFieldSync doesn't work with 3dimensional PostGIS-data

Open dbtw191 opened this issue 4 years ago • 1 comments

I have a PostGIS materialized view as a layer in my QGIS-project file. The geometry-field of the materialized view is a 3dimensional point-geometry. This geometry-field is generated by st_force3d(source_geometry). That means, the original source_geometry is 2dimensional. When QFieldSync exports that layer into the base.gpkg no features will be exported.

QGIS handles my materialized view layer without error and I can export the layer by 'hand' via layer > export > save as gpkg and selecting 'point-geometry' and 'include z-dimension'. So that shows me, that there is no general problem with my materialized view layer. Just the QFieldSync-export to base.gpkg doesn't work. Would be great if someone could help me with that issue.

dbtw191 avatar Mar 18 '21 10:03 dbtw191

Can you try the qgis offline editing plugin and see if it works with that? Ideally try with the latest version of qgis.

m-kuhn avatar Mar 30 '21 06:03 m-kuhn