[postgis-devel] [PostGIS] #2103: Ability to load topogeoms using shp2pgsql

PostGIS trac at osgeo.org
Wed Nov 21 18:58:36 PST 2012

#2103: Ability to load topogeoms using shp2pgsql
 Reporter:  robe         |       Owner:  strk         
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.0
Component:  topology     |     Version:  trunk        
 Keywords:               |  
 In writing chapters of the book, one exercise is to load the data with
 shp2pgsql and then a second step to load into a specific topology.

 Aside from speed issues, I can't see why we can't just go straight to a
 topogeom column much like we do with geography is -G is chosen.

 This would require another switch for topology name  and name of topology.
 The only tricky part is that for the toTopogeom calls we need the
 generated layer id, which would require a connection to the database to
 get unless we have a lookup function of some sort that can lookup the
 layerid based on topo column table/name.

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