Skip to content

Commit b65d962

Browse files
committedOct 10, 2015
also fix #10747 for 2.5D points
1 parent beb4ffc commit b65d962

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/core/qgis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ bool QGis::isSingleType( QGis::WkbType type )
383383

384384
bool QGis::isMultiType( QGis::WkbType type )
385385
{
386-
return QgsWKBTypes::flatType( fromOldWkbType( type ) );
386+
return QgsWKBTypes::isMultiType( fromOldWkbType( type ) );
387387
}
388388

389389
int QGis::wkbDimensions( QGis::WkbType type )

‎src/providers/ogr/qgsogrprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2544,7 +2544,7 @@ void QgsOgrProvider::recalculateFeatureCount()
25442544
bool QgsOgrProvider::doesStrictFeatureTypeCheck() const
25452545
{
25462546
// FIXME probably other drivers too...
2547-
return ogrDriverName != "ESRI Shapefile" || geomType == wkbPoint;
2547+
return ogrDriverName != "ESRI Shapefile" || ( geomType == wkbPoint || geomType == wkbPoint25D );
25482548
}
25492549

25502550
OGRwkbGeometryType QgsOgrProvider::ogrWkbSingleFlatten( OGRwkbGeometryType type )

0 commit comments

Comments
 (0)