Riverscapes / QRiS

Riverscapes Studio - for QGIS
https://qris.riverscapes.net
GNU General Public License v3.0
1 stars 0 forks source link

Failing to get Zonal Statistics from Sampling Frame #229

Closed Jdgilby closed 11 months ago

Jdgilby commented 1 year ago

Same project as issue #228. All data has been copy and pasted in and attributes fit to match, this might be part of the problem.

This is the only message Im getting when trying to run zonal stats.

2023-07-20T07:36:50 CRITICAL Geospatial metrics exception: 'NoneType' object has no attribute 'SetGeoTransform'

Jdgilby commented 1 year ago

@KellyMWhitehead another error trying to run zonal stats.

2023-07-26T15:05:16 CRITICAL Geospatial metrics exception: The operation 'GEOSIntersection_r' could not be performed. Likely cause is invalidity of the geometry

Should there be some sort of operation/tool checking and or fixing geometries before it tries to do zonal stats? I see potential for a lot of invalid geometries as a result of doing manual digitization.

KellyMWhitehead commented 11 months ago

Version 0.2.5: Geometries now utilizing the Make Valid method in zonal statistics. Please reopen if this does not resolve the issue.