thank you much dan, I looked at the code and developed it a bit further. You use dem file, and i tried to use tiff files. I get some height from points, double types, but i dont know it is correct. I mean for a file I used I get 187.0 but in fact at that
point the elevation must be about 4500 meters. How can i get the scale of the map? Is that supplied in metadata of the file or in the image file? Also in metadata.xml file I saw some abbreviations about the image data like southbl, westbl etc. I couldnt find
any reference to look at. Do you know what are them or any reference for that?
I created a bounding box for keeping elevation data of the interior points' in an array. But when zoomed in/out and panned the map, I'm in a very big trouble. You used imagetoground function and then again for bitmap issues you used worldtoimage. Also i
couldnt find any info for imagetoground method. I know I asked too much but Im interested in developing some raster functionalities in sharpmap.
As a summary I dont want to lose coordinate concurrency along the way when I'm panning the map or zooming in/out, because I work on elevation analysis of selected points over the raster layer.
If you are interested in that issue i can send you the code. It is not satisfying yet but I believe it will ;)