<div dir="ltr">I'd like to propose some changes to signature for ST_Voronoi, which I'll implement if there is general agreement.<br><br>Currently, the signature closely maps the GEOS CAPI:<br><br>ST_Voronoi( g1 geometry , clip geometry , tolerance float8 , return_polygons boolean );<br><br>I'd replace it with two functions:<div class=""><a name="idp56304768" style="color:rgb(65,138,205);font-family:'Lucida Grande',Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:14.4px"></a></div><div><br></div><div>ST_Voronoi( g1 geometry , tolerance float8, extend_to geometry );</div><div>ST_VoronoiLines( g1 geometry , tolerance float8, extend_to geometry );<br></div><div><br></div><div>The idea here is to:</div><div><br></div><div>- reduce the number of parameters.  "return_polygons" effects a complete change in behavior, which isn't going to change dynamically by the value of a datum (hard to see a need for "if fsa = K7L return polygons, otherwise return lines").  Making this a separate function simplifies usage.</div><div>- put the tolerance parameter before the clip parameter, on the expectation that tolerance is the most likely parameter to be changed and not everyone is familiar with keyword arguments, and passing NULL is ugly</div><div>- rename "clip" to "extend_to", since the only effect of supplying a value here can be to make the diagram's extent larger, not smaller.</div><div><br></div><div>Any downsides to this?</div><div><br></div><div>Dan</div></div>