[postgis-devel] [PostGIS] #1286: ST_MakeLine and ST_MakePolygon that makes a circularstring, curvepolygon
PostGIS
trac at osgeo.org
Sat Nov 12 05:28:27 PST 2011
#1286: ST_MakeLine and ST_MakePolygon that makes a circularstring, curvepolygon
-------------------------+--------------------------------------------------
Reporter: robe | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS Future
Component: postgis | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Description changed by robe:
Old description:
> 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
New description:
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
--
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1286#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list