geom_transform
Reshape a geometry with buffer, simplify, hull, centroid, repair, or bounding box operations. Accepts GeoJSON or WKT and uses true ground metres for distances.
Instructions
Reshape a geometry: buffer, simplify, hull, centroid, repair or bounding box.
All distances are true ground metres. Buffering projects to an azimuthal equidistant plane centred on the geometry, so a 5 km buffer is 5 km on the ground at every latitude -- not an ellipse stretched by longitude convergence, which is what buffering in degrees produces.
concave_hull traces the real outline of a scattered point set (a service territory, a fire perimeter); convex_hull bridges across genuine gaps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratio | No | For concave_hull: 0 hugs the points tightly, 1 equals the convex hull. The scale is steeply non-linear -- try 0.0 first and raise it only if the outline is too ragged. | |
| geojson | Yes | Input geometry as GeoJSON (object or string) or WKT. | |
| operation | Yes | The transformation to apply. | |
| distance_m | No | For buffer: offset distance in metres (negative shrinks). For simplify: tolerance in metres. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| geometry | Yes | ||
| measurements | Yes |