ThinkGeo.com    |     Documentation    |     Premium Support

Does MapSuite support ESRI-Grid Format

Hallo,
supports MapSuite ESRI-Grid-Format (Example is in Attachement)?
Regards TorstenHochwasser.zip (2.0 MB)

Hi Torsten,

Your data can be rendered like this:

        ClearLayers();

        GdalRasterLayer adfLayer = new GdalRasterLayer(@"D:\temp\cc\wt_hq10_cm\w001001.adf");
        adfLayer .Open();
        RectangleShape rect = adfLayer .GetBoundingBox();
        adfLayer .Close();            
        mapEngine.CurrentExtent = rect;
       
        // Add the new layers to the MapEngine.
        mapEngine.StaticLayers.Add("Layer", tiffLayer);

        DrawImage();

Wish that’s helpful.

Regards,

Don