SAGA 9.6.1 | Tool Library Documentation

Contour Lines from Grid


Description

Derive contour lines (isolines) from a grid.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridgrid, inputGRID--
OutputContourshapes, outputCONTOUR--
Polygonsshapes, output, optionalPOLYGONS--
OptionsGrid systemgrid systemGRID_GRIDSYSTEM--
Vertex TypechoiceVERTEX-Available Choices: [0] x, y [1] x, y, z Default: 0
Parallel ProcessingbooleanLINE_OMP-Default: 1
Split Line PartsbooleanLINE_PARTS-Default: 1
Parallel ProcessingbooleanPOLY_OMP-Default: 1
Split Polygon PartsbooleanPOLY_PARTS-Default: 1
Coordinate Precision FixbooleanPRECISIONCheck to avoid coordinate precision issues with polygon construction, particularly helpful with geographic coordinates or in general with comparatively small cell sizes.Default: 0
Interpolation Scalefloating point numberSCALEset greater one for line smoothingMinimum: 0.000000 Default: 1.000000
Boundary ExtensionbooleanBOUNDARYExtend contours beyond boundary. Internally input grid is extrapolated by one cell size in each direction (top, down, left, right).Default: 0
Minimum Lengthfloating point numberMINLENGTHContour line segments with minimum length [map units] or less will be removed from resulting data set.Minimum: 0.000000 Default: 0.000000
Interval DefinitionchoiceINTERVALS-Available Choices: [0] single value [1] equal intervals [2] from list Default: 1
Base Contour Valuefloating point numberZMIN-Default: 0.000000
Maximum Contour Valuefloating point numberZMAX-Default: 1000.000000
Contour Intervalfloating point numberZSTEP-Minimum: 0.000000 Default: 100.000000
Contour ValuestextZLISTList of comma separated values.Default: 0, 10, 20, 50, 100, 200, 500, 1000

Command Line


Usage: saga_cmd shapes_grid 5 [-GRID ] [-CONTOUR ] [-VERTEX ] [-LINE_OMP ] [-LINE_PARTS ] [-POLYGONS ] [-POLY_OMP ] [-POLY_PARTS ] [-PRECISION ] [-SCALE ] [-BOUNDARY ] [-MINLENGTH ] [-INTERVALS ] [-ZMIN ] [-ZMAX ] [-ZSTEP ] [-ZLIST ]
  -GRID:        	Grid
	grid, input
  -CONTOUR:     	Contour
	shapes, output
  -VERTEX:      	Vertex Type
	choice
	Available Choices:
	[0] x, y
	[1] x, y, z
	Default: 0
  -LINE_OMP:    	Parallel Processing
	boolean
	Default: 1
  -LINE_PARTS:  	Split Line Parts
	boolean
	Default: 1
  -POLYGONS:    	Polygons
	shapes, output, optional
  -POLY_OMP:    	Parallel Processing
	boolean
	Default: 1
  -POLY_PARTS:  	Split Polygon Parts
	boolean
	Default: 1
  -PRECISION:   	Coordinate Precision Fix
	boolean
	Default: 0
  -SCALE:    	Interpolation Scale
	floating point number
	Minimum: 0.000000
	Default: 1.000000
  -BOUNDARY:    	Boundary Extension
	boolean
	Default: 0
  -MINLENGTH:	Minimum Length
	floating point number
	Minimum: 0.000000
	Default: 0.000000
  -INTERVALS:   	Interval Definition
	choice
	Available Choices:
	[0] single value
	[1] equal intervals
	[2] from list
	Default: 1
  -ZMIN:     	Base Contour Value
	floating point number
	Default: 0.000000
  -ZMAX:     	Maximum Contour Value
	floating point number
	Default: 1000.000000
  -ZSTEP:    	Contour Interval
	floating point number
	Minimum: 0.000000
	Default: 100.000000
  -ZLIST:       	Contour Values
	text
	Default: 0, 10, 20, 50, 100, 200, 500, 1000