Closed edzer closed 6 years ago
I'll try to have a look net week.
@edzer I'll have to rebuild the entire stack. Are there other features/libs you'd like to support?
@edzer I'm not on Twitter, so can't reply there, but I too would add a vote for an HDF4 driver. (I actually came over here independently just now to ask for just that very thing. I searched first to see if it had already been requested, and was happily surprised to see that you and jeroen had just put out the call for such requests!)
OK so i'll try to build with HDF4 and OpenJPEG for the next stack.
Are there also drivers that are currently in there you don't need anymore?
Not that I know - it's a much harder question to answer!
I'd really like KEA to be available, builds on HDF5 but also requires libkea http://gdal.org/frmt_kea.html
(I don't think it's been added, but I also can't check right now).
@pierreroudier will vouch for KEA ;)
Thanks @jeroen!
I'll add to the HDF4 chorus too, our primary target is these passive microwave data of sea ice concentration, an example file:
wget https://seaice.uni-bremen.de/data/amsr2/asi_daygrid_swath/s6250/2017/dec/Antarctic/asi-AMSR2-s6250-20171211-v5.hdf
@mdsumner thanks, I didn't want to be the token KEA fanboy :)
@jeroen Happy to provide sample files etc if need be
It took me a few nights of fighting with windows but we have a new release. The 2.2.3 stack adds drivers for mysql, openjpeg, jasper, hdf4, and kealib as requested above.
A word of caution about the hdf4 driver. I had to do a bit of hacking in the libhdf source code to make it build on windows with mingw-w64. Eventually I got it to compile but it is basically untested (I don't think anyone has ever compiled hdf4 on mingw-w64 before). I highly recommend users to use hdf5 instead when possible, which has proper windows support.
Great news, @jeroen - thanks a lot; I look forward to getting this tested!
@mdsumner do you still need/use kealib? I don't see this driver in any other operating system (ubuntu, macos), so I'm considering to drop it for the next release.
I don't but @pierreroudier might
@jeroen Using it occasionally, typically one would compile the driver separately and it would be added to the list of available drivers:
@pierreroudier do you use the windows builds, or do you compile yourself on linux?
@jeroen compiling by myself on Linux.
Would it be possible to add the JPEG 2000 driver by adding the OpenJPEG library to gdal2?
This is highly desirable: for instance the Sentinel 2A and 2B satellites provide free data delivered in this format; these satellites were funded and are operated by the European space organizations.
Let me know where I can help.