Opened 14 years ago
Closed 14 years ago
#694 closed defect (fixed)
ST_MakePolygon with Point crashes
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
Another thing no one would intentionally do but doesn't crash on 1.5:
SELECT ST_MakePolygon('POINT(1 2)'::geometry)
Change History (3)
comment:1 by , 14 years ago
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
It's fine now -- gives "Shell is not a line"
Note:
See TracTickets
for help on using tickets.
ST_polygon obviously breaks too. didn't notice we had such a thing documented. Anyrate when it came to this one, I noticed its using all deprecated code for its definition:
-- definition of ST_Polygon