Hello all,
I was wondering if there was a way to add GeoJSON data to an existing hosted Feature Layer (https://developers.arcgis.com/layers) programmatically via some sort of REST API or something.
I have been looking around and haven't really been able to find any information about this.
Thanks
If it's en existing hosted featurelayer, you can use applyEdits on the layer, but you need to make sure the attributes schema matches. You could do a little data transformationn, but definitely doable.
Is there a way to do it via any other API like theĀ ArcGIS REST APIs?
Not in the JavaScript API.
Thanks for the info! Is it by chance possible to also create hosted Feature Layers via the API?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.