Any way to name FeatureCollections passed to ExtractData?

393
0
01-12-2023 08:09 AM
DannyBritt
New Contributor

I am using the ExtractData endpoint to pass some data that I want to export as a file geodatabase. This data is in geojson format, so I have to pass feature collections to the endpoint rather than a URL. It's working well except I can't figure out how to get it to name the layers in the fgdb.

I followed the docs here: Extract Data—ArcGIS REST APIs | ArcGIS Developers

It leads me to an example of a FeatureCollection JSON here: Feature input—ArcGIS REST APIs | ArcGIS Developers

There is nothing in the JSON to give the FeatureCollection a name, so when I open the fgdb, they have all been given generic names like "record_set1", "record_set2", etc. I tried adding a "name" prop to the layerDefinition part of the JSON, but it didn't seem to do anything.

 

Does anyone know if this is possible?

Tags (2)
0 Kudos
0 Replies