Opened 13 years ago
Closed 13 years ago
#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: | master |
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 (2)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in trunk at r8971