Skip to content

Commit c9b362f

Browse files
committed
[BUGFIX] Extend field type description
1 parent 958f0ee commit c9b362f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/server/qgswfsprojectparser.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,12 @@ void QgsWFSProjectParser::describeFeatureType( const QString& aTypeName, QDomEle
432432
geomElem.setAttribute( "type", "integer" );
433433
else if ( attributeType == QVariant::Double )
434434
geomElem.setAttribute( "type", "double" );
435+
else if ( attributeType == QVariant::Bool )
436+
geomElem.setAttribute( "type", "boolean" );
437+
else if ( attributeType == QVariant::Date )
438+
geomElem.setAttribute( "type", "date" );
439+
else if ( attributeType == QVariant::DateTime )
440+
geomElem.setAttribute( "type", "dateTime" );
435441
else
436442
geomElem.setAttribute( "type", "string" );
437443

0 commit comments

Comments
 (0)