export Hillshade to jpg or tiff

Feel free to ask any question here
Post Reply
ombeline
Posts: 3
Joined: Thu May 19, 2016 8:15 am

export Hillshade to jpg or tiff

Post by ombeline »

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
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: export Hillshade to jpg or tiff

Post by daniel »

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.
Daniel, CloudCompare admin
ombeline
Posts: 3
Joined: Thu May 19, 2016 8:15 am

Re: export Hillshade to jpg or tiff

Post by ombeline »

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
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: export Hillshade to jpg or tiff

Post by daniel »

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.
Daniel, CloudCompare admin
ombeline
Posts: 3
Joined: Thu May 19, 2016 8:15 am

Re: export Hillshade to jpg or tiff

Post by ombeline »

Thank you Daniel !
Post Reply