Amazon Location Service Connector
Overview
The Amazon Location Service Connector allows you to integrate with the Location Service on AWS.
Amazon Location Service is a location-based service that you can use to add geospatial data and location functionality to your Mendix applications.
The Amazon Location Service Connector provides the following actions:
- SearchPlaceIndexForText (Geocoding)
- SearchPlaceIndexForPosition (Reverse geocoding)
- CalculateRoute
Documentation
Description
The Amazon Location Service Connector allows you to integrate with the Location Service on AWS.
Amazon Location Service is a location-based service that you can use to add geospatial data and location functionality to your applications.
The Amazon Location Service Connector provides the following actions:
- SearchPlaceIndexForText (Geocoding)
- SearchPlaceIndexForPosition (Reverse geocoding)
Typical usage scenario
Add geospatial data and location functionality to your Mendix applications.
Features
- Convert an address to a set of coordinates (SearchPlaceIndexForText)
- Convert a set of coordinates into meaningful text, such as an address, a region, a business name, or point of interest (SearchPlaceIndexForPosition)
-
Calculates routes between an origin and a destination, with up to 23 waypoints along the route, for different modes of transportation, avoidances, and traffic conditions (CalculateRoute)
Limitations
-
Not a full implementation of the Amazon location service
Dependencies
- Mendix Studio Pro 9.18.0
Prerequisites
- An AWS Account that has access to the Amazon Location Service Connector
- IAM user should be created with API keys for AccessKey and SecretKey
- For SearchPlaceIndexForPosition and SearchPlaceIndexForText, a place index resource needs to be created in the AWS console
-
For CalculateRoute, a route calculator resource needs to be created in the AWS console
Configuration
If you are using Static Credentials update the following constants:
- AmazonLocationServiceConnector.AccessKeyID
- AmazonLocationServiceConnector. SecretAccessKey
If you are using Session-based Credentials update the following constants:
- AmazonLocationServiceConnector.ClientCertificateID
- AmazonLocationServiceConnector.Duration
- AmazonLocationServiceConnector.ProfileARN
- AmazonLocationServiceConnector.RoleARN
- AmazonLocationServiceConnector.SessionName
- AmazonLocationServiceConnector.TrustAnchorARN
and change the AmazonLocationServiceConnector.UseStaticCredentials constant to false.