We don't really use the bindings that much, instead we use the binary utilities mostly.
its used in lib/misc/gdalinfo.rb to get the extents and the number of bands.
We should be able to use the -json flag to easier parse the output of gdalinfo to reproduce the functionality.
Due to: https://github.com/zhm/gdal-ruby/issues/12
We don't really use the bindings that much, instead we use the binary utilities mostly. its used in lib/misc/gdalinfo.rb to get the extents and the number of bands.
We should be able to use the -json flag to easier parse the output of gdalinfo to reproduce the functionality.
We could alternatively just regext parse out the output as it's already used here. https://github.com/timwaters/mapwarper/blob/master/app/models/map.rb#L510