Skip to content

Commit

Permalink
Fix creating layers with curve geometries
Browse files Browse the repository at this point in the history
  • Loading branch information
szekerest authored and nyalldawson committed Jun 15, 2019
1 parent 31162ad commit 68a5d1a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/providers/mssql/qgsmssqlprovider.cpp
Expand Up @@ -1681,6 +1681,14 @@ void QgsMssqlProvider::mssqlWkbTypeAndDimension( QgsWkbTypes::Type wkbType, QStr
geometryType = QStringLiteral( "MULTILINESTRING" );
else if ( flatType == QgsWkbTypes::MultiPolygon )
geometryType = QStringLiteral( "MULTIPOLYGON" );
else if ( flatType == QgsWkbTypes::GeometryCollection )
geometryType = QStringLiteral( "GEOMETRYCOLLECTION" );
else if ( flatType == QgsWkbTypes::CircularString )
geometryType = QStringLiteral( "CIRCULARSTRING" );
else if ( flatType == QgsWkbTypes::CompoundCurve )
geometryType = QStringLiteral( "COMPOUNDCURVE" );
else if ( flatType == QgsWkbTypes::CurvePolygon )
geometryType = QStringLiteral( "CURVEPOLYGON" );
else if ( flatType == QgsWkbTypes::Unknown )
geometryType = QStringLiteral( "GEOMETRY" );
else
Expand Down

0 comments on commit 68a5d1a

Please sign in to comment.