Tim Smith wrote:
> 
> Thanks Daniel,
> I tried this with the area I'm viewing and it has reduced the amount of 
> features, which is great.
> Is it possible to use SetSpatialFilter to dynamically filter the 
> features I require as part of a map renderer?
> i.e. would this be feasible from a performance perspective?
> 

Yes, it should be possible to change the filter multiple times. You'd 
have to call OGRLayer::ResetReading() each time you change the spatial 
filter and then you can use GetNextFeature() calls to read the features 
that match the new filter.

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/mitab/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to