Using the Amazon Location Service Plugin in QGIS for Map Display, Geocoding, and Route Finding

Using the Amazon Location Service Plugin in QGIS for Map Display, Geocoding, and Route Finding

I will introduce step-by-step procedures for beginners to AWS on how to use the Amazon Location Service plugin for QGIS to try out three functions - map display, geocoding, and route search - using only GUI operations without writing any code.
2026.04.13

This page has been translated by machine translation. View original

I want to try location services, but writing code seems difficult... Have you ever felt that way?
Amazon Location Service lets you quickly try map display, place search, and route calculation just by obtaining an API key.

Using the Amazon Location Service plugin for QGIS, an open-source desktop GIS software, you can experience AWS location services through a GUI interface without writing a single line of code. In this article, I tried three use cases with this plugin: map display, geocoding, and route search.

Please also check our company blog for an overview of Amazon Location Service.

https://dev.classmethod.jp/articles/introduction-2024-location-service/

What is Amazon Location Service?

Amazon Location Service is a fully managed location service provided by AWS. It offers five functions: map display (Maps), place search (Places), route calculation (Routes), geofences (Geofences), and trackers (Trackers).

Pricing

Amazon Location Service uses a pay-as-you-go model based on the number of requests. For details, please see the official documentation.

What is the QGIS Amazon Location Service plugin?

QGIS is an open-source desktop GIS software that can display, edit, and analyze map data.

The Amazon Location Service plugin for QGIS is developed and published as open source by MIERUNE. It allows you to use Maps, Places, and Routes functions of Amazon Location Service through the QGIS GUI.

The plugin provides the following five menus:

Menu Function
Config Region and API key settings
Map Display map styles (vector tiles or raster tiles)
Place Place search from address or landmark name (geocoding)
Routes Route calculation between two points
Terms Amazon Location Service terms of use link

https://plugins.qgis.org/plugins/location_service/

https://github.com/MIERUNE/qgis-amazonlocationservice-plugin

Prerequisites

This article assumes the following environment:

  • An AWS account has been created
  • QGIS 3.x (LTR version) is installed
  • Region used: ap-northeast-1 (Tokyo)

AWS Setup: Creating an API Key

First, create an Amazon Location Service API key in the AWS Management Console.

1. Open the Amazon Location Service Console

Log in to the AWS Management Console and search for "Location Service" in the search bar to open the console.

Management Console

2. Create an API Key

Select "API Keys" from the left menu and click the "Create API key" button.

API Key list screen

Configure the following settings:

Item Value
Name Any name (e.g., qgis-plugin-key)
Expiration Optional (no expiration date by default)
Actions Refer to the table below

Action Selection

Select the actions corresponding to the three features we'll use:

Feature Required Actions
Map (map display) geo-maps:GetTile, geo-maps:GetStaticMap
Place (place search) geo-places:SearchText, geo-places:GetPlace
Routes (route calc.) geo-routes:CalculateRoutes

API key creation screen (name and action settings)

When you click "Create API key," the API key value will be displayed. This value can only be viewed at creation time, so be sure to copy it and store it in a safe place.

API key creation completion screen (copying the key value)

Installing the QGIS Plugin

Next, install the Amazon Location Service plugin for QGIS.

  1. Start QGIS and open "Plugins" → "Manage and Install Plugins" from the menu bar
  2. Enter "Amazon Location Service" in the search field
  3. Select the "Amazon Location Service" plugin and click "Install Plugin"

QGIS Plugin Management Screen (Installation)

After installation is complete, an "Amazon Location Service" menu will be added to the menu bar.

Menu bar display after installation

Plugin Initial Setup (Config)

Open "Amazon Location Service" → "Config" from the menu bar and enter the following settings:

Item Value
Region ap-northeast-1
API Key The API key value you created

After entering, click "Save" to save the settings.

Config screen example

That's all for the setup. Now let's try each use case.

Use Case 1: Display and Compare Map Styles

Open "Amazon Location Service" → "Map" from the menu bar.

There are four map style options:

Style Features
Standard General map with labels and POIs (facility names, etc.)
Monochrome Monochrome style, ideal as a base map for data visualization
Hybrid Satellite imagery + labels, balancing real image visibility with labels
Satellite Satellite imagery only, no labels

Select a style and click the "Add" button to add a map layer to the QGIS map canvas.

Adding a map

Let's look at the area around Classmethod's Hibiya office with each map style.

Standard Style

A general map style that displays labels such as road names and facility names.

Standard style display result

Monochrome Style

A monochrome style that can be used as a base map for visualizing custom data.

Monochrome style display result

Hybrid Style

Labels are overlaid on satellite imagery. Useful when you want to identify locations while checking actual terrain and buildings.

Hybrid style display result

Satellite Style

Satellite imagery only style without labels, allowing you to see the exact shape of geographical features.

Satellite style display result

Use Case 2: Search for Places with Geocoding

Geocoding is the process of obtaining latitude and longitude from text such as addresses or landmark names.

Open "Amazon Location Service" → "Place" from the menu bar.

  1. Select "SearchText"
  2. Enter the place you want to search for in the text box (e.g., "Tokyo Tower", "Osaka Castle")
  3. Click the "Get Location" button and click on the map to specify the point you want to use as a reference for the search (the coordinates will be automatically entered in Latitude and Longitude from the GUI)
  4. Click the "Search" button

Place search screen (entering search text)

The search results will be added to the QGIS map canvas as a point layer.

Point layer display of geocoding results

Select the layer and open the attribute table to view the information obtained (name, address, coordinates, etc.).

Attribute table contents

You can search using Japanese place names and landmarks, making it easy to find locations in Japan.

Use Case 3: Route Search Between Two Points

Open "Amazon Location Service" → "Routes" from the menu bar.

  1. Select "CalculateRoutes"
  2. Click the "Get Location (Starting Point)" button and click on the map to specify the starting point
  3. Click the "Get Location (End Point)" button and click on the map to specify the destination
  4. Click the "Search" button to search for a route

Routes screen (with starting and ending points set)

The search results will be added to the QGIS map canvas as a line layer.

Line layer display of route search results

Notes

This plugin does not implement all Amazon Location Service features.
Currently, it only supports the three functions of Maps, Places, and Routes, and more features are planned for the future.

Conclusion

I tried three features using the Amazon Location Service plugin for QGIS: map display, geocoding, and route search.

You can get started just by obtaining an API key, and thanks to the QGIS plugin, you can experience AWS location services through GUI operations without writing a single line of code. It's very convenient to use as a base map for simple data analysis.

Share this article