Opened 14 years ago
Closed 14 years ago
#687 closed defect (fixed)
ST_DFullyWithin EMPTY crash with real
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
I haven't isolated which one is at fault here. Doesn't seem to be POLYGON EMPTY this time.
SELECT ST_DFullyWithin(foo1.the_geom, foo2.the_geom, 100) As result, ST_AsText(foo1.the_geom) As ref1_geom, ST_AsText(foo2.the_geom) As ref2_geom FROM ((SELECT ST_MakeLine(ST_SetSRID(ST_Point(i,j),4326),ST_SetSRID(ST_Point(j,i),4326)) As the_geom FROM (SELECT a*1.11111111 FROM generate_series(-10,50,10) As a) As i(i) CROSS JOIN generate_series(40,70, 15) As j WHERE NOT(i = j) ORDER BY i, i*j)) As foo1 CROSS JOIN ((SELECT ST_GeomFromText('GEOMETRYCOLLECTION EMPTY',4326) As the_geom UNION ALL SELECT ST_GeomFromText('POLYGON EMPTY',4326) As the_geom UNION ALL SELECT ST_GeomFromText('POINT EMPTY',4326) As the_geom UNION ALL SELECT ST_GeomFromText('MULTIPOINT EMPTY',4326) As the_geom UNION ALL SELECT ST_GeomFromText('MULTIPOLYGON EMPTY',4326) As the_geom UNION ALL SELECT ST_GeomFromText('LINESTRING EMPTY',4326) As the_geom UNION ALL SELECT ST_GeomFromText('MULTILINESTRING EMPTY',4326) As the_geom ) ) As foo2 LIMIT 2;
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
— here is a distilled one if you need an example