Hello everyone,
I have a .json file which I would like to be able to import into ArcMap to then publish as a map service to AGOL. The format of the json file when I receive it is like this:
[{"geometry":{"x":-5561.656,"y":5659411.683,"spatialReference":{"wkid":3776}},"attributes":{"EXTERNALNUM":"FILE1","STATUS":"OPEN","FILECLERK":"JANE DOE","RPID":1111111}},{"geometry":{"x":-4480.512000000001,"y":5671280.649,"spatialReference":{"wkid":3776}},"attributes":{"EXTERNALNUM":"FILE2","STATUS":"HOLD","FILECLERK":"BOB BROWN","RPID":2222222}}}]
Is this possible given the way the file is formatted? It doesn't seem to be formatted in a manner to work with the JSON toolset in ArcMap: ArcGIS Help (10.2, 10.2.1, and 10.2.2)
Any suggestions appreciated,
Chris
Nothing? Anyone? I'm hoping I don't have to write something to reformat the json file. Do I need to see if the service that provides the file to me can format it differently?
Is your ultimate goal to display the data on a map in a web application using ArcGIS for JavaScript? This is what I would do...
Yes, the goal is to display the data on a map. Thanks for your input Jeff.
Hey Jeff, follow up question. What if I only want to get the data into ArcMap?
Thanks
Since this forum is for the ArcGIS API for JavaScript, it's likely that no one here will know the answer. Try posting in Geoprocessing.
Yes, I did have that thought. Thanks Jeff