Curve Thoughts

Paul Ramsey pramsey at cleverelephant.ca
Fri Feb 16 14:31:55 PST 2024



> On Feb 16, 2024, at 2:29 PM, Regina Obe <lr at pcorp.us> wrote:
> 
> I'm a little confused by this though
> 
> https://gist.github.com/pramsey/cbf6db1edb8762854925f6b6ad6d6b35#proposal-fo
> r-curvepolygon
> 
> if you are treating a curved polygon like below as a collection?
> 
> CURVEPOLYGON(COMPOUNDCURVE(
>    LINESTRING(2 2, 2.5 2.5),
>    CIRCULARSTRING(2.5 2.5, 4.5 2.5, 3.5 3.5),
>    LINESTRING(3.5 3.5, 2.5 4.5, 3 5, 2 2)),
>    LINESTRING(4 4, 4 5, 5 4, 4 4)
>    )

No, I’m not. My proposal was in fact to treat CompoundCurve and CurvePolygon as unitary. It feels like the “right” answer, though you are right that it’s potentially quite a rat hole of changes, which is hard to estimate at this point.

P




More information about the postgis-devel mailing list