create_features
Create shapefiles or geodatabase feature classes from GeoJSON. Automatically converts properties to attribute fields; coordinates must be in WGS84 lon/lat.
Instructions
Create vector data (shapefile or geodatabase feature class) from GeoJSON.
This is the fastest way to MAKE data from scratch: emit a GeoJSON
FeatureCollection and pick an output path. output_path decides the
format: C:\data\roads.shp creates a shapefile, C:\data\my.gdb\roads
a file-geodatabase feature class. Attribute fields are created from the
feature properties automatically. Coordinates must be WGS84 lon/lat (the
GeoJSON spec); use run_gp_tool 'Project_management' afterwards if you
need another CRS. Existing outputs are overwritten. The geometry type is
inferred from the data; set geometry_type (POINT, MULTIPOINT, POLYLINE,
POLYGON) only when the collection mixes types and you must pick one.
Returns a description of the created dataset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geojson | Yes | ||
| output_path | Yes | ||
| geometry_type | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |