0

I was trying to look at the OGR api in GDAL, and was following the tutorial here: http://www.gdal.org/ogr_apitut.html. I kept getting an undefined reference to pretty much everything. I've installed from source the latest version (1.11) on my linux distro from here: http://trac.osgeo.org/gdal/wiki/DownloadSource. Looking through the header file, specifically in gcore/gdal.h, I see for example that GDALOpenEx is not there, nor is it in the version before that. It is, however, in the subversion repository. So, what gives?

sovemp
  • 1,402
  • 1
  • 13
  • 31

1 Answers1

2

There is no GDALOpenEx function for GDAL 1.11. You are looking at documentation for GDAL 2.x.

The documentation for 1.11 is found at http://gdal.org/1.11/

Or, you can make the documentation for the version you are using locally, e.g.:

make docs
sudo make install-docs

Then view them locally from your web browser, e.g.:

chromium /usr/local/doc/ogr/ogr_apitut.html
Mike T
  • 41,085
  • 18
  • 152
  • 203
  • 1
    Thanks for this. This is just weird to me, that the documentation on their website is for the subversion repository, and not the current stable source release. – sovemp Jun 16 '14 at 20:11