-
-
Notifications
You must be signed in to change notification settings - Fork 3k
-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading PostGIS rasters do not work #16014
Comments
Author Name: Antonio Locandro (Antonio Locandro) Today it happened to me, if I drag and drop from DB Manager I get the following error, if I use the add to canvas option it works fine Using Windows 7 QGIS version 2.8.1-Wien 32 - bit |
Author Name: Antonio Locandro (Antonio Locandro) here is the file
|
Author Name: Paolo Cavallini (@pcav) In my case (master on Debian), I can add it via D&D, not with Add to canvas. |
Author Name: Salvatore Larosa (@slarosa) This should be fixed in both master and release-2_8 branch.
|
Author Name: Paolo Cavallini (@pcav) Still not working here (current master on Debian sid): GDAL provider: Cannot get GDAL raster band: AFAICT, this happens only for rasters without a primary key. In addition, -R raster crash QGIS (I think this is another ticket). src/providers/gdal/qgsgdalprovider.cpp: 2334: (bandStatistics) [0ms] theStats = 1 supportedStats = 110111
|
Author Name: Salvatore Larosa (@slarosa) ok, I now got it. I am not sure if that is only due whether the primary key exist or not.
stacktrace:
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Paolo Cavallini (@pcav) Not tested on Q3 because I can no longer load pgrasters.
QGIS version 1.9.0-Master while it is returning and error: GDAL provider: File does not exist: PG: dbname=db_corso host=localhost user=corso Raster layer: Provider is not valid (provider: gdal, URI: PG: dbname=db_corso in: Revisione codice QGIS 489a9d5 all same libs, except for Versione QWT 6.0.0-svn to While dropping a PostGIS raster to the canvas, everything works fine in QGIS version 1.9.0-Master while it is returning and error: GDAL provider: File does not exist: PG: dbname=db_corso host=localhost user=corso Raster layer: Provider is not valid (provider: gdal, URI: PG: dbname=db_corso in: Revisione codice QGIS 489a9d5 all same libs, except for Versione QWT 6.0.0-svn |
Author Name: Giovanni Manghi (@gioman) End of life notice: QGIS 2.18 LTR
|
Author Name: Paolo Cavallini (@pcav)
|
Author Name: Giovanni Manghi (@gioman) I was able to add postgis rasters from DB manager without any issue in 3.6.1/Ubuntu and Windows. Please try and leave feedback.
|
Author Name: Paolo Cavallini (@pcav) Confirmed, it works on QGIS 3.4.
|
Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 6889
Affected QGIS version: 3.6.0
Redmine category:rasters
While dropping a PostGIS raster to the canvas, everything works fine in
QGIS version 1.9.0-Master
QGIS code revision ef6da72
Compiled against Qt 4.8.2
Running against Qt 4.8.2
Compiled against GDAL/OGR 1.9.0
Running against GDAL/OGR 1.9.0
GEOS Version 3.3.3
PostgreSQL Client Version 9.1.6
SpatiaLite Version 3.1.0-RC2
QWT Version 5.2.2
PROJ.4 Version 470
QScintilla2 Version
while it is returning and error:
GDAL provider: File does not exist: PG: dbname=db_corso host=localhost user=corso
password=corso port=5432 mode=2 schema=public table=aspect
Raster layer: Provider is not valid (provider: gdal, URI: PG: dbname=db_corso
host=localhost user=corso password=corso port=5432 mode=2 schema=public table=aspect
in:
Revisione codice QGIS 489a9d5
all same libs, except for Versione QWT 6.0.0-svn
The text was updated successfully, but these errors were encountered: