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?
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.