SAGA-GIS Tool Library Documentation (v9.0.1)

Tool Add Point Attributes to Polygons

Spatial join for polygons. Retrieves for each polygon the selected attributes from that point, which is contained in the polygon. In case a polygon contains more than one point, the last point wins.
Optionally, the tool allows one to attach the geometrical properties (x,y(z,m)) of each point as additional attributes.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsShapes, inputINPUTInput polygon shapefile-
PointsShapes, inputPOINTSInput point shapefile-
OutputResult (*)Shapes, output, optionalOUTPUTOptional output polygon shapefile-
OptionsAttributesTable fieldsFIELDSAttributes to add. Select none to add all-
Add Location InfoBooleanADD_LOCATION_INFOAdd location information from points (x,y,(z,m))Default: 0
(*) optional

Command-line

Usage: saga_cmd shapes_polygons 20 [-INPUT <str>] [-POINTS <str>] [-FIELDS <str>] [-OUTPUT <str>] [-ADD_LOCATION_INFO <str>]
  -INPUT:<str>            	Polygons
	Shapes, input
  -POINTS:<str>           	Points
	Shapes, input
  -FIELDS:<str>           	Attributes
	Table fields
  -OUTPUT:<str>           	Result
	Shapes, output, optional
  -ADD_LOCATION_INFO:<str>	Add Location Info
	Boolean
	Default: 0