You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand correctly:
We should loop to perform GET /api/protectedarea/ incrementing the page query param until we get all the protected area from their API and perform individual GET /api/protectedarea/{id} call to get the geometry for each area.
I've just registered as an API user on digitize the planet, they don't seem to gave me an API Token, maybe I have to wait a bit or ask for it ? Not blocking for the moment as I can perform API call without it but I guess I'll be blocked because of rate limiting at one point.
One question:
How to be sure an area does not already exist ? A simple Regex on field 'title' from the local entity would be enough ? Or maybe checking if one geometry doesn't already exist ?
See https://content.digitizetheplanet.org/fr/rules/api/
The text was updated successfully, but these errors were encountered: