[postgis-users] Is st_isvalidreason singular for any polygon, or can multiple errors be returned?

Sandro Santilli strk at keybit.net
Mon Dec 19 05:52:31 PST 2011


On Mon, Dec 19, 2011 at 09:20:09PM +0800, Ben Madin wrote:

> So my question is - when running st_isvalidreason does it just return
> the first invalid problem it finds, or do I need a more sophisticated
> query to return all the problem points? 

Only the first one. By design. It's being discussed on JTS list if this
will change in the future. For now it is assumed that first invalidity
would render later ones hard to detect.

--strk; 

  ,------o-. 
  |   __/  |    Thank you for PostGIS-2.0 Topology !
  |  / 2.0 |    http://www.pledgebank.com/postgistopology
  `-o------'




More information about the postgis-users mailing list