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

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

$
0
0
I created a folder "windows extensions" (can be any name) in the debug folder of my F# project, copied the entire gdal extension folder inside it, and referenced the dll like in the first post, in the library1.fs file and rebuilt the project. I think the ...GdalExtension.dll has relative references to the other files, so, as long as you keep the folder structure, this dll can see all the other files it needs. Thus you just need to reference that one dll. It works for opening rasters using gdal and plotting in the map control, I haven't tried any other functions yet.

Viewing all articles
Browse latest Browse all 3973

Trending Articles



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