[mapguide-trac] #1421: OGC WFS 1.1.0 Support

MapGuide Open Source trac_mapguide at osgeo.org
Sun Aug 15 21:53:11 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):

 Enhance the Feature Service interfaces !DescribeWfsFeatureType and
 !GetWfsFeature by adding a parameter to specify the output format.[[BR]]

 The most significant update from WFS 1.0.0 to WFS 1.1.0 is the supported
 output GML format. WFS 1.0.0 only support GML 2.1.1 while WFS 1.3.0 suport
 both GML 2.1.1 and GML 3.1.2. So, it's necessary for MapGuide feature
 service to allow user to specify GML format.[[BR]]

 {{{
 ////////////////////////////////////////////////////////////////////////////////////////////////////////
 /// \brief
 /// Retrieves schema informationabout a set of feature classes for a given
 feature source  with specified format.
 ///
 /// \note1
 ///
 /// <!-- Syntax in .Net, Java, and PHP -->
 /// \htmlinclude DotNetSyntaxTop.html
 /// virtual MgByteReader DescribeWfsFeatureType(MgResourceIdentifier
 featureSourceId, MgStringCollection featureClasses, string outputFormat);
 /// \htmlinclude SyntaxBottom.html
 /// \htmlinclude JavaSyntaxTop.html
 /// virtual MgByteReader DescribeWfsFeatureType(MgResourceIdentifier
 featureSourceId, MgStringCollection featureClasses, string outputFormat);
 /// \htmlinclude SyntaxBottom.html
 /// \htmlinclude PHPSyntaxTop.html
 /// virtual MgByteReader DescribeWfsFeatureType(MgResourceIdentifier
 featureSourceId, MgStringCollection featureClasse, string outputFormats);
 /// \htmlinclude SyntaxBottom.html
 ///
 /// \param featureSourceId (MgResourceIdentifier)
 /// The resource identifier defining the
 /// location of the feature source in
 /// the repository.
 /// \param featureClasses (MgStringCollection)
 /// A collection of strings identifying the feature classes for which to
 /// retrieve schema information. If this collection is null or empty,
 information
 /// is returned for all feature classes.
 /// \param outputFormat (String/string)
 /// A string identifying the output format of
 /// the retrieved schema information.
 /// The supported values of output format are specified in OpenGIS Web
 Feature Service (WFS) Implementation Specification - section 8.2
 /// http://portal.opengeospatial.org/files/?artifact_id=8339
 ///
 /// \return
 /// Returns an MgByteReader containing the XML schema.
 ///
 virtual MgByteReader* DescribeWfsFeatureType(MgResourceIdentifier*
 featureSourceId, MgStringCollection* featureClasses,CREFSTRING
 outputFormat) = 0;

 ////////////////////////////////////////////////////////////////////////////////////////////////////////
 /// \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
 outputFormat);
 /// \htmlinclude SyntaxBottom.html
 /// \htmlinclude JavaSyntaxTop.html
 /// virtual MgByteReader GetWfsFeature(MgResourceIdentifier
 featureSourceId, String featureClass, MgStringCollection
 requiredProperties, String srs, String filter, int maxFeatures, string
 outputFormat);
 /// \htmlinclude SyntaxBottom.html
 /// \htmlinclude PHPSyntaxTop.html
 /// virtual MgByteReader GetWfsFeature(MgResourceIdentifier
 featureSourceId, string featureClass, MgStringCollection
 requiredProperties, string srs, string filter, int maxFeatures, 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 outputFormat) = 0;
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1421#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list