gdalrasterlayer problem

Aug 1, 2009 at 12:01 PM

hi all

I have problem to show raster on web page ,I have downloaded dan'patch that show raster in windows form

 

<font size="2">

SharpMap.

</font>

Map map = new SharpMap.Map(new System.Drawing.Size((int)imgMap.Width.Value,(int)imgMap.Height.Value));<font size="2">

 

</font>

SharpMap.Layers.GdalRasterLayer gdalRaster = new SharpMap.Layers.GdalRasterLayer("gdalRaster", @"C:\Users\Administrator\Desktop\New Folder (3)\sample.jpg");

map.Layers.Add(gdalRaster);

map.ZoomToExtents();

Can you help me,please???