Skip to content

Commit 95f83b4

Browse files
committed
[BUGFIX] Extend field type description
1 parent ec0b6c9 commit 95f83b4

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
@@ -433,6 +433,12 @@ void QgsWFSProjectParser::describeFeatureType( const QString& aTypeName, QDomEle
433433
geomElem.setAttribute( "type", "integer" );
434434
else if ( attributeType == QVariant::Double )
435435
geomElem.setAttribute( "type", "double" );
436+
else if ( attributeType == QVariant::Bool )
437+
geomElem.setAttribute( "type", "boolean" );
438+
else if ( attributeType == QVariant::Date )
439+
geomElem.setAttribute( "type", "date" );
440+
else if ( attributeType == QVariant::DateTime )
441+
geomElem.setAttribute( "type", "dateTime" );
436442
else
437443
geomElem.setAttribute( "type", "string" );
438444

0 commit comments

Comments
 (0)