Hi Daniel,
I want to export the layer Hillshade in jpg or tiff , but I don't find the process.
Export tab does not allow export hillshade in image format and raster format does not provide the expecting result.
Thank you very much
Ombeline
export Hillshade to jpg or tiff
Re: export Hillshade to jpg or tiff
Hi Ombeline,
You are right, the hillshade information is brand new and you can't export it to a raster / image yet. In fact I realize that you can't export the RGB field as an image either (that's a bit silly).
Actually the only solution to save the hillshade info to a raster file (geotiff) is a bit tricky ;) :
- first compute the hillshade and export the grid as a cloud
- this cloud will have a 'hillshade' scalar field (should be displayed by default)
- depending on what you want to do with this layer:
* either you can convert this SF to RGB colors (Edit > SF > Convert to RGB)
* or rename this scalar field with anything you want but not 'hillshade' (Edit > SF > Rename)
- restart the Raster tool on this cloud
- the former 'hillshade' SF (with its new name) or the RGB colors will now appear in the 'active layer' list and you'll be able to export it as a raster file.
You are right, the hillshade information is brand new and you can't export it to a raster / image yet. In fact I realize that you can't export the RGB field as an image either (that's a bit silly).
Actually the only solution to save the hillshade info to a raster file (geotiff) is a bit tricky ;) :
- first compute the hillshade and export the grid as a cloud
- this cloud will have a 'hillshade' scalar field (should be displayed by default)
- depending on what you want to do with this layer:
* either you can convert this SF to RGB colors (Edit > SF > Convert to RGB)
* or rename this scalar field with anything you want but not 'hillshade' (Edit > SF > Rename)
- restart the Raster tool on this cloud
- the former 'hillshade' SF (with its new name) or the RGB colors will now appear in the 'active layer' list and you'll be able to export it as a raster file.
Daniel, CloudCompare admin
Re: export Hillshade to jpg or tiff
Thank you Daniel
I try your solution but I can't open the raster. I try with irfanview and gimp. Irfanview says invalid or unsupported tiff and gimp doesn't display the raster. However the created file weighs more than 50 000ko.
Ombeline
I try your solution but I can't open the raster. I try with irfanview and gimp. Irfanview says invalid or unsupported tiff and gimp doesn't display the raster. However the created file weighs more than 50 000ko.
Ombeline
Re: export Hillshade to jpg or tiff
Yes geotiff can only be opened by GIS software (ArcGIS, etc.).
I should definitely update CC so as to be able to output standard image with this information.
I should definitely update CC so as to be able to output standard image with this information.
Daniel, CloudCompare admin
Re: export Hillshade to jpg or tiff
Thank you Daniel !