Opened 8 years ago

Last modified 4 months 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: trunk
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 8 years ago by pramsey

Milestone: PostGIS 1.5.2PostGIS 2.0.0

comment:2 Changed 6 years ago by Mike Toews

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

comment:3 Changed 6 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 4 months ago by robe

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.