External APIs

Esri: Reverse Geocoding

Convert geocoordinates to addresses
Back to BLOCKS

About Esri: Reverse Geocoding

Esri, the global market leader in geographic information system (GIS) software, offers the most powerful mapping and spatial analytics technology available.

Using the Esri World Geocoding Service, you can convert a latitude and longitude to an address. For example, if you are using realtime coordinates, you can use reverse geocoding to find the address for those coordinates.

Try it Now
Categories:
External APIs External APIs
Charting & Graphing
Charting & Graphing
Geolocation
Geolocation
Financial
Financial
Last Updated:
20170330 at 09:00:00
Author:
PubNub
Reverse Geocoding

Walkthrough

The block requires one single string: a location coordinate to send to Esri for geocoding. From within the block, the Geocoding service is called and the response is sent back to the client. To learn more about Esri services and get your own API credentials, visit the ArcGIS for Developers homepage.

Input

Publish message containing the location body to the esri_reverse_geocode_Input channel.
{
    "lat": -105.521,
    "lon": 40.377
}

Output

The block appends address location into the message payload. Please refer to the Esri documentation for information on request parameters and response payloads.
{
    "address": {
        "Address": "201 Park Ln",
        "Neighborhood": null,
	    "City": "Estes Park",
	    "Subregion": null,
  	    "Region": "Colorado",
	    "Postal": "80517",
	    "PostalExt": null,
	    "CountryCode": "USA",
	    "Match_addr": "201 Park Ln, Estes Park, Colorado, 80517",
	    "Loc_name": "USA.PointAddress"
    },
    "location": {
        "x": -105.52163282753533,
	    "y": 40.377251992490628,
	    "spatialReference": {
			"wkid": 4326,
			"latestWkid": 4326
		}
	}
}

Similar BLOCKS

Esri: Geocoding Icon Esri: Geocoding Convert addresses to location, and vice versa. Charting & Graphing BLOCKS Details Subcategory Geolocation BLOCKS Details Subcategory Financial BLOCKS Details Subcategory Esri: Geoenrichment Icon Esri: Geoenrichment Add demographic, spending, business, and lifestyle data to maps and apps. Charting & Graphing BLOCKS Details Subcategory Geolocation BLOCKS Details Subcategory Financial BLOCKS Details Subcategory