mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
OGR provider: advertize CircularGeometries in capabilities when OGR advertizes 'CurveGeometries' support
This commit is contained in:
parent
47013f7bef
commit
0bb5b5bba8
@ -1529,6 +1529,12 @@ int QgsOgrProvider::capabilities() const
|
||||
}
|
||||
}
|
||||
|
||||
/* Curve geometries are available in some drivers starting with GDAL 2.0 */
|
||||
if ( OGR_L_TestCapability( ogrLayer, "CurveGeometries" ) )
|
||||
{
|
||||
ability |= CircularGeometries;
|
||||
}
|
||||
|
||||
// supports geometry simplification on provider side
|
||||
#if defined(GDAL_VERSION_NUM) && defined(GDAL_COMPUTE_VERSION)
|
||||
#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(1,11,0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user