Distancia elipsoidal (Vincenty)
geo-vincentyCalcula la distancia geodésica sobre el elipsoide WGS84 (fórmula inversa de Vincenty) con rumbos inicial y final. Cuándo: hay que calcular coordenadas, distancias, rumbos o áreas a partir de puntos dados. No para: calcular la distancia ortodrómica entre dos puntos (geo-haversine). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Computes the geodesic distance and initial/final bearings between two points on the WGS84 ellipsoid using Vincenty's inverse formula (millimetre accuracy); reports non-convergence for near-antipodal points. When: coordinates, distances, bearings or areas have to be computed from given points. Not for: computing the great-circle distance between two lat/lon points on a spherical Earth (geo-haversine). Side effects: none (read-only, no network access, no stored state). [EN completo / full EN: inputSchema.description]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Point as {lat, lon} in decimal degrees (WGS84) (object; required). | |
| from | Yes | Point as {lat, lon} in decimal degrees (WGS84) (object; required). | |
| unit | No | Distance unit (optional; one of: m, km, mi, nmi, ft; default "m"). | m |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| distance | No | ||
| converged | No | ||
| final_bearing | No | ||
| initial_bearing | No |