This project has moved and is read-only. For the latest updates, please go here.

Draw Rectangle Extract Image

Topics: Algorithms
May 26, 2013 at 5: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 7:30 AM
If you call Map.GetMap() you get the whole map image, all you need to do is clip the rectangle.