[postgis-users] Support for LINESTRING and CIRCULARSTRING in the same polygon.

Sandro Santilli strk at keybit.net
Wed Jul 20 13:03:29 PDT 2011


On Wed, Jul 20, 2011 at 08:48:41PM +0200, Mats Taraldsvik wrote:
> Hi,
> 
> I have to deal with Polygons which have curves as well as straight
> lines. How should I store them in postgis? (If I understand the
> documentation correctly, Polygon is for linestrings, CurvePolygon is
> for circularstrings, but none of them handles a mix of both..?)

You should be able to use compoundcurves (mix of circularstrings and
straight lines) in the definition of rings for CURVEPOLYGON type
starting with PostGIS 1.4.

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-users mailing list