zhm / gdal-ruby

GDAL/OGR bindings for ruby
BSD 3-Clause "New" or "Revised" License
34 stars 10 forks source link

Compiled files for gdal version 2 #11

Closed danko-master closed 1 year ago

danko-master commented 8 years ago

Updates for GDAL 2.1.0, released 2016/04/25

zhm commented 8 years ago

Thanks for this!

A few notes here:

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 commented 8 years ago

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.