geocode
Translate coordinates to the closest address(es)/places/stops.
Changed onget/api/v1/reverse-geocode
Request
- Base URLhttps://api.transitous.org
- URLhttps://api.transitous.org/api/v1/reverse-geocode
- Authnone declared
Query parameters
placestring required
latitude, longitude in degrees
typeLocation Type[]
Optional. Default is all types.
Only return results matching one of the given types. For example, this can be used to allow only ADDRESS and STOP results.
numResultsinteger
Optional. Number of results to return.
If omitted, 5 results are returned by default. Must be <= server config variable reverse_geocode_max_results.
Response
A list of guesses to resolve the coordinates to a location
Changes
- warning
added the new
HGVenum value to the//response property for the response status
- warning
- breaking
removed the enum value
ADDRESSfrom thequeryrequest parametertype - breaking
removed the enum value
PLACEfrom thequeryrequest parametertype - breaking
removed the enum value
STOPfrom thequeryrequest parametertype - breaking
for the
queryrequest parametertype, the type changed fromstringtoarray
- breaking