Geofencing Extension API Developer's Guide

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 Geofencing Extension API.


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

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"}