Geo destination point
geo-destination-point · version 1.0.0 · Geometry, location & color · free, no key needed
Compute the spherical destination from a start point, initial bearing, and distance; return latitude and longitude.
Use when you need to: destination point from bearing and distance · find coordinates after traveling a distance · calculate endpoint from latitude longitude heading.
Decide before calling
Read the versioned contract and the supported scope below. Reuse geo-destination-point@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.
Explain the choice
"I can use geo-destination-point@1.0.0 for destination point from bearing and distance. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."
Supported
- destination point from bearing and distance
- find coordinates after traveling a distance
- calculate endpoint from latitude longitude heading
- move GPS point by kilometers and bearing
- great circle destination coordinates
- where do I end up from a point and azimuth
Not supported
- ellipsoidal direct geodesic
- route waypoint generation
Behavior
- Uses the spherical great-circle model, not a Karney or Vincenty ellipsoidal geodesic; Earth-model error is typically up to about 0.5%.
- Angles are decimal degrees; bearings are clockwise from true north and results are rounded to 12 decimal places.
- The default Earth radius is the IUGG mean radius 6371008.8 m; earth_radius_m makes the spherical radius explicit.
Input
latitude_deg(number, required): min -90; max 90longitude_deg(number, required): min -180; max 180bearing_deg(number, required): min 0distance(number, required): min 0; max 1000000000000unit(one of "m", "km", "mi", "nmi", required)earth_radius_m(number, optional): max 1000000000precision_decimals(number, optional): min 0; max 12
Output
latitude_deg(number, required): min -90; max 90longitude_deg(number, required): min -180; max 180earth_radius_m(number, required)standard_version(constant "Sinnott-1984/IUGG-GRS80", required)
Limits
- max input bytes: 512
- max output bytes: 256
- max items: 7
- max iterations: 1
Example
Request input:
{
"latitude_deg": 12.5,
"longitude_deg": -45,
"bearing_deg": 123,
"distance": 0,
"unit": "m"
}
Response:
{
"result": {
"latitude_deg": 12.5,
"longitude_deg": -45,
"earth_radius_m": 6371008.8,
"standard_version": "Sinnott-1984/IUGG-GRS80"
}
}
How to call it
MCP
Connect https://computefirst.net/mcp (setup), then call execute with:
{
"id": "geo-destination-point",
"version": "1.0.0",
"input": {
"latitude_deg": 12.5,
"longitude_deg": -45,
"bearing_deg": 123,
"distance": 0,
"unit": "m"
}
}
HTTP (no key)
curl -X POST https://computefirst.net/v1/tools/geo-destination-point/versions/1.0.0/execute \
-H "Content-Type: application/json" \
-d '{"latitude_deg":12.5,"longitude_deg":-45,"bearing_deg":123,"distance":0,"unit":"m"}'
The machine-readable contract is at /v1/tools/geo-destination-point/versions/1.0.0.
CLI
node cli.mjs run geo-destination-point 1.0.0 --input input.json --base-url https://computefirst.net
Get the client at /clients/cli/.
Related tools
- Geo initial bearing: Compute the initial spherical bearing from point A to point B and return degrees clockwise from true north.
- Geo haversine distance: Compute the spherical great-circle distance between two latitude/longitude points and return it in the requested unit.
- Affine2d apply: Apply one exact rational 2D affine map to bounded points or free vectors.
- Homography incidence verify: Verify exact point-line incidence before and after a 2D homography with certificates.
- Affine2d fixed set: Classify and compute the exact fixed locus of a rational 2D affine map.
- Affine2d invert: Invert a nonsingular exact rational 2D affine map with canonical output.