Opened 11 years ago

Last modified 7 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 by strk, 11 years ago

Keywords: curves added

comment:2 by robe, 11 years ago

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

comment:3 by pramsey, 9 years ago

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

Meh, more knobs to twiddle.

comment:4 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.