Database Reference
In-Depth Information
...
</gml:coordinates>
</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</postgis_cookbook:the_geom>
<postgis_cookbook:area>0.240</postgis_cookbook:area>
<postgis_cookbook:perimeter>1.967</postgis_cookbook:perimeter>
<postgis_cookbook:co2000p020>3963.0</postgis_cookbook:co2000p020>
<postgis_cookbook:state>TX</postgis_cookbook:state>
<postgis_cookbook:county>Hansford
County</postgis_cookbook:county>
<postgis_cookbook:fips>48195</postgis_cookbook:fips>
<postgis_cookbook:state_fips>48</postgis_cookbook:state_fips>
<postgis_cookbook:square_mil>919.801</postgis_cookbook:square_mil>
</postgis_cookbook:counties>
</gml:featureMember>
21. Now, as you did with WMS, try the
counties
WFS in QGIS (or in your
favoriteDesktopGISclient).CreateanewWFSconnection,byusingeither
the QGIS browser or the
Add WFS Layer
button, and then clicking on the
New Connection
button. In the
Create a new WFS connection
dialog
box, type
GeoServer on localhost
in the
Name
field and add the
WFS
GetCapabilities
URL(
http://localhost:8080/geoserver/
wfs?service=wfs&version=1.1.0&request=GetCapabilities
) in
the
URL
field.
22. Add the WFS
counties
layer from the previous dialog box and, as a test,
select some of the counties and export them to a new shapefile using the
Save As
commandfromthelayer'scontextmenu,asshowninthefollowing
screenshot: