[gdal-dev] Re: OGR/ GEOS GetNextFeature problem

Frank Warmerdam warmerdam at pobox.com
Mon Jan 14 04:02:16 EST 2008


Ahmet Murat Özdemiray wrote:
> Frank,
> 
> On previous versions of GDAL, in order to create a polygon object
> SHPReadOGRObject method was making its own controls by checking ring
> direction etc., however, on 1.5.0 these controls are done by a new
> method on OgrGeometryFactory, organizepolygons and this method depends
> on geos calculations. I think, this is what makes older version of
> gdal perform faster than the new version of gdal.
> So there may be a trade off between performance and  precision, and I
> must choose performance for retrieving features from file. Therefore,
> I will continue using previous versions of gdal.

Murat,

Understood.  I have reopened bug report 1217 which tracks the change
that resulted in the slowdown.  If you can provide details (or ideally
the dataset) that demonstrates the problem that would be helpful.

   http://trac.osgeo.org/gdal/ticket/1217

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list