This project has moved. For the latest updates, please go here.

GdalRasterLayer Zoom & vector problem

Topics: Data Access
May 29, 2007 at 4:44 PM
Hi there,
I want to create RasterLayer with coordinate data. the code is :

SharpMap.Layers.GdalRasterLayer layJDTB = new SharpMap.Layers.GdalRasterLayer("JDTB", @"C:\maps\maps.png");

SharpMap.Layers.VectorLayer layJDTB1 = new SharpMap.Layers.VectorLayer("JDTB2");
layJDTB1.DataSource = new SharpMap.Data.Providers.Ogr(@"C:\maps\vectormap.TAB");
layJDTB1.Style.Fill = new SolidBrush(Color.White);
layJDTB1.Style.Outline = System.Drawing.Pens.Black;
layJDTB1.Style.EnableOutline = true;
layJDTB1.SRID = 4326;


but the problem is the zoom is very big and there is no coordinate information within. what should I do ?

May 29, 2007 at 7:41 PM
how can u use GdalRasterLayer class? Where did u find project SharpMap.Extensions?
Jun 1, 2007 at 5:03 PM
follow the instruction from christian =

pay attention on version release..