[mapguide-trac] #1421: OGC WFS 1.1.0 Support
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Nov 4 21:24:49 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):
18. In order to pass the WFS certification, Mapguide should provide a way
to customize the namespaceURL and namespacePrefix to the response document
for !GetFeature and !DescribeFeatureType.
FDO provided following 2 APIs to set the namespaceURL and namespacePrefix.
{{{
/// \brief
/// Sets the default namespace which defines all feature/object types
found in the input
/// feature reader which is to be serialized. The user is also
supposed to set the schema
/// location for this namespace.
///
/// \param defaultNamespace
/// Default namespace.
///
FDO_API virtual void SetDefaultNamespace(FdoString* defaultNamespace);
/// \brief
/// Sets the default namespace prefix
/// If the prefix is not set then it could be defaulted to the schema
name.
///
///
/// \param defaultNamespace
/// Default namespace prefix.
///
FDO_API virtual void SetDefaultNamespacePrefix(FdoString* prefix);
}}}
MapGuide set thte namespaceURL and namesapcePrefix for the !GetFeature
response GML based on above FDO API
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1421#comment:15>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list