hi list,

i have a problem with the shp2pgsql program:

this command:
/usr/local/pgsql/bin/shp2pgsql -s 4326 -c -I -D -k 
/var/gisapp/postgreexport/_G342.shp public._g342 > 
/var/gisapp/postgreexport/_g342.sql
works alright, no problems at all

whereas this command:
/usr/local/pgsql/bin/shp2pgsql -s 4326 -c -I -D -k 
/var/gisapp/postgreexport/_G2681.shp public._g2681 > 
/var/gisapp/postgreexport/_g2681.sql
causes shp2pgsql to answer:

"/var/gisapp/postgreexport/_G2681.shp: shape (.shp) or index files (.shx) can 
not be opened."

ls -la in /var/gisapp/postgreexport/ says the following:

-rwxrwxrwx  1 root     root    171848556 2007-08-14 18:38 _G2681.dbf
-rwxrwxrwx  1 root     root                143 2007-08-14 18:38 _G2681.prj
-rwxrwxrwx  1 root     root  4565523268 2007-08-14 18:38 _G2681.shp
-rwxrwxrwx  1 root     root    124980820 2007-08-14 18:38 _G2681.shx
-rwxrwxrwx  1 root     root                308 2007-08-15 09:35 _G342.dbf
-rwxrwxrwx  1 root     root                143 2007-08-15 09:35 _G342.prj
-rwxrwxrwx  1 root     root                716 2007-08-15 09:35 _G342.shp
-rwxrwxrwx  1 root     root                276 2007-08-15 09:35 _G342.shx


so the only difference between shp-file _g2681 and shp-file _g342 is that 
_g2681 is an extremely big one. (and actually there is another difference: 
_G342.shp is a point shape, _g2681.shp is a line shape)

any ideas?

i appreciate any help, thanks in advance,

stefan

______________________________________________________________________________
Jetzt neu! Im riesigen WEB.DE Club SmartDrive Dateien freigeben und mit 
Freunden teilen! http://www.freemail.web.de/club/smartdrive_ttc.htm/?mc=021134

_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to