Page 1 of 1
Raster Settings
Posted: Tue Apr 11, 2017 4:15 pm
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.
Re: Raster Settings
Posted: Tue Apr 11, 2017 6:56 pm
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).
Re: Raster Settings
Posted: Tue Apr 11, 2017 8:47 pm
by geoidwalker2
I'm using version 2.8 64-bit - downloaded it just a few days ago.
Re: Raster Settings
Posted: Tue Apr 11, 2017 9:52 pm
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?
Re: Raster Settings
Posted: Wed Apr 19, 2017 4:11 pm
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.
Re: Raster Settings
Posted: Wed Apr 19, 2017 7:35 pm
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.
Re: Raster Settings
Posted: Wed Apr 19, 2017 8:01 pm
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.
Re: Raster Settings
Posted: Wed Apr 19, 2017 10:26 pm
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?
Re: Raster Settings
Posted: Wed Apr 19, 2017 10:33 pm
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!
Re: Raster Settings
Posted: Thu Apr 20, 2017 5:42 am
by daniel
You can convert the scalar field to RGB (edit > Scalar fields > Convert to RGB). Do this before running the Rasterize tool.