-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
geo: allow st_makeenvelope min/max bounds to be reversed
Postgis allows xmin/ymin to be greater than xmax/ymax respectively in st_makeenvelope, but the geom library does not allow this when converting Bounds to Polygon. Instead, we build the polygon explicitly from the provided min/max coordinates. Epic: None Fixes: #111157 Release note (bug fix): The geospatial st_makeenvelope built-in now correctly supports xmin or ymin to be greater than xmax or ymax, respectively.
- Loading branch information
1 parent
eb85843
commit d929408
Showing
2 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters