Skip to content

Add buffer filter option #192

Description

@LionelZoubritzky-IGN

There is no current way to query for objects within a fixed distance to a feature. We only have dwithin_point_filter, but there is no way to ask for the parcels within 100m of a river, for instance.
I propose adding a buffer field to the GpfGetFeatures and GpfCountFeatures tools. Implementation-wise, we can use BufferOp from jsts to transform any line or polygon geometry filter into their buffered version, and convert any Point to a DWITHIN CQL filter (and combine them with OR for MultiPoint). Since it becomes redundant with intersect_point_filter + a non-zero buffer, we can then remove dwithin_point_filter.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions