Opened 6 years ago

Last modified 2 years ago

#2428 new enhancement

Add a "perQuadrant" parameter to ST_LineToCurve

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

Description

ST_CurveToLine has a parameter to request a number of edges per circle quadrant. For symmetricity the same parameter should be accepted by ST_LineToCurve to control the minimum number of edges per quadrant required to define a curve. See also #2407

NOTE: this change affects liblwgeom interface which may be changed (cleaner) or augmented (only worth to retain backward compatibility). The relevant liblwgeom interface is:

 lwgeom_desegmentize(LWGEOM *);
 lwgeom_segmentize(LWGEOM *, uint32_t);

My suggestion is to change lwgeom_desegmentize to also take an uint32_t (backward incompatible change).

Wouldn't 2.1 be a perfect moment for this ? :)

Change History (4)

comment:1 Changed 6 years ago by strk

Keywords: curves added

comment:2 Changed 6 years ago by robe

no it wouldn't. We called feature freeze already.

comment:3 Changed 5 years ago by pramsey

Milestone: PostGIS 2.2.0PostGIS Future
Owner: changed from pramsey to strk

Meh, more knobs to twiddle.

comment:4 Changed 2 years ago by robe

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.