define_projection
Assign coordinate reference metadata to a dataset whose spatial reference is missing or unknown. This is metadata-only, does not transform coordinates, and requires confirm=true with a correct WKID.
Instructions
Assign coordinate reference metadata to an existing dataset using ArcPy DefineProjection and a WKID or EPSG code. Use this only when the dataset coordinates are already in the specified CRS but the spatial reference is missing or unknown. This is metadata-only, does not transform coordinates, mutates the dataset definition, and requires confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||