|
![](/i/fill.gif) |
> I would have expected the land to be on the coast almost the same value
> as the sea, but there is a definite sharp change from light gray(sea) to
> dark gray(land), and that can be seen on all coasts...
Nevermind... I fixed it... after rereading again and again the
documentation, I found out that the sea area, has the value -9999 (no
data has been registered for the area)... since the lowest plance on
earth is at -400 meters I think. This give a value of -30, so I just
changed all -9999 to 0 and BINGO! I get a perfect heightfield of europe!
Though my program can only output a 8bit bmp... I'll work out a way to
write a Grayscale PNG of 16bit!
See ya!
Xilo
Post a reply to this message
|
![](/i/fill.gif) |