Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

The ArcGIS 10.1 documentation on Working with WFS services says:

The GML Simple Features profile is recommended for use with ArcGIS and is the basis for WFS support in ArcGIS.

Is there an easy way to determine whether a particular WFS is encoding using that or an alternative profile - perhaps by looking at its GetCapabilities?

It's interesting to note that not a single service URL was suggested when I asked whether anyone knew of a public WFS using the Simple Features profile.

UPDATE: I'm also trying to uncover an answer to this via the ArcGIS Discussion Forums now.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Yes, in GetCapabilities and DescribeFeatureType as stated in the GML Simple Feature profile documentation:

GetCapabilities:

The following XML fragment shows how a WFS may advertise in its capabilities document that it can generate schemas that comply with this profile:

1. <ows:Operation name="DescribeFeatureType">
2.   <ows:DCP>
3.     <ows:HTTP>
4.       <ows:Post xlink:href="http://www.BlueOx.org/wfs"/>
5.     </ows:HTTP>
6.   </ows:DCP>
7.   <ows:Parameter name="outputFormat">
8.     <ows:Value>text/xml; subType=gml/3.1.1</ows:Value>
9.     <ows:Value>text/xml; subType=gml/3.1.1/sfgml</Value>
10.   </ows:Parameter>
11. </ows:Operation>

Line 9 indicates that this WFS can generate a GML application schema that conforms to this profile.

DescribeFeatureType XML-encoded request:

The following example XML fragment shows a DescribeFeatureType request indicating that the response should conform to this profile:

<DescribeFeatureType outputFormat="text/xml; subType=gml/3.1.1/sfgml"/>

DescribeFeatureType KVP-encode request:

The following example URL shows a DescribeFeatureType request indicating that the response should conform to this profile:

http://www.BlueOx.org/wfs/wfs.cgi?service=WFS&version=1.1.0&request=DescribeFeatureType&outputFormat=text/xml;+subType=gml/3.1.1/sfgml

share|improve this answer
    
Do you happen to also know of an "almost always available" Service URL for a Web Feature Service (WFS) using GML Simple Features profile? See gis.stackexchange.com/questions/31208/… –  PolyGeo Aug 23 '12 at 21:50
1  
I wasn't able to find any NON-ArcGIS sfgml compliant WFS services. I would have liked to have found some that weren't from arcGIS server, but doesn't mean that they don't exist. Check my answer here –  CaptDragon Aug 24 '12 at 13:04
    
I guess that part of the answer here is that the 'GML simple features profile' document (portal.opengeospatial.org/files/?artifact_id=11266) is not an OGC standard; so whilst that document shows a way that a simple feature WFS may show such support, it isn't the only way to do so. –  nmtoken Apr 11 at 17:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.