Thanks jorge! Then I figure it's a bug in the plugin. I wrote the wrong modes. I'm fixing and updating. Hum... I'm going to wait for your responde on the parsing part. If not, should I parse it on the plugin? Best regards, Mauricio de Paulo
2010/12/1 Jorge Arévalo <[email protected]> > Hello, > > On Wed, Dec 1, 2010 at 7:19 PM, Maurício de Paulo > <[email protected]> wrote: > > Hi Andreas, > > As you were able to load the raster metadata i'm assuming you installed > the > > wktraster sql on the database. > > I've never tested myself on postgresql 9.0. > > Do you have a postgresql 8.4 instance to test too? Just to be sure if > it's a > > gdal incompatibility with 9.0. > > Thanks for the information, I'm repassing to Jorge (GDAL's developper). > > Best regards, > > Mauricio de Paulo > > > >> Hi, > >> > >> I am trying to get the wktraster plugin to work. > >> > >> The initial connection to the db is fine. It lists all my raster > datasets > >> I have in the db. > >> > >> After selecting a raster (and adding the schema-name in front of the > >> table-name) I hit ok and after entering the password again, I get the > >> following error message: > >> > >> Could not load PG: dbname=uster host=localhost user=an password=xxx > >> port=5432 table=dtm.dtmav mode=1 > >> > >> In the console that started QGIS I get a warning: > >> > >> Warning: This version of PostgreSQL is not supported and may not work. > >> ERROR 1: Error browsing database for PostGIS Raster properties > >> > >> Here is my Postgres/Postgis version string: > >> > >> "PostgreSQL 9.0.1 on x86_64-unknown-linux-gnu, compiled by GCC gcc > (Ubuntu > >> 4.4.3-4ubuntu5) 4.4.3, 64-bit" > >> > >> "POSTGIS="1.5.2" GEOS="3.2.0-CAPI-1.6.0" PROJ="Rel. 4.7.1, 23 September > >> 2009" LIBXML="2.7.6" USE_STATS" > >> > >> Do you have any idea what may be wrong here? Is PostgreSQL 9.0 not > >> supported? It works fine with my other QGIS projects ... > >> > >> Thanks, > >> Andreas > >> > >> -- > >> Andreas Neumann > >> http://www.carto.net/neumann/ > >> http://www.svgopen.org/ > >> > > > > > > -- > > Mauricio de Paulo > > Engenheiro Cartografo > > > > > > I assume you're using the new version of GDAL driver, commited on > release 20912 (http://trac.osgeo.org/gdal/changeset/20912). The right > syntax for the connection string should be > > PG:"dbname=uster host=localhost user=an password=xxx port=5432 > schema=dtm table=dtmav mode=1" > > instead of > > PG: dbname=uster host=localhost user=an password=xxx port=5432 > table=dtm.dtmav mode=1 > > With this string, you'll read the rows of the table dtmav, schema dtm, > as different raster files. So, the driver will report these rows as > subdatasets. If you use mode=2, all the rows are considered as tiles > of a bigger raster coverage. > > Anyway, let me check if the driver parses the > "table=<schema>.<table_name>" syntax. I can't remember it. > > -- > Jorge Arévalo > Internet & Mobilty Division, DEIMOS > [email protected] > http://mobility.grupodeimos.com/ > http://gis4free.wordpress.com > -- Mauricio de Paulo Engenheiro Cartografo
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
