[postgis-devel] [PostGIS] #406: DBF only load in shp2pgsql is broken

PostGIS trac at osgeo.org
Wed Feb 3 14:32:29 PST 2010


#406: DBF only  load in shp2pgsql is broken
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  pramsey      
      Type:  defect   |      Status:  closed       
  Priority:  high     |   Milestone:  PostGIS 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:  invalid  |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by robe):

 Okay this is really mind boggling.  This is my exact script that is
 failing.

 C:\GISData\temp>%PGBIN%\shp2pgsql -a -s 4269 -g the_geom -W "latin1"
 tl_2009_110
 01_addr.dbf tiger_data.DC_addr > addr.sql

 And its failing on creating the geometry index?  But I don't have a -I
 and yet its adding this to the end

 CREATE INDEX "dc_addr_the_geom_gist" ON "tiger_data"."dc_addr" using gist
 ("the_geom" gist_geometry_ops);

 here is that coming from?  is there some magical environment variable I am
 setting somewhere?

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