[postgis-tickets] [PostGIS] #2272: shp2pgsql-gui crashes when given filenames with dots

PostGIS trac at osgeo.org
Fri Apr 12 14:49:15 PDT 2013


#2272: shp2pgsql-gui  crashes when given filenames with dots
---------------------------+------------------------------------------------
 Reporter:  robe           |       Owner:  mcayland     
     Type:  defect         |      Status:  new          
 Priority:  high           |   Milestone:  PostGIS 2.0.4
Component:  loader/dumper  |     Version:  trunk        
 Keywords:                 |  
---------------------------+------------------------------------------------
 I'm not sure if it's the length of the file or because there is an extra
 ., I suspect its the dot that is the problem.

 I downloaded this file: http://osm-extracted-
 metros.s3.amazonaws.com/taipei.osm2pgsql-shapefiles.zip

 And extracted them and then tried to load up  the

 taipei.osm-line one (using table name osm_line in a schema taipei) and was
 rudely awoken from my daze it claimed it couldn't find the corresponding
 .dbf file and then promptly crashed.


 After various renamings of all the files, I was able to successfully load
 by renaming

 taipei.osm-line.*   to:  osm_line.*

 I haven't tried with the command line, since I have since forgotten how to
 use a command line and too lazy to relookup the instructions.

 I'm using the 2.1.0 version 64-bit version on my windows 7 64-bit. I'll
 try to check next if its the same issue with the 32-bit.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2272>
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-tickets mailing list