This is great news,
I also started some work on this that might be useful to you. If you don't want to write out all the ccall's I used Clang.jl to parse the gdal header files. So feel free to grab whatever you need from here: https://github.com/meggart/GDAL-funs.jl
Did you think about visualization options? The more I think about it, I think an easy conversion Raster -> Image would be cool to make use of the functionlity that is already in the Images package. I will look into this.
Fabian
On Monday, February 10, 2014 8:13:36 PM UTC+1, Will Kearney wrote:Hey everyone,
I threw together a Julia wrapper for GDAL this weekend: https://github.com/wkearn/GDAL.jl
Right now, it should be able to open a raster and read that raster into a newly-defined Raster type and write that Raster into a file using either of GDAL's two methods (CreateCopy() and Create()).
There are some big holes in the implementation, some of which are detailed in a Todo section in the README file. The goal was really to provide some minimal functionality for Julia interactions with GDAL to get the conversation about geodata going.
One thing I'm a little worried about is the number of pointers that are flying around to prevent the wrapper from having to interact directly with GDAL-defined types for datasets, raster bands, drivers, etc. Maybe someone with a bit more knowledge of C and memory management could tell me if this is particularly dangerous and a better way to deal with these types.
What do you think good next steps would be?
Of course, send me any questions, comments or pull requests you come up with!
Thanks,
Will Kearney--
You received this message because you are subscribed to the Google Groups "julia-geo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to julia-geo+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.