Database Reference
In-Depth Information
<FeatureType>
<Name>postgis_cookbook:counties</Name>
<Title>counties</Title>
<Abstract/>
<Keywords>counties, features</Keywords>
<SRS>EPSG:4326</SRS>
<LatLongBoundingBox
minx="-179.133392333984"
miny="17.6746921539307"
maxx="-64.566162109375"
maxy="71.3980484008789"/>
</FeatureType>
20. As shown in the previous recipe, a typical WFS request is GetFeature ,
which will result in a GML response. Try it, for example, by typing the
URL, http://localhost:8080/geoserver/
wfs?service=wfs&version=1.0.0&request=GetFeature&typeName=postgis_cookbook:counties&maxFeatures=5 ,
in your browser. You will receive a GML output composed of a <w-
fs:FeatureCollection> element and a collection of
<gml:featureMember> elements (possibly five elements, as specified in
the maxFeatures request'sparameter).Youwillgetanoutputthatissimilar
to the following code:
<gml:featureMember>
<postgis_cookbook:counties
fid="counties.3962">
<postgis_cookbook:the_geom>
<gml:Polygon
srsName="http://www.opengis.net/gml/srs/
epsg.xml#4326">
<gml:outerBoundaryIs>
<gml:LinearRing>
<gml:coordinates
xmlns:gml="http://www.opengis.net/gml"
decimal="." cs="," ts="">
-101.62554932,36.50246048
-101.0908432,36.50032043 ...
...
Search WWH ::




Custom Search