Fleet Telematics Custom Locations Developer's Guide

Modify Geometries in Existing Layers

Modify geometries using an HTTP GET or POST request. After the response there is a delay of several seconds to compile, store and make the modified geometries available in the service.

Note: The level (tile grid size) of the layer can only be changed by uploading the whole layer, not as a modification operation.

Resource methods and URI

GET/POST /2/layers/modify.json

Query Parameters

Parameters Required? Description
changes For GET request For GET requests: URL-encoded WKT file content as parameter value. For POST requests: Instead of this parameter, a multipart/form-data body is sent. The supported file formats and the parameter name are the same as for upload.json.
apiKey Yes

xs:string

A 43-byte Base64 URL-safe encoded string used for the authentication of the client application. As a logged in user, you can generate it at https://developer.here.com/projects. API Keys never expire but you can invalidate your API Keys at any time. You cannot have more than two API Keys for one app at the same time.

You must include an API Key with every request. For further details, see Acquiring Credentials.

app_id Yes A URL-safe encoded string obtained during the application registration. If you use the app ID/app code option as an authentication method, for further details see Acquiring Credentials.
app_code Yes A URL-safe encoded string obtained during the application registration. If you use the app ID/app code option as an authentication method, for further details see Acquiring Credentials.
action Yes append, update or delete. Geometries are identified by their geometry_id column value. For append, the geometries must not exist yet and will be added. For update, the geometries must exist and will be replaced. All column values must be specified, not only the changes. For update and delete, the columns must not change - names, sequence orders and type must be identical. For delete, the geometries must exist and will be replaced. Only the geometry_id column is required.
layer_id Yes Layer to which the geometry changes shall be applied.
callback No Specifies the function used to wrap the JSON response.