Swimming Cycling Running - Share ///your.three.words

04-30-2019 05:08 AM
Occasional Contributor
10 3 1,177

///swimming.cycling.running. Is it a triathlon or a 3m x 3m grid reference - somewhere in New South Wales, Australia?

WHAT3WORDS is a really simple way to talk about location. The world has been divided into a grid of 3m x 3m squares and assigned each one a unique 3 word address. It means anyone can accurately find any location and share it more quickly, easily and with less ambiguity than any other system.

And thanks to what3words' free API and some of Survey123's new functionalities (Dynamic Labels and JavaScript Functions), I was able to develop a simple app to share ///your.three.words with a recipient of your choice.

Click below to watch the app in action.

Whether you are responding to emergencies or navigating uncharted territory; what3words can help you.

If you're interested in further developing this solution please download the files attached. And be sure to share how it helped your business in the comments below.

Cheers! - Gee

UPDATE - Reverse Geocoding using Survey123

Since writing this report, it was brought to my attention that the above procedure could be simplified by using Survey123's Reverse Geocoding feature. Steps to get this working are outlined below;

  1. Get what3words API key
  2. Once you have an API key - request for ArcGIS access
  3. Once you receive your password - add the following service to your portal - https://arcgis.what3words.com/w3w/rest/services/what3words_EN_English/GeocodeServer
    1. refer to this post for - how to connect to secure services
  4. Give the geocoder item's URL to one of the admins to add it as a Geocoder to your organization
  5. Write a similar expression in xls form's calulation field - which will return - what3words' location as a JSON object
    pulldata("@geopoint",${location},"reversegeocode","geocoder item's URL")‍‍‍‍‍‍‍
    1. Refer to this blog post - for more details around reverse Geocoding in Survey123