Version 2 (modified by 17 years ago) ( diff ) | ,
---|
GRASS
The GRASS support can be added to GDAL in two ways:
- as a built-in GRASS driver
- as a loadable GRASS driver plugin
Note, following instructions apply to Linux and other environments where GNU autotools are available (autoconf, automake, make).
Building GDAL with built-in GRASS driver
- Download and install GRASS together with development files (headers and libraries). The easiest option is to use binary packages prepared for your Linux distribution.
- Download latest stable or development version of GDAL sources:
tar -zxf gdal-1.4.1.tar.gz cd gdal-1.4.1
- Configure GDAL sources with GRASS support included:
./configure --with-grass=/usr/lib/grass
and after ./configure finishes its job, you should see the GRASS driver enabled in the summary, like here:
GDAL is now configured for i686-pc-linux-gnu Installation directory: /usr/local C compiler: gcc -O2 C++ compiler: g++ -O2 LIBTOOL support: yes LIBZ support: external GRASS support: grass57+ ...
Building GDAL and GRASS driver plugin
TBD
Note:
See TracWiki
for help on using the wiki.