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.
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
bufferfield 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 withintersect_point_filter+ a non-zerobuffer, we can then removedwithin_point_filter.