Select to view content in your preferred language

How to create a WFS with JSON?

189
2
07-18-2025 04:17 AM
Labels (1)
DaveDaverveld
Occasional Contributor

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.

 

0 Kudos
2 Replies
wizgis
by
Frequent Contributor

Hi @DaveDaverveld 

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.

 

 

 

0 Kudos
DaveDaverveld
Occasional Contributor

@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?

0 Kudos