Custom Location Extension API Developer's Guide

Upload a layer with Custom Geometries

User Story

The user wants to upload a layer with his own store locations, in order to search and display them.

Request

The code below shows an actual request matching the user story.

curl --request -i -X POST
-H "Content-Type: multipart/form-data"
-F "zipfile=@my_folder/my_layer_content.zip"
"https://cle.cit.api.here.com/2/layers/upload.json
?layer_id=MYLAYER
&app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}"

Example WKT file

ADMIN_PLACE_ID  CARTO_ID  WKT
20300625  751498000  POLYGON ((1.73514 42.5498, 1.73619 42.55064, 1.73663 42.55115, 1.73682 42.55179, 1.73514 42.5498))
20128886  751882887  MULTIPOLYGON (((4.23844 51.37467, 4.22362 51.37412, 4.21795 51.3739, 4.22218 51.3673, 4.88942 51.42354, 4.89138 51.42328)))

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.