Opened 11 years ago

Last modified 3 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:


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 11 years ago by pramsey

Milestone: PostGIS 1.5.2PostGIS 2.0.0

comment:2 Changed 10 years ago by Mike Taves

It would also be valuable to have a regression table to evaluate what is valid or invalid, similar to:

comment:3 Changed 9 years ago by strk

Milestone: PostGIS 2.0.0PostGIS Future
Version: 1.5.Xtrunk

This one doesn't sounds likely to happen for 2.0, correct me if I'm wrong.

comment:4 Changed 3 years ago by robe

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.