[postgis-users] Suggestion Needed

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Mon Dec 7 12:27:02 PST 2009


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<http://us.mc459.mail.yahoo.com/mc/compose?to=mukesh_karanwal@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://us.mc459.mail.yahoo.com/mc/compose?to=postgis-users@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://us.mc459.mail.yahoo.com/mc/compose?to=postgis-users@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/20091207/d9676d4b/attachment.html>


More information about the postgis-users mailing list