Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[BUGFIX] Extend WFS field type description
  • Loading branch information
rldhont committed Feb 24, 2016
1 parent 2ae8cbd commit a825edf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/server/qgswfsprojectparser.cpp
Expand Up @@ -432,6 +432,12 @@ void QgsWFSProjectParser::describeFeatureType( const QString& aTypeName, QDomEle
geomElem.setAttribute( "type", "integer" );
else if ( attributeType == QVariant::Double )
geomElem.setAttribute( "type", "double" );
else if ( attributeType == QVariant::Bool )
geomElem.setAttribute( "type", "boolean" );
else if ( attributeType == QVariant::Date )
geomElem.setAttribute( "type", "date" );
else if ( attributeType == QVariant::DateTime )
geomElem.setAttribute( "type", "dateTime" );
else
geomElem.setAttribute( "type", "string" );

Expand Down

0 comments on commit a825edf

Please sign in to comment.