I'm trying to perform a GetFeatureInfo request to an ArcGIS server 10.x WMS service and would like to get a response in GeoJSON format including the feature geometry.
and the response contains a null geometry.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": null,
"properties": {
"OBJECTID": "7",
"SHAPE": "Polygon",
"SEDIMENT_BASIN_NAME": "Eagle Plain",
"SEDIMENT_BASIN_ID": "E",
"BASIN_LOCATION": "onshore",
"DESCRIPTION": "Northern Yukon Fold Complex",
"REGION_NAME": "North Yukon",
"AREA_KILOMETRES": "20803.8",
"AREA_ACRES": "5140816.4",
"AREA_HECTARES": "2080375.7",
"SHAPE.AREA": "20803756917.106998",
"SHAPE.LEN": "1391344.050657"
},
"layerName": "1"
}
]
}
Is it possible to get the geometry in GeoJSON or another format, perhaps by configuring the ArcGIS Server?