Opened 13 years ago

Closed 13 years ago

Last modified 7 years ago

#1286 closed enhancement (duplicate)

ST_MakeLine and ST_MakePolygon that makes a circularstring, curvepolygon

Reported by: robe Owned by: pramsey
Priority: medium Milestone: PostGIS Fund Me
Component: postgis Version: master
Keywords: Cc:

Description (last modified by robe)

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

Change History (3)

comment:1 by robe, 13 years ago

Description: modified (diff)

comment:2 by robe, 13 years ago

Resolution: duplicate
Status: newclosed

This is the same as #1291

comment:3 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.