Uploading a new layer

User story

The user has created or modified the geofence polygons of a layer, and stored them either in a Shapefile or WKT text file. To deploy them, the user submits the ZIP archive of the file (or several files in case of the Shapefile format) to the HERE Geofencing API.

You can also use the dashboard to upload and manage your geometries: Custom Locations Dashboard (PRD).


-H "Content-Type: multipart/form-data"
-F "zipfile=@C:\temp\layer_4711_shapes.zip"

Note: This example uses a HERE API Key to authenticate your request. For the available authentication options, see the Identity & Access Management Developer Guide.

If the curl version doesn't support https then use http instead.


The response contains the number of objects stored (called storedTilesCount), and the response code.

{"storedTilesCount":1,"response_code":"201 Created"}

Please refer to the CLE Developer Guide for uploading and managing your geofence layers.

results matching ""

    No results matching ""