<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi, <br><br>Thanks for the reply but I already call raster2pgsql. In the beginning says that I don't have the command raster2pgsql available and them I just enable it, after that appear the pg_wrapper error. <br><br>Now the error pass to pg_wrapper...<br><br>The problem its not the raster2pgsql.<br><br>Regards,<br>Jose Santos<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Thu, 25 Oct 2012 09:51:39 -0700<br>> From: bkpark@ucdavis.edu<br>> To: postgis-users@postgis.refractions.net<br>> Subject: Re: [postgis-users] Pg_wrapper error<br>> <br>> You're probably going to want to call raster2pgsql directly instead of<br>> pg_wrapper.  If the problem is with pg_wrapper, you're better asking a<br>> debian mailing list.<br>> <br>> So...<br>> <br>> /usr/bin/raster2pgsql MYRASTER MYTABLE | psql -d MYDB<br>> <br>> -bborie<br>> <br>> On 10/25/2012 08:26 AM, José Pedro Santos wrote:<br>> > <br>> > Dear all, <br>> > <br>> > I have one problem when I try to load raster to Postgis with the script raster2pgsql from the shell.<br>> > <br>> > I have this error: Error: pg_wrapper: invalid command name<br>> > <br>> > Before this error (I have Postgis version 2.0) I can't use the command (raster2pgsql) in the shell (was not found) but i enable it with this expression: <br>> > sudo ln -sf /usr/share/postgresql-common/pg_wrapper /usr/bin/raster2pgsql <br>> > <br>> > After that the error about pg_wrapper appear. <br>> > <br>> > Any suggestion? <br>> > <br>> > Best Regards and thanks,<br>> > Jose Santos<br>> >                                           <br>> > <br>> > <br>> > <br>> > _______________________________________________<br>> > postgis-users mailing list<br>> > postgis-users@postgis.refractions.net<br>> > http://postgis.refractions.net/mailman/listinfo/postgis-users<br>> > <br>> <br>> -- <br>> Bborie Park<br>> Programmer<br>> Center for Vectorborne Diseases<br>> UC Davis<br>> 530-752-8380<br>> bkpark@ucdavis.edu<br>> _______________________________________________<br>> postgis-users mailing list<br>> postgis-users@postgis.refractions.net<br>> http://postgis.refractions.net/mailman/listinfo/postgis-users<br></div>                                           </div></body>
</html>