Opened 14 years ago
Closed 14 years ago
#3621 closed defect (invalid)
spatialite crashes on IsValid on empty polygon 'POLYGON()' created by Buffer(Geometry,0)
Reported by: | JaapDekker | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | spatialite buffer isvalid polygon |
Cc: |
Description
When cleaning up results of an Intersect I got a crash in spatialite to reproduce in version 2.3.1 on Windows type:
SELECT IsValid(Buffer(MlineFromText('MULTILINESTRING((-120.733 39.8884, -120.616 39.9049), (-120.616 39.9049, -120.697 39.9266), (-120.697 39.9266, -120.733 39.9393))'),0));
The buffer method returned 'POLYGON()'
SpatiaLite version ..: 2.3.1 PROJ.4 version ......: Rel. 4.6.1, 21 August 2008 GEOS version ........: 3.1.1-CAPI-1.6.0 SQLite version ......: 3.6.16
Change History (1)
comment:1 by , 14 years ago
Component: | default → OGR_SF |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
I imagine this is a spatialite/geos integration issue. Does the same thing happen if you execute the above SQL from the sqlite client? I'm going to close the ticket assuming it is a spatialite issue. If you feel it is really a GDAL problem then please reopen with details.
Thanks!