Select to view content in your preferred language

Creating a point layer from an API query (geoJSON)

485
0
04-30-2021 02:55 PM
Labels (1)
CraigFreeman2
New Contributor II

I'm using an API endpoint that has the operation:

GET /map/locations

GET /map/locations


The output is this format:

{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
-88.8900333,
45.7273733
]
},
"properties": {
"locationIdentifier": "000023",
"locationName": "Mt. Doom",
"locationType": "Ground Water",
"locationFolder": "All Locations.Groundwater.43",
"locationCoordinatesSRID": 5674,
"locationElevation": 5.08,
"locationElevationUnit": "Feet",
"locationDescription": null,
"locationActive": true,
"locationDataSetParameters": [
"Groundwater_Level",
"Groundwater_Level",
"GWL"
],
"locationFieldVisitParameters": []


I'm trying to figure out the best approach for generating a geodatabase layer from the API response.  I'm thinking of just using python to generated a file, then using arcpy to create a layer. 

 

 

 

0 Kudos
0 Replies