Data Lens Developer's Guide

Geocode

The geocode request body is a JSON object sent in the body in a Data Lens REST API request to specify the columns in the dataset to convert to geo-coordinates. Note that you can run only one geocoding job per dataset at a time.

Table 1. Geocode Request Elements
Element Data Type Mandatory Description
input_columns Array Yes List of columns to use for geocoding; for example country, city, or state. Note that the order is important: ["street", "city", "country"] will produce different results from ["country", "street", "city"].
lat_column String Yes Name of the latitude column where latitude values are written, for example "lat"
lon_column String Yes Name of the longitude column where longitude values are written, for example "lon"
input_constants String No List of strings to be appended to the input columns, for example "Berlin"
overwrite String No If a previous geocoding job already created lat_column and lon_column, setting this element to true will overwrite the values in those columns

The code example below shows the data structure sent in a request to create a geocode job.

{
"input_columns": ["country"],
"lat_column": "lat",
"lon_column": "lon",
}

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.