[postgis-devel] [PostGIS] #1462: Have TopoGeometry::Geometry always return a MULTI*

PostGIS trac at osgeo.org
Fri Jan 13 01:44:41 PST 2012


#1462: Have TopoGeometry::Geometry always return a MULTI*
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  task      |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------
 Since TopoGeometry types don't make a distinction between a single and a
 multi type (they are: puntual, lineal, areal) it would be more consistent
 to always return a Multi rather than relying on the actual definition.

 The GeometryType(TopoGeometry) override already assumes they are all
 Multi*, so changing the actual cast would be a uniform step in that
 direction.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1462>
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