Ticket #1286 (closed enhancement: duplicate)
ST_MakeLine and ST_MakePolygon that makes a circularstring, curvepolygon
| Reported by: | robe | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS Future |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description (last modified by robe) (diff)
This stack exchange post got me thinking.
http://gis.stackexchange.com/questions/16712/st-makeline-equivalent-for-circularstring-in-postgis
We have similar issues I think with ST_Collect as far as POLYHEDRALSURFACES are concerned.
Lets say you have a set of points that define the points of a CIRCULARSTRING, there is no aggregation routine we have that allows you to say these points are curve control points, not linear points.
e.g. I have p1,p2,p3,p4,p5 .. pn points and I want to aggregate to form a circularlinestring composed of CIRCULARLINESTRING(p1,...pn)
I propose we overload ST_MakeLine to take an optional argument that allows you to pass in CIRCULARLINESTRING, but that defaults to LINESTRING.
Same issue with ST_MakePolygon -- we just assume someone wants to make a POLYGON from the points not a CURVEPOLYGON.
Same issue with ST_Collect -- When you collect polygons you might be collecting to form a MULTIPOLYGON or POLYHEDRALSURFACE
since an ST_Dump(polyhedralsurface) generates polygons
