<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV><FONT face="verdana, helvetica, sans-serif">Yeah, I had gone through this article and installed FW Tools still the problem remains the same!!</FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif">do i need to change the system path and Gdal_Data variables again?<BR></FONT><BR><BR>--- On <B>Mon, 2/1/10, Jorge Arévalo <I><jorge.arevalo@gmail.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Jorge Arévalo <jorge.arevalo@gmail.com><BR>Subject: Re: [postgis-users] Error Using WKTRASTER!<BR>To: "PostGIS Users Discussion" <postgis-users@postgis.refractions.net><BR>Date: Monday, February 1, 2010, 12:33 PM<BR><BR>
<DIV id=yiv586067661>On Mon, Feb 1, 2010 at 6:49 AM, mukesh karanwal <SPAN dir=ltr><<A href="http://us.mc459.mail.yahoo.com/mc/compose?to=mukesh_karanwal@yahoo.com" target=_blank rel=nofollow ymailto="mailto:mukesh_karanwal@yahoo.com">mukesh_karanwal@yahoo.com</A>></SPAN> wrote:<BR>
<DIV class=gmail_quote>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV><FONT face="verdana, helvetica, sans-serif">Hi,</FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"></FONT> </DIV>
<DIV><FONT face="verdana, helvetica, sans-serif">I am trying to load raster data (Goetiff file) using "wktRaster" with the following command:</FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"></FONT> </DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"><STRONG>C:\Program Files\..\..>gdal2wktraster.py -r utmfile.tif -t utmtable -o utmfile.sql</STRONG></FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif">As i execute this command from command prompt, it gives the following error:</FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"></FONT> </DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"><STRONG>File "C:\Program Files\..\..>gdal2wktraster.py" , line 32, in <module></STRONG></FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"><STRONG>        from osgeo import gdal</STRONG></FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"><STRONG>        import error: no module named osgeo</STRONG></FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"></FONT> </DIV>
<DIV><FONT face="verdana, helvetica, sans-serif">I am having Python 2.5 with</FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif">system path: C:\gdalwin32-1.6\bin</FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif">GDAL_DATA:  C:\gdalwin32-1.6\data</FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"></FONT> </DIV>
<DIV><FONT face="verdana, helvetica, sans-serif">how can i get rid of this error and store geotiff file in postgresql ?</FONT></DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"></FONT> </DIV>
<DIV><FONT face="verdana, helvetica, sans-serif"> <BR>With Regards,</FONT></DIV>
<DIV>Mukesh</DIV></TD></TR></TBODY></TABLE><FONT color=#888888><BR></FONT></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Hi Mukesh,</DIV>
<DIV><BR></DIV>
<DIV>Probably, the solution to your problem is here:</DIV>
<DIV><BR></DIV>
<DIV><A href="http://lists.osgeo.org/pipermail/gdal-dev/2009-December/022916.html" target=_blank rel=nofollow>http://lists.osgeo.org/pipermail/gdal-dev/2009-December/022916.html</A></DIV>
<DIV><BR></DIV>
<DIV>Best regards,</DIV>
<DIV>Jorge</DIV>
<DIV> </DIV>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><FONT color=#888888></FONT><BR>_______________________________________________<BR>postgis-users mailing list<BR><A href="http://us.mc459.mail.yahoo.com/mc/compose?to=postgis-users@postgis.refractions.net" target=_blank rel=nofollow ymailto="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</A><BR><A href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target=_blank rel=nofollow>http://postgis.refractions.net/mailman/listinfo/postgis-users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_______________________________________________<BR>postgis-users mailing list<BR><A href="http://us.mc459.mail.yahoo.com/mc/compose?to=postgis-users@postgis.refractions.net" ymailto="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</A><BR><A href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target=_blank>http://postgis.refractions.net/mailman/listinfo/postgis-users</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>