create_feature_class
Create an empty feature class in the project's default geodatabase and add it to the map, defining geometry, fields, and coordinate system.
Instructions
Create an empty feature class, by default in the project's default geodatabase, and add it to the map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epsg | No | Coordinate system WKID, e.g. 32647. | |
| name | Yes | Feature class name. | |
| has_m | No | ENABLED or DISABLED. | DISABLED |
| has_z | No | ENABLED or DISABLED. | DISABLED |
| fields | No | Fields to create, e.g. [{"name": "NAME", "type": "TEXT", "length": 50}]. | |
| map_name | No | Map to act on; defaults to the active map. | |
| out_path | No | Target geodatabase or folder. | |
| template | No | Dataset to copy the schema from. | |
| add_to_map | No | Add the result to the map. | |
| geometry_type | No | POINT, MULTIPOINT, POLYLINE or POLYGON. | POLYGON |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |