gdal-ruby icon indicating copy to clipboard operation
gdal-ruby copied to clipboard

Compiled files for gdal version 2

Open danko-master opened this issue 8 years ago • 3 comments

danko-master avatar May 20 '16 14:05 danko-master

Updates for GDAL 2.1.0, released 2016/04/25

danko-master avatar May 20 '16 14:05 danko-master

Thanks for this!

A few notes here:

  • Can you please regenerate the bindings with the latest version of SWIG? I see it was generated using a previous version.
  • There are 2 patches required that addressed previous issues

Patch 1 is https://github.com/zhm/gdal-ruby/commit/b471fd2f883aec0eaf101e9310e73aa8607aeb45 and changes the require path of the OSR module so it matches the structure of this project.

Patch 2 is https://github.com/zhm/gdal-ruby/commit/81ca5fe360e701d8c534a95aaf341df5a205b38e and fixes #2. It allows all of the bindings to be included at the same time. Without it, the symbols collide between OGR and GDAL. Best I can tell the ruby binding definitions upstream are just broken, or not intended to be used together.

zhm avatar May 23 '16 13:05 zhm

One more question, does this change work with older versions of the GDAL binaries or does this require 2.1.x to work? That's a pretty major upgrade if it requires the newer version since there are a massive number of installations that probably won't get 2.x for a long time.

zhm avatar May 23 '16 13:05 zhm