Geo Calculation Toolkit API
Provides functionalities to calculate distances based on coordinates, determine whether a point lies within a specific area, check for overlaps between areas, and find the nearest coordinates.
Geo Calculation Toolkit API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Distance Calculation | ||
| POST |
/distance/between-coordinates /distance/between-coordinates |
This is an HTTP API that calculates the distance between two geographic coordinates. |
| POST |
/distance/from-point-to-line/perpendicular /distance/from-point-to-line/perpendicular |
This is an HTTP API that calculates the perpendicular distance from a coordinate to a specified line segment. |
| POST |
/distance/from-point-to-line/shortest /distance/from-point-to-line/shortest |
This is an HTTP API that calculates the shortest distance from a coordinate to a line segment, considering only the finite bounds of the segment. |
| Length Calculation | ||
| POST |
/length/circle/boundary /length/circle/boundary |
This is an HTTP API that calculates the total boundary length (circumference) of a given circular area. |
| POST |
/length/polygon/boundary /length/polygon/boundary |
This is an HTTP API that calculates the total boundary length of a given polygonal area. |
| POST |
/length/polyline /length/polyline |
This is an HTTP API that calculates the total geographic length of a given polyline. |
| Coordinates Calculation | ||
| POST |
/coordinate/perpendicular-foot /coordinate/perpendicular-foot |
This is an HTTP API that calculates the perpendicular foot of a coordinate on a given line segment. |
| POST |
/coordinate/closest-on-line /coordinate/closest-on-line |
This is an HTTP API that finds the closest point on a given line segment from an input coordinate. |
| POST |
/coordinate/move-toward-coordinate /coordinate/move-toward-coordinate |
This is an HTTP API that calculates the coordinate reached after moving a certain distance from one point toward another point. |
| POST |
/coordinate/move-in-bearing /coordinate/move-in-bearing |
This is an HTTP API that calculates the destination coordinate after moving a certain distance from a starting point in a specified bearing. |
| Containment Check | ||
| POST |
/containment/circle/coordinate /containment/circle/coordinate |
This is an HTTP API that determines whether a given coordinate is contained within a circular area. |
| POST |
/containment/polygon/coordinate /containment/polygon/coordinate |
This is an HTTP API that determines whether a given coordinate is contained within a polygonal area. |
| Intersection Check | ||
| POST |
/intersection/polyline-pair /intersection/polyline-pair |
This is an HTTP API that determines whether two polylines intersect. |
| POST |
/intersection/polyline-circle /intersection/polyline-circle |
This is an HTTP API that determines whether a polyline intersects with a circular area. |
| POST |
/intersection/circle-pair /intersection/circle-pair |
This is an HTTP API that determines whether two circular areas intersect. |
| POST |
/intersection/polyline-polygon /intersection/polyline-polygon |
This is an HTTP API that determines whether a polyline intersects with a polygonal area. |
| POST |
/intersection/polygon-pair /intersection/polygon-pair |
This is an HTTP API that determines whether two polygonal areas intersect. |
Geo Calculation Toolkit API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO Recommended | $10 / month | — |
|