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

Attempting to preview PostGIS external rasters crashes QGIS #20327

Closed
qgib opened this issue Feb 5, 2015 · 5 comments
Closed

Attempting to preview PostGIS external rasters crashes QGIS #20327

qgib opened this issue Feb 5, 2015 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Feb 5, 2015

Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 12133
Affected QGIS version: 2.6.0
Redmine category:db_manager


Loading it does not crash, but it does not show anything meaningful either.

@qgib
Copy link
Contributor Author

qgib commented Feb 19, 2015

Author Name: Martin Dobias (@wonder-sk)


Do you mean that external raster == stored out of DB?

Could you please check the backtrace - the crash may be inside GDAL, I think it does not support out of DB rasters yet.

@qgib
Copy link
Contributor Author

qgib commented Feb 19, 2015

Author Name: Paolo Cavallini (@pcav)


Yes, I mean imported through the -R option.
Are you sure GDAL does not support them?

@qgib
Copy link
Contributor Author

qgib commented Feb 19, 2015

Author Name: Martin Dobias (@wonder-sk)


I'm not 100% sure but judging it's not supported from:

@qgib
Copy link
Contributor Author

qgib commented Feb 22, 2015

Author Name: Even Rouault (@rouault)


I confirm out-db PostGIS raster are not supported yet in GDAL. After the fix in GDAL trunk (http://trac.osgeo.org/gdal/changeset/28530 that was a fix for a regression in trunk only and should put GDAL in the state of GDAL 1.11), I cannot get crashes however, just blank images with error messages in the console. Paolo mentionned to me he uses GDAL 1.10.1 : there have been significant rework in GDAL 1.11 in the PostGIS raster driver that might explain GDAL 1.11 and later being at least more robust when ingesting out-db raster.

@qgib
Copy link
Contributor Author

qgib commented Oct 17, 2015

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


I can't produce a crash either - only black images. So it's a dependency issue (GDAL complains @error 1: This raster has outdb storage. This feature isn't still available@).


  • resolution was changed from to up/downstream
  • status_id was changed from Open to Closed

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! DB Manager Relating to the DB Manager core plugin High Priority
Projects
None yet
Development

No branches or pull requests

1 participant