Open EricSamson-Tract opened 4 weeks ago
I see that you've installed rasterio
via pypi which is known to cause conflicts with conda (they package their own GDAL library and is not recommended for production - see https://rasterio.readthedocs.io/en/stable/installation.html).
Can you try again in a brand new environment with just qgis
? And not install anything from pypi into it...
Solution to issue cannot be found in the documentation.
Issue
When running fix geometries from a conda environment with QGIS installed, fix geometries will work on all geometries except for 1 or 2. When running fix geometries within QGIS, it will fix all geometries (based on geos).
`def zonal_histogram_qgis(gdf, raster_path): temp_dir = tempfile.mkdtemp() temp_shapefile = os.path.join(temp_dir, 'parcels.shp') gdf.to_file(temp_shapefile)
Installed packages
Environment info