Skip to content
Permalink
Browse files

[BUGFIX] Extend field type description

  • Loading branch information
rldhont committed Feb 23, 2016
1 parent 958f0ee commit c9b362fcb508a63550e322a2661646ad255eba4d
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/server/qgswfsprojectparser.cpp
@@ -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" );

0 comments on commit c9b362f

Please sign in to comment.
You can’t perform that action at this time.