Generate Contours-Non Null Selections.txt

Joel Scott, 2018-10-26 01:55 AM

Download (2.42 KB)

 
1
With all Points
2
	Loading resulting layers
3
	Algorithm 'Generate Contours' finished
4
	Processing algorithm…
5
	Algorithm 'Generate Contours' starting…
6
	Input parameters:
7
	{ 'ContourInterval' : 100, 'ContourLevels' : '', 'ContourMethod' : 0, 'ContourType' : 0, 'DuplicatePointTolerance' : 100, 'ExtendOption' : 0, 'InputField' : 'CASE WHEN \"topsTOP\" is not null and \"topsELEVATION\" is not null and \"topsFORMATION\" Like \'%Prec%\' THEN \"topsELEVATION\" - \"topsTOP\" END', 'InputLayer' : 'C:/Users/jesco/OneDrive/Documents/GIS Data/Project Files/USA/Kansas/Culture Data/Oil and Gas Wells/OILGAS_WELLS_GEO27.shp', 'LabelDecimalPlaces' : 0, 'LabelTrimZeros' : False, 'LabelUnits' : '', 'MaxContourValue' : None, 'MinContourValue' : None, 'NContour' : 200, 'OutputLayer' : 'memory:' }
8

    
9
	Traceback (most recent call last):
10
	File "C:/Users/jesco/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour\ContourGeneratorAlgorithm.py", line 326, in processAlgorithm
11
	for feature in generator.contourFeatures():
12
	File "C:/Users/jesco/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour\ContourGenerator.py", line 500, in lineContourFeatures
13
	x,y,z=self.data()
14
	File "C:/Users/jesco/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour\ContourGenerator.py", line 291, in data
15
	zval=float(zval)
16
	TypeError: float() argument must be a string or a number, not 'NoneType'
17

    
18
	Execution failed after 0.01 seconds
19

    
20

    
21

    
22
With Nulls excluded via Selection
23
	Loading resulting layers
24
	Algorithm 'Generate Contours' finished
25
	Processing algorithm…
26
	Algorithm 'Generate Contours' starting…
27
	Input parameters:
28
	{ 'ContourInterval' : 100, 'ContourLevels' : '', 'ContourMethod' : 0, 'ContourType' : 0, 'DuplicatePointTolerance' : 100, 'ExtendOption' : 0, 'InputField' : 'CASE WHEN \"topsTOP\" is not null and \"topsELEVATION\" is not null and \"topsFORMATION\" Like \'%Prec%\' THEN \"topsELEVATION\" - \"topsTOP\" END', 'InputLayer' : QgsProcessingFeatureSourceDefinition('OILGAS_WELLS_GEO27_709bae64_efb3_4943_b7e1_c06eade60676', True), 'LabelDecimalPlaces' : 0, 'LabelTrimZeros' : False, 'LabelUnits' : '', 'MaxContourValue' : None, 'MinContourValue' : None, 'NContour' : 200, 'OutputLayer' : 'memory:' }
29

    
30
	2 near duplicate points discarded - tolerance 100.0
31
	Triangulating 67 points
32
	Contouring 123 triangles
33
	Execution completed in 0.20 seconds
34
	Results:
35
	{'OutputLayer': 'output_1ccf374a_596f_4014_bc8d_f8c8f290ddcf'}