[postgis-users] WKT Raster

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Tue Jan 12 12:33:25 PST 2010


HI,
I just installed wktraster_pg83 using this link
http://www.postgis.org/download/windows/pg83/experimental/wktraster/

I guess the next step is to use gdal2wktraster.py to load an image in 
postgis.

I don't know the syntax to use so I tried this command
C:\Python\python.exe gdal2wktraster.py --help

I got this error
Traceback (most recent call last):
  File "gdal2wktraster.py", line 32, in <module>
    from osgeo import gdal
  File "C:\Python\lib\site-packages\osgeo\gdal.py", line 7, in <module>
    import _gdal
ImportError: DLL load failed: Le module spÚcifiÚ est introuvable.

What is it missing?
Also, any doc on how to use gdal2wktraster.py?

thanks
steve




"Paragon Corporation" <lr at pcorp.us>@postgis.refractions.net 
Envoyé par : postgis-users-bounces at postgis.refractions.net
07/12/2009 10:37 PM
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] Suggestion Needed








FWIW for Windows users, we do have fairly recent compiled WKT Raster as of 
December 4th, 2009.  Give it a try.  I haven't had chance to try WKT 
Raster yet, but hopefully this will encourage people to give it a try.
 
http://www.postgis.org/download/windows/experimental.php
 
Hope that helps,
Regina

From: postgis-users-bounces at postgis.refractions.net 
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Pierre 
Racine
Sent: Monday, December 07, 2009 3:27 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Suggestion Needed

Mukesh,
 
Sorry for the late answer. You can give a try to WKT Raster. You will have 
to compile it though. Loading Geotiff should then be straightforward using 
gdal2wktraster.py.
 
Pierre
 
From: postgis-users-bounces at postgis.refractions.net 
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of mukesh 
karanwal
Sent: 25 novembre 2009 06:30
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Suggestion Needed
 


Hi..
thanks for the reply.
i did it but still it is showing the same error!
 
I actually want to store a Geotiff file in the databse, could you please 
tell, is there any other way to do this? or where am i doing mistake, if 
any?
 
Thanks

--- On Tue, 11/24/09, Luigi Castro Cardeles <luigi.cardeles at gmail.com> 
wrote:

From: Luigi Castro Cardeles <luigi.cardeles at gmail.com>
Subject: Re: [postgis-users] Suggestion Needed
To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Date: Tuesday, November 24, 2009, 10:17 PM
Hi,

to "bypass" the password, you can make the .pgpass file and fill that with 
your connection params (hostname:port:database_name:user:password).
If you are using windows, the path is: C:\Users\<your user 
name>\AppData\Roaming\postgresql\.pgpass

best regards 
Luigi Castro Cardeles

2009/11/24 mukesh karanwal <mukesh_karanwal at yahoo.com>


Hey Everyone,
 
I am trying to store raster data in Postgis/PostgrSQL using "
geotiff2pgrstaer.exe". but evertime i get an error that "when making 
connection to PostgreSQL: fe_sendauth: no password supplied", though i am 
supplying all the information.
 
The command i am giving is like:
C:\..> geotiff2pgraster -h localhost -p 5432 -d postgis -U postgres -P 
<mypassword> data.tif(strored at this location only) tablename
 
Kindly tell the remedy for the above problem and also is there any other 
way out to store raster data until now?
 
Thanks in anticipation 

-- 
With Regards,
Mukesh

 


_______________________________________________
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/20100112/89a47a5c/attachment.html>


More information about the postgis-users mailing list