Skip to content

Feature: Within Expression for Polygon & Polygon Centroid #9795

Description

@strech345

Motivation

Would be nice to style or filter all polygons which are inside a specific polygon.
Within means the polygon is full inside of the other. But for a polygon selection it looks like more correct when only the centroid of the polygon is within the other.

So it would be nice not only to use within with a polygon but also with it centroid.

Otherwise if the calculation of centroid is to heavy, it would be nice to precalculate the centroid, load it into the mbtile as property and then use it for the within. This means using the within with properties.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions