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.
- Author: V. Wichmann (c) 2014
- Menu: Shapes|Polygons
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Polygons | Shapes (input) | INPUT | Input polygon shapefile | - |
Points | Shapes (input) | POINTS | Input point shapefile | - |
Output | Result (*) | Shapes (optional output) | 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 |
(*) 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