[postgis-devel] [PostGIS] #670: ST_SharedPaths
PostGIS
trac at osgeo.org
Thu Dec 2 22:11:44 PST 2010
#670: ST_SharedPaths
-------------------------+--------------------------------------------------
Reporter: strk | Owner: strk
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Comment(by robe):
Sandro,
I put in some documentation for ST_SharedPaths and then passed it thru the
grinder and managed to crash it. It broke on this query on my Windows 7
PostgreSQL 9.0 32 bit. Can you check and see if the below works on yours.
{{{
SELECT ST_SharedPaths(foo1.the_geom, foo2.the_geom) As result,
ST_AsText(foo1.the_geom) As ref1_geom, ST_AsText(foo2.the_geom) As
ref2_geom FROM ((SELECT ST_SetSRID(ST_Point(i,j),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) j ORDER BY i,j )) As foo1 CROSS JOIN
((SELECT ST_Buffer(ST_SetSRID(ST_Point(i,j),4326), j*0.05) 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, 20) As j ORDER BY i, i*j, j)) As foo2
LIMIT 2;
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/670#comment:3>
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