I have 6 point .shp files wich contain elevation data, the first 3 files are rather small (about 200MB for the shp and 1GB for the dbf) and the last 3 much larger (500MB .shp and 3.5GB for dbf). I would like to create filled polygons between the lines. The plugin "generate contours" is perfect for my needs.
Unfortunately, the tool only works for small files. When running the script with larger files I get the following error message.
QGIS-Version: 3.10.12-A Coruña QGIS-Codeversion: 75c848ffb1 Qt-Version: 5.11.2 GDAL-Version: 3.1.4 GEOS-Version: 3.8.1-CAPI-1.13.3 PROJ-Version: Rel. 6.3.2, May 1st, 2020 Verarbeite Algorithmus… Algorithmus Generate Contours startet… Eingabeparameter: { 'ContourInterval' : 2, 'ContourLevels' : '', 'ContourMethod' : 3, 'ContourType' : 1, 'DuplicatePointTolerance' : 0, 'ExtendOption' : 0, 'InputField' : '"zfield"', 'InputLayer' : 'C:/Users/denni/Desktop/462000_5520000_dgm1.shp', 'LabelDecimalPlaces' : -1, 'LabelTrimZeros' : False, 'LabelUnits' : '', 'MaxContourValue' : None, 'MinContourValue' : None, 'NContour' : 2000, 'OutputLayer' : 'TEMPORARY_OUTPUT' }
Triangulating 17936620 points Traceback (most recent call last): File "C:/Users/denni/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour\ContourGenerator.py", line 585, in filledContourFeatures trig,z=self.trigContourData() File "C:/Users/denni/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour\ContourGenerator.py", line 472, in trigContourData trig=self.buildTriangulation(x,y) File "C:/Users/denni/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour\ContourGenerator.py", line 462, in buildTriangulation trig=Triangulation(x,y) File "C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\matplotlib\tri\triangulation.py", line 54, in init self.triangles, self._neighbors = _qhull.delaunay(x, y) RuntimeError: Error in qhull Delaunay triangulation calculation: insufficient memory (exitcode=4); use python verbose option (-v) to see original qhull error.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:/Users/denni/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour\ContourGeneratorAlgorithm.py", line 326, in processAlgorithm for feature in generator.contourFeatures(): File "C:/Users/denni/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour\ContourGenerator.py", line 588, in filledContourFeatures raise ContourGenerationError.fromException(sys.exc_info()) contour.ContourGenerator.ContourGenerationError: ['RuntimeError: Error in qhull Delaunay triangulation calculation: insufficient memory (exitcode=4); use python verbose option (-v) to see original qhull error.\n']
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:/Users/denni/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour\ContourGeneratorAlgorithm.py", line 330, in processAlgorithm feedback.reportError(ex.message()) TypeError: QgsProcessingFeedback.reportError(): argument 1 has unexpected type 'list'
Ausführung nach 23894.76 Sekunden gescheitert
Lade Ergebnis Layer Algorithmus 'Generate Contours' beendet
It says "insufficient memory" but I still have 71GB on my hard drive. It should be enough shouldn't it. I do have "only" 8GB RAM, perhaps that's not enough. Does anyone have any ideas on what I could do to make it work?
I'm using QGIS 3.10.12