Skip to content
Permalink
Browse files
Fix creating layers with curve geometries
  • Loading branch information
szekerest authored and nyalldawson committed Jun 15, 2019
1 parent 31162ad commit 68a5d1a9944da7b77b407cc97e7bf534d7a5f120
Showing 1 changed file with 8 additions and 0 deletions.
@@ -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

0 comments on commit 68a5d1a

Please sign in to comment.