osmcode / osmcoastline

Extracts coastline data from OpenStreetMap planet file.
https://osmcode.org/osmcoastline/
GNU General Public License v3.0
108 stars 14 forks source link

Add support for GDAL 2.0. #16

Closed sebastic closed 8 years ago

sebastic commented 8 years ago

As reported in #15, osmcoastline fails to build with GDAL 2.0

This PR forwards the changes added to the Debian package to build successfully with GDAL 2.0.1.

The code is kept as-is for GDAL 1.x, and alternatives are added for GDAL 2.x to build successfully with both.

joto commented 8 years ago

Far too much #ifdefs for my liking. I am already working on a cleaner solution based on https://github.com/joto/gdalcpp .