Skip to content
Permalink
Browse files

OGR provider: advertize CircularGeometries in capabilities when OGR a…

…dvertizes 'CurveGeometries' support
  • Loading branch information
rouault committed Feb 1, 2016
1 parent 47013f7 commit 0bb5b5bba8ae3c4aa109b46c56233521e7c35eda
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/providers/ogr/qgsogrprovider.cpp
@@ -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)

0 comments on commit 0bb5b5b

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