3liz / qgis-pgmetadata-plugin

QGIS Plugin to manage some metadata from PostgreSQL layer
GNU General Public License v2.0
12 stars 10 forks source link

Fix "array exceeds maximum" for layers with many features #158

Closed effjot closed 1 year ago

effjot commented 1 year ago

PostgreSQL trigger for insert/update checks for number of features and calls ST_ConvexHull(ST_collect()) or ST_Extent() (simple bounding box) accordingly.

Fixes #126

TODO: Cutoff value for bounding box set to 500000, might still be too big. Please check with other datasets.

Gustry commented 1 year ago

Ok, I will release a version as it's a bugfix, and then we can look to other discussions