Created
February 26, 2018 09:54
-
-
Save stepankuzmin/b1f0971457b9a28389a60aa6b1bbcd0b to your computer and use it in GitHub Desktop.
PostGIS check 4326 geometry for bounds
This file contains hidden or 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
| select | |
| ST_XMax(geom), | |
| ST_YMax(geom), | |
| * | |
| from gamma.cores_boundaries | |
| where ST_XMax(geom) > 180 OR ST_XMax(geom) < -180 OR ST_YMax(geom) > 90 OR ST_YMax(geom) < -90; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment