<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Yes, raster2pgsql is in this folder. So i go through the terminal to this folder and run something like that: <span style="font-style: italic;">raster2pgsql -s 4236 -I -C -M *.tif -F -t 100x100 public.test > out.sql</span></span></div><div><br><span></span></div><div><span>Before that, i go to the pgAdminIII, connect to the localhost and create a new database "testing" with template "template_postgis".<br></span></div><div><br><span></span></div><div>How do i declare in the command line that the database that i want to load the image is the new one i just created?</div><div><br></div><div>What i get running the command below is: "out.sql: Permission denied".</div><div><br></div><div>What is wrong with this process or what i forget to do?
<br><span></span></div><div><br><span></span></div><div><span><br></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Salvatore Larosa <S_Larosa@libero.it><br> <b><span style="font-weight: bold;">To:</span></b> "postgis-users@postgis.refractions.net" <postgis-users@postgis.refractions.net> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, March 8, 2012 11:16 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [postgis-users] Problem in using Postgis 2.0.0b3 with raster<br> </font> </div> <br>
Hi,<br>check if raster2pgsql script is in folder /usr/local/pgsql/bin!<br>if it's there, check your path settings!<br><br>regards<br><br>----Messaggio originale----<br>Da: <a ymailto="mailto:ggiakoumidakis@yahoo.com" href="mailto:ggiakoumidakis@yahoo.com">ggiakoumidakis@yahoo.com</a><br>Data: 08/03/2012 9.36<br>A: "<a ymailto="mailto:postgis-users@postgis.refractions.net" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>"<<a ymailto="mailto:postgis-users@postgis.refractions" href="mailto:postgis-users@postgis.refractions">postgis-users@postgis.refractions</a>.<br>net><br>Ogg: [postgis-users] Problem in using Postgis 2.0.0b3 with raster<br><br>Hi, is there any step-by-step guide showing how to enable PostGis 2.0.0<br>beta3SVN in my database and loading raster images?<br>I install it properly, as the README.raster says, but when i try to load with <br>the "raster2pgsql -s 4326 ...." it gives "raster2pgsql
command not found". <br>So i guess there are some missing steps after installing, that i have to do so <br>i can use Postgis raster to the PgAdmin database. Maybe they are so obvious to <br>be mentioned but i am really new to this one so i can't go further.<br>Thanks for any help.<br><br><br><br>_______________________________________________<br>postgis-users mailing list<br><a ymailto="mailto:postgis-users@postgis.refractions.net" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>http://postgis.refractions.net/mailman/listinfo/postgis-users<br><br><br> </div> </div> </div></body></html>