[fdo-trac] #481: Extend FdoIDataReader to provide raw access to
current geometry
FDO
trac_fdo at osgeo.org
Fri Mar 20 15:17:54 EDT 2009
#481: Extend FdoIDataReader to provide raw access to current geometry
------------------------------+---------------------------------------------
Reporter: waltweltonlair | Owner: gregboone
Type: defect | Status: new
Priority: minor | Milestone: 3.5.0
Component: FDO API | Version: 3.4.0
Severity: 3 | Keywords:
External_id: |
------------------------------+---------------------------------------------
The FdoIFeatureReader interfaces provides the following method which gives
raw access to the current geometry pointed to by the reader:
FDO_API virtual const !FdoByte * !GetGeometry(!FdoString*
propertyName, !FdoInt32 * count) = 0;
For performance reasons the FdoIDataReader interface should provide the
same method. Currently with FdoIDataReader, the only way to obtain the
geometry is via the following FdoIReader method:
FDO_API virtual !FdoByteArray* !GetGeometry(!FdoString* propertyName)
= 0;
which allocates a copy of the data. Callers then have a choice of which
method to call, depending on their context.
--
Ticket URL: <https://trac.osgeo.org/fdo/ticket/481>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list