<div id="RTEContent">Thanks for the hint... but i now have corrected the path problems but i continue to  have problems. i am actually working in linux and the shapefile is in the same  folder as the shp2pgsql. <br>    <br>      ./shp2pgsql -s 26911  River.shp  River  > River.sql<br> <br> or i have also tried this one...<br> <br>    /shp2pgsql -s 26911  River.shp  River  |  psql myRiverdb.sql<br> <br> I am using the shapefile  and tutorial from carto.net  just to first test if it works but in<br> both cases, it returns River.shp: shape (.shp) or index files (.shx) can not be opened.<br> <br> I really do understand this. why it cannot be opened? <br> <br> with thanks in advance,<br> <br><br><b><i>Barend Köbben <kobben@itc.nl></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">What they mean is: If the shapefile
 is in the "loader directory" (ie the directory the shp2pgsql executable is in) you only need to specify the shapefiles name, otherwise make sure you state the full path:<br> <br>eg. for windows: <br>shp2pgsql.exe C:\mydirectory\asubdirectory\myshapefile.shp mytable myDB<br> <br>____________________________ <br>Barend Köbben <br>International Institute for Geo-information Sciences and  Earth Observation (ITC) <br>PO Box 6, 7500AA Enschede (The Netherlands) <br>ph: +31-(0)534874253; fax: +31-(0)534874335 <br>_____________________________ <br><br>________________________________<br><br>From: postgis-users-bounces@postgis.refractions.net on behalf of henok tadesse<br>Sent: Tue 27.12.2005 20:15<br>To: postgis-users@postgis.refractions.net<br>Subject: [postgis-users] problem with shp2pgsql<br><br><br>hello,<br><br>I was trying to load a shape file into my postgis database. Some body in this forum once said the shapefile should be put in the loader directory. But i could not really find
 out where the loader directory is although i used this command to load the dumper!<br><br>              <br><br> # cd postgis-1.1.0/loader <br> # make<br> # make install<br><br>Should the shape file necessarily be in the loader dirctory to be used in shp2pgsql? if yes, where can i find it?<br><br>thanks in advance,<br><br>henok<br><br><br>________________________________<br><br>Yahoo! Photos <http:>  - NEW, now offering a quality print service <http:>  from just 8p a photo.<br>_______________________________________________<br>postgis-users mailing list<br>postgis-users@postgis.refractions.net<br>http://postgis.refractions.net/mailman/listinfo/postgis-users<br></http:></http:></blockquote><br></div><p>
                <hr size=1><font face="Arial" size="2">To help you stay safe and secure online, we've developed the all new <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http://uk.security.yahoo.com/"><b>Yahoo! Security Centre</b></a>.</font>