[postgis-users] Error Using WKTRASTER!

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Mon Feb 1 06:39:29 PST 2010


I didn't use fw tools.

I have installed python 2.6 and python gdal package (see bottom of this 
page)
http://pypi.python.org/pypi/GDAL/

You might need numpy as well
http://sourceforge.net/projects/numpy/

Hope this help,
Steve

 




mukesh karanwal <mukesh_karanwal at yahoo.com>@postgis.refractions.net 
Envoyé par : postgis-users-bounces at postgis.refractions.net
01/02/2010 05:06 AM
Veuillez répondre à
PostGIS Users Discussion <postgis-users at postgis.refractions.net>


A
PostGIS Users Discussion <postgis-users at postgis.refractions.net>
cc

Objet
Re: [postgis-users] Error Using WKTRASTER!









Yeah, I had gone through this article and installed FW Tools still the 
problem remains the same!!
do i need to change the system path and Gdal_Data variables again?


--- On Mon, 2/1/10, Jorge Arévalo <jorge.arevalo at gmail.com> wrote:

From: Jorge Arévalo <jorge.arevalo at gmail.com>
Subject: Re: [postgis-users] Error Using WKTRASTER!
To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Date: Monday, February 1, 2010, 12:33 PM

On Mon, Feb 1, 2010 at 6:49 AM, mukesh karanwal <mukesh_karanwal at yahoo.com
> wrote:

Hi,
 
I am trying to load raster data (Goetiff file) using "wktRaster" with the 
following command:
 
C:\Program Files\..\..>gdal2wktraster.py -r utmfile.tif -t utmtable -o 
utmfile.sql
As i execute this command from command prompt, it gives the following 
error:
 
File "C:\Program Files\..\..>gdal2wktraster.py" , line 32, in <module>
        from osgeo import gdal
        import error: no module named osgeo
 
I am having Python 2.5 with
system path: C:\gdalwin32-1.6\bin
GDAL_DATA:  C:\gdalwin32-1.6\data
 
how can i get rid of this error and store geotiff file in postgresql ?
 
 
With Regards,
Mukesh


Hi Mukesh,

Probably, the solution to your problem is here:

http://lists.osgeo.org/pipermail/gdal-dev/2009-December/022916.html

Best regards,
Jorge
 

_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users



-----Inline Attachment Follows-----

_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100201/1f4511f4/attachment.html>


More information about the postgis-users mailing list