[Gdal-dev] Using OGR Python to analyse stream layers

Frank Warmerdam warmerdam at pobox.com
Tue Feb 10 02:27:31 EST 2004


Christopher Fonnesbeck wrote:
> 
> On Feb 9, 2004, at 1:03 PM, Frank Warmerdam wrote:
> 
>> OGR does not support much in the way of geometry intersection operations.
>> What it does offer is a bounding box spatial filtering.  That is, a
>> rectangular bounding box can be set as a spatial filter, and then when
>> you iterate through the features, only those intersecting that bounding
>> box will be returned.
> 
> 
> What about the Intersect method within the Geometry class? Does that use 
> a bounding box, or is it a true intersection?

Chris,

Currently it is implemented as a simple bounding box intersection.

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    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list