Nearest place to coordinates
astroway_geo_reverseReverse-geocode coordinates to the nearest populated place and local timezone, with antimeridian, polar, and open-water handling that reports nautical time and distance.
Instructions
The populated place nearest to a point, by great-circle distance over the same list as /geo/search, and the IANA zone of the point itself (which near a border can differ from the place's). Works across the antimeridian and at the poles. At sea timezone is the nautical hour band (Etc/GMT+2, whose sign is inverted by POSIX convention) and nautical is true; place.distanceKm says how far the nearest place is, so a point in open water is not mistaken for a town. featureCode PPLX marks a section of a city rather than a city.
[Group: Astro-Geography] [Endpoint: GET /v1/geo/reverse] [Required: lat, lon] [Cost: 5 credits (Tier ½)]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees, north positive. | |
| lon | Yes | Longitude in decimal degrees, east positive. | |
| lang | No | Language for the place, region and country names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place | No | ||
| dataset | No | ||
| latitude | No | ||
| nautical | No | ||
| timezone | No | ||
| longitude | No | ||
| attribution | No |