Processing Kernel for remote sensing data

Introduction

pktools is a collection of programs written in C++ to perform operations image data with a focus on remote sensing applications. It heavily relies on the Geospatial Data Abstraction Library (GDAL, http://www.gdal.org) and OGR.

All utilities in pktools use command line options and have a built in help

Check the code statistics on http://www.ohloh.net/p/pktools

License

pktools is written by Pieter Kempeneers and released under the GNU General Public License version3

See http://www.gnu.org/licenses for more details

Download

You can download the latest release from Savannah https://savannah.nongnu.org/projects/pktools

git clone git://git.savannah.nongnu.org/pktools.git

How to refer

Please refer to pktools as: http://pktools.nongnu.org (Pieter Kempeneers)

contact: kempenep at gmail.com

Installation

script for Debian based distributions

Users working with Debian based distributions (e.g., Ubuntu) can download install_pktools.sh from http://download.savannah.gnu.org/releases/pktools/. This script will automatically download the latest release of pktools and dependencies. You need an internet connection when running the script (as root or sudo):

sudo bash install_pktools.sh

installation

For a manual installation, download the latest release pktools-latest.tar.gz from http://download.savannah.gnu.org/releases/pktools/

Optionally: check the release md5sum to ensure originality.

md5sum pktools-latest.tar.gz

The result should be identical to the content of the corresponding md5 file you can also download.

Unpack the tar zip file

tar xzvf pktools-latest.tar.gz
cd pktools-*

Basic installation (please refer to INSTALL file for more advanced configuration)

./configure
make
sudo make install
sudo ldconfig

Required packages (required)

packages to install before pktools

Example on how to install required packages in Debian based system (using apt-get):

Optional packages

To enable program pkopt_svm

Install additional package

Example on how to install required packages in Debian based system (using apt-get):

sudo apt-get install libnlopt-dev

Note: currently, the repository seems not to include this package anymore and manual installation is required (see also http://ab-initio.mit.edu/wiki/index.php/NLopt#Download_and_installation)

./configure --enable-nlopt
make
sudo make install
sudo ldconfig

To enable programs pkclassify_nn and pkfs_nn

Install package

Example on how to install required packages in Debian based system (using apt-get):

sudo apt-get install libfann-dev

Install pktools with extra configuration option –libfann-dev:

./configure --enable-fann
make
sudo make install
sudo ldconfig

To enable program pklas2img

Install additional packages:

Example on how to install required packages in Debian based system (using apt-get):

deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu <codename> main
deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu <codename> main
sudo apt-get install libboost-dev liblas-dev liblas-c-dev liblas1 liblas2 liblas-c2 python-liblas

Or install manually as explained in http://www.liblas.org/compilation.html#using-unix-makefiles-on-linux

./configure --enable-las
make
sudo make install
sudo ldconfig