The Open Geospatial Consortium Web Feature Service Interface Standard (WFS) provides an interface allowing requests for geographical features across the web using platform-independent calls
The basic Web Feature Service allows querying and retrieval of features. The client generates the request and posts it to a web feature server using HTTP. The web feature server then executes the request
Increasingly, government departments and other public entities, use WFS data stores to make public their geo-spatial information. Connecting to these services from Spatial Manager Desktop ™ and extracting information from their data tables is extremely simple
In this example, we will connect to a WFS server, visualize some of their spatial data tables and, finally, we will export one of them to a Shapefile. These are the main steps to perform:
- This UDS will remain in the configuration of your application, as long as you do not delete it, to connect as many times as necessary with the same WFS server without re-writing the connection parameters
- Sometimes, the connection line includes other data, such as the chosen SRID (WFS servers can store the Features using several SRIDs), username, password, the version of the WFS data store, etc. Note, that when creating the new UDS, you can introduce these last three parameters into their corresponding boxes
- There are two available Data Providers to connect to WFS servers; one uses the generic FDO data Provider and one an OGR data source. The choice is based on the best performance and compatibility offered by either depending on the server to which the connection is established. In this example we will use the first option
- Choose the Export option in one of the data tables to export it to an SHP file, introducing all the parameters for the exporting operation. Note:
- If you plan to repeat this export process frequently, save the Task, as in the example, to run it whenever you like
Please, watch the video: