Add Point Attributes to Polygons
- Author: V. Wichmann (c) 2014
 
- Menu: Shapes | Polygons
 
Description
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
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Polygons | shapes, input | INPUT | Input polygon shapefile | - | 
| Points | shapes, input | POINTS | Input point shapefile | - | 
| Output | Result | shapes, output, optional | OUTPUT | Optional output polygon shapefile | - | 
| Options | Attributes | table fields | FIELDS | Attributes to add. Select none to add all | - | 
| Add Location Info | boolean | ADD_LOCATION_INFO | Add location information from points (x,y,(z,m)) | Default: 0 | 
Command Line
Usage: saga_cmd shapes_polygons 20 [-INPUT ] [-POINTS ] [-FIELDS ] [-OUTPUT ] [-ADD_LOCATION_INFO ]
  -INPUT:            	Polygons
	shapes, input
  -POINTS:           	Points
	shapes, input
  -FIELDS:           	Attributes
	table fields
  -OUTPUT:           	Result
	shapes, output, optional
  -ADD_LOCATION_INFO:	Add Location Info
	boolean
	Default: 0