Hi,<br>I'm a new gdal user and I've a little problem.<br><br>I have to modify the color to an ASCII raster.<br><br>1_ I converted the raster using gdalbuildvrt;<br>2_ I modified the file *.vrt adding: <br> <ColorInterp>Palette</ColorInterp><br>
<div style="margin-left: 40px;"> <ColorTable><br></div><div style="margin-left: 80px;"><Entry c1="255" c2="255" c3="255" c4="255"/><br><Entry c1="0" c2="0" c3="150" c4="255"/><br>
<Entry c1="0" c2="0" c3="150" c4="255"/><br></div><div style="margin-left: 40px;"><div style="margin-left: 40px;">.......<br></div> </ColorTable><br></div>3_ I know: "The entries are ordered and will be assumed to start from color table entry 0"<br>
4_ But I have some negative value on the ASCII raster, the range is from -31 to 65.<br>5_ How I can resolve this problem?<br><br>Thanks in Advance<br>Marco <br>