[postgis-devel] [PostGIS] #1772: ST_Split returning NaN coordinates
PostGIS
trac at osgeo.org
Wed Apr 11 12:46:22 PDT 2012
#1772: ST_Split returning NaN coordinates
----------------------+-----------------------------------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: critical | Milestone: PostGIS 2.0.1
Component: postgis | Version: 2.0.x
Keywords: |
----------------------+-----------------------------------------------------
{{{
strk=# select ST_AsText(ST_Split( 'LINESTRING(0 1, 0 1, 0 1)', 'POINT(0
1)' ));
st_astext
---------------------------------------------------------------
GEOMETRYCOLLECTION(LINESTRING(0 1),LINESTRING(-nan -nan,0 1))
(1 row)
}}}
The correct answer may be this one:
{{{
strk=# select ST_AsText(ST_Split( 'LINESTRING(0 1, 0 1)', 'POINT(0 1)' ));
st_astext
-----------------------------------------
GEOMETRYCOLLECTION(LINESTRING(0 1,0 1))
(1 row)
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1772>
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