On Thu, Jul 28, 2011 at 8:36 PM, maaza mekuria <[email protected]> wrote:
> Thank you, Martin for your explanation. I ahve one more followup question.
>
> Can the spatial index be composed of features other than points? I do not see 
> any restriction in the documentation. Can I use features such as lines and 
> polylines in an in-memory spatial index and use these as one uses points?

Yes, you can use lines and polygons. Spatial index only uses bounding
boxes of the geometries to for the queries. Therefore also
intersection query will return features that have bounding box of
their geometry intersecting the query rectangle.

Martin
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to