Loading GeoTIFF is loading like a DEM

Feb 6, 2013 at 9:08 AM
Edited Feb 6, 2013 at 9:09 AM

I'm trying to load a GeoTIFF file with DotSpatial, but is loading like a DEM raster, with elevation values from 0-128 and 128-255.
I tried to load different files and is always giving me this kind of raster and is always giving me the same values.

I don't know what I'm doing wrong.

This is one example> Image
The original image is like this>Image

Feb 7, 2013 at 11:35 AM
I am not completely sure, but I read somewhere that dotspatial is able to read only single band rasters, while I guess geotiff is a multiband raster file.

If what I am saying is correct you are reading only the first band (I guess), hence the scale you see is related to that band values.

Have a look through older discussions to see if this is the point