Draw Rectangle Extract Image

Topics: Algorithms
May 26, 2013 at 4:35 AM
Hi everyone, I have added a raster layer to the Map, and I obtained the four corners of the layer by drawing a rectangle. now I want to extract the image in the rectangle, how can I do it in sharpmap. I am using sharpmap 1.0. Thanks!
May 27, 2013 at 6:30 AM
If you call Map.GetMap() you get the whole map image, all you need to do is clip the rectangle.