Transform Coordinates
transform_coordinatesConvert coordinates between any CRS, accepting a point, list, or bounding box and returning the same format. Handles antimeridian-crossing bboxes.
Instructions
Transform coordinates between CRS. Accepts a point {x, y}, a point list [{x, y}, ...], or a bbox {xmin, ymin, xmax, ymax}. Returns the same format. x is always longitude/easting and y latitude/northing, including for EPSG:4326. A bbox that crosses the antimeridian comes back with xmin > xmax and crosses_antimeridian: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| point | No | ||
| points | No | ||
| source_crs | Yes | ||
| target_crs | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||