Sf: Issue with gdal

Created on 19 Mar 2018  路  6Comments  路  Source: r-spatial/sf

Hi folks,

There seems to be an issue for Linux users. SF will not install unless you have GDAL 2+, this doesn't seem like much of an issue but unless you are running Ubuntu you won't find the latest GDAL on the package management system for most other distros (they included older versions).

Most people aren't system admins and won't have access to compile the whole library from scratch.

All 6 comments

GDAL 2.0.0 was released in June 2015, almost three years ago. It changed the API, but also brought very many bug fixes. Nobody should be using the 1.* series for anything other than replicating results computed with those versions. On Ubuntu stable, there seems to be 2.1.3 via PPA, and 2.2.2 on later.

@rsbivand hi Roger,

Yes, it seems to be only available on Ubuntu, which is roughly 20% of the Linux distributions. I understand that this is not an issue from SF code itself, but it does affect end users. Is it possible to use an older version of SF (we require SF for another package)?

The README has instructions for Fedora and Arch so I would guess they have it as well.

@jsta this is confusing since the GDAL repo (https://github.com/OSGeo/gdal) only lists Ubuntu. The company I work for is currently running RHEL, unfortunately, EPEL only includes GDAL 1.11

Please ignore github, it is not where GDAL is developed. Go to http://www.gdal.org.

@rsbivand thanks, Roger, I will try with ELGIS.

Was this page helpful?
0 / 5 - 0 ratings