Skip to content
Permalink
Browse files

[BUGFIX] Extend field type description

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

3 comments on commit 2ad32f1

@nyalldawson

This comment has been minimized.

Copy link
Contributor

@nyalldawson nyalldawson replied Feb 23, 2016

Probably should add Time types here too, a growing number of providers support those

@rldhont

This comment has been minimized.

Copy link
Contributor Author

@rldhont rldhont replied Feb 24, 2016

I forgot it, thanks

@rldhont

This comment has been minimized.

Copy link
Contributor Author

@rldhont rldhont replied Feb 24, 2016

made in 05471f5

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