[mapguide-trac] #1421: OGC WFS 1.1.0 Support
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Aug 31 03:14:32 EDT 2010
#1421: OGC WFS 1.1.0 Support
-----------------------------+----------------------------------------------
Reporter: liuar | Owner: liuar
Type: enhancement | Status: new
Priority: medium | Milestone:
Component: WFS Interface | Version:
Severity: minor | Keywords: WFS
External_id: |
-----------------------------+----------------------------------------------
Comment(by liuar):
1. Enhance the Feature Service interfaces !GetWfsFeature by adding a
parameter to specify the WFS version.[[BR]]
{{{
////////////////////////////////////////////////////////////////////////////////
////////////////////////
/// \brief
/// Retrieves feature information based on the supplied criteria with
specified
format.
///
/// \note1
///
/// <!-- Syntax in .Net, Java, and PHP -->
/// \htmlinclude DotNetSyntaxTop.html
/// virtual MgByteReader GetWfsFeature(MgResourceIdentifier
featureSourceId,
string featureClass, MgStringCollection requiredProperties, string srs,
string
filter, int maxFeatures, string wfsVersion, string outputFormat);
/// \htmlinclude SyntaxBottom.html
/// \htmlinclude JavaSyntaxTop.html
/// virtual MgByteReader GetWfsFeature(MgResourceIdentifier
featureSourceId,
String featureClass, MgStringCollection requiredProperties, String srs,
String
filter, int maxFeatures, string wfsVersion, string outputFormat);
/// \htmlinclude SyntaxBottom.html
/// \htmlinclude PHPSyntaxTop.html
/// virtual MgByteReader GetWfsFeature(MgResourceIdentifier
featureSourceId,
string featureClass, MgStringCollection requiredProperties, string srs,
string
filter, int maxFeatures, string wfsVersion, string outputFormat);
/// \htmlinclude SyntaxBottom.html
///
/// \param featureSourceId (MgResourceIdentifier)
/// The resource identifier defining the
/// location of the feature source in
/// the repository.
/// \param featureClass (String/string)
/// The feature class containing the features to retrieve.
/// \param requiredProperties (MgStringCollection)
/// The collection of properties to retrieve for each feature. If the
/// collection is null or empty, all properties will be retrieved.
/// \param srs (String/string)
/// The spatial reference system in which to return feature geometries
/// \param filter (String/string)
/// An XML string containing the definition for an OGC filter
/// \param maxFeatures (int)
/// The maximum number of features to retrieve. If the value is less
/// than or equal to zero, all features will be retrieved.
/// \param outputFormat (String/string)
/// A string identifying the output format of
/// the retrieved feature information.
/// The supported values of output format are specified in OpenGIS Web
Feature
Service (WFS) Implementation Specification - section 9.2
/// http://portal.opengeospatial.org/files/?artifact_id=8339
///
/// \return
/// Returns an MgByteReader containing the requested feature information.
///
virtual MgByteReader* GetWfsFeature(MgResourceIdentifier* featureSourceId,
CREFSTRING featureClass,
MgStringCollection* requiredProperties, CREFSTRING srs, CREFSTRING
filter,
INT32 maxFeatures, CREFSTRING wfsVersion, CREFSTRING outputFormat) = 0;
}}}
2. Implement the !GetWfsFeature in !ServerFeatureService to support GML
3.1.1 format.
Update the default output format of !DescribeFeatureType and
!GetFeature to GML3.[[BR]]
3. Update following items regard to the test suite of OGC CITE
Update the DefaultSRS to urn:x-ogc:def:crs:EPSG:4326
Update the format element name from <ows:Format> to <Format>
Update the namespaces in !GetCapabilities response document
Update the child element sequence of <ows:ServiceIdentification>
Add GML 3 support for !DescribeFeatureType and !GetFeature response.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1421#comment:4>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list