[postgis-devel] [PostGIS] #1215: ST_DelaunayTriangles

PostGIS trac at osgeo.org
Wed Jun 27 07:19:19 PDT 2012


#1215: ST_DelaunayTriangles
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  strk         
     Type:  enhancement  |      Status:  assigned     
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by woodbri):

 It seems to me that having something like:

 {{{
 select the_geom
   from delaunay_triangles(sql_for_points text, tolerance double precision,
 multilinestring_out boolean);
 select the_geom
   from delaunay_triangles(sql_for_points text, tolerance double
 precision);
 }}}

 where the function returns a set of geometries based on
 multilinestring_out flag. If true you get multilinestrings if false or
 absent you get polygons. You mentioned a tolerance so I tossed that in,
 but what is it for?

 I like the set returning function because it is easy to throw
 ST_Collection() around it if you want a collection but much harder to
 explode it is you do not want that and it support your idea of pipelining.

 BTW. Nice work on this!

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1215#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list