Building GDAL on Linux: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
m New page: 16-Jan-2010 Building 1.8.0 to get support for Geospatial PDF files. Downloaded RC2 tarball. This gets me what I need (there are many more options): ./configure --with-python make s...
 
Brian Wilson (talk | contribs)
mNo edit summary
Line 5: Line 5:
Downloaded RC2 tarball.
Downloaded RC2 tarball.


This gets me what I need (there are many more options):
This gets me what I need (there are many more options).
Poppler is for PDF support


  ./configure --with-python
sudo apt-get install libproj-dev libpoppler-dev
  ./configure --with-python --with-poppler
  make
  make
  sudo make install
  sudo make install

Revision as of 19:15, 16 January 2011

16-Jan-2010

Building 1.8.0 to get support for Geospatial PDF files.

Downloaded RC2 tarball.

This gets me what I need (there are many more options). Poppler is for PDF support

sudo apt-get install libproj-dev libpoppler-dev
./configure --with-python --with-poppler
make
sudo make install


01-Dec-2010

Building gdal 1.7.3 so I can have gdal python bindings, so I can reclassify a raster. In another window, I am running a very simple ESRI Spatial Analyst reclassification, but it's taking so long that I can probably build gdal and write a python script to do the same thing before the ESRI tool completes.

(I assume the ESRI tool crashed but as usual, I have no way of knowing.)

I had to add C++ to my system. Compiling.

Oh -- gdal built successfully. Installing it. Done. Updated system path.

Trying to build Python bindings now, what a pain! In the meantime, I clicked "cancel" button, perhaps in a few hours I will know if ArcMap crashed or not. (See comment above about failure of cancel button to cancel...)