Skip to content
Permalink
Browse files

also fix #10747 for 2.5D points

  • Loading branch information
jef-n committed Oct 10, 2015
1 parent beb4ffc commit b65d962260bf7907346c16e3d43fabe6d36d5ec9
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/qgis.cpp
  2. +1 −1 src/providers/ogr/qgsogrprovider.cpp
@@ -383,7 +383,7 @@ bool QGis::isSingleType( QGis::WkbType type )

bool QGis::isMultiType( QGis::WkbType type )
{
return QgsWKBTypes::flatType( fromOldWkbType( type ) );
return QgsWKBTypes::isMultiType( fromOldWkbType( type ) );
}

int QGis::wkbDimensions( QGis::WkbType type )
@@ -2544,7 +2544,7 @@ void QgsOgrProvider::recalculateFeatureCount()
bool QgsOgrProvider::doesStrictFeatureTypeCheck() const
{
// FIXME probably other drivers too...
return ogrDriverName != "ESRI Shapefile" || geomType == wkbPoint;
return ogrDriverName != "ESRI Shapefile" || ( geomType == wkbPoint || geomType == wkbPoint25D );
}

OGRwkbGeometryType QgsOgrProvider::ogrWkbSingleFlatten( OGRwkbGeometryType type )

0 comments on commit b65d962

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