[postgis-devel] Possible Bug in isvalid()
Markus Schaber
schabi at logix-tt.com
Thu Apr 7 02:57:30 PDT 2005
Hi,
(Added X-Post to JTS Developers list.)
Markus Schaber schrieb:
> I just tried to apply my isvalid constraint to our raw data tables, and
> got the following error message on one of them:
>
> NOTICE: AssertionFailedException: Unable to find a hole point not a
> vertex of the shell
> ERROR: GEOS isvalid() threw an error!
>
> This sounds rather strange to me. IMHO, it should not be possible to
> make isvalid() throw an error by feeding it an invalid geometry.
>
> I'll try to track down which geometries cause this error message...
I now got a simple example:
> gisblau=# select isvalid('MULTIPOLYGON(((0 0, 10 10, 10 0, 0 0),(5 5, 5 0, 10 5, 5 5)))');
> NOTICE: AssertionFailedException: Unable to find a hole point not a vertex of the shell
> ERROR: GEOS isvalid() threw an error!
The attached small java program triggers this error on my machine
against jts-1.6.jar.
HTH,
Markus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JtsInvalidException.java
Type: text/x-java
Size: 634 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050407/d40b57fc/attachment.java>
More information about the postgis-devel
mailing list