string getFeaturesInCurrentPolygon(string attrName, string attrVal)

This method returns a comma-separated list of feature identifiers that lie within the “current geometry” as established by the most recent call to setCurrentGeometry, and which satisfy the given criteria (See General Search Criteria).

For a description of the returned list, see Feature ID Lists.

Migration note for v2.5 developers: getFeaturesInCurrentPolygon and setCurrentGeometry together correspond to getFeaturesInsideShape, when: