[postgis-devel] [PostGIS] #375: Add lwcollection_homogenize and ST_Homogenize

PostGIS trac at osgeo.org
Sat Feb 20 10:31:18 PST 2010


#375: Add lwcollection_homogenize and ST_Homogenize
--------------------------+-------------------------------------------------
  Reporter:  colivier     |       Owner:  colivier                             
      Type:  enhancement  |      Status:  new                                  
  Priority:  medium       |   Milestone:  PostGIS 2.0.0                        
 Component:  postgis      |     Version:                                       
Resolution:               |    Keywords:  homogenize collection  ST_GeomFromKML
--------------------------+-------------------------------------------------
Comment (by colivier):

 Synopsys become:
 {{{
 /*
 ** Given a generic geometry, return the "simplest" form.
 **
 ** eg:
 **     LINESTRING() => LINESTRING()
 **
 **     MULTILINESTRING(with a single line) => LINESTRING()
 **
 **     GEOMETRYCOLLECTION(MULTILINESTRING()) => MULTILINESTRING()
 **
 **     GEOMETRYCOLLECTION(MULTILINESTRING(), MULTILINESTRING(), POINT())
 **      => GEOMETRYCOLLECTION(MULTILINESTRING(), POINT())
 */
 }}}


 Commited in lwgeom as r5265 and r5266


 Do you think is worth to be exposed as SQL function also ?
 And if yes ST_Homogenize is a good name choice ?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/375#comment:1>
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