Ticket #1772 (closed defect: fixed)
ST_Split returning NaN coordinates
| Reported by: | strk | Owned by: | pramsey |
|---|---|---|---|
| Priority: | critical | Milestone: | PostGIS 2.0.1 |
| Component: | postgis | Version: | 2.0.x |
| Keywords: | Cc: |
Description
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)
Change History
Note: See
TracTickets for help on using
tickets.
