[postgis-devel] [PostGIS] #687: ST_DFullyWithin EMPTY crash with real
PostGIS
trac at osgeo.org
Wed Dec 8 13:28:00 PST 2010
#687: ST_DFullyWithin EMPTY crash with real
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
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;
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/687>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list