• Blog posts

    Bio

    By David Crowther

    QGIS___what3words_-_1.PNG

    Question:

    Can you use a what3words address search in QGIS?

    QGIS___what3words_-_2.PNG

    Answer:

    Yes, there is a plugin available for this!

    Here are some simple steps to get up and running using what3words within your QGIS Projects.

    Follow this web link to get to the download page for the what3words plugin - https://developer.what3words.com/tools/gis-extensions/qgis

    There is then a step-by-step guide to downloading, implementing and using the QGIS Plugin.

    QGIS___what3words_-_3.PNG

    Step 1 – Get the API Key

    Choose the Get an API Key button.

    QGIS___what3words_-_4.PNG

    There will be two plans that you can sign up for which determine the number of requests you can submit per month. In this guide we will use the free usage plan.

    QGIS___what3words_-_5.PNG

    You will then be asked to create an account or sign in. Once signed in you can Generate the API Key.

    QGIS___what3words_-_6.PNG

    Step 2 – Download the Plugin

    Having now created a Project and API Key unique to you or your organisation, you can download the plugin.

    Choose the Download plugin link here.

    QGIS___what3words_-_7.PNG

    This will automatically download the zip file containing the plugin.

    QGIS___what3words_-_8.PNG

    Extract the zip file to reveal the contents.

    QGIS___what3words_-_9.PNG

    Step 3 – Add the Plugin to QGIS

    Once the plugin file has been downloaded and unzipped, you should copy the what3words folder to the QGIS plugins directory. To find your QGIS plugin directory, in QGIS choose Settings > User Profiles > Open Active Profile Folder.

    QGIS___what3words_-_10.PNG

    This will open windows explorer at the location to paste the what3words folder into.

    QGIS___what3words_-_11.PNG

    Now open QGIS and choose > Manage and Install Plugins > Search for the what3words plugin and tick it to enable it.

    QGIS___what3words_-_12.PNG

    Having enabled it, the what3words plugin will now be available under the Plugins menu.

    QGIS___what3words_-_13.PNG

    Here you should choose the Plugin Settings menu and then from your what3words project page choose to Copy the API Key.

    QGIS___what3words_-_14.PNG

    Then Paste the API Key into the Configuration settings.

    QGIS___what3words_-_15.PNG

    The plugin will now be ready to use!

    QGIS___what3words_-_16.PNG

    Step 4 – Using the Plugin

    There are 4 options available with the what3words plugin:

    • Identify a what3words address.
    • Zoom to a what3words address.
    • Extract what3word addresses for a Point Layer.
    • Geocode a file using what3word addresses.

    1 – Identify a what3words address

    Using the what3words tool, simply left click anywhere in the QGIS map canvas and the what3words address for that location will be shown in a message bar.

    QGIS___what3words_-_17.PNG

    QGIS___what3words_-_18.PNG

    2 – Zoom to a what3words address

    If you are given a what3words address you can use the ‘Zoom to 3-word address’ tool to find that location. From the Plugins menu > choose what3words > Zoom to 3-word address and a new toolbar will be embedded at the top of the map canvas.

    QGIS___what3words_-_19.PNG

    Type your 3 words into the address window,

    QGIS___what3words_-_20.PNG

    and having clicked Zoom to, the map will then auto centre over the chosen what3word location.

    QGIS___what3words_-_21.PNG

    3 – Extract what3word addresses for a Point Layer.

    If you have a Point layer in QGIS and you wish to append the what3word address to each record you can use the ‘Add what3words address field to layer’ tool available within the Processing Toolbox.

    QGIS___what3words_-_22.PNG

    Simply select the input Point Layer and then choose an output option. In this example we will extract the what3word addresses for Schools in Northampton.

    QGIS___what3words_-_23.PNG

    Once the tool has ran, the what3words field is added to the layer and the address for each location has been extracted.

    QGIS___what3words_-_24.PNG

    4 – Geocode a file using what3word addresses.

    Finally, you may have a CSV file that has records with a what3words address that you wish to show on the map.

    QGIS___what3words_-_25.PNG

    Open the CSV file into QGIS and then from the Processing Toolbox choose the ‘Geocode what3words address layer’ option.

    QGIS___what3words_-_26.PNG

    Choose the input to be the CSV file and choose which field in the CSV contains the what3words addresses.

    QGIS___what3words_-_27.PNG

    Having pressed Run, the CSV file will be geocoded using the what3words address values and a new point layer will be created.

    QGIS___what3words_-_28.PNG

    Note – what3words provides an addressable reference to any 3 metres on the earth. As such, the location of a what3 words address will be accurate between 0-3 metres, so you may find the location is offset when viewed against other addressable objects using full 1 metre accuracy.

    QGIS___what3words_-_29.PNG

Comments

0 comments

Please sign in to leave a comment.