File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,8 +182,10 @@ enum SpatialFilterMode {
182182 SPATIAL_FILTER_MODE_UNSPECIFIED = 0 ;
183183 // Any geometry that intersects the filter geometry is included.
184184 SPATIAL_FILTER_MODE_INTERSECTS = 1 ;
185- // Only geometries fully contained within the filter geometry are included.
186- SPATIAL_FILTER_MODE_CONTAINS = 2 ;
185+ // Only datapoint geometries fully contained within the filter geometry are included.
186+ SPATIAL_FILTER_MODE_FILTER_CONTAINS_GEOMETRY = 2 ;
187+ // Only datapoint geometries that fully contain the filter geometry are included.
188+ SPATIAL_FILTER_MODE_GEOMETRY_CONTAINS_FILTER = 3 ;
187189}
188190
189191// SpatialCoordinateSystem specifies the coordinate system in which to perform geometry calculations such as
@@ -201,7 +203,7 @@ enum SpatialCoordinateSystem {
201203message SpatialFilter {
202204 // The geometry to filter by.
203205 Geometry geometry = 1 [(buf.validate.field ).required = true ];
204- // Whether to filter by intersection or containment .
206+ // How to compare datapoint geometries with the filter geometry .
205207 SpatialFilterMode mode = 2 [(buf.validate.field ) .enum.defined_only = true ];
206208 // Coordinate system in which to perform geometry calculations.
207209 SpatialCoordinateSystem coordinate_system = 3 [(buf.validate.field ) .enum.defined_only = true ];
You can’t perform that action at this time.
0 commit comments