Geovisualization Developer's Guide

Reproject Dataset

The projections request body is a JSON object sent in the body of a Geovisualization REST API request to reproject the coordinates of a dataset.

The projection specification consists of a namespace (ns attribute) and a projection specification (spec). Valid values for ns are: epsg, epsga, wkt, and xml. The value of spec depends on the namespace, but it must be a number.

Table 1. Reproject Dataset Request Elements
Element Data Type Mandatory Description
source_columns Array Yes A list of names of columns containing the coordinates to be reprojected
destination_columns Array Yes A list of names of columns to store the reprojection results
source_projection Object Yes The namepace and source of the specification for the reprojection
target_projection Object Yes The namepace and target of the specification for the reprojection

The code example below shows a typical request object.

{
"source_columns": ["x-col", "y-col"],
"destination_columns": ["new-x-col", "new-y-col"],
"source_projection": {"ns": "epsg", "spec": 2001},
"target_projection": {"ns": "xml", "spec": 1.0}
}

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.