Skip to content
Permalink
Browse files

[Bugfix][Server] WFS DescribeFeatureType: add MultiCurve and MultiSur…

…face in SCHEMA
  • Loading branch information
github-actions committed May 12, 2020
1 parent feedcd7 commit 27eb1cef2db574614b45d586e9f3957428bde887
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/server/services/wfs/qgswfsdescribefeaturetype.cpp
@@ -236,10 +236,16 @@ namespace QgsWfs
case QgsWkbTypes::MultiPoint:
geomElem.setAttribute( QStringLiteral( "type" ), QStringLiteral( "gml:MultiPointPropertyType" ) );
break;
case QgsWkbTypes::MultiCurve:
geomElem.setAttribute( QStringLiteral( "type" ), QStringLiteral( "gml:MultiCurveType" ) );
break;
case QgsWkbTypes::MultiLineString25D:
case QgsWkbTypes::MultiLineString:
geomElem.setAttribute( QStringLiteral( "type" ), QStringLiteral( "gml:MultiLineStringPropertyType" ) );
break;
case QgsWkbTypes::MultiSurface:
geomElem.setAttribute( QStringLiteral( "type" ), QStringLiteral( "gml:MultiSurfaceType" ) );
break;
case QgsWkbTypes::MultiPolygon25D:
case QgsWkbTypes::MultiPolygon:
geomElem.setAttribute( QStringLiteral( "type" ), QStringLiteral( "gml:MultiPolygonPropertyType" ) );

0 comments on commit 27eb1ce

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