Skip to content

Commit 6c8ee40

Browse files
jiayuasuwgtmacpaleolimbot
authored
GH-493: Clarify Bounding Box Behavior in GeospatialStatistics (#494)
Co-authored-by: Gang Wu <ustcwg@gmail.com> Co-authored-by: Dewey Dunnington <dewey@dunnington.ca>
1 parent 3ce0760 commit 6c8ee40

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Geospatial.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,21 @@ associated with each point.
8585
The Z values introduce the third dimension coordinate. Usually they are used to
8686
indicate the height, or elevation.
8787

88-
M values are an opportunity for a geospatial instance to express a fourth
89-
dimension as a coordinate value. These values can be used as a linear reference
90-
value (e.g., highway milepost value), a timestamp, or some other value as defined
91-
by the CRS.
88+
M values are an opportunity for a geospatial instance to track a value in a
89+
fourth dimension. These values can be used as a linear reference value (e.g.,
90+
highway milepost value), a timestamp, or some other value as defined by the CRS.
9291

9392
Bounding box is defined as the thrift struct below in the representation of
9493
min/max value pair of coordinates from each axis. Note that X and Y Values are
9594
always present. Z and M are omitted for 2D geospatial instances.
9695

96+
When calculating a bounding box, null or NaN values in a coordinate
97+
dimension are skipped. For example, `POINT (1 NaN)` contributes a value to X
98+
but no values to Y, Z, or M dimension of the bounding box. If a dimension has
99+
only null or NaN values, that dimension is omitted from the bounding box. If
100+
either the X or Y dimension is missing, then the bounding box itself is not
101+
produced.
102+
97103
For the X values only, xmin may be greater than xmax. In this case, an object
98104
in this bounding box may match if it contains an X such that `x >= xmin` OR
99105
`x <= xmax`. This wraparound occurs only when the corresponding bounding box

0 commit comments

Comments
 (0)