Skip to content

Commit

Permalink
[BUGFIX] Extend field type description
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Feb 24, 2016
1 parent ec0b6c9 commit 95f83b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/server/qgswfsprojectparser.cpp
Expand Up @@ -433,6 +433,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 95f83b4

Please sign in to comment.