Groups | Blog | Home
all groups > dotnet drawing api > march 2008 >

dotnet drawing api : elevation coloured grid


aiolosply
3/8/2008 8:53:28 PM
Hi all,

I am trying to create a program that reads two files (one temperature(csv),
one for elevation(ascii)) and displays the temperature values and locations.
Additionally it should display the gridded elevation data as a colour coded
raster over the original grid extent.

At the moment, I have coded the part where the programme reads both files
and stores the data in arrays. My question is: how do I handle the elevation
array in order to input its values in a grid?

thanks
aiolosply

aiolosply
3/9/2008 1:05:17 AM
disregard this post as I already finished most of it...

if anyone is interested, i am currently trying to stretch the colours to
match the elevation values using the following type:
(actual_elevation_value-min_elevation_value) divided by
(max_elevation_value-min_elevation_value)
X max_colour_value(255)




[quoted text, click to view]

AddThis Social Bookmark Button