Hi,
I am relatively new to publishing WFS-services with ArcGis Pro.
For the exchange of features and data with a WFS service, the receiving end needs a WFS with JSON?
How or where, if even possible, do I activate the JSON-support when publishing the WFS to our Acrgis Server? Because in Pro there is no option to check the JSON-ability.
Pro version is 3.2.2 en Server is 11.3.
Solved! Go to Solution.
Hi @DaveDaverveld I would expect your published WFS to support GeoJSON output for all layers by default.
You can check this by loading the GetCapabilities endpoint of your WFS and checking the allowed outputFormat values for the GetFeature operation.
For instance, for this sample WFS we can see GeoJSON is supported - https://sampleserver5.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WFSServer?reques...
I hope this is helpful
I am guessing that you have a server federated with portal hence, while publish the service to ArcGIS Server you would need to make sure that option of WFS is checked and after publishing the service the JSON format can be called using GetFeature request.
Following is the URL format that needs to be used:
https://portalurl/serverwebadaptor/WFSServer?service=wfs&request=GetFeature&typeName=Name of the layer&outputformat=geojson
Hope this helps.
@wizgis :
The layers are on a server which is indeed federated with the portal.
I did check the WFS option. But I didn't understand how to "activate" the JSON-option.
In your example-url, is the typeName required of optional? As the whole service, with multiple layers, needs to be in JSON?
Hi @DaveDaverveld I would expect your published WFS to support GeoJSON output for all layers by default.
You can check this by loading the GetCapabilities endpoint of your WFS and checking the allowed outputFormat values for the GetFeature operation.
For instance, for this sample WFS we can see GeoJSON is supported - https://sampleserver5.arcgisonline.com/arcgis/services/SampleWorldCities/MapServer/WFSServer?reques...
I hope this is helpful