[postgis-tickets] [PostGIS] #3541: Automatically convert Polygon to CurvePolygon when required

PostGIS trac at osgeo.org
Mon May 2 23:51:02 PDT 2016


#3541: Automatically convert Polygon to CurvePolygon when required
--------------------------+---------------------------------------------
  Reporter:  mkuhn        |      Owner:  pramsey
      Type:  enhancement  |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS Future
 Component:  postgis      |    Version:  2.2.x
Resolution:  wontfix      |   Keywords:  curve, curvepolygon, conversion
--------------------------+---------------------------------------------
Changes (by robe):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 LINESTRING with 3 points would result in a circularlinestring implicitly
 only if you assume that you want the middle to be a control point.  This
 is a big jump in assumption to me.  As I would expect a LINESTRING that
 forms into a curve to be a curve.

 So I don't feel this warrants blind conversion option.

 Even if it did, I don't think its possible the way we have PostGIS
 constructed to morph from one subtype geometry to another.  Note we only
 have casts from geometry, geography, box, box2d, box3d, raster but those
 are all separate types, not subtypes of the same type.

 pramsey or strk can correct me if my assumptions are wrong here.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3541#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-tickets mailing list