[gdal-dev] GetFeatureCount() bForce set to FALSE

Martin Landa landa.martin at gmail.com
Mon Sep 8 23:15:07 PDT 2014


Hi,

2014-09-09 4:54 GMT+02:00 David Strip <gdal at stripfamily.net>:

> 83     int                  GetFeatureCount(int = TRUE);
>
>
> ie, you have not changed the default to FALSE as you intended. If this is the code you're compiling, it would certainly explain your problem.

no, of course I changed the code, ie.

int                  GetFeatureCount(int = FALSE);

locally. I agree that it's a bad practice and I solved the problem
based on Even's suggestion. Martin

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa


More information about the gdal-dev mailing list