SAGA-GIS Module Library Documentation (v2.3.0)

Module 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 module allows one to attach the geometrical properties (x,y(z,m)) of each point as additional attributes.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsShapes (input)INPUTInput polygon shapefile-
PointsShapes (input)POINTSInput point shapefile-
OutputResult (*)Shapes (optional output)OUTPUTOptional 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 (optional output)
  -ADD_LOCATION_INFO:<str>	Add Location Info
	Boolean
	Default: 0