[postgis-devel] [PostGIS] #504: shp2pgsql should rename xmin/xmax fields

PostGIS trac at osgeo.org
Fri Apr 16 14:13:20 PDT 2010


#504: shp2pgsql should rename xmin/xmax fields
--------------------------+-------------------------------------------------
  Reporter:  pramsey      |       Owner:  pramsey      
      Type:  enhancement  |      Status:  new          
  Priority:  low          |   Milestone:  PostGIS 1.5.2
 Component:  postgis      |     Version:  1.5.X        
Resolution:               |    Keywords:               
--------------------------+-------------------------------------------------
Comment (by springmeyer):

 +1!

 Exposing the ability to configure the escape character used would also be
 a valuable thing from my perspective. Not critical at all and potentially
 not useful to 99% of users, but the basic situation is that I frequently
 use shp2pgsql to load arbitrary shapefiles into postgis, and then
 dynamically build django models (in python) from the table schema created
 by shp2pgsql. A gocha is that the _ is illegal according to django for
 field names (not sure why), so I have to batch find and rename those
 fields to remove the leading _.

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