Anyone has any ideas how to load an Arc\Info ASCII grid?
I am using the following code:
GdalRasterLayer grl = new GdalRasterLayer(@“C:!Daniel\MNR\ZDT\Simulations\Raster Files\bp10k.txt”);
LayerOverlay staticOverlay = new LayerOverlay();
staticOverlay.Layers.Add(“Grid View”, grl);
winformsMap1.Overlays.Add(staticOverlay);
// Draw the map.
winformsMap1.Refresh();
I am attaching the example file to this post.
bp10k.txt (65.8 KB)