[gdal-dev] feature.clone() -> same featuredefn
Martin Landa
landa.martin at gmail.com
Sat Aug 2 13:12:35 PDT 2014
Hi,
2014-08-02 22:03 GMT+02:00 Even Rouault <even.rouault at mines-paris.org>:
> The documentation meant that Clone() will return a new standalone feature, but
> that will also increment the reference counter of the related OGRFeatureDefn
> (as new OGRFeature(poFeatureDefn) would do).
truly to say, it doesn't explain me why the both features points to
the same OGRFeatureDefn. Anyway, I need to solve problem explained
bellow:
1) copy features from input layer to output layer
2) modify features in output layer (remove some geometry columns)
How correctly I should do it? Thanks in advance, Martin
--
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa
More information about the gdal-dev
mailing list