I was wondering if there is a way to transfer raw GDAL data.
I see that you can pass the addLayer function a GDALDataSetClass, but this is a light weight class which does the loading itself.
I have GDAL in my app separately, and am loading it with GDAL, is there a way to pass the OSGeo.GDAL.DataSet in somehow.
thanks
Hello @MikeGibson
I’m sorry no one has given a reply as of yet. I don’t think that there is any support for such.
I’ve done a lot more work on the OGR-side as opposed to the GDAL-side, so I’m not sure what you want to accomplish. I think what you’re asking is that rather than passing connection information and having our library open the dataset, you want to pass in an already-open dataset. This would require an enhancement to the API.
Could you provide more context regarding the operations you intend to perform through MapWinGIS using your Dataset?
Thank you, and regards,
Jerry
1 Like
Many thanks for the reply @jerryfaust it has been a strange year.
Basically I’m looking to create an animation of raster; which actually come from a flood model I’m running.
The current solution has to save each raster to disk, before then asking the MapWinGIS to open it again, which just seems a little inefficient. I’ve done more work with the GDAL thant he OGR side, although there is some cross-over; GDAL has the idea of a Memory driver which follows the GDAL API creating a dataset, but in memory.
I’ve not looked to deep into the code, but did see signs that GDAL/OGR are being used underneath. If at all possible, I think it would be a really good addition for future versions.