Hi all, I am trying to solve the following problem: There is a list of features F (LineString or Polygon) and I need to find out if these are contained within a set of other features O (Polygon). The catch is that if an F feature crosses or intersects an O feature, then if the neighbouring feature is also in O, the condition for F is still ok. The O's are in a shape file and are selected based on an attribute filter and do not necessarily touch, and the F's are Georeferenced Plone objects. I would like to use Shapely and WorldMill (if I can get the <http://www.gdal.org/ogr/ogr__api_8h.html#4000d426bf26ad7cc7d4012634c93f09> OGR_L_SetAttributeFilter() to work), but I was wondering if there is another (=better) way to solve this, for instance by merging all touching O's into one polygon and then checking for containment. Any advice would be greatly appreciated.
-- Jan H. van der Ven MAGION Industrial Software Solutions
_______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
