Raster Settings

Feel free to ask any question here
Post Reply
geoidwalker2
Posts: 6
Joined: Tue Apr 11, 2017 4:07 pm

Raster Settings

Post by geoidwalker2 »

Hello,
I am attempting to create a shaded relief georeferenced tiff of my point cloud using the Projection>Rasterize tool. This will be a simple image that gets used in AutoCAD.

However I am unable to get anything useful and I wondered if someone could help me in choosing the right settings. In the grid preview it looks perfect.
However I am unable to open the file - I can import into QGIS but the image is clipped, garbled and black and white.

I made the step size 2m to create a raster small enough to upload.
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Raster Settings

Post by daniel »

What version are you using? I believe there was an issue when mixing several RGB and non-RGB layers in the 2.7 or even the 2.8 version (some software tools didn't like the resulting raster at all).
Daniel, CloudCompare admin
geoidwalker2
Posts: 6
Joined: Tue Apr 11, 2017 4:07 pm

Re: Raster Settings

Post by geoidwalker2 »

I'm using version 2.8 64-bit - downloaded it just a few days ago.
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Raster Settings

Post by daniel »

Well, the 2.8 version is "relatively old". Can you quickly try with the 2.9 beta?

And if it doesn't work, can you detail your process so that I try to reproduce it on my side?
Daniel, CloudCompare admin
geoidwalker2
Posts: 6
Joined: Tue Apr 11, 2017 4:07 pm

Re: Raster Settings

Post by geoidwalker2 »

Thanks for the help Daniel.

Same results with 2.9 beta.

I load in an xyz file.
Export Coordinates to SF
Tools>Projection>Rasterize
I chose 0.1 for a grid
Active layer: Coord. Z

The rest are left at their default settings

Hit Raster and chose "Export heights" or "Export active layer"

In other programs I can create a geotiff which immediately opens in Windows Photo Viewer, and can be imported into CAD..however, this file can't be opened by those programs.
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Raster Settings

Post by daniel »

CC generates 64-bits rasters (i.e. with double precision values). These are valid geotiff files but not all tools are able to open them (mostly GIS tools). I'm not surprised that Windows Photo viewer can't load them...

I'm more concerned about the fact that even QGis can't open it. I'll check this on my side.
Daniel, CloudCompare admin
geoidwalker2
Posts: 6
Joined: Tue Apr 11, 2017 4:07 pm

Re: Raster Settings

Post by geoidwalker2 »

Well it shows up in QGIS..just black and white...I may be just fumbling a bit as I'm not a GIS guy - My assumption is that this is working fine, but I'm just not sure on what steps to take.

Could you outline for me the best way to take a simple xyz file (just Easting, Northing, Elevations, no intensity) and make a pretty Geotiff using a custom scalar field - even if I have to convert it later from 64-bit I think that should be fine.
geoidwalker2
Posts: 6
Joined: Tue Apr 11, 2017 4:07 pm

Re: Raster Settings

Post by geoidwalker2 »

Ok so I got some help from our GIS guys - I can bring a raster into QGIS and color it there - however I was hoping to be able to colorize the point cloud in CC, then export it as a geotiff with the scalar color field I made. Looks like the option I want is "export RGB" which is greyed out. Is there a way to enable this?
geoidwalker2
Posts: 6
Joined: Tue Apr 11, 2017 4:07 pm

Re: Raster Settings

Post by geoidwalker2 »

Nevermind I got her sorted. Just needed to convert SF to RGB - then I could export the colors and its working now.
Thanks!
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Raster Settings

Post by daniel »

You can convert the scalar field to RGB (edit > Scalar fields > Convert to RGB). Do this before running the Rasterize tool.
Daniel, CloudCompare admin
Post Reply