Ticket #1304 (closed defect: fixed)
ST_Segmentize returns invalid LINESTRING for zero-length input
| Reported by: | realityexists | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
PostGIS 2.0.0 as of 2011-11-08
SELECT ST_AsText(ST_Segmentize(ST_GeomFromText('LINESTRING(1 2,1 2)'), 100))
returns "LINESTRING(1 2)", which is invalid - parsing it with ST_GeomFromText() fails. I would expect it to return the input value ("LINESTRING(1 2,1 2)").
Change History
Note: See
TracTickets for help on using
tickets.
