Opened 10 years ago
Last modified 2 years ago
#472 new enhancement
Missing ST_IsValid for Geography Types
Reported by: | rfcmedia | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS Fund Me |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
There is no ST_IsValid for geography types.
I do not think casting a geography as a geometry and then running it through ST_IsValid will yield correct results either.
Consider a polygon (-170 0, 170 0, 178 5, 178 -5, -170 0) in degrees on a spherical surface. This is not a valid polygon as there is clearly an intersection between two lines at (178, 0) but this would be considered a valid polygon if it were cast as a geometry.
Change History (4)
comment:1 Changed 10 years ago by
Milestone: | PostGIS 1.5.2 → PostGIS 2.0.0 |
---|
comment:2 Changed 8 years ago by
comment:3 Changed 8 years ago by
Milestone: | PostGIS 2.0.0 → PostGIS Future |
---|---|
Version: | 1.5.X → trunk |
This one doesn't sounds likely to happen for 2.0, correct me if I'm wrong.
Note: See
TracTickets for help on using
tickets.
It would also be valuable to have a regression table to evaluate what is valid or invalid, similar to: http://trac.osgeo.org/postgis/browser/trunk/regress/isvalid_test