Skip to content
Permalink
Browse files

Merge pull request #36363 from qgis-bot/backport-36352-to-release-3_12

[Backport release-3_12] [Bugfix][Server] WFS DescribeFeatureType: add MultiCurve and MultiSurface in SCHEMA
  • Loading branch information
rldhont committed May 12, 2020
2 parents bffd20c + b2af41b commit c6f1addbc98df7628c9e6f78d734fc1290dc14d5
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 c6f1add

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