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

GdalRasterLayer Error

Topics: General Topics, SharpMap v0.9 / v1.x
Nov 7, 2007 at 5:39 PM
I am trying to insert a GdalRasterLayer in a map. When I open, the Map is black and it doesn't show me anything. It is a nautical letter and this in WGS84. If somebody has an information I thank. Below it follows the code source :

SharpMap.Map carta = new SharpMap.Map(new Size(700, 700));
carta.BackColor = System.Drawing.Color.White;
SharpMap.Layers.GdalRasterLayer lgdal = new SharpMap.Layers.GdalRasterLayer("Chico", @"C:\CARTA\1830_1.kap");
pbCarta.Image = carta.GetMap();