Skip to content

Commit 2ad32f1

Browse files
committedFeb 23, 2016
[BUGFIX] Extend field type description
1 parent 5e8feb6 commit 2ad32f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/server/qgswfsprojectparser.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,12 @@ void QgsWFSProjectParser::describeFeatureType( const QString& aTypeName, QDomEle
460460
geomElem.setAttribute( "type", "integer" );
461461
else if ( attributeType == QVariant::Double )
462462
geomElem.setAttribute( "type", "double" );
463+
else if ( attributeType == QVariant::Bool )
464+
geomElem.setAttribute( "type", "boolean" );
465+
else if ( attributeType == QVariant::Date )
466+
geomElem.setAttribute( "type", "date" );
467+
else if ( attributeType == QVariant::DateTime )
468+
geomElem.setAttribute( "type", "dateTime" );
463469
else
464470
geomElem.setAttribute( "type", "string" );
465471

0 commit comments

Comments
 (0)
Failed to load comments.