geo_analyze
Measure or transform geometry using buffer, centroid, bbox, area, length, distance, intersect, union, difference, contains, intersects, nearest, simplify, or convex. Inputs accept GeoJSON, coordinate pairs, Overpass results, and result handles. Polygon overlay operations require areas. Use operation pipeline for up to 12 ordered steps and estimateOnly for cost estimation. Requires a subscription key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | GeoJSON, a [lon, lat] pair, an Overpass result, a places result, or a result handle such as rh_ followed by 32 hex characters. Required for every operation except pipeline. | |
| b | No | The second operand, in the same forms as a. | |
| units | No | meters | |
| returns | No | pipeline only: which step to return, as $stepId. Defaults to the last. | |
| distance | No | Buffer radius or simplify tolerance. | |
| pipeline | No | pipeline only: ordered steps. Any argument may be $anEarlierStepId. | |
| operation | Yes | buffer and simplify take distance. distance, intersect, union, difference, contains, intersects and nearest take a second geometry in b. pipeline runs several steps server-side and takes pipeline instead of a. | |
| estimateOnly | No | pipeline: calculate estimated cost without execution. |