Skip to content
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

Postgis raster shows random data with out-db image data #17471

Closed
qgib opened this issue Oct 3, 2013 · 7 comments
Closed

Postgis raster shows random data with out-db image data #17471

qgib opened this issue Oct 3, 2013 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption DB Manager Relating to the DB Manager core plugin High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Oct 3, 2013

Author Name: asdf asdf (asdf asdf)
Original Redmine Issue: 8765
Affected QGIS version: 2.0.1
Redmine category:db_manager


Out-db rasters from postgis database are shown as random data and sometimes crashes QGIS.

The problem might come from the way the database is queried.

Query made by QGIS taken from the server:
SELECT st_band(rast, 3), st_width(rast), st_height(rast), ....

As far as I have tested "st_band" in queries return data as out-db referenced rasters and contain no pixel data.
If there are no modification to the data like st_union or something like that, rasters stays as file references, which obviously cannot be used by the client over the network.


Related issue(s): #17362 (duplicates)
Redmine related issue(s): 8628


@qgib
Copy link
Contributor Author

qgib commented Oct 3, 2013

Author Name: asdf asdf (asdf asdf)


Forgot to add details of the used version.

QGIS version 2.0.1-Dufour
QGIS code revision d94c044
Compiled against Qt 4.8.5
Running against Qt 4.8.5
Compiled against GDAL/OGR 1.10.0
Running against GDAL/OGR 1.10.1
Compiled against GEOS 3.4.2-CAPI-1.8.2
Running against GEOS 3.4.2-CAPI-1.8.2 r3921
PostgreSQL Client Version 9.2.4
SpatiaLite Version 4.1.1
QWT Version 5.2.3
PROJ.4 Version 480
QScintilla2 Version 2.7.2

@qgib
Copy link
Contributor Author

qgib commented Feb 7, 2014

Author Name: Giovanni Manghi (@gioman)


  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Feb 7, 2014

Author Name: Giovanni Manghi (@gioman)


should be duplicate of #17362


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Feb 8, 2014

Author Name: Jürgen Fischer (@jef-n)


  • category_id was changed from Browser to DB Manager

@qgib
Copy link
Contributor Author

qgib commented Feb 26, 2014

Author Name: asdf asdf (asdf asdf)


I'm not sure if this is duplicate of the #17362, this might actually be a just problem created by me by creating overviews manually as I have overviews for other use and didn't want to duplicate static raster data indb.

As a consequence of this self made overviews rasters are not indb and the overview query will fail as it relies that the data is always indb.

Anyways the question is should the overview query always expect indb data or not.

@qgib
Copy link
Contributor Author

qgib commented Mar 1, 2014

Author Name: Giovanni Manghi (@gioman)


Anyways the question is should the overview query always expect indb data or not.

better ask this in the developers mailing list and eventually close this as invalid.

@qgib
Copy link
Contributor Author

qgib commented Jun 23, 2014

Author Name: Giovanni Manghi (@gioman)


  • resolution was changed from to duplicate
  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority DB Manager Relating to the DB Manager core plugin Crash/Data Corruption labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption DB Manager Relating to the DB Manager core plugin High Priority
Projects
None yet
Development

No branches or pull requests

1 participant