Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Using the Gdal extension from a script in F#

$
0
0
Marciolegal wrote:
I found the solution here : https://dotspatial.codeplex.com/discussions/586346 . Had to create a GdalRasterProvider first and use its Open method
let gdal= new DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider()
let myraster = gdal.Open(@"D:\temp\SH-21-X-A.tif");
map.Layers.Add(myraster)
map.Refresh()
How did you refrenced gdal extention?It has a folder with a lot of dll files

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>