Resolve a place in India
resolve_placeConverts place names or codes into coordinates, or coordinates into nearby transport points. Finds railway stations, airports, bus stations, and landmarks for trip planning.
Instructions
Turns a name or code into coordinates, or coordinates into nearby transport points. With query: matches railway station codes and names, airport IATA codes and names, bus stations, and landmarks or localities via OpenStreetMap geocoding, returning ranked matches with kind, code and lat/lng. With lat/lng: returns the nearest railway stations (within 10 km), airports with IATA codes (within 60 km) and bus stations (within 5 km), with straight-line distances. Does not search hotels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude, for nearby transport points. | |
| lng | No | Longitude, for nearby transport points. | |
| kind | No | Only return this kind of place. | |
| limit | No | Maximum matches for a query. | |
| query | No | Name or code, e.g. 'Howrah', 'BLR', 'Hawa Mahal'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| nearby | Yes | ||
| matches | Yes |