Opened 7 years ago
Closed 7 years ago
#7003 closed defect (fixed)
OGR_F_GetGeometryRef() != GetGeometryRef()
Reported by: | Kurt Schwehr | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | minor | Keywords: | doxygen ogrfeature ogr |
Cc: |
Description
From OGR_F_GetGeometryRef()
,
This function is the same as the C++ method
OGRFeature::GetGeometryRef()
.
However, the C API call has OGRGetNonLinearGeometriesEnabledFlag() and related code that is not in GetGeometryRef()
.
- https://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrfeature.cpp?rev=39583#L569
- https://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrfeature.cpp?rev=39583#L600
Either the doxygen should be changed or the logic should be moved to GetGeometryRef()
, yes?
Note:
See TracTickets
for help on using tickets.
In 39829: