Opened 16 months ago

Last modified 16 months ago

#5528 closed defect

IsValid XX000: GEOS isvalid() threw an error! — at Version 2

Reported by: Lars Aksel Opsahl Owned by: pramsey
Priority: medium Milestone: PostGIS GEOS
Component: postgis Version: 3.4.x
Keywords: Cc:

Description (last modified by Lars Aksel Opsahl)

When running on later geos versions I get an exception and the call returns

Here are there result from 3 different systems, where the one with latest geos fails first.

The file /tmp/testIsValid.sql that we test with will be uploaded.

psql:/tmp/testIsValid.sql:5: ERROR:  XX000: GEOS isvalid() threw an error!
LOCATION:  isvalid, lwgeom_geos.c:1677
                                                                                                                                                    postgis_full_version                                                                                                                                                    
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 POSTGIS="3.4.0 0874ea3" [EXTENSION] PGSQL="120" GEOS="3.10.1-CAPI-1.16.0" SFCGAL="1.3.7" PROJ="8.2.0 NETWORK_ENABLED=OFF URL_ENDPOINT=https://cdn.proj.org USER_WRITABLE_DIRECTORY=/tmp/proj DATABASE_PATH=/usr/share/proj/proj.db" LIBXML="2.9.10" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)" TOPOLOGY
(1 row)

 postgis_geos_version 
----------------------
 3.10.1-CAPI-1.16.0
(1 row)


 st_isvalid 
------------
 t
(1 row)
                                                                                              postgis_full_version                                                                                              
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 POSTGIS="3.4.0dev 3.3.0rc2-958-g4c776d418" [EXTENSION] PGSQL="120" GEOS="3.9.1-CAPI-1.14.2" SFCGAL="1.3.7" PROJ="7.2.1" LIBXML="2.9.10" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)" TOPOLOGY
(1 row)

 postgis_geos_version 
----------------------
 3.9.1-CAPI-1.14.2
(1 row)


 st_isvalid 
------------
 t
(1 row)
                                                                                                           postgis_full_version                                                                                                            
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 POSTGIS="3.1.1 aaf4c79" [EXTENSION] PGSQL="120" GEOS="3.9.0-CAPI-1.16.2" SFCGAL="1.3.7" PROJ="7.2.1" GDAL="GDAL 3.2.1, released 2020/12/29" LIBXML="2.9.10" LIBJSON="0.13.1" LIBPROTOBUF="1.3.3" WAGYU="0.5.0 (Internal)" TOPOLOGY RASTER
(1 row)

 postgis_geos_version 
----------------------
 3.9.0-CAPI-1.16.2
(1 row) 

Change History (4)

by Lars Aksel Opsahl, 16 months ago

Attachment: testIsValid.sql added

/tmp/testIsValid.sql

by Lars Aksel Opsahl, 16 months ago

Attachment: geos_is_valid_error.png added

Can display the geometetry in geos

comment:1 by Lars Aksel Opsahl, 16 months ago

Description: modified (diff)

comment:2 by Lars Aksel Opsahl, 16 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.