Geocoding¶
-
terralego.geocoding.autocomplete(text, params=None)¶ Autocomplete locations from a string.
Parameters: - text – The string which will be used to do the autocomplete.
- params – A dict including other get parameters.
Returns: A geojson including the results.
-
terralego.geocoding.reverse(lat, long, params=None)¶ Search addresses from a location.
Parameters: - lat – The latitude of the location.
- long – The longitude of the location.
- params – A dict including other get parameters.
Returns: A geojson including the results.
-
terralego.geocoding.search(text, params=None)¶ Search locations from a string.
Parameters: - text – The string which will be used to do the search.
- params – A dict including other get parameters.
Returns: A geojson including the results.