-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
QGIS does not display raster maps from a GRASS mapset #28797
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Alexander Bruy (@alexbruy) As I understand, ERROR 6 comes from GDAL and caused by limitations of the TIFF format. If GRASS produces rasters with Float data type, then GDAL can't apply color map to them during confersion. Confirmed by Markus Neteler here https://gis.stackexchange.com/a/102605. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman) Still true on master. On 3.* it fails to render the rasters even when gdal is used is the same as in 2.18 (where there is no issue).
|
I can't reproduce this, using a range of grass floating point rasters with color maps set. Is it still reproducible in recent QGIS? Can someone provide step-by-step process to reproduce? |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. |
Author Name: Pedro Venâncio (Pedro Venâncio)
Original Redmine Issue: 20978
Affected QGIS version: 3.7(master)
Redmine category:grass
Raster layers in GRASS mapsets are not rendered by QGIS 3.4.3 and master.
But, at least for some raster data types, just opening the layer properties and doing 'Ok', QGIS assumes a default color ramp and the raster shows up (see the attached gif).
So, it seems that QGIS 3.x is not interpreting GRASS color tables by default.
Using QGIS Value Tool plugin, the raster values are displayed correctly, even without the raster being rendered in canvas.
Veronica Andreo had tested in Linux. Her report is here: http://osgeo-org.1560.x6.nabble.com/QGIS-does-not-display-raster-maps-from-a-GRASS-mapset-td5390774.html
In QGIS 2.18.27, raster layers from GRASS Mapsets work without problems.
I don't know if this behaviour is somehow related, but using GRASS algorithms from QGIS Processing, when the outputs are rasters, the error message 6 from gdal is showed:
ERROR 6: SetColorTable() only supported for Byte or UInt16 bands in TIFF format.
The text was updated successfully, but these errors were encountered: