View Source AWS.GeoPlaces (aws-elixir v1.0.4)

The Places API enables powerful location search and geocoding capabilities for your applications, offering global coverage with rich, detailed information.

Key features include:

* Forward and reverse geocoding for addresses and coordinates

* Comprehensive place searches with detailed information, including:

*

Business names and addresses

*

Contact information

*

Hours of operation

*

POI (Points of Interest) categories

*

Food types for restaurants

*

Chain affiliation for relevant businesses

* Global data coverage with a wide range of POI categories

* Regular data updates to ensure accuracy and relevance

Link to this section Summary

Functions

The autocomplete operation speeds up and increases the accuracy of entering addresses by providing a list of address candidates matching a partially entered address.

The Geocode action allows you to obtain coordinates, addresses, and other information about places.

The ReverseGeocode operation allows you to retrieve addresses and place information from coordinates.

Search nearby a specified location.

Use the SearchText operation to search for geocode and place information.

The Suggest operation finds addresses or place candidates based on incomplete or misspelled queries.

Link to this section Functions

Link to this function

autocomplete(client, input, options \\ [])

View Source

The autocomplete operation speeds up and increases the accuracy of entering addresses by providing a list of address candidates matching a partially entered address.

Results are sorted from most to least matching. Filtering and biasing can be used to increase the relevance of the results if additional search context is known

Link to this function

geocode(client, input, options \\ [])

View Source

The Geocode action allows you to obtain coordinates, addresses, and other information about places.

Link to this function

get_place(client, place_id, additional_features \\ nil, intended_use \\ nil, key \\ nil, language \\ nil, political_view \\ nil, options \\ [])

View Source

Finds a place by its unique ID.

A PlaceId is returned by other place operations.

Link to this function

reverse_geocode(client, input, options \\ [])

View Source

The ReverseGeocode operation allows you to retrieve addresses and place information from coordinates.

Link to this function

search_nearby(client, input, options \\ [])

View Source

Search nearby a specified location.

Link to this function

search_text(client, input, options \\ [])

View Source

Use the SearchText operation to search for geocode and place information.

You can then complete a follow-up query suggested from the Suggest API via a query id.

Link to this function

suggest(client, input, options \\ [])

View Source

The Suggest operation finds addresses or place candidates based on incomplete or misspelled queries.

You then select the best query to submit based on the returned results.