[postgis-devel] [PostGIS] #1017: Implement topology.ToTopoGeom(Geometry, topology_name, layer_id)

PostGIS trac at osgeo.org
Thu Dec 29 10:04:26 PST 2011


#1017: Implement topology.ToTopoGeom(Geometry, topology_name, layer_id)
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  strk         
     Type:  enhancement  |      Status:  assigned     
 Priority:  medium       |   Milestone:  PostGIS 2.0.0
Component:  topology     |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by strk):

 With r8613 we have the concept of empty TopoGeometry objects.
 They do have an ID but no entry in relation table.
 Basically their construction only increments the sequence.
 You can create them by omitting the components parameter to
 CreateTopoGeom.
 Under the hood, the CreateTopoGeom function skips from the given array any
 TopoElement with type=0 (and expects id=0 as well).

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