inlay.SetSpatialFilter(refpoy) did not meet my requirement of  "if
geomi.Within(refpoly)".

if I use both  inlay.SetSpatialFilter(refpoy) and  geomi.Within(refpoly),
speed is same as before.
.SetSpatialFilter tested intersect of the envelopes, which i do not need.
any idea is appreciated

On Sat, Jun 23, 2018 at 2:01 PM, Ian <[email protected]> wrote:

> after spatial filter, should i use  if geomi.Within(refpoly)?
>
> On Sat, Jun 23, 2018 at 4:49 AM, mikeucfl <[email protected]> wrote:
>
>> Use a spatial filter using your refpoly before iterating the features:
>> http://gdal.org/python/osgeo.ogr.Layer-class.html#SetSpatialFilter
>>
>>
>>
>> --
>> Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
>> _______________________________________________
>> gdal-dev mailing list
>> [email protected]
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
>
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to