[pktools] 01/16: New upstream version 2.6.7.1

Bas Couwenberg sebastic at debian.org
Thu Jun 29 14:25:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository pktools.

commit 09488e9bb22829378bdb2d7e3ee6bc5920a58329
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jun 29 07:23:13 2017 +0200

    New upstream version 2.6.7.1
---
 CMakeLists.txt                                     |   91 +-
 README.txt                                         |    0
 build/CMakeFiles/3.0.2/CMakeCCompiler.cmake        |   58 +
 build/CMakeFiles/3.0.2/CMakeCXXCompiler.cmake      |   59 +
 .../3.0.2/CMakeDetermineCompilerABI_C.bin          |  Bin 0 -> 7392 bytes
 .../3.0.2/CMakeDetermineCompilerABI_CXX.bin        |  Bin 0 -> 7448 bytes
 build/CMakeFiles/3.0.2/CMakeSystem.cmake           |   15 +
 .../3.0.2/CompilerIdC/CMakeCCompilerId.c           |  442 ++++
 build/CMakeFiles/3.0.2/CompilerIdC/a.out           |  Bin 0 -> 6992 bytes
 .../3.0.2/CompilerIdCXX/CMakeCXXCompilerId.cpp     |  430 ++++
 build/CMakeFiles/3.0.2/CompilerIdCXX/a.out         |  Bin 0 -> 7208 bytes
 build/CMakeFiles/CMakeDirectoryInformation.cmake   |   16 +
 build/CMakeFiles/CMakeOutput.log                   |  277 +++
 build/CMakeFiles/CMakeRuleHashes.txt               |    3 +
 build/CMakeFiles/Makefile.cmake                    |  108 +
 build/CMakeFiles/Makefile2                         | 1771 ++++++++++++++
 build/CMakeFiles/TargetDirectories.txt             |   44 +
 build/CMakeFiles/cmake.check_cache                 |    1 +
 build/CMakeFiles/dist.dir/DependInfo.cmake         |   27 +
 build/CMakeFiles/dist.dir/build.make               |   66 +
 build/CMakeFiles/dist.dir/cmake_clean.cmake        |    8 +
 build/CMakeFiles/dist.dir/depend.internal          |    3 +
 build/CMakeFiles/dist.dir/depend.make              |    3 +
 build/CMakeFiles/dist.dir/progress.make            |    1 +
 build/CMakeFiles/pkann.dir/DependInfo.cmake        |   37 +
 build/CMakeFiles/pkann.dir/build.make              |  116 +
 build/CMakeFiles/pkann.dir/cmake_clean.cmake       |   10 +
 build/CMakeFiles/pkann.dir/depend.make             |    2 +
 build/CMakeFiles/pkann.dir/flags.make              |    8 +
 build/CMakeFiles/pkann.dir/link.txt                |    1 +
 build/CMakeFiles/pkann.dir/progress.make           |    2 +
 build/CMakeFiles/pkannogr.dir/DependInfo.cmake     |   37 +
 build/CMakeFiles/pkannogr.dir/build.make           |  116 +
 build/CMakeFiles/pkannogr.dir/cmake_clean.cmake    |   10 +
 build/CMakeFiles/pkannogr.dir/depend.make          |    2 +
 build/CMakeFiles/pkannogr.dir/flags.make           |    8 +
 build/CMakeFiles/pkannogr.dir/link.txt             |    1 +
 build/CMakeFiles/pkannogr.dir/progress.make        |    2 +
 build/CMakeFiles/pkascii2img.dir/DependInfo.cmake  |   36 +
 build/CMakeFiles/pkascii2img.dir/build.make        |  114 +
 build/CMakeFiles/pkascii2img.dir/cmake_clean.cmake |   10 +
 build/CMakeFiles/pkascii2img.dir/depend.make       |    2 +
 build/CMakeFiles/pkascii2img.dir/flags.make        |    8 +
 build/CMakeFiles/pkascii2img.dir/link.txt          |    1 +
 build/CMakeFiles/pkascii2img.dir/progress.make     |    2 +
 build/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake  |   36 +
 build/CMakeFiles/pkascii2ogr.dir/build.make        |  114 +
 build/CMakeFiles/pkascii2ogr.dir/cmake_clean.cmake |   10 +
 build/CMakeFiles/pkascii2ogr.dir/depend.make       |    2 +
 build/CMakeFiles/pkascii2ogr.dir/flags.make        |    8 +
 build/CMakeFiles/pkascii2ogr.dir/link.txt          |    1 +
 build/CMakeFiles/pkascii2ogr.dir/progress.make     |    2 +
 build/CMakeFiles/pkcomposite.dir/DependInfo.cmake  |   36 +
 build/CMakeFiles/pkcomposite.dir/build.make        |  114 +
 build/CMakeFiles/pkcomposite.dir/cmake_clean.cmake |   10 +
 build/CMakeFiles/pkcomposite.dir/depend.make       |    2 +
 build/CMakeFiles/pkcomposite.dir/flags.make        |    8 +
 build/CMakeFiles/pkcomposite.dir/link.txt          |    1 +
 build/CMakeFiles/pkcomposite.dir/progress.make     |    2 +
 build/CMakeFiles/pkcreatect.dir/DependInfo.cmake   |   36 +
 build/CMakeFiles/pkcreatect.dir/build.make         |  114 +
 build/CMakeFiles/pkcreatect.dir/cmake_clean.cmake  |   10 +
 build/CMakeFiles/pkcreatect.dir/depend.make        |    2 +
 build/CMakeFiles/pkcreatect.dir/flags.make         |    8 +
 build/CMakeFiles/pkcreatect.dir/link.txt           |    1 +
 build/CMakeFiles/pkcreatect.dir/progress.make      |    2 +
 build/CMakeFiles/pkcrop.dir/DependInfo.cmake       |   36 +
 build/CMakeFiles/pkcrop.dir/build.make             |  114 +
 build/CMakeFiles/pkcrop.dir/cmake_clean.cmake      |   10 +
 build/CMakeFiles/pkcrop.dir/depend.make            |    2 +
 build/CMakeFiles/pkcrop.dir/flags.make             |    8 +
 build/CMakeFiles/pkcrop.dir/link.txt               |    1 +
 build/CMakeFiles/pkcrop.dir/progress.make          |    2 +
 build/CMakeFiles/pkdiff.dir/DependInfo.cmake       |   36 +
 build/CMakeFiles/pkdiff.dir/build.make             |  114 +
 build/CMakeFiles/pkdiff.dir/cmake_clean.cmake      |   10 +
 build/CMakeFiles/pkdiff.dir/depend.make            |    2 +
 build/CMakeFiles/pkdiff.dir/flags.make             |    8 +
 build/CMakeFiles/pkdiff.dir/link.txt               |    1 +
 build/CMakeFiles/pkdiff.dir/progress.make          |    2 +
 build/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake |   36 +
 build/CMakeFiles/pkdsm2shadow.dir/build.make       |  114 +
 .../CMakeFiles/pkdsm2shadow.dir/cmake_clean.cmake  |   10 +
 build/CMakeFiles/pkdsm2shadow.dir/depend.make      |    2 +
 build/CMakeFiles/pkdsm2shadow.dir/flags.make       |    8 +
 build/CMakeFiles/pkdsm2shadow.dir/link.txt         |    1 +
 build/CMakeFiles/pkdsm2shadow.dir/progress.make    |    2 +
 build/CMakeFiles/pkdumpimg.dir/DependInfo.cmake    |   36 +
 build/CMakeFiles/pkdumpimg.dir/build.make          |  114 +
 build/CMakeFiles/pkdumpimg.dir/cmake_clean.cmake   |   10 +
 build/CMakeFiles/pkdumpimg.dir/depend.make         |    2 +
 build/CMakeFiles/pkdumpimg.dir/flags.make          |    8 +
 build/CMakeFiles/pkdumpimg.dir/link.txt            |    1 +
 build/CMakeFiles/pkdumpimg.dir/progress.make       |    2 +
 build/CMakeFiles/pkdumpogr.dir/DependInfo.cmake    |   36 +
 build/CMakeFiles/pkdumpogr.dir/build.make          |  114 +
 build/CMakeFiles/pkdumpogr.dir/cmake_clean.cmake   |   10 +
 build/CMakeFiles/pkdumpogr.dir/depend.make         |    2 +
 build/CMakeFiles/pkdumpogr.dir/flags.make          |    8 +
 build/CMakeFiles/pkdumpogr.dir/link.txt            |    1 +
 build/CMakeFiles/pkdumpogr.dir/progress.make       |    2 +
 build/CMakeFiles/pkegcs.dir/DependInfo.cmake       |   36 +
 build/CMakeFiles/pkegcs.dir/build.make             |  114 +
 build/CMakeFiles/pkegcs.dir/cmake_clean.cmake      |   10 +
 build/CMakeFiles/pkegcs.dir/depend.make            |    2 +
 build/CMakeFiles/pkegcs.dir/flags.make             |    8 +
 build/CMakeFiles/pkegcs.dir/link.txt               |    1 +
 build/CMakeFiles/pkegcs.dir/progress.make          |    2 +
 build/CMakeFiles/pkextractimg.dir/DependInfo.cmake |   36 +
 build/CMakeFiles/pkextractimg.dir/build.make       |  114 +
 .../CMakeFiles/pkextractimg.dir/cmake_clean.cmake  |   10 +
 build/CMakeFiles/pkextractimg.dir/depend.make      |    2 +
 build/CMakeFiles/pkextractimg.dir/flags.make       |    8 +
 build/CMakeFiles/pkextractimg.dir/link.txt         |    1 +
 build/CMakeFiles/pkextractimg.dir/progress.make    |    2 +
 build/CMakeFiles/pkextractogr.dir/DependInfo.cmake |   36 +
 build/CMakeFiles/pkextractogr.dir/build.make       |  114 +
 .../CMakeFiles/pkextractogr.dir/cmake_clean.cmake  |   10 +
 build/CMakeFiles/pkextractogr.dir/depend.make      |    2 +
 build/CMakeFiles/pkextractogr.dir/flags.make       |    8 +
 build/CMakeFiles/pkextractogr.dir/link.txt         |    1 +
 build/CMakeFiles/pkextractogr.dir/progress.make    |    2 +
 build/CMakeFiles/pkfillnodata.dir/DependInfo.cmake |   36 +
 build/CMakeFiles/pkfillnodata.dir/build.make       |  114 +
 .../CMakeFiles/pkfillnodata.dir/cmake_clean.cmake  |   10 +
 build/CMakeFiles/pkfillnodata.dir/depend.make      |    2 +
 build/CMakeFiles/pkfillnodata.dir/flags.make       |    8 +
 build/CMakeFiles/pkfillnodata.dir/link.txt         |    1 +
 build/CMakeFiles/pkfillnodata.dir/progress.make    |    2 +
 build/CMakeFiles/pkfilter.dir/DependInfo.cmake     |   36 +
 build/CMakeFiles/pkfilter.dir/build.make           |  114 +
 build/CMakeFiles/pkfilter.dir/cmake_clean.cmake    |   10 +
 build/CMakeFiles/pkfilter.dir/depend.make          |    2 +
 build/CMakeFiles/pkfilter.dir/flags.make           |    8 +
 build/CMakeFiles/pkfilter.dir/link.txt             |    1 +
 build/CMakeFiles/pkfilter.dir/progress.make        |    2 +
 .../CMakeFiles/pkfilterascii.dir/DependInfo.cmake  |   36 +
 build/CMakeFiles/pkfilterascii.dir/build.make      |  114 +
 .../CMakeFiles/pkfilterascii.dir/cmake_clean.cmake |   10 +
 build/CMakeFiles/pkfilterascii.dir/depend.make     |    2 +
 build/CMakeFiles/pkfilterascii.dir/flags.make      |    8 +
 build/CMakeFiles/pkfilterascii.dir/link.txt        |    1 +
 build/CMakeFiles/pkfilterascii.dir/progress.make   |    2 +
 build/CMakeFiles/pkfilterdem.dir/DependInfo.cmake  |   36 +
 build/CMakeFiles/pkfilterdem.dir/build.make        |  114 +
 build/CMakeFiles/pkfilterdem.dir/cmake_clean.cmake |   10 +
 build/CMakeFiles/pkfilterdem.dir/depend.make       |    2 +
 build/CMakeFiles/pkfilterdem.dir/flags.make        |    8 +
 build/CMakeFiles/pkfilterdem.dir/link.txt          |    1 +
 build/CMakeFiles/pkfilterdem.dir/progress.make     |    2 +
 build/CMakeFiles/pkfsann.dir/DependInfo.cmake      |   37 +
 build/CMakeFiles/pkfsann.dir/build.make            |  116 +
 build/CMakeFiles/pkfsann.dir/cmake_clean.cmake     |   10 +
 build/CMakeFiles/pkfsann.dir/depend.make           |    2 +
 build/CMakeFiles/pkfsann.dir/flags.make            |    8 +
 build/CMakeFiles/pkfsann.dir/link.txt              |    1 +
 build/CMakeFiles/pkfsann.dir/progress.make         |    2 +
 build/CMakeFiles/pkfssvm.dir/DependInfo.cmake      |   36 +
 build/CMakeFiles/pkfssvm.dir/build.make            |  114 +
 build/CMakeFiles/pkfssvm.dir/cmake_clean.cmake     |   10 +
 build/CMakeFiles/pkfssvm.dir/depend.make           |    2 +
 build/CMakeFiles/pkfssvm.dir/flags.make            |    8 +
 build/CMakeFiles/pkfssvm.dir/link.txt              |    1 +
 build/CMakeFiles/pkfssvm.dir/progress.make         |    2 +
 build/CMakeFiles/pkgetmask.dir/DependInfo.cmake    |   36 +
 build/CMakeFiles/pkgetmask.dir/build.make          |  114 +
 build/CMakeFiles/pkgetmask.dir/cmake_clean.cmake   |   10 +
 build/CMakeFiles/pkgetmask.dir/depend.make         |    2 +
 build/CMakeFiles/pkgetmask.dir/flags.make          |    8 +
 build/CMakeFiles/pkgetmask.dir/link.txt            |    1 +
 build/CMakeFiles/pkgetmask.dir/progress.make       |    2 +
 build/CMakeFiles/pkinfo.dir/DependInfo.cmake       |   36 +
 build/CMakeFiles/pkinfo.dir/build.make             |  114 +
 build/CMakeFiles/pkinfo.dir/cmake_clean.cmake      |   10 +
 build/CMakeFiles/pkinfo.dir/depend.make            |    2 +
 build/CMakeFiles/pkinfo.dir/flags.make             |    8 +
 build/CMakeFiles/pkinfo.dir/link.txt               |    1 +
 build/CMakeFiles/pkinfo.dir/progress.make          |    2 +
 build/CMakeFiles/pkkalman.dir/DependInfo.cmake     |   36 +
 build/CMakeFiles/pkkalman.dir/build.make           |  114 +
 build/CMakeFiles/pkkalman.dir/cmake_clean.cmake    |   10 +
 build/CMakeFiles/pkkalman.dir/depend.make          |    2 +
 build/CMakeFiles/pkkalman.dir/flags.make           |    8 +
 build/CMakeFiles/pkkalman.dir/link.txt             |    1 +
 build/CMakeFiles/pkkalman.dir/progress.make        |    2 +
 build/CMakeFiles/pklas2img.dir/DependInfo.cmake    |   37 +
 build/CMakeFiles/pklas2img.dir/build.make          |  115 +
 build/CMakeFiles/pklas2img.dir/cmake_clean.cmake   |   10 +
 build/CMakeFiles/pklas2img.dir/depend.make         |    2 +
 build/CMakeFiles/pklas2img.dir/flags.make          |    8 +
 build/CMakeFiles/pklas2img.dir/link.txt            |    1 +
 build/CMakeFiles/pklas2img.dir/progress.make       |    2 +
 build/CMakeFiles/pkoptsvm.dir/DependInfo.cmake     |   36 +
 build/CMakeFiles/pkoptsvm.dir/build.make           |  114 +
 build/CMakeFiles/pkoptsvm.dir/cmake_clean.cmake    |   10 +
 build/CMakeFiles/pkoptsvm.dir/depend.make          |    2 +
 build/CMakeFiles/pkoptsvm.dir/flags.make           |    8 +
 build/CMakeFiles/pkoptsvm.dir/link.txt             |    1 +
 build/CMakeFiles/pkoptsvm.dir/progress.make        |    2 +
 build/CMakeFiles/pkpolygonize.dir/DependInfo.cmake |   36 +
 build/CMakeFiles/pkpolygonize.dir/build.make       |  114 +
 .../CMakeFiles/pkpolygonize.dir/cmake_clean.cmake  |   10 +
 build/CMakeFiles/pkpolygonize.dir/depend.make      |    2 +
 build/CMakeFiles/pkpolygonize.dir/flags.make       |    8 +
 build/CMakeFiles/pkpolygonize.dir/link.txt         |    1 +
 build/CMakeFiles/pkpolygonize.dir/progress.make    |    2 +
 build/CMakeFiles/pkreclass.dir/DependInfo.cmake    |   36 +
 build/CMakeFiles/pkreclass.dir/build.make          |  114 +
 build/CMakeFiles/pkreclass.dir/cmake_clean.cmake   |   10 +
 build/CMakeFiles/pkreclass.dir/depend.make         |    2 +
 build/CMakeFiles/pkreclass.dir/flags.make          |    8 +
 build/CMakeFiles/pkreclass.dir/link.txt            |    1 +
 build/CMakeFiles/pkreclass.dir/progress.make       |    2 +
 build/CMakeFiles/pkreclassogr.dir/DependInfo.cmake |   36 +
 build/CMakeFiles/pkreclassogr.dir/build.make       |  114 +
 .../CMakeFiles/pkreclassogr.dir/cmake_clean.cmake  |   10 +
 build/CMakeFiles/pkreclassogr.dir/depend.make      |    2 +
 build/CMakeFiles/pkreclassogr.dir/flags.make       |    8 +
 build/CMakeFiles/pkreclassogr.dir/link.txt         |    1 +
 build/CMakeFiles/pkreclassogr.dir/progress.make    |    2 +
 build/CMakeFiles/pkregann.dir/DependInfo.cmake     |   37 +
 build/CMakeFiles/pkregann.dir/build.make           |  116 +
 build/CMakeFiles/pkregann.dir/cmake_clean.cmake    |   10 +
 build/CMakeFiles/pkregann.dir/depend.make          |    2 +
 build/CMakeFiles/pkregann.dir/flags.make           |    8 +
 build/CMakeFiles/pkregann.dir/link.txt             |    1 +
 build/CMakeFiles/pkregann.dir/progress.make        |    2 +
 build/CMakeFiles/pksetmask.dir/DependInfo.cmake    |   36 +
 build/CMakeFiles/pksetmask.dir/build.make          |  114 +
 build/CMakeFiles/pksetmask.dir/cmake_clean.cmake   |   10 +
 build/CMakeFiles/pksetmask.dir/depend.make         |    2 +
 build/CMakeFiles/pksetmask.dir/flags.make          |    8 +
 build/CMakeFiles/pksetmask.dir/link.txt            |    1 +
 build/CMakeFiles/pksetmask.dir/progress.make       |    2 +
 build/CMakeFiles/pksieve.dir/DependInfo.cmake      |   36 +
 build/CMakeFiles/pksieve.dir/build.make            |  114 +
 build/CMakeFiles/pksieve.dir/cmake_clean.cmake     |   10 +
 build/CMakeFiles/pksieve.dir/depend.make           |    2 +
 build/CMakeFiles/pksieve.dir/flags.make            |    8 +
 build/CMakeFiles/pksieve.dir/link.txt              |    1 +
 build/CMakeFiles/pksieve.dir/progress.make         |    2 +
 build/CMakeFiles/pkstat.dir/DependInfo.cmake       |   36 +
 build/CMakeFiles/pkstat.dir/build.make             |  114 +
 build/CMakeFiles/pkstat.dir/cmake_clean.cmake      |   10 +
 build/CMakeFiles/pkstat.dir/depend.make            |    2 +
 build/CMakeFiles/pkstat.dir/flags.make             |    8 +
 build/CMakeFiles/pkstat.dir/link.txt               |    1 +
 build/CMakeFiles/pkstat.dir/progress.make          |    2 +
 build/CMakeFiles/pkstatascii.dir/DependInfo.cmake  |   36 +
 build/CMakeFiles/pkstatascii.dir/build.make        |  114 +
 build/CMakeFiles/pkstatascii.dir/cmake_clean.cmake |   10 +
 build/CMakeFiles/pkstatascii.dir/depend.make       |    2 +
 build/CMakeFiles/pkstatascii.dir/flags.make        |    8 +
 build/CMakeFiles/pkstatascii.dir/link.txt          |    1 +
 build/CMakeFiles/pkstatascii.dir/progress.make     |    2 +
 build/CMakeFiles/pkstatogr.dir/DependInfo.cmake    |   36 +
 build/CMakeFiles/pkstatogr.dir/build.make          |  114 +
 build/CMakeFiles/pkstatogr.dir/cmake_clean.cmake   |   10 +
 build/CMakeFiles/pkstatogr.dir/depend.make         |    2 +
 build/CMakeFiles/pkstatogr.dir/flags.make          |    8 +
 build/CMakeFiles/pkstatogr.dir/link.txt            |    1 +
 build/CMakeFiles/pkstatogr.dir/progress.make       |    2 +
 .../CMakeFiles/pkstatprofile.dir/DependInfo.cmake  |   36 +
 build/CMakeFiles/pkstatprofile.dir/build.make      |  114 +
 .../CMakeFiles/pkstatprofile.dir/cmake_clean.cmake |   10 +
 build/CMakeFiles/pkstatprofile.dir/depend.make     |    2 +
 build/CMakeFiles/pkstatprofile.dir/flags.make      |    8 +
 build/CMakeFiles/pkstatprofile.dir/link.txt        |    1 +
 build/CMakeFiles/pkstatprofile.dir/progress.make   |    2 +
 build/CMakeFiles/pksvm.dir/DependInfo.cmake        |   36 +
 build/CMakeFiles/pksvm.dir/build.make              |  114 +
 build/CMakeFiles/pksvm.dir/cmake_clean.cmake       |   10 +
 build/CMakeFiles/pksvm.dir/depend.make             |    2 +
 build/CMakeFiles/pksvm.dir/flags.make              |    8 +
 build/CMakeFiles/pksvm.dir/link.txt                |    1 +
 build/CMakeFiles/pksvm.dir/progress.make           |    2 +
 build/CMakeFiles/pksvmogr.dir/DependInfo.cmake     |   36 +
 build/CMakeFiles/pksvmogr.dir/build.make           |  114 +
 build/CMakeFiles/pksvmogr.dir/cmake_clean.cmake    |   10 +
 build/CMakeFiles/pksvmogr.dir/depend.make          |    2 +
 build/CMakeFiles/pksvmogr.dir/flags.make           |    8 +
 build/CMakeFiles/pksvmogr.dir/link.txt             |    1 +
 build/CMakeFiles/pksvmogr.dir/progress.make        |    2 +
 build/CMakeFiles/progress.marks                    |    1 +
 build/CMakeFiles/utilities.dir/DependInfo.cmake    |   27 +
 build/CMakeFiles/utilities.dir/build.make          |  101 +
 build/CMakeFiles/utilities.dir/cmake_clean.cmake   |    8 +
 build/CMakeFiles/utilities.dir/progress.make       |    1 +
 build/CPackSourceConfig.cmake                      |   73 +
 build/Makefile                                     | 1808 ++++++++++++++
 build/base/config.h                                |   80 +
 build/cmake_install.cmake                          |  724 ++++++
 build/pktools-config                               |   47 +
 build/pktools.pc                                   |   11 +
 .../src/CMakeFiles/CMakeDirectoryInformation.cmake |   16 +
 .../src/CMakeFiles/algorithms.dir/DependInfo.cmake |   47 +
 build/src/CMakeFiles/algorithms.dir/build.make     |  294 +++
 .../CMakeFiles/algorithms.dir/cmake_clean.cmake    |   19 +
 build/src/CMakeFiles/algorithms.dir/depend.make    |    2 +
 build/src/CMakeFiles/algorithms.dir/flags.make     |    8 +
 build/src/CMakeFiles/algorithms.dir/link.txt       |    1 +
 build/src/CMakeFiles/algorithms.dir/progress.make  |    9 +
 build/src/CMakeFiles/base.dir/DependInfo.cmake     |   39 +
 build/src/CMakeFiles/base.dir/build.make           |  109 +
 build/src/CMakeFiles/base.dir/cmake_clean.cmake    |   12 +
 build/src/CMakeFiles/base.dir/depend.make          |    2 +
 build/src/CMakeFiles/base.dir/flags.make           |    8 +
 build/src/CMakeFiles/base.dir/link.txt             |    1 +
 build/src/CMakeFiles/base.dir/progress.make        |    2 +
 .../CMakeFiles/fileClasses.dir/DependInfo.cmake    |   40 +
 build/src/CMakeFiles/fileClasses.dir/build.make    |  141 ++
 .../CMakeFiles/fileClasses.dir/cmake_clean.cmake   |   13 +
 build/src/CMakeFiles/fileClasses.dir/depend.make   |    2 +
 build/src/CMakeFiles/fileClasses.dir/flags.make    |    8 +
 build/src/CMakeFiles/fileClasses.dir/link.txt      |    1 +
 build/src/CMakeFiles/fileClasses.dir/progress.make |    3 +
 .../CMakeFiles/imageClasses.dir/DependInfo.cmake   |   45 +
 build/src/CMakeFiles/imageClasses.dir/build.make   |  265 ++
 .../CMakeFiles/imageClasses.dir/cmake_clean.cmake  |   18 +
 build/src/CMakeFiles/imageClasses.dir/depend.make  |    2 +
 build/src/CMakeFiles/imageClasses.dir/flags.make   |    8 +
 build/src/CMakeFiles/imageClasses.dir/link.txt     |    1 +
 .../src/CMakeFiles/imageClasses.dir/progress.make  |    8 +
 .../src/CMakeFiles/lasClasses.dir/DependInfo.cmake |   40 +
 build/src/CMakeFiles/lasClasses.dir/build.make     |  133 +
 .../CMakeFiles/lasClasses.dir/cmake_clean.cmake    |   13 +
 build/src/CMakeFiles/lasClasses.dir/depend.make    |    2 +
 build/src/CMakeFiles/lasClasses.dir/flags.make     |    8 +
 build/src/CMakeFiles/lasClasses.dir/link.txt       |    1 +
 build/src/CMakeFiles/lasClasses.dir/progress.make  |    3 +
 build/src/CMakeFiles/progress.marks                |    1 +
 build/src/Makefile                                 |  712 ++++++
 build/src/cmake_install.cmake                      |  243 ++
 doc/apps.dox                                       |    8 +-
 doc/createappsdox.sh                               |    2 +-
 doc/doxygen_sqlite3.db                             |  Bin 0 -> 933888 bytes
 doc/examples_pkextract.dox                         |   26 +-
 src/CMakeLists.txt                                 |   42 +-
 src/{CMakeLists.txt => CMakeLists.txt.orig}        |    0
 src/CMakeLists.txt.rej                             |   38 +
 src/apps/pkann.cc                                  |  181 +-
 src/apps/pkannogr.cc                               |  916 +++++++
 src/apps/pkcomposite.cc                            |    2 +-
 src/apps/pkcomposite_app.cc~                       |  271 ---
 src/apps/pkcrop.cc                                 |    2 +-
 src/apps/pkextract.cc                              | 2553 --------------------
 src/apps/pkextractimg.cc                           |   23 +-
 src/apps/pkextractogr.cc                           |   14 +-
 src/apps/pkfilter.cc                               |    6 +-
 src/apps/pklas2img.cc                              |    4 +-
 src/apps/pkreclass.cc                              |   62 +-
 src/apps/pkreclassogr.cc                           |  194 ++
 src/apps/pkstatprofile.cc                          |    4 +-
 src/apps/pksvm.cc                                  |  206 +-
 src/apps/{pksvm.cc => pksvmogr.cc}                 |  486 +---
 355 files changed, 16198 insertions(+), 3841 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 62d1383..79cc307 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,7 +35,7 @@ set (PROJECT_SOURCE_DIR src)
 # The version number.
 set (PKTOOLS_VERSION_MAJOR 2)
 set (PKTOOLS_VERSION_MINOR 6)
-set (PKTOOLS_VERSION_PATCH 7)
+set (PKTOOLS_VERSION_PATCH 7.1)
 set (PKTOOLS_VERSION "${PKTOOLS_VERSION_MAJOR}.${PKTOOLS_VERSION_MINOR}.${PKTOOLS_VERSION_PATCH}")
 set (PKTOOLS_PACKAGE_VERSION "${PKTOOLS_VERSION_MAJOR}.${PKTOOLS_VERSION_MINOR}.${PKTOOLS_VERSION_PATCH}")
 set (PKTOOLS_PACKAGE_STRING "PKTOOLS ${PKTOOLS_VERSION_MAJOR}.${PKTOOLS_VERSION_MINOR}.${PKTOOLS_VERSION_PATCH}")
@@ -43,25 +43,35 @@ set (PKTOOLS_PACKAGE_BUGREPORT "kempenep at gmail.com")
 set (PKTOOLS_PACKAGE "pktools")
 set (PKTOOLS_COPYRIGHT_YEAR 2016)
 
+set (PKTOOLS_BASE_VERSION_MAJOR 1)
+set (PKTOOLS_BASE_VERSION_MINOR 6)
+set (PKTOOLS_BASE_VERSION_PATCH 1)
+set (PKTOOLS_BASE_VERSION "${PKTOOLS_BASE_VERSION_MAJOR}.${PKTOOLS_BASE_VERSION_MINOR}.${PKTOOLS_BASE_VERSION_PATCH}")
+set (PKTOOLS_BASE_SOVERSION 1)
+
 set (PKTOOLS_ALGORITHMS_VERSION_MAJOR 1)
 set (PKTOOLS_ALGORITHMS_VERSION_MINOR 6)
-set (PKTOOLS_ALGORITHMS_VERSION_PATCH 0)
+set (PKTOOLS_ALGORITHMS_VERSION_PATCH 1)
 set (PKTOOLS_ALGORITHMS_VERSION "${PKTOOLS_ALGORITHMS_VERSION_MAJOR}.${PKTOOLS_ALGORITHMS_VERSION_MINOR}.${PKTOOLS_ALGORITHMS_VERSION_PATCH}")
+set (PKTOOLS_ALGORITHMS_SOVERSION 1)
 
 set (PKTOOLS_FILECLASSES_VERSION_MAJOR 1)
 set (PKTOOLS_FILECLASSES_VERSION_MINOR 6)
-set (PKTOOLS_FILECLASSES_VERSION_PATCH 0)
+set (PKTOOLS_FILECLASSES_VERSION_PATCH 1)
 set (PKTOOLS_FILECLASSES_VERSION "${PKTOOLS_FILECLASSES_VERSION_MAJOR}.${PKTOOLS_FILECLASSES_VERSION_MINOR}.${PKTOOLS_FILECLASSES_VERSION_PATCH}")
+set (PKTOOLS_FILECLASSES_SOVERSION 1)
 
 set (PKTOOLS_IMAGECLASSES_VERSION_MAJOR 1)
 set (PKTOOLS_IMAGECLASSES_VERSION_MINOR 6)
-set (PKTOOLS_IMAGECLASSES_VERSION_PATCH 0)
+set (PKTOOLS_IMAGECLASSES_VERSION_PATCH 1)
 set (PKTOOLS_IMAGECLASSES_VERSION "${PKTOOLS_IMAGECLASSES_VERSION_MAJOR}.${PKTOOLS_IMAGECLASSES_VERSION_MINOR}.${PKTOOLS_IMAGECLASSES_VERSION_PATCH}")
+set (PKTOOLS_IMAGECLASSES_SOVERSION 1)
 
 set (PKTOOLS_LASCLASSES_VERSION_MAJOR 1)
 set (PKTOOLS_LASCLASSES_VERSION_MINOR 6)
-set (PKTOOLS_LASCLASSES_VERSION_PATCH 0)
+set (PKTOOLS_LASCLASSES_VERSION_PATCH 1)
 set (PKTOOLS_LASCLASSES_VERSION "${PKTOOLS_LASCLASSES_VERSION_MAJOR}.${PKTOOLS_LASCLASSES_VERSION_MINOR}.${PKTOOLS_LASCLASSES_VERSION_PATCH}")
+set (PKTOOLS_LASCLASSES_SOVERSION 1)
 
 # Name of C++ library
 set(PKTOOLS_BASE_LIB_NAME base)
@@ -253,7 +263,7 @@ configure_file ( "cmake.pc.in" "pktools.pc"  @ONLY)
 
 set_property(GLOBAL PROPERTY USE_FOLDERS ON)
 
-set(PKLIBS ${PKTOOLS_BASE_LIB_NAME} ${PKTOOLS_IMAGECLASSES_LIB_NAME} ${PKTOOLS_FILECLASSES_LIB_NAME} ${PKTOOLS_ALGORITHMS_LIB_NAME} ${GDAL_LIBRARIES} ${GSL_LIBRARIES} ${ARMADILLO_LIBRARIES} ${Boost_LIBRARIES})
+set(PKLIBS ${PKTOOLS_BASE_LIB_NAME} ${PKTOOLS_IMAGECLASSES_LIB_NAME} ${PKTOOLS_FILECLASSES_LIB_NAME} ${PKTOOLS_ALGORITHMS_LIB_NAME} ${GDAL_LIBRARIES} ${GSL_LIBRARIES} ${Boost_LIBRARIES})
 
 set(PKUTILITIES
   pkinfo
@@ -261,35 +271,42 @@ set(PKUTILITIES
   pkdiff
   pkgetmask
   pksetmask
-  pkcreatect 
-  pkdumpimg 
-  pkdumpogr 
-  pksieve 
+  pkcreatect
+  pkdumpimg
+  pkdumpogr
+  pksieve
   pkstat
-  pkstatascii 
-  pkstatogr 
+  pkstatascii
+  pkstatogr
   pkstatprofile
-  pkegcs 
+  pkegcs
   pkextractimg
   pkextractogr
-  pkfillnodata 
-  pkfilter 
-  pkfilterdem 
-  pkfilterascii 
-  pkdsm2shadow 
+  pkfillnodata
+  pkfilter
+  pkfilterdem
+  pkfilterascii
+  pkdsm2shadow
   pkcomposite
-  pkpolygonize 
-  pkascii2img 
-  pksvm 
-  pkfssvm 
+  pkpolygonize
+  pkascii2img
+  pksvm
+  pksvmogr
+  pkfssvm
   pkoptsvm
-  pkascii2ogr 
-  pkreclass 
+  pkascii2ogr
+  pkreclass
+  pkreclassogr
   pkkalman
   )
 
+set(PKLASUTILITIES
+	pklas2img
+)
+
 set(PKFANNUTILITIES
 	pkann
+	pkannogr
 	pkfsann
 	pkregann
 )
@@ -300,28 +317,28 @@ set(PKFANNUTILITIES
 
 if (PKTOOLS_WITH_UTILITIES)
 	foreach(UTILITY ${PKUTILITIES})
-    		add_executable(${UTILITY} src/apps/${UTILITY}.cc)
-    		target_link_libraries(${UTILITY} ${PKLIBS})
-    		set_target_properties(${UTILITY} PROPERTIES FOLDER utilities)
+    add_executable(${UTILITY} src/apps/${UTILITY}.cc)
+    target_link_libraries(${UTILITY} ${PKLIBS})
+    set_target_properties(${UTILITY} PROPERTIES FOLDER utilities)
 	endforeach()
 
 	if (BUILD_WITH_LIBLAS)
 		set(PKLIBS ${PKLIBS} ${PKTOOLS_LASCLASSES_LIB_NAME})
 		foreach(PKLASUTILITY ${PKLASUTILITIES})
-		add_executable(${PKLASUTILITY} src/apps/${PKLASUTILITY}.cc)
-		target_link_libraries (${PKLASUTILITY} 
-		${PKLIBS} ${LIBLAS_LIBRARIES})
-    		set_target_properties(${PKLASUTILITY} PROPERTIES FOLDER utilities)
+		  add_executable(${PKLASUTILITY} src/apps/${PKLASUTILITY}.cc)
+		  target_link_libraries (${PKLASUTILITY} 
+		    ${PKLIBS} ${LIBLAS_LIBRARIES})
+    	set_target_properties(${PKLASUTILITY} PROPERTIES FOLDER utilities)
 		endforeach()
 	endif()
 	if (BUILD_WITH_FANN)
 		set(PKLIBS ${PKLIBS} ${FANN_LIBRARIES})
 		foreach(PKFANNUTILITY ${PKFANNUTILITIES})
-		add_executable(${PKFANNUTILITY} src/apps/${PKFANNUTILITY}.cc)
-		message(${PKLIBS})
-		target_link_libraries (${PKFANNUTILITY} ${PKLIBS})
-    		set_target_properties(${PKFANNUTILITY} PROPERTIES FOLDER utilities)
-		endforeach()
+		  add_executable(${PKFANNUTILITY} src/apps/${PKFANNUTILITY}.cc)
+		  # message(${PKLIBS})
+		  target_link_libraries (${PKFANNUTILITY} ${PKLIBS})
+      set_target_properties(${PKFANNUTILITY} PROPERTIES FOLDER utilities)
+	  endforeach()
 	endif()
 	# if (BUILD_WITH_NLOPT)
 	# 	set(PKLIBS ${PKLIBS} ${NLOPT_LIBRARIES})
@@ -349,7 +366,7 @@ endif()
 #install (FILES "${PROJECT_BINARY_DIR}/pktools-config" DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
 #test
 install (FILES "${CMAKE_CURRENT_BINARY_DIR}/pktools-config" DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
-install (FILES "pktools.pc" DESTINATION lib PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)
+install (FILES "pktools.pc" DESTINATION lib/pkgconfig PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
 
 if (PKTOOLS_WITH_UTILITIES)
 	install (TARGETS ${PKUTILITIES} DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)	
diff --git a/README.txt b/README.txt
deleted file mode 100644
index e69de29..0000000
diff --git a/build/CMakeFiles/3.0.2/CMakeCCompiler.cmake b/build/CMakeFiles/3.0.2/CMakeCCompiler.cmake
new file mode 100644
index 0000000..876e017
--- /dev/null
+++ b/build/CMakeFiles/3.0.2/CMakeCCompiler.cmake
@@ -0,0 +1,58 @@
+set(CMAKE_C_COMPILER "/usr/bin/cc")
+set(CMAKE_C_COMPILER_ARG1 "")
+set(CMAKE_C_COMPILER_ID "GNU")
+set(CMAKE_C_COMPILER_VERSION "4.9.2")
+set(CMAKE_C_PLATFORM_ID "Linux")
+set(CMAKE_C_SIMULATE_ID "")
+set(CMAKE_C_SIMULATE_VERSION "")
+
+set(CMAKE_AR "/usr/bin/ar")
+set(CMAKE_RANLIB "/usr/bin/ranlib")
+set(CMAKE_LINKER "/usr/bin/ld")
+set(CMAKE_COMPILER_IS_GNUCC 1)
+set(CMAKE_C_COMPILER_LOADED 1)
+set(CMAKE_C_COMPILER_WORKS TRUE)
+set(CMAKE_C_ABI_COMPILED TRUE)
+set(CMAKE_COMPILER_IS_MINGW )
+set(CMAKE_COMPILER_IS_CYGWIN )
+if(CMAKE_COMPILER_IS_CYGWIN)
+  set(CYGWIN 1)
+  set(UNIX 1)
+endif()
+
+set(CMAKE_C_COMPILER_ENV_VAR "CC")
+
+if(CMAKE_COMPILER_IS_MINGW)
+  set(MINGW 1)
+endif()
+set(CMAKE_C_COMPILER_ID_RUN 1)
+set(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
+set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
+set(CMAKE_C_LINKER_PREFERENCE 10)
+
+# Save compiler ABI information.
+set(CMAKE_C_SIZEOF_DATA_PTR "8")
+set(CMAKE_C_COMPILER_ABI "ELF")
+set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
+
+if(CMAKE_C_SIZEOF_DATA_PTR)
+  set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
+endif()
+
+if(CMAKE_C_COMPILER_ABI)
+  set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
+endif()
+
+if(CMAKE_C_LIBRARY_ARCHITECTURE)
+  set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
+endif()
+
+
+
+
+set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
+set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
+set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
+
+
+
diff --git a/build/CMakeFiles/3.0.2/CMakeCXXCompiler.cmake b/build/CMakeFiles/3.0.2/CMakeCXXCompiler.cmake
new file mode 100644
index 0000000..826b2b3
--- /dev/null
+++ b/build/CMakeFiles/3.0.2/CMakeCXXCompiler.cmake
@@ -0,0 +1,59 @@
+set(CMAKE_CXX_COMPILER "/usr/bin/c++")
+set(CMAKE_CXX_COMPILER_ARG1 "")
+set(CMAKE_CXX_COMPILER_ID "GNU")
+set(CMAKE_CXX_COMPILER_VERSION "4.9.2")
+set(CMAKE_CXX_PLATFORM_ID "Linux")
+set(CMAKE_CXX_SIMULATE_ID "")
+set(CMAKE_CXX_SIMULATE_VERSION "")
+
+set(CMAKE_AR "/usr/bin/ar")
+set(CMAKE_RANLIB "/usr/bin/ranlib")
+set(CMAKE_LINKER "/usr/bin/ld")
+set(CMAKE_COMPILER_IS_GNUCXX 1)
+set(CMAKE_CXX_COMPILER_LOADED 1)
+set(CMAKE_CXX_COMPILER_WORKS TRUE)
+set(CMAKE_CXX_ABI_COMPILED TRUE)
+set(CMAKE_COMPILER_IS_MINGW )
+set(CMAKE_COMPILER_IS_CYGWIN )
+if(CMAKE_COMPILER_IS_CYGWIN)
+  set(CYGWIN 1)
+  set(UNIX 1)
+endif()
+
+set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
+
+if(CMAKE_COMPILER_IS_MINGW)
+  set(MINGW 1)
+endif()
+set(CMAKE_CXX_COMPILER_ID_RUN 1)
+set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
+set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
+set(CMAKE_CXX_LINKER_PREFERENCE 30)
+set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
+
+# Save compiler ABI information.
+set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
+set(CMAKE_CXX_COMPILER_ABI "ELF")
+set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
+
+if(CMAKE_CXX_SIZEOF_DATA_PTR)
+  set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
+endif()
+
+if(CMAKE_CXX_COMPILER_ABI)
+  set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
+endif()
+
+if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
+  set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
+endif()
+
+
+
+
+set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")
+set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/4.9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
+set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
+
+
+
diff --git a/build/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_C.bin b/build/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_C.bin
new file mode 100755
index 0000000..60a88a9
Binary files /dev/null and b/build/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_C.bin differ
diff --git a/build/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_CXX.bin b/build/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_CXX.bin
new file mode 100755
index 0000000..9be1333
Binary files /dev/null and b/build/CMakeFiles/3.0.2/CMakeDetermineCompilerABI_CXX.bin differ
diff --git a/build/CMakeFiles/3.0.2/CMakeSystem.cmake b/build/CMakeFiles/3.0.2/CMakeSystem.cmake
new file mode 100644
index 0000000..91eb1f9
--- /dev/null
+++ b/build/CMakeFiles/3.0.2/CMakeSystem.cmake
@@ -0,0 +1,15 @@
+set(CMAKE_HOST_SYSTEM "Linux-3.16.0-4-amd64")
+set(CMAKE_HOST_SYSTEM_NAME "Linux")
+set(CMAKE_HOST_SYSTEM_VERSION "3.16.0-4-amd64")
+set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
+
+
+
+set(CMAKE_SYSTEM "Linux-3.16.0-4-amd64")
+set(CMAKE_SYSTEM_NAME "Linux")
+set(CMAKE_SYSTEM_VERSION "3.16.0-4-amd64")
+set(CMAKE_SYSTEM_PROCESSOR "x86_64")
+
+set(CMAKE_CROSSCOMPILING "FALSE")
+
+set(CMAKE_SYSTEM_LOADED 1)
diff --git a/build/CMakeFiles/3.0.2/CompilerIdC/CMakeCCompilerId.c b/build/CMakeFiles/3.0.2/CompilerIdC/CMakeCCompilerId.c
new file mode 100644
index 0000000..bd1f7d1
--- /dev/null
+++ b/build/CMakeFiles/3.0.2/CompilerIdC/CMakeCCompilerId.c
@@ -0,0 +1,442 @@
+#ifdef __cplusplus
+# error "A C++ compiler has been selected for C."
+#endif
+
+/* Version number components: V=Version, R=Revision, P=Patch
+   Version date components:   YYYY=Year, MM=Month,   DD=Day  */
+
+#if defined(__18CXX)
+# define ID_VOID_MAIN
+#endif
+
+#if defined(__INTEL_COMPILER) || defined(__ICC)
+# define COMPILER_ID "Intel"
+  /* __INTEL_COMPILER = VRP */
+# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
+# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
+# if defined(__INTEL_COMPILER_UPDATE)
+#  define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
+# else
+#  define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER   % 10)
+# endif
+# if defined(__INTEL_COMPILER_BUILD_DATE)
+  /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
+#  define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
+# endif
+# if defined(_MSC_VER)
+#  define SIMULATE_ID "MSVC"
+   /* _MSC_VER = VVRR */
+#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
+#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
+# endif
+
+#elif defined(__PATHCC__)
+# define COMPILER_ID "PathScale"
+# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
+# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
+# if defined(__PATHCC_PATCHLEVEL__)
+#  define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
+# endif
+
+#elif defined(__clang__)
+# if defined(__apple_build_version__)
+#  define COMPILER_ID "AppleClang"
+#  define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
+# else
+#  define COMPILER_ID "Clang"
+# endif
+# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
+# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
+# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
+# if defined(_MSC_VER)
+#  define SIMULATE_ID "MSVC"
+   /* _MSC_VER = VVRR */
+#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
+#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
+# endif
+
+#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
+# define COMPILER_ID "Embarcadero"
+# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
+# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
+# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__     & 0xFFFF)
+
+#elif defined(__BORLANDC__)
+# define COMPILER_ID "Borland"
+  /* __BORLANDC__ = 0xVRR */
+# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
+# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
+
+#elif defined(__WATCOMC__)
+# define COMPILER_ID "Watcom"
+  /* __WATCOMC__ = VVRR */
+# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
+# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
+
+#elif defined(__SUNPRO_C)
+# define COMPILER_ID "SunPro"
+# if __SUNPRO_C >= 0x5100
+   /* __SUNPRO_C = 0xVRRP */
+#  define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
+#  define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
+#  define COMPILER_VERSION_PATCH HEX(__SUNPRO_C    & 0xF)
+# else
+   /* __SUNPRO_C = 0xVRP */
+#  define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
+#  define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
+#  define COMPILER_VERSION_PATCH HEX(__SUNPRO_C    & 0xF)
+# endif
+
+#elif defined(__HP_cc)
+# define COMPILER_ID "HP"
+  /* __HP_cc = VVRRPP */
+# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
+# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
+# define COMPILER_VERSION_PATCH DEC(__HP_cc     % 100)
+
+#elif defined(__DECC)
+# define COMPILER_ID "Compaq"
+  /* __DECC_VER = VVRRTPPPP */
+# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
+# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000  % 100)
+# define COMPILER_VERSION_PATCH DEC(__DECC_VER         % 10000)
+
+#elif defined(__IBMC__)
+# if defined(__COMPILER_VER__)
+#  define COMPILER_ID "zOS"
+# else
+#  if __IBMC__ >= 800
+#   define COMPILER_ID "XL"
+#  else
+#   define COMPILER_ID "VisualAge"
+#  endif
+   /* __IBMC__ = VRP */
+#  define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
+#  define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
+#  define COMPILER_VERSION_PATCH DEC(__IBMC__    % 10)
+# endif
+
+#elif defined(__PGI)
+# define COMPILER_ID "PGI"
+# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
+# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
+# if defined(__PGIC_PATCHLEVEL__)
+#  define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
+# endif
+
+#elif defined(_CRAYC)
+# define COMPILER_ID "Cray"
+# define COMPILER_VERSION_MAJOR DEC(_RELEASE)
+# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
+
+#elif defined(__TI_COMPILER_VERSION__)
+# define COMPILER_ID "TI"
+  /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
+# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
+# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000   % 1000)
+# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__        % 1000)
+
+#elif defined(__TINYC__)
+# define COMPILER_ID "TinyCC"
+
+#elif defined(__SCO_VERSION__)
+# define COMPILER_ID "SCO"
+
+#elif defined(__GNUC__)
+# define COMPILER_ID "GNU"
+# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
+# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
+# if defined(__GNUC_PATCHLEVEL__)
+#  define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
+# endif
+
+#elif defined(_MSC_VER)
+# define COMPILER_ID "MSVC"
+  /* _MSC_VER = VVRR */
+# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
+# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
+# if defined(_MSC_FULL_VER)
+#  if _MSC_VER >= 1400
+    /* _MSC_FULL_VER = VVRRPPPPP */
+#   define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
+#  else
+    /* _MSC_FULL_VER = VVRRPPPP */
+#   define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
+#  endif
+# endif
+# if defined(_MSC_BUILD)
+#  define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
+# endif
+
+/* Analog VisualDSP++ >= 4.5.6 */
+#elif defined(__VISUALDSPVERSION__)
+# define COMPILER_ID "ADSP"
+  /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
+# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
+# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
+# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8  & 0xFF)
+
+/* Analog VisualDSP++ < 4.5.6 */
+#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
+# define COMPILER_ID "ADSP"
+
+/* IAR Systems compiler for embedded systems.
+   http://www.iar.com */
+#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
+# define COMPILER_ID "IAR"
+
+/* sdcc, the small devices C compiler for embedded systems,
+   http://sdcc.sourceforge.net  */
+#elif defined(SDCC)
+# define COMPILER_ID "SDCC"
+  /* SDCC = VRP */
+#  define COMPILER_VERSION_MAJOR DEC(SDCC/100)
+#  define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
+#  define COMPILER_VERSION_PATCH DEC(SDCC    % 10)
+
+#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
+# define COMPILER_ID "MIPSpro"
+# if defined(_SGI_COMPILER_VERSION)
+  /* _SGI_COMPILER_VERSION = VRP */
+#  define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
+#  define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
+#  define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION    % 10)
+# else
+  /* _COMPILER_VERSION = VRP */
+#  define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
+#  define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
+#  define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION    % 10)
+# endif
+
+/* This compiler is either not known or is too old to define an
+   identification macro.  Try to identify the platform and guess that
+   it is the native compiler.  */
+#elif defined(__sgi)
+# define COMPILER_ID "MIPSpro"
+
+#elif defined(__hpux) || defined(__hpua)
+# define COMPILER_ID "HP"
+
+#else /* unknown compiler */
+# define COMPILER_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+   getting matched.  Store it in a pointer rather than an array
+   because some compilers will just produce instructions to fill the
+   array rather than assigning a pointer to a static array.  */
+char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+#ifdef SIMULATE_ID
+char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
+#endif
+
+#ifdef __QNXNTO__
+char const* qnxnto = "INFO" ":" "qnxnto";
+#endif
+
+/* Identify known platforms by name.  */
+#if defined(__linux) || defined(__linux__) || defined(linux)
+# define PLATFORM_ID "Linux"
+
+#elif defined(__CYGWIN__)
+# define PLATFORM_ID "Cygwin"
+
+#elif defined(__MINGW32__)
+# define PLATFORM_ID "MinGW"
+
+#elif defined(__APPLE__)
+# define PLATFORM_ID "Darwin"
+
+#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
+# define PLATFORM_ID "Windows"
+
+#elif defined(__FreeBSD__) || defined(__FreeBSD)
+# define PLATFORM_ID "FreeBSD"
+
+#elif defined(__NetBSD__) || defined(__NetBSD)
+# define PLATFORM_ID "NetBSD"
+
+#elif defined(__OpenBSD__) || defined(__OPENBSD)
+# define PLATFORM_ID "OpenBSD"
+
+#elif defined(__sun) || defined(sun)
+# define PLATFORM_ID "SunOS"
+
+#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
+# define PLATFORM_ID "AIX"
+
+#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
+# define PLATFORM_ID "IRIX"
+
+#elif defined(__hpux) || defined(__hpux__)
+# define PLATFORM_ID "HP-UX"
+
+#elif defined(__HAIKU__)
+# define PLATFORM_ID "Haiku"
+
+#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
+# define PLATFORM_ID "BeOS"
+
+#elif defined(__QNX__) || defined(__QNXNTO__)
+# define PLATFORM_ID "QNX"
+
+#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
+# define PLATFORM_ID "Tru64"
+
+#elif defined(__riscos) || defined(__riscos__)
+# define PLATFORM_ID "RISCos"
+
+#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
+# define PLATFORM_ID "SINIX"
+
+#elif defined(__UNIX_SV__)
+# define PLATFORM_ID "UNIX_SV"
+
+#elif defined(__bsdos__)
+# define PLATFORM_ID "BSDOS"
+
+#elif defined(_MPRAS) || defined(MPRAS)
+# define PLATFORM_ID "MP-RAS"
+
+#elif defined(__osf) || defined(__osf__)
+# define PLATFORM_ID "OSF1"
+
+#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
+# define PLATFORM_ID "SCO_SV"
+
+#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
+# define PLATFORM_ID "ULTRIX"
+
+#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
+# define PLATFORM_ID "Xenix"
+
+#else /* unknown platform */
+# define PLATFORM_ID ""
+
+#endif
+
+/* For windows compilers MSVC and Intel we can determine
+   the architecture of the compiler being used.  This is because
+   the compilers do not have flags that can change the architecture,
+   but rather depend on which compiler is being used
+*/
+#if defined(_WIN32) && defined(_MSC_VER)
+# if defined(_M_IA64)
+#  define ARCHITECTURE_ID "IA64"
+
+# elif defined(_M_X64) || defined(_M_AMD64)
+#  define ARCHITECTURE_ID "x64"
+
+# elif defined(_M_IX86)
+#  define ARCHITECTURE_ID "X86"
+
+# elif defined(_M_ARM)
+#  define ARCHITECTURE_ID "ARM"
+
+# elif defined(_M_MIPS)
+#  define ARCHITECTURE_ID "MIPS"
+
+# elif defined(_M_SH)
+#  define ARCHITECTURE_ID "SHx"
+
+# else /* unknown architecture */
+#  define ARCHITECTURE_ID ""
+# endif
+
+#else
+#  define ARCHITECTURE_ID ""
+#endif
+
+/* Convert integer to decimal digit literals.  */
+#define DEC(n)                   \
+  ('0' + (((n) / 10000000)%10)), \
+  ('0' + (((n) / 1000000)%10)),  \
+  ('0' + (((n) / 100000)%10)),   \
+  ('0' + (((n) / 10000)%10)),    \
+  ('0' + (((n) / 1000)%10)),     \
+  ('0' + (((n) / 100)%10)),      \
+  ('0' + (((n) / 10)%10)),       \
+  ('0' +  ((n) % 10))
+
+/* Convert integer to hex digit literals.  */
+#define HEX(n)             \
+  ('0' + ((n)>>28 & 0xF)), \
+  ('0' + ((n)>>24 & 0xF)), \
+  ('0' + ((n)>>20 & 0xF)), \
+  ('0' + ((n)>>16 & 0xF)), \
+  ('0' + ((n)>>12 & 0xF)), \
+  ('0' + ((n)>>8  & 0xF)), \
+  ('0' + ((n)>>4  & 0xF)), \
+  ('0' + ((n)     & 0xF))
+
+/* Construct a string literal encoding the version number components. */
+#ifdef COMPILER_VERSION_MAJOR
+char const info_version[] = {
+  'I', 'N', 'F', 'O', ':',
+  'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
+  COMPILER_VERSION_MAJOR,
+# ifdef COMPILER_VERSION_MINOR
+  '.', COMPILER_VERSION_MINOR,
+#  ifdef COMPILER_VERSION_PATCH
+   '.', COMPILER_VERSION_PATCH,
+#   ifdef COMPILER_VERSION_TWEAK
+    '.', COMPILER_VERSION_TWEAK,
+#   endif
+#  endif
+# endif
+  ']','\0'};
+#endif
+
+/* Construct a string literal encoding the version number components. */
+#ifdef SIMULATE_VERSION_MAJOR
+char const info_simulate_version[] = {
+  'I', 'N', 'F', 'O', ':',
+  's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
+  SIMULATE_VERSION_MAJOR,
+# ifdef SIMULATE_VERSION_MINOR
+  '.', SIMULATE_VERSION_MINOR,
+#  ifdef SIMULATE_VERSION_PATCH
+   '.', SIMULATE_VERSION_PATCH,
+#   ifdef SIMULATE_VERSION_TWEAK
+    '.', SIMULATE_VERSION_TWEAK,
+#   endif
+#  endif
+# endif
+  ']','\0'};
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+   getting matched.  Store it in a pointer rather than an array
+   because some compilers will just produce instructions to fill the
+   array rather than assigning a pointer to a static array.  */
+char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
+char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
+
+
+
+
+/*--------------------------------------------------------------------------*/
+
+#ifdef ID_VOID_MAIN
+void main() {}
+#else
+int main(int argc, char* argv[])
+{
+  int require = 0;
+  require += info_compiler[argc];
+  require += info_platform[argc];
+  require += info_arch[argc];
+#ifdef COMPILER_VERSION_MAJOR
+  require += info_version[argc];
+#endif
+#ifdef SIMULATE_ID
+  require += info_simulate[argc];
+#endif
+#ifdef SIMULATE_VERSION_MAJOR
+  require += info_simulate_version[argc];
+#endif
+  (void)argv;
+  return require;
+}
+#endif
diff --git a/build/CMakeFiles/3.0.2/CompilerIdC/a.out b/build/CMakeFiles/3.0.2/CompilerIdC/a.out
new file mode 100755
index 0000000..50a51b3
Binary files /dev/null and b/build/CMakeFiles/3.0.2/CompilerIdC/a.out differ
diff --git a/build/CMakeFiles/3.0.2/CompilerIdCXX/CMakeCXXCompilerId.cpp b/build/CMakeFiles/3.0.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
new file mode 100644
index 0000000..a315c6a
--- /dev/null
+++ b/build/CMakeFiles/3.0.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
@@ -0,0 +1,430 @@
+/* This source file must have a .cpp extension so that all C++ compilers
+   recognize the extension without flags.  Borland does not know .cxx for
+   example.  */
+#ifndef __cplusplus
+# error "A C compiler has been selected for C++."
+#endif
+
+/* Version number components: V=Version, R=Revision, P=Patch
+   Version date components:   YYYY=Year, MM=Month,   DD=Day  */
+
+#if defined(__COMO__)
+# define COMPILER_ID "Comeau"
+  /* __COMO_VERSION__ = VRR */
+# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
+# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
+
+#elif defined(__INTEL_COMPILER) || defined(__ICC)
+# define COMPILER_ID "Intel"
+  /* __INTEL_COMPILER = VRP */
+# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
+# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
+# if defined(__INTEL_COMPILER_UPDATE)
+#  define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
+# else
+#  define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER   % 10)
+# endif
+# if defined(__INTEL_COMPILER_BUILD_DATE)
+  /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
+#  define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
+# endif
+# if defined(_MSC_VER)
+#  define SIMULATE_ID "MSVC"
+   /* _MSC_VER = VVRR */
+#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
+#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
+# endif
+
+#elif defined(__PATHCC__)
+# define COMPILER_ID "PathScale"
+# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
+# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
+# if defined(__PATHCC_PATCHLEVEL__)
+#  define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
+# endif
+
+#elif defined(__clang__)
+# if defined(__apple_build_version__)
+#  define COMPILER_ID "AppleClang"
+#  define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
+# else
+#  define COMPILER_ID "Clang"
+# endif
+# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
+# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
+# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
+# if defined(_MSC_VER)
+#  define SIMULATE_ID "MSVC"
+   /* _MSC_VER = VVRR */
+#  define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
+#  define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
+# endif
+
+#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
+# define COMPILER_ID "Embarcadero"
+# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
+# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
+# define COMPILER_VERSION_PATCH HEX(__CODEGEARC_VERSION__     & 0xFFFF)
+
+#elif defined(__BORLANDC__)
+# define COMPILER_ID "Borland"
+  /* __BORLANDC__ = 0xVRR */
+# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
+# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
+
+#elif defined(__WATCOMC__)
+# define COMPILER_ID "Watcom"
+  /* __WATCOMC__ = VVRR */
+# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
+# define COMPILER_VERSION_MINOR DEC(__WATCOMC__ % 100)
+
+#elif defined(__SUNPRO_CC)
+# define COMPILER_ID "SunPro"
+# if __SUNPRO_CC >= 0x5100
+   /* __SUNPRO_CC = 0xVRRP */
+#  define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
+#  define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
+#  define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC    & 0xF)
+# else
+   /* __SUNPRO_CC = 0xVRP */
+#  define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
+#  define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
+#  define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC    & 0xF)
+# endif
+
+#elif defined(__HP_aCC)
+# define COMPILER_ID "HP"
+  /* __HP_aCC = VVRRPP */
+# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
+# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
+# define COMPILER_VERSION_PATCH DEC(__HP_aCC     % 100)
+
+#elif defined(__DECCXX)
+# define COMPILER_ID "Compaq"
+  /* __DECCXX_VER = VVRRTPPPP */
+# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
+# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000  % 100)
+# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER         % 10000)
+
+#elif defined(__IBMCPP__)
+# if defined(__COMPILER_VER__)
+#  define COMPILER_ID "zOS"
+# else
+#  if __IBMCPP__ >= 800
+#   define COMPILER_ID "XL"
+#  else
+#   define COMPILER_ID "VisualAge"
+#  endif
+   /* __IBMCPP__ = VRP */
+#  define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
+#  define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
+#  define COMPILER_VERSION_PATCH DEC(__IBMCPP__    % 10)
+# endif
+
+#elif defined(__PGI)
+# define COMPILER_ID "PGI"
+# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
+# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
+# if defined(__PGIC_PATCHLEVEL__)
+#  define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
+# endif
+
+#elif defined(_CRAYC)
+# define COMPILER_ID "Cray"
+# define COMPILER_VERSION_MAJOR DEC(_RELEASE)
+# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
+
+#elif defined(__TI_COMPILER_VERSION__)
+# define COMPILER_ID "TI"
+  /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
+# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
+# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000   % 1000)
+# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__        % 1000)
+
+#elif defined(__SCO_VERSION__)
+# define COMPILER_ID "SCO"
+
+#elif defined(__GNUC__)
+# define COMPILER_ID "GNU"
+# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
+# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
+# if defined(__GNUC_PATCHLEVEL__)
+#  define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
+# endif
+
+#elif defined(_MSC_VER)
+# define COMPILER_ID "MSVC"
+  /* _MSC_VER = VVRR */
+# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
+# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
+# if defined(_MSC_FULL_VER)
+#  if _MSC_VER >= 1400
+    /* _MSC_FULL_VER = VVRRPPPPP */
+#   define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
+#  else
+    /* _MSC_FULL_VER = VVRRPPPP */
+#   define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
+#  endif
+# endif
+# if defined(_MSC_BUILD)
+#  define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
+# endif
+
+/* Analog VisualDSP++ >= 4.5.6 */
+#elif defined(__VISUALDSPVERSION__)
+# define COMPILER_ID "ADSP"
+  /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
+# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
+# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
+# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8  & 0xFF)
+
+/* Analog VisualDSP++ < 4.5.6 */
+#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
+# define COMPILER_ID "ADSP"
+
+/* IAR Systems compiler for embedded systems.
+   http://www.iar.com */
+#elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
+# define COMPILER_ID "IAR"
+
+#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
+# define COMPILER_ID "MIPSpro"
+# if defined(_SGI_COMPILER_VERSION)
+  /* _SGI_COMPILER_VERSION = VRP */
+#  define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
+#  define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
+#  define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION    % 10)
+# else
+  /* _COMPILER_VERSION = VRP */
+#  define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
+#  define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
+#  define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION    % 10)
+# endif
+
+/* This compiler is either not known or is too old to define an
+   identification macro.  Try to identify the platform and guess that
+   it is the native compiler.  */
+#elif defined(__sgi)
+# define COMPILER_ID "MIPSpro"
+
+#elif defined(__hpux) || defined(__hpua)
+# define COMPILER_ID "HP"
+
+#else /* unknown compiler */
+# define COMPILER_ID ""
+
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+   getting matched.  Store it in a pointer rather than an array
+   because some compilers will just produce instructions to fill the
+   array rather than assigning a pointer to a static array.  */
+char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
+#ifdef SIMULATE_ID
+char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
+#endif
+
+#ifdef __QNXNTO__
+char const* qnxnto = "INFO" ":" "qnxnto";
+#endif
+
+/* Identify known platforms by name.  */
+#if defined(__linux) || defined(__linux__) || defined(linux)
+# define PLATFORM_ID "Linux"
+
+#elif defined(__CYGWIN__)
+# define PLATFORM_ID "Cygwin"
+
+#elif defined(__MINGW32__)
+# define PLATFORM_ID "MinGW"
+
+#elif defined(__APPLE__)
+# define PLATFORM_ID "Darwin"
+
+#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
+# define PLATFORM_ID "Windows"
+
+#elif defined(__FreeBSD__) || defined(__FreeBSD)
+# define PLATFORM_ID "FreeBSD"
+
+#elif defined(__NetBSD__) || defined(__NetBSD)
+# define PLATFORM_ID "NetBSD"
+
+#elif defined(__OpenBSD__) || defined(__OPENBSD)
+# define PLATFORM_ID "OpenBSD"
+
+#elif defined(__sun) || defined(sun)
+# define PLATFORM_ID "SunOS"
+
+#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
+# define PLATFORM_ID "AIX"
+
+#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
+# define PLATFORM_ID "IRIX"
+
+#elif defined(__hpux) || defined(__hpux__)
+# define PLATFORM_ID "HP-UX"
+
+#elif defined(__HAIKU__)
+# define PLATFORM_ID "Haiku"
+
+#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
+# define PLATFORM_ID "BeOS"
+
+#elif defined(__QNX__) || defined(__QNXNTO__)
+# define PLATFORM_ID "QNX"
+
+#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
+# define PLATFORM_ID "Tru64"
+
+#elif defined(__riscos) || defined(__riscos__)
+# define PLATFORM_ID "RISCos"
+
+#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
+# define PLATFORM_ID "SINIX"
+
+#elif defined(__UNIX_SV__)
+# define PLATFORM_ID "UNIX_SV"
+
+#elif defined(__bsdos__)
+# define PLATFORM_ID "BSDOS"
+
+#elif defined(_MPRAS) || defined(MPRAS)
+# define PLATFORM_ID "MP-RAS"
+
+#elif defined(__osf) || defined(__osf__)
+# define PLATFORM_ID "OSF1"
+
+#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
+# define PLATFORM_ID "SCO_SV"
+
+#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
+# define PLATFORM_ID "ULTRIX"
+
+#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
+# define PLATFORM_ID "Xenix"
+
+#else /* unknown platform */
+# define PLATFORM_ID ""
+
+#endif
+
+/* For windows compilers MSVC and Intel we can determine
+   the architecture of the compiler being used.  This is because
+   the compilers do not have flags that can change the architecture,
+   but rather depend on which compiler is being used
+*/
+#if defined(_WIN32) && defined(_MSC_VER)
+# if defined(_M_IA64)
+#  define ARCHITECTURE_ID "IA64"
+
+# elif defined(_M_X64) || defined(_M_AMD64)
+#  define ARCHITECTURE_ID "x64"
+
+# elif defined(_M_IX86)
+#  define ARCHITECTURE_ID "X86"
+
+# elif defined(_M_ARM)
+#  define ARCHITECTURE_ID "ARM"
+
+# elif defined(_M_MIPS)
+#  define ARCHITECTURE_ID "MIPS"
+
+# elif defined(_M_SH)
+#  define ARCHITECTURE_ID "SHx"
+
+# else /* unknown architecture */
+#  define ARCHITECTURE_ID ""
+# endif
+
+#else
+#  define ARCHITECTURE_ID ""
+#endif
+
+/* Convert integer to decimal digit literals.  */
+#define DEC(n)                   \
+  ('0' + (((n) / 10000000)%10)), \
+  ('0' + (((n) / 1000000)%10)),  \
+  ('0' + (((n) / 100000)%10)),   \
+  ('0' + (((n) / 10000)%10)),    \
+  ('0' + (((n) / 1000)%10)),     \
+  ('0' + (((n) / 100)%10)),      \
+  ('0' + (((n) / 10)%10)),       \
+  ('0' +  ((n) % 10))
+
+/* Convert integer to hex digit literals.  */
+#define HEX(n)             \
+  ('0' + ((n)>>28 & 0xF)), \
+  ('0' + ((n)>>24 & 0xF)), \
+  ('0' + ((n)>>20 & 0xF)), \
+  ('0' + ((n)>>16 & 0xF)), \
+  ('0' + ((n)>>12 & 0xF)), \
+  ('0' + ((n)>>8  & 0xF)), \
+  ('0' + ((n)>>4  & 0xF)), \
+  ('0' + ((n)     & 0xF))
+
+/* Construct a string literal encoding the version number components. */
+#ifdef COMPILER_VERSION_MAJOR
+char const info_version[] = {
+  'I', 'N', 'F', 'O', ':',
+  'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
+  COMPILER_VERSION_MAJOR,
+# ifdef COMPILER_VERSION_MINOR
+  '.', COMPILER_VERSION_MINOR,
+#  ifdef COMPILER_VERSION_PATCH
+   '.', COMPILER_VERSION_PATCH,
+#   ifdef COMPILER_VERSION_TWEAK
+    '.', COMPILER_VERSION_TWEAK,
+#   endif
+#  endif
+# endif
+  ']','\0'};
+#endif
+
+/* Construct a string literal encoding the version number components. */
+#ifdef SIMULATE_VERSION_MAJOR
+char const info_simulate_version[] = {
+  'I', 'N', 'F', 'O', ':',
+  's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
+  SIMULATE_VERSION_MAJOR,
+# ifdef SIMULATE_VERSION_MINOR
+  '.', SIMULATE_VERSION_MINOR,
+#  ifdef SIMULATE_VERSION_PATCH
+   '.', SIMULATE_VERSION_PATCH,
+#   ifdef SIMULATE_VERSION_TWEAK
+    '.', SIMULATE_VERSION_TWEAK,
+#   endif
+#  endif
+# endif
+  ']','\0'};
+#endif
+
+/* Construct the string literal in pieces to prevent the source from
+   getting matched.  Store it in a pointer rather than an array
+   because some compilers will just produce instructions to fill the
+   array rather than assigning a pointer to a static array.  */
+char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
+char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
+
+
+
+
+/*--------------------------------------------------------------------------*/
+
+int main(int argc, char* argv[])
+{
+  int require = 0;
+  require += info_compiler[argc];
+  require += info_platform[argc];
+#ifdef COMPILER_VERSION_MAJOR
+  require += info_version[argc];
+#endif
+#ifdef SIMULATE_ID
+  require += info_simulate[argc];
+#endif
+#ifdef SIMULATE_VERSION_MAJOR
+  require += info_simulate_version[argc];
+#endif
+  (void)argv;
+  return require;
+}
diff --git a/build/CMakeFiles/3.0.2/CompilerIdCXX/a.out b/build/CMakeFiles/3.0.2/CompilerIdCXX/a.out
new file mode 100755
index 0000000..923feed
Binary files /dev/null and b/build/CMakeFiles/3.0.2/CompilerIdCXX/a.out differ
diff --git a/build/CMakeFiles/CMakeDirectoryInformation.cmake b/build/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644
index 0000000..08e9cf8
--- /dev/null
+++ b/build/CMakeFiles/CMakeDirectoryInformation.cmake
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# Relative path conversion top directories.
+set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/kempenep/pktools-2.6.7")
+set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/kempenep/pktools-2.6.7/build")
+
+# Force unix paths in dependencies.
+set(CMAKE_FORCE_UNIX_PATHS 1)
+
+
+# The C and CXX include file regular expressions for this directory.
+set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/CMakeFiles/CMakeOutput.log b/build/CMakeFiles/CMakeOutput.log
new file mode 100644
index 0000000..c7f3f53
--- /dev/null
+++ b/build/CMakeFiles/CMakeOutput.log
@@ -0,0 +1,277 @@
+The system is: Linux - 3.16.0-4-amd64 - x86_64
+Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
+Compiler: /usr/bin/cc 
+Build flags: 
+Id flags: 
+
+The output was:
+0
+
+
+Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
+
+The C compiler identification is GNU, found in "/home/kempenep/pktools-2.6.7/build/CMakeFiles/3.0.2/CompilerIdC/a.out"
+
+Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
+Compiler: /usr/bin/c++ 
+Build flags: 
+Id flags: 
+
+The output was:
+0
+
+
+Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
+
+The CXX compiler identification is GNU, found in "/home/kempenep/pktools-2.6.7/build/CMakeFiles/3.0.2/CompilerIdCXX/a.out"
+
+Determining if the C compiler works passed with the following output:
+Change Dir: /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp
+
+Run Build Command:"/usr/bin/make" "cmTryCompileExec4260566216/fast"
+/usr/bin/make -f CMakeFiles/cmTryCompileExec4260566216.dir/build.make CMakeFiles/cmTryCompileExec4260566216.dir/build
+make[1]: Entering directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec4260566216.dir/testCCompiler.c.o
+/usr/bin/cc    -o CMakeFiles/cmTryCompileExec4260566216.dir/testCCompiler.c.o   -c /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp/testCCompiler.c
+Linking C executable cmTryCompileExec4260566216
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4260566216.dir/link.txt --verbose=1
+/usr/bin/cc       CMakeFiles/cmTryCompileExec4260566216.dir/testCCompiler.c.o  -o cmTryCompileExec4260566216 -rdynamic 
+make[1]: Leaving directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp'
+
+
+Detecting C compiler ABI info compiled with the following output:
+Change Dir: /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp
+
+Run Build Command:"/usr/bin/make" "cmTryCompileExec1904015349/fast"
+/usr/bin/make -f CMakeFiles/cmTryCompileExec1904015349.dir/build.make CMakeFiles/cmTryCompileExec1904015349.dir/build
+make[1]: Entering directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building C object CMakeFiles/cmTryCompileExec1904015349.dir/CMakeCCompilerABI.c.o
+/usr/bin/cc    -o CMakeFiles/cmTryCompileExec1904015349.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.0/Modules/CMakeCCompilerABI.c
+Linking C executable cmTryCompileExec1904015349
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1904015349.dir/link.txt --verbose=1
+/usr/bin/cc     -v CMakeFiles/cmTryCompileExec1904015349.dir/CMakeCCompilerABI.c.o  -o cmTryCompileExec1904015349 -rdynamic  
+Using built-in specs.
+COLLECT_GCC=/usr/bin/cc
+COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
+Target: x86_64-linux-gnu
+Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-t [...]
+Thread model: posix
+gcc version 4.9.2 (Debian 4.9.2-10) 
+COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/
+LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/:/usr/lib/
+COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1904015349' '-rdynamic' '-mtune=generic' '-march=x86-64'
+ /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccuFM1Rs.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so [...]
+make[1]: Leaving directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp'
+
+
+Parsed C implicit link information from above output:
+  link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
+  ignore line: [Change Dir: /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp]
+  ignore line: []
+  ignore line: [Run Build Command:"/usr/bin/make" "cmTryCompileExec1904015349/fast"]
+  ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec1904015349.dir/build.make CMakeFiles/cmTryCompileExec1904015349.dir/build]
+  ignore line: [make[1]: Entering directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp']
+  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp/CMakeFiles 1]
+  ignore line: [Building C object CMakeFiles/cmTryCompileExec1904015349.dir/CMakeCCompilerABI.c.o]
+  ignore line: [/usr/bin/cc    -o CMakeFiles/cmTryCompileExec1904015349.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.0/Modules/CMakeCCompilerABI.c]
+  ignore line: [Linking C executable cmTryCompileExec1904015349]
+  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1904015349.dir/link.txt --verbose=1]
+  ignore line: [/usr/bin/cc     -v CMakeFiles/cmTryCompileExec1904015349.dir/CMakeCCompilerABI.c.o  -o cmTryCompileExec1904015349 -rdynamic  ]
+  ignore line: [Using built-in specs.]
+  ignore line: [COLLECT_GCC=/usr/bin/cc]
+  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper]
+  ignore line: [Target: x86_64-linux-gnu]
+  ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --en [...]
+  ignore line: [Thread model: posix]
+  ignore line: [gcc version 4.9.2 (Debian 4.9.2-10) ]
+  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/]
+  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/:/usr/lib/]
+  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec1904015349' '-rdynamic' '-mtune=generic' '-march=x86-64']
+  link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccuFM1Rs.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-l [...]
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/collect2] ==> ignore
+    arg [-plugin] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so] ==> ignore
+    arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper] ==> ignore
+    arg [-plugin-opt=-fresolution=/tmp/ccuFM1Rs.res] ==> ignore
+    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+    arg [-plugin-opt=-pass-through=-lc] ==> ignore
+    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+    arg [--sysroot=/] ==> ignore
+    arg [--build-id] ==> ignore
+    arg [--eh-frame-hdr] ==> ignore
+    arg [-m] ==> ignore
+    arg [elf_x86_64] ==> ignore
+    arg [--hash-style=gnu] ==> ignore
+    arg [-export-dynamic] ==> ignore
+    arg [-dynamic-linker] ==> ignore
+    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
+    arg [-o] ==> ignore
+    arg [cmTryCompileExec1904015349] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o] ==> ignore
+    arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9]
+    arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu]
+    arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib]
+    arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
+    arg [-L/lib/../lib] ==> dir [/lib/../lib]
+    arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
+    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
+    arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..]
+    arg [CMakeFiles/cmTryCompileExec1904015349.dir/CMakeCCompilerABI.c.o] ==> ignore
+    arg [-lgcc] ==> lib [gcc]
+    arg [--as-needed] ==> ignore
+    arg [-lgcc_s] ==> lib [gcc_s]
+    arg [--no-as-needed] ==> ignore
+    arg [-lc] ==> lib [c]
+    arg [-lgcc] ==> lib [gcc]
+    arg [--as-needed] ==> ignore
+    arg [-lgcc_s] ==> lib [gcc_s]
+    arg [--no-as-needed] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/crtend.o] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o] ==> ignore
+  remove lib [gcc]
+  remove lib [gcc_s]
+  remove lib [gcc]
+  remove lib [gcc_s]
+  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.9]
+  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
+  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] ==> [/usr/lib]
+  collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
+  collapse library dir [/lib/../lib] ==> [/lib]
+  collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
+  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
+  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] ==> [/usr/lib]
+  implicit libs: [c]
+  implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
+  implicit fwks: []
+
+
+Determining if the CXX compiler works passed with the following output:
+Change Dir: /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp
+
+Run Build Command:"/usr/bin/make" "cmTryCompileExec1678576930/fast"
+/usr/bin/make -f CMakeFiles/cmTryCompileExec1678576930.dir/build.make CMakeFiles/cmTryCompileExec1678576930.dir/build
+make[1]: Entering directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building CXX object CMakeFiles/cmTryCompileExec1678576930.dir/testCXXCompiler.cxx.o
+/usr/bin/c++     -o CMakeFiles/cmTryCompileExec1678576930.dir/testCXXCompiler.cxx.o -c /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
+Linking CXX executable cmTryCompileExec1678576930
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1678576930.dir/link.txt --verbose=1
+/usr/bin/c++        CMakeFiles/cmTryCompileExec1678576930.dir/testCXXCompiler.cxx.o  -o cmTryCompileExec1678576930 -rdynamic 
+make[1]: Leaving directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp'
+
+
+Detecting CXX compiler ABI info compiled with the following output:
+Change Dir: /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp
+
+Run Build Command:"/usr/bin/make" "cmTryCompileExec4289358191/fast"
+/usr/bin/make -f CMakeFiles/cmTryCompileExec4289358191.dir/build.make CMakeFiles/cmTryCompileExec4289358191.dir/build
+make[1]: Entering directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp'
+/usr/bin/cmake -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp/CMakeFiles 1
+Building CXX object CMakeFiles/cmTryCompileExec4289358191.dir/CMakeCXXCompilerABI.cpp.o
+/usr/bin/c++     -o CMakeFiles/cmTryCompileExec4289358191.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.0/Modules/CMakeCXXCompilerABI.cpp
+Linking CXX executable cmTryCompileExec4289358191
+/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4289358191.dir/link.txt --verbose=1
+/usr/bin/c++      -v CMakeFiles/cmTryCompileExec4289358191.dir/CMakeCXXCompilerABI.cpp.o  -o cmTryCompileExec4289358191 -rdynamic  
+Using built-in specs.
+COLLECT_GCC=/usr/bin/c++
+COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
+Target: x86_64-linux-gnu
+Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-t [...]
+Thread model: posix
+gcc version 4.9.2 (Debian 4.9.2-10) 
+COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/
+LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/:/usr/lib/
+COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec4289358191' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccVW796C.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so [...]
+make[1]: Leaving directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp'
+
+
+Parsed CXX implicit link information from above output:
+  link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
+  ignore line: [Change Dir: /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp]
+  ignore line: []
+  ignore line: [Run Build Command:"/usr/bin/make" "cmTryCompileExec4289358191/fast"]
+  ignore line: [/usr/bin/make -f CMakeFiles/cmTryCompileExec4289358191.dir/build.make CMakeFiles/cmTryCompileExec4289358191.dir/build]
+  ignore line: [make[1]: Entering directory '/home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp']
+  ignore line: [/usr/bin/cmake -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles/CMakeTmp/CMakeFiles 1]
+  ignore line: [Building CXX object CMakeFiles/cmTryCompileExec4289358191.dir/CMakeCXXCompilerABI.cpp.o]
+  ignore line: [/usr/bin/c++     -o CMakeFiles/cmTryCompileExec4289358191.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.0/Modules/CMakeCXXCompilerABI.cpp]
+  ignore line: [Linking CXX executable cmTryCompileExec4289358191]
+  ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec4289358191.dir/link.txt --verbose=1]
+  ignore line: [/usr/bin/c++      -v CMakeFiles/cmTryCompileExec4289358191.dir/CMakeCXXCompilerABI.cpp.o  -o cmTryCompileExec4289358191 -rdynamic  ]
+  ignore line: [Using built-in specs.]
+  ignore line: [COLLECT_GCC=/usr/bin/c++]
+  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper]
+  ignore line: [Target: x86_64-linux-gnu]
+  ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --en [...]
+  ignore line: [Thread model: posix]
+  ignore line: [gcc version 4.9.2 (Debian 4.9.2-10) ]
+  ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/]
+  ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/4.9/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../:/lib/:/usr/lib/]
+  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTryCompileExec4289358191' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
+  link line: [ /usr/lib/gcc/x86_64-linux-gnu/4.9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccVW796C.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu -export-dynamic -dynamic-linker /lib64/ld-l [...]
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/collect2] ==> ignore
+    arg [-plugin] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/liblto_plugin.so] ==> ignore
+    arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper] ==> ignore
+    arg [-plugin-opt=-fresolution=/tmp/ccVW796C.res] ==> ignore
+    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+    arg [-plugin-opt=-pass-through=-lc] ==> ignore
+    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+    arg [--sysroot=/] ==> ignore
+    arg [--build-id] ==> ignore
+    arg [--eh-frame-hdr] ==> ignore
+    arg [-m] ==> ignore
+    arg [elf_x86_64] ==> ignore
+    arg [--hash-style=gnu] ==> ignore
+    arg [-export-dynamic] ==> ignore
+    arg [-dynamic-linker] ==> ignore
+    arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
+    arg [-o] ==> ignore
+    arg [cmTryCompileExec4289358191] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/crtbegin.o] ==> ignore
+    arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9]
+    arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu]
+    arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib]
+    arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
+    arg [-L/lib/../lib] ==> dir [/lib/../lib]
+    arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
+    arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
+    arg [-L/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..]
+    arg [CMakeFiles/cmTryCompileExec4289358191.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
+    arg [-lstdc++] ==> lib [stdc++]
+    arg [-lm] ==> lib [m]
+    arg [-lgcc_s] ==> lib [gcc_s]
+    arg [-lgcc] ==> lib [gcc]
+    arg [-lc] ==> lib [c]
+    arg [-lgcc_s] ==> lib [gcc_s]
+    arg [-lgcc] ==> lib [gcc]
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/crtend.o] ==> ignore
+    arg [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crtn.o] ==> ignore
+  remove lib [gcc_s]
+  remove lib [gcc]
+  remove lib [gcc_s]
+  remove lib [gcc]
+  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9] ==> [/usr/lib/gcc/x86_64-linux-gnu/4.9]
+  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
+  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib] ==> [/usr/lib]
+  collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
+  collapse library dir [/lib/../lib] ==> [/lib]
+  collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
+  collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
+  collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/4.9/../../..] ==> [/usr/lib]
+  implicit libs: [stdc++;m;c]
+  implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/4.9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
+  implicit fwks: []
+
+
diff --git a/build/CMakeFiles/CMakeRuleHashes.txt b/build/CMakeFiles/CMakeRuleHashes.txt
new file mode 100644
index 0000000..4b621f3
--- /dev/null
+++ b/build/CMakeFiles/CMakeRuleHashes.txt
@@ -0,0 +1,3 @@
+# Hashes of file build rules.
+7c7d0dee67ed8b8f96b1ba9c47e82fa6 CMakeFiles/dist
+a3dca8565ac96d3bcfb2b6a57fc7b3a3 CMakeFiles/utilities
diff --git a/build/CMakeFiles/Makefile.cmake b/build/CMakeFiles/Makefile.cmake
new file mode 100644
index 0000000..d5ef930
--- /dev/null
+++ b/build/CMakeFiles/Makefile.cmake
@@ -0,0 +1,108 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# The generator used is:
+set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
+
+# The top level Makefile was generated from the following files:
+set(CMAKE_MAKEFILE_DEPENDS
+  "CMakeCache.txt"
+  "../CMakeLists.txt"
+  "CMakeFiles/3.0.2/CMakeCCompiler.cmake"
+  "CMakeFiles/3.0.2/CMakeCXXCompiler.cmake"
+  "CMakeFiles/3.0.2/CMakeSystem.cmake"
+  "../cmake-config.h.in"
+  "../cmake-config.in"
+  "../cmake.pc.in"
+  "../cmake/modules/FindFANN.cmake"
+  "../cmake/modules/FindGSL.cmake"
+  "../cmake/modules/FindLIBLAS.cmake"
+  "../src/CMakeLists.txt"
+  "/usr/share/cmake-3.0/Modules/CMakeCInformation.cmake"
+  "/usr/share/cmake-3.0/Modules/CMakeCXXInformation.cmake"
+  "/usr/share/cmake-3.0/Modules/CMakeCommonLanguageInclude.cmake"
+  "/usr/share/cmake-3.0/Modules/CMakeGenericSystem.cmake"
+  "/usr/share/cmake-3.0/Modules/CMakeParseArguments.cmake"
+  "/usr/share/cmake-3.0/Modules/CMakeSystemSpecificInformation.cmake"
+  "/usr/share/cmake-3.0/Modules/CPack.cmake"
+  "/usr/share/cmake-3.0/Modules/CPackComponent.cmake"
+  "/usr/share/cmake-3.0/Modules/Compiler/GNU-C.cmake"
+  "/usr/share/cmake-3.0/Modules/Compiler/GNU-CXX.cmake"
+  "/usr/share/cmake-3.0/Modules/Compiler/GNU.cmake"
+  "/usr/share/cmake-3.0/Modules/FindArmadillo.cmake"
+  "/usr/share/cmake-3.0/Modules/FindBoost.cmake"
+  "/usr/share/cmake-3.0/Modules/FindGDAL.cmake"
+  "/usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake"
+  "/usr/share/cmake-3.0/Modules/FindPackageMessage.cmake"
+  "/usr/share/cmake-3.0/Modules/Platform/Linux-GNU-C.cmake"
+  "/usr/share/cmake-3.0/Modules/Platform/Linux-GNU-CXX.cmake"
+  "/usr/share/cmake-3.0/Modules/Platform/Linux-GNU.cmake"
+  "/usr/share/cmake-3.0/Modules/Platform/Linux.cmake"
+  "/usr/share/cmake-3.0/Modules/Platform/UnixPaths.cmake"
+  "/usr/share/cmake-3.0/Templates/CPackConfig.cmake.in"
+  )
+
+# The corresponding makefile is:
+set(CMAKE_MAKEFILE_OUTPUTS
+  "Makefile"
+  "CMakeFiles/cmake.check_cache"
+  )
+
+# Byproducts of CMake generate step:
+set(CMAKE_MAKEFILE_PRODUCTS
+  "base/config.h"
+  "pktools-config"
+  "pktools.pc"
+  "CPackConfig.cmake"
+  "CPackSourceConfig.cmake"
+  "CMakeFiles/CMakeDirectoryInformation.cmake"
+  "src/CMakeFiles/CMakeDirectoryInformation.cmake"
+  )
+
+# Dependency information for all targets:
+set(CMAKE_DEPEND_INFO_FILES
+  "CMakeFiles/dist.dir/DependInfo.cmake"
+  "CMakeFiles/pkann.dir/DependInfo.cmake"
+  "CMakeFiles/pkannogr.dir/DependInfo.cmake"
+  "CMakeFiles/pkascii2img.dir/DependInfo.cmake"
+  "CMakeFiles/pkascii2ogr.dir/DependInfo.cmake"
+  "CMakeFiles/pkcomposite.dir/DependInfo.cmake"
+  "CMakeFiles/pkcreatect.dir/DependInfo.cmake"
+  "CMakeFiles/pkcrop.dir/DependInfo.cmake"
+  "CMakeFiles/pkdiff.dir/DependInfo.cmake"
+  "CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake"
+  "CMakeFiles/pkdumpimg.dir/DependInfo.cmake"
+  "CMakeFiles/pkdumpogr.dir/DependInfo.cmake"
+  "CMakeFiles/pkegcs.dir/DependInfo.cmake"
+  "CMakeFiles/pkextractimg.dir/DependInfo.cmake"
+  "CMakeFiles/pkextractogr.dir/DependInfo.cmake"
+  "CMakeFiles/pkfillnodata.dir/DependInfo.cmake"
+  "CMakeFiles/pkfilter.dir/DependInfo.cmake"
+  "CMakeFiles/pkfilterascii.dir/DependInfo.cmake"
+  "CMakeFiles/pkfilterdem.dir/DependInfo.cmake"
+  "CMakeFiles/pkfsann.dir/DependInfo.cmake"
+  "CMakeFiles/pkfssvm.dir/DependInfo.cmake"
+  "CMakeFiles/pkgetmask.dir/DependInfo.cmake"
+  "CMakeFiles/pkinfo.dir/DependInfo.cmake"
+  "CMakeFiles/pkkalman.dir/DependInfo.cmake"
+  "CMakeFiles/pklas2img.dir/DependInfo.cmake"
+  "CMakeFiles/pkoptsvm.dir/DependInfo.cmake"
+  "CMakeFiles/pkpolygonize.dir/DependInfo.cmake"
+  "CMakeFiles/pkreclass.dir/DependInfo.cmake"
+  "CMakeFiles/pkreclassogr.dir/DependInfo.cmake"
+  "CMakeFiles/pkregann.dir/DependInfo.cmake"
+  "CMakeFiles/pksetmask.dir/DependInfo.cmake"
+  "CMakeFiles/pksieve.dir/DependInfo.cmake"
+  "CMakeFiles/pkstat.dir/DependInfo.cmake"
+  "CMakeFiles/pkstatascii.dir/DependInfo.cmake"
+  "CMakeFiles/pkstatogr.dir/DependInfo.cmake"
+  "CMakeFiles/pkstatprofile.dir/DependInfo.cmake"
+  "CMakeFiles/pksvm.dir/DependInfo.cmake"
+  "CMakeFiles/pksvmogr.dir/DependInfo.cmake"
+  "CMakeFiles/utilities.dir/DependInfo.cmake"
+  "src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  "src/CMakeFiles/base.dir/DependInfo.cmake"
+  "src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "src/CMakeFiles/lasClasses.dir/DependInfo.cmake"
+  )
diff --git a/build/CMakeFiles/Makefile2 b/build/CMakeFiles/Makefile2
new file mode 100644
index 0000000..65acdbc
--- /dev/null
+++ b/build/CMakeFiles/Makefile2
@@ -0,0 +1,1771 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+# The main recursive all target
+all:
+.PHONY : all
+
+# The main recursive preinstall target
+preinstall:
+.PHONY : preinstall
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+#=============================================================================
+# Target rules for target CMakeFiles/dist.dir
+
+# All Build rule for target.
+CMakeFiles/dist.dir/all:
+	$(MAKE) -f CMakeFiles/dist.dir/build.make CMakeFiles/dist.dir/depend
+	$(MAKE) -f CMakeFiles/dist.dir/build.make CMakeFiles/dist.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles 
+	@echo "Built target dist"
+.PHONY : CMakeFiles/dist.dir/all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/dist.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/dist.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/dist.dir/rule
+
+# Convenience name for target.
+dist: CMakeFiles/dist.dir/rule
+.PHONY : dist
+
+# clean rule for target.
+CMakeFiles/dist.dir/clean:
+	$(MAKE) -f CMakeFiles/dist.dir/build.make CMakeFiles/dist.dir/clean
+.PHONY : CMakeFiles/dist.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/dist.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkann.dir
+
+# All Build rule for target.
+CMakeFiles/pkann.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkann.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkann.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkann.dir/all: src/CMakeFiles/algorithms.dir/all
+CMakeFiles/pkann.dir/all: src/CMakeFiles/lasClasses.dir/all
+	$(MAKE) -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/depend
+	$(MAKE) -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  21
+	@echo "Built target pkann"
+.PHONY : CMakeFiles/pkann.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkann.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkann.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 21
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkann.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkann.dir/rule
+
+# Convenience name for target.
+pkann: CMakeFiles/pkann.dir/rule
+.PHONY : pkann
+
+# clean rule for target.
+CMakeFiles/pkann.dir/clean:
+	$(MAKE) -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/clean
+.PHONY : CMakeFiles/pkann.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkann.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkannogr.dir
+
+# All Build rule for target.
+CMakeFiles/pkannogr.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkannogr.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkannogr.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkannogr.dir/all: src/CMakeFiles/algorithms.dir/all
+CMakeFiles/pkannogr.dir/all: src/CMakeFiles/lasClasses.dir/all
+	$(MAKE) -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/depend
+	$(MAKE) -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  22
+	@echo "Built target pkannogr"
+.PHONY : CMakeFiles/pkannogr.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkannogr.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkannogr.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 21
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkannogr.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkannogr.dir/rule
+
+# Convenience name for target.
+pkannogr: CMakeFiles/pkannogr.dir/rule
+.PHONY : pkannogr
+
+# clean rule for target.
+CMakeFiles/pkannogr.dir/clean:
+	$(MAKE) -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/clean
+.PHONY : CMakeFiles/pkannogr.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkannogr.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkascii2img.dir
+
+# All Build rule for target.
+CMakeFiles/pkascii2img.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkascii2img.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkascii2img.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkascii2img.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/depend
+	$(MAKE) -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  23
+	@echo "Built target pkascii2img"
+.PHONY : CMakeFiles/pkascii2img.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkascii2img.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkascii2img.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkascii2img.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkascii2img.dir/rule
+
+# Convenience name for target.
+pkascii2img: CMakeFiles/pkascii2img.dir/rule
+.PHONY : pkascii2img
+
+# clean rule for target.
+CMakeFiles/pkascii2img.dir/clean:
+	$(MAKE) -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/clean
+.PHONY : CMakeFiles/pkascii2img.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkascii2img.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkascii2ogr.dir
+
+# All Build rule for target.
+CMakeFiles/pkascii2ogr.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkascii2ogr.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkascii2ogr.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkascii2ogr.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/depend
+	$(MAKE) -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  24
+	@echo "Built target pkascii2ogr"
+.PHONY : CMakeFiles/pkascii2ogr.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkascii2ogr.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkascii2ogr.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkascii2ogr.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkascii2ogr.dir/rule
+
+# Convenience name for target.
+pkascii2ogr: CMakeFiles/pkascii2ogr.dir/rule
+.PHONY : pkascii2ogr
+
+# clean rule for target.
+CMakeFiles/pkascii2ogr.dir/clean:
+	$(MAKE) -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/clean
+.PHONY : CMakeFiles/pkascii2ogr.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkascii2ogr.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkcomposite.dir
+
+# All Build rule for target.
+CMakeFiles/pkcomposite.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkcomposite.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkcomposite.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkcomposite.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/depend
+	$(MAKE) -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  25
+	@echo "Built target pkcomposite"
+.PHONY : CMakeFiles/pkcomposite.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkcomposite.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkcomposite.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkcomposite.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkcomposite.dir/rule
+
+# Convenience name for target.
+pkcomposite: CMakeFiles/pkcomposite.dir/rule
+.PHONY : pkcomposite
+
+# clean rule for target.
+CMakeFiles/pkcomposite.dir/clean:
+	$(MAKE) -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/clean
+.PHONY : CMakeFiles/pkcomposite.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkcomposite.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkcreatect.dir
+
+# All Build rule for target.
+CMakeFiles/pkcreatect.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkcreatect.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkcreatect.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkcreatect.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/depend
+	$(MAKE) -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  26
+	@echo "Built target pkcreatect"
+.PHONY : CMakeFiles/pkcreatect.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkcreatect.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkcreatect.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkcreatect.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkcreatect.dir/rule
+
+# Convenience name for target.
+pkcreatect: CMakeFiles/pkcreatect.dir/rule
+.PHONY : pkcreatect
+
+# clean rule for target.
+CMakeFiles/pkcreatect.dir/clean:
+	$(MAKE) -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/clean
+.PHONY : CMakeFiles/pkcreatect.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkcreatect.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkcrop.dir
+
+# All Build rule for target.
+CMakeFiles/pkcrop.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkcrop.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkcrop.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkcrop.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/depend
+	$(MAKE) -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  27
+	@echo "Built target pkcrop"
+.PHONY : CMakeFiles/pkcrop.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkcrop.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkcrop.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkcrop.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkcrop.dir/rule
+
+# Convenience name for target.
+pkcrop: CMakeFiles/pkcrop.dir/rule
+.PHONY : pkcrop
+
+# clean rule for target.
+CMakeFiles/pkcrop.dir/clean:
+	$(MAKE) -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/clean
+.PHONY : CMakeFiles/pkcrop.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkcrop.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkdiff.dir
+
+# All Build rule for target.
+CMakeFiles/pkdiff.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkdiff.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkdiff.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkdiff.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/depend
+	$(MAKE) -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  28
+	@echo "Built target pkdiff"
+.PHONY : CMakeFiles/pkdiff.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkdiff.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkdiff.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkdiff.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkdiff.dir/rule
+
+# Convenience name for target.
+pkdiff: CMakeFiles/pkdiff.dir/rule
+.PHONY : pkdiff
+
+# clean rule for target.
+CMakeFiles/pkdiff.dir/clean:
+	$(MAKE) -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/clean
+.PHONY : CMakeFiles/pkdiff.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkdiff.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkdsm2shadow.dir
+
+# All Build rule for target.
+CMakeFiles/pkdsm2shadow.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkdsm2shadow.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkdsm2shadow.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkdsm2shadow.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/depend
+	$(MAKE) -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  29
+	@echo "Built target pkdsm2shadow"
+.PHONY : CMakeFiles/pkdsm2shadow.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkdsm2shadow.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkdsm2shadow.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkdsm2shadow.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkdsm2shadow.dir/rule
+
+# Convenience name for target.
+pkdsm2shadow: CMakeFiles/pkdsm2shadow.dir/rule
+.PHONY : pkdsm2shadow
+
+# clean rule for target.
+CMakeFiles/pkdsm2shadow.dir/clean:
+	$(MAKE) -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/clean
+.PHONY : CMakeFiles/pkdsm2shadow.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkdsm2shadow.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkdumpimg.dir
+
+# All Build rule for target.
+CMakeFiles/pkdumpimg.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkdumpimg.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkdumpimg.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkdumpimg.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/depend
+	$(MAKE) -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  30
+	@echo "Built target pkdumpimg"
+.PHONY : CMakeFiles/pkdumpimg.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkdumpimg.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkdumpimg.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkdumpimg.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkdumpimg.dir/rule
+
+# Convenience name for target.
+pkdumpimg: CMakeFiles/pkdumpimg.dir/rule
+.PHONY : pkdumpimg
+
+# clean rule for target.
+CMakeFiles/pkdumpimg.dir/clean:
+	$(MAKE) -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/clean
+.PHONY : CMakeFiles/pkdumpimg.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkdumpimg.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkdumpogr.dir
+
+# All Build rule for target.
+CMakeFiles/pkdumpogr.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkdumpogr.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkdumpogr.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkdumpogr.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/depend
+	$(MAKE) -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  31
+	@echo "Built target pkdumpogr"
+.PHONY : CMakeFiles/pkdumpogr.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkdumpogr.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkdumpogr.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkdumpogr.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkdumpogr.dir/rule
+
+# Convenience name for target.
+pkdumpogr: CMakeFiles/pkdumpogr.dir/rule
+.PHONY : pkdumpogr
+
+# clean rule for target.
+CMakeFiles/pkdumpogr.dir/clean:
+	$(MAKE) -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/clean
+.PHONY : CMakeFiles/pkdumpogr.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkdumpogr.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkegcs.dir
+
+# All Build rule for target.
+CMakeFiles/pkegcs.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkegcs.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkegcs.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkegcs.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/depend
+	$(MAKE) -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  32
+	@echo "Built target pkegcs"
+.PHONY : CMakeFiles/pkegcs.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkegcs.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkegcs.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkegcs.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkegcs.dir/rule
+
+# Convenience name for target.
+pkegcs: CMakeFiles/pkegcs.dir/rule
+.PHONY : pkegcs
+
+# clean rule for target.
+CMakeFiles/pkegcs.dir/clean:
+	$(MAKE) -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/clean
+.PHONY : CMakeFiles/pkegcs.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkegcs.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkextractimg.dir
+
+# All Build rule for target.
+CMakeFiles/pkextractimg.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkextractimg.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkextractimg.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkextractimg.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/depend
+	$(MAKE) -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  33
+	@echo "Built target pkextractimg"
+.PHONY : CMakeFiles/pkextractimg.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkextractimg.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkextractimg.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkextractimg.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkextractimg.dir/rule
+
+# Convenience name for target.
+pkextractimg: CMakeFiles/pkextractimg.dir/rule
+.PHONY : pkextractimg
+
+# clean rule for target.
+CMakeFiles/pkextractimg.dir/clean:
+	$(MAKE) -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/clean
+.PHONY : CMakeFiles/pkextractimg.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkextractimg.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkextractogr.dir
+
+# All Build rule for target.
+CMakeFiles/pkextractogr.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkextractogr.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkextractogr.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkextractogr.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/depend
+	$(MAKE) -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  34
+	@echo "Built target pkextractogr"
+.PHONY : CMakeFiles/pkextractogr.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkextractogr.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkextractogr.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkextractogr.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkextractogr.dir/rule
+
+# Convenience name for target.
+pkextractogr: CMakeFiles/pkextractogr.dir/rule
+.PHONY : pkextractogr
+
+# clean rule for target.
+CMakeFiles/pkextractogr.dir/clean:
+	$(MAKE) -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/clean
+.PHONY : CMakeFiles/pkextractogr.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkextractogr.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkfillnodata.dir
+
+# All Build rule for target.
+CMakeFiles/pkfillnodata.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkfillnodata.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkfillnodata.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkfillnodata.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/depend
+	$(MAKE) -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  35
+	@echo "Built target pkfillnodata"
+.PHONY : CMakeFiles/pkfillnodata.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkfillnodata.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkfillnodata.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkfillnodata.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkfillnodata.dir/rule
+
+# Convenience name for target.
+pkfillnodata: CMakeFiles/pkfillnodata.dir/rule
+.PHONY : pkfillnodata
+
+# clean rule for target.
+CMakeFiles/pkfillnodata.dir/clean:
+	$(MAKE) -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/clean
+.PHONY : CMakeFiles/pkfillnodata.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkfillnodata.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkfilter.dir
+
+# All Build rule for target.
+CMakeFiles/pkfilter.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkfilter.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkfilter.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkfilter.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/depend
+	$(MAKE) -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  36
+	@echo "Built target pkfilter"
+.PHONY : CMakeFiles/pkfilter.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkfilter.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkfilter.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkfilter.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkfilter.dir/rule
+
+# Convenience name for target.
+pkfilter: CMakeFiles/pkfilter.dir/rule
+.PHONY : pkfilter
+
+# clean rule for target.
+CMakeFiles/pkfilter.dir/clean:
+	$(MAKE) -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/clean
+.PHONY : CMakeFiles/pkfilter.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkfilter.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkfilterascii.dir
+
+# All Build rule for target.
+CMakeFiles/pkfilterascii.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkfilterascii.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkfilterascii.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkfilterascii.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/depend
+	$(MAKE) -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  37
+	@echo "Built target pkfilterascii"
+.PHONY : CMakeFiles/pkfilterascii.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkfilterascii.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkfilterascii.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkfilterascii.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkfilterascii.dir/rule
+
+# Convenience name for target.
+pkfilterascii: CMakeFiles/pkfilterascii.dir/rule
+.PHONY : pkfilterascii
+
+# clean rule for target.
+CMakeFiles/pkfilterascii.dir/clean:
+	$(MAKE) -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/clean
+.PHONY : CMakeFiles/pkfilterascii.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkfilterascii.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkfilterdem.dir
+
+# All Build rule for target.
+CMakeFiles/pkfilterdem.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkfilterdem.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkfilterdem.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkfilterdem.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/depend
+	$(MAKE) -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  38
+	@echo "Built target pkfilterdem"
+.PHONY : CMakeFiles/pkfilterdem.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkfilterdem.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkfilterdem.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkfilterdem.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkfilterdem.dir/rule
+
+# Convenience name for target.
+pkfilterdem: CMakeFiles/pkfilterdem.dir/rule
+.PHONY : pkfilterdem
+
+# clean rule for target.
+CMakeFiles/pkfilterdem.dir/clean:
+	$(MAKE) -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/clean
+.PHONY : CMakeFiles/pkfilterdem.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkfilterdem.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkfsann.dir
+
+# All Build rule for target.
+CMakeFiles/pkfsann.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkfsann.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkfsann.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkfsann.dir/all: src/CMakeFiles/algorithms.dir/all
+CMakeFiles/pkfsann.dir/all: src/CMakeFiles/lasClasses.dir/all
+	$(MAKE) -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/depend
+	$(MAKE) -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  39
+	@echo "Built target pkfsann"
+.PHONY : CMakeFiles/pkfsann.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkfsann.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkfsann.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 21
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkfsann.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkfsann.dir/rule
+
+# Convenience name for target.
+pkfsann: CMakeFiles/pkfsann.dir/rule
+.PHONY : pkfsann
+
+# clean rule for target.
+CMakeFiles/pkfsann.dir/clean:
+	$(MAKE) -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/clean
+.PHONY : CMakeFiles/pkfsann.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkfsann.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkfssvm.dir
+
+# All Build rule for target.
+CMakeFiles/pkfssvm.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkfssvm.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkfssvm.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkfssvm.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/depend
+	$(MAKE) -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  40
+	@echo "Built target pkfssvm"
+.PHONY : CMakeFiles/pkfssvm.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkfssvm.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkfssvm.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkfssvm.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkfssvm.dir/rule
+
+# Convenience name for target.
+pkfssvm: CMakeFiles/pkfssvm.dir/rule
+.PHONY : pkfssvm
+
+# clean rule for target.
+CMakeFiles/pkfssvm.dir/clean:
+	$(MAKE) -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/clean
+.PHONY : CMakeFiles/pkfssvm.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkfssvm.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkgetmask.dir
+
+# All Build rule for target.
+CMakeFiles/pkgetmask.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkgetmask.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkgetmask.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkgetmask.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/depend
+	$(MAKE) -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  41
+	@echo "Built target pkgetmask"
+.PHONY : CMakeFiles/pkgetmask.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkgetmask.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkgetmask.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkgetmask.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkgetmask.dir/rule
+
+# Convenience name for target.
+pkgetmask: CMakeFiles/pkgetmask.dir/rule
+.PHONY : pkgetmask
+
+# clean rule for target.
+CMakeFiles/pkgetmask.dir/clean:
+	$(MAKE) -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/clean
+.PHONY : CMakeFiles/pkgetmask.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkgetmask.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkinfo.dir
+
+# All Build rule for target.
+CMakeFiles/pkinfo.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkinfo.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkinfo.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkinfo.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/depend
+	$(MAKE) -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  42
+	@echo "Built target pkinfo"
+.PHONY : CMakeFiles/pkinfo.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkinfo.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkinfo.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkinfo.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkinfo.dir/rule
+
+# Convenience name for target.
+pkinfo: CMakeFiles/pkinfo.dir/rule
+.PHONY : pkinfo
+
+# clean rule for target.
+CMakeFiles/pkinfo.dir/clean:
+	$(MAKE) -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/clean
+.PHONY : CMakeFiles/pkinfo.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkinfo.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkkalman.dir
+
+# All Build rule for target.
+CMakeFiles/pkkalman.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkkalman.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkkalman.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkkalman.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/depend
+	$(MAKE) -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  43
+	@echo "Built target pkkalman"
+.PHONY : CMakeFiles/pkkalman.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkkalman.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkkalman.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkkalman.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkkalman.dir/rule
+
+# Convenience name for target.
+pkkalman: CMakeFiles/pkkalman.dir/rule
+.PHONY : pkkalman
+
+# clean rule for target.
+CMakeFiles/pkkalman.dir/clean:
+	$(MAKE) -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/clean
+.PHONY : CMakeFiles/pkkalman.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkkalman.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pklas2img.dir
+
+# All Build rule for target.
+CMakeFiles/pklas2img.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pklas2img.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pklas2img.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pklas2img.dir/all: src/CMakeFiles/algorithms.dir/all
+CMakeFiles/pklas2img.dir/all: src/CMakeFiles/lasClasses.dir/all
+	$(MAKE) -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/depend
+	$(MAKE) -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  44
+	@echo "Built target pklas2img"
+.PHONY : CMakeFiles/pklas2img.dir/all
+
+# Include target in all.
+all: CMakeFiles/pklas2img.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pklas2img.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 21
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pklas2img.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pklas2img.dir/rule
+
+# Convenience name for target.
+pklas2img: CMakeFiles/pklas2img.dir/rule
+.PHONY : pklas2img
+
+# clean rule for target.
+CMakeFiles/pklas2img.dir/clean:
+	$(MAKE) -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/clean
+.PHONY : CMakeFiles/pklas2img.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pklas2img.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkoptsvm.dir
+
+# All Build rule for target.
+CMakeFiles/pkoptsvm.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkoptsvm.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkoptsvm.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkoptsvm.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/depend
+	$(MAKE) -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  45
+	@echo "Built target pkoptsvm"
+.PHONY : CMakeFiles/pkoptsvm.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkoptsvm.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkoptsvm.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkoptsvm.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkoptsvm.dir/rule
+
+# Convenience name for target.
+pkoptsvm: CMakeFiles/pkoptsvm.dir/rule
+.PHONY : pkoptsvm
+
+# clean rule for target.
+CMakeFiles/pkoptsvm.dir/clean:
+	$(MAKE) -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/clean
+.PHONY : CMakeFiles/pkoptsvm.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkoptsvm.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkpolygonize.dir
+
+# All Build rule for target.
+CMakeFiles/pkpolygonize.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkpolygonize.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkpolygonize.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkpolygonize.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/depend
+	$(MAKE) -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  46
+	@echo "Built target pkpolygonize"
+.PHONY : CMakeFiles/pkpolygonize.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkpolygonize.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkpolygonize.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkpolygonize.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkpolygonize.dir/rule
+
+# Convenience name for target.
+pkpolygonize: CMakeFiles/pkpolygonize.dir/rule
+.PHONY : pkpolygonize
+
+# clean rule for target.
+CMakeFiles/pkpolygonize.dir/clean:
+	$(MAKE) -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/clean
+.PHONY : CMakeFiles/pkpolygonize.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkpolygonize.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkreclass.dir
+
+# All Build rule for target.
+CMakeFiles/pkreclass.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkreclass.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkreclass.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkreclass.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/depend
+	$(MAKE) -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  47
+	@echo "Built target pkreclass"
+.PHONY : CMakeFiles/pkreclass.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkreclass.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkreclass.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkreclass.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkreclass.dir/rule
+
+# Convenience name for target.
+pkreclass: CMakeFiles/pkreclass.dir/rule
+.PHONY : pkreclass
+
+# clean rule for target.
+CMakeFiles/pkreclass.dir/clean:
+	$(MAKE) -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/clean
+.PHONY : CMakeFiles/pkreclass.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkreclass.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkreclassogr.dir
+
+# All Build rule for target.
+CMakeFiles/pkreclassogr.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkreclassogr.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkreclassogr.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkreclassogr.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/depend
+	$(MAKE) -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  48
+	@echo "Built target pkreclassogr"
+.PHONY : CMakeFiles/pkreclassogr.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkreclassogr.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkreclassogr.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkreclassogr.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkreclassogr.dir/rule
+
+# Convenience name for target.
+pkreclassogr: CMakeFiles/pkreclassogr.dir/rule
+.PHONY : pkreclassogr
+
+# clean rule for target.
+CMakeFiles/pkreclassogr.dir/clean:
+	$(MAKE) -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/clean
+.PHONY : CMakeFiles/pkreclassogr.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkreclassogr.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkregann.dir
+
+# All Build rule for target.
+CMakeFiles/pkregann.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkregann.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkregann.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkregann.dir/all: src/CMakeFiles/algorithms.dir/all
+CMakeFiles/pkregann.dir/all: src/CMakeFiles/lasClasses.dir/all
+	$(MAKE) -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/depend
+	$(MAKE) -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  49
+	@echo "Built target pkregann"
+.PHONY : CMakeFiles/pkregann.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkregann.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkregann.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 21
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkregann.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkregann.dir/rule
+
+# Convenience name for target.
+pkregann: CMakeFiles/pkregann.dir/rule
+.PHONY : pkregann
+
+# clean rule for target.
+CMakeFiles/pkregann.dir/clean:
+	$(MAKE) -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/clean
+.PHONY : CMakeFiles/pkregann.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkregann.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pksetmask.dir
+
+# All Build rule for target.
+CMakeFiles/pksetmask.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pksetmask.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pksetmask.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pksetmask.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/depend
+	$(MAKE) -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  50
+	@echo "Built target pksetmask"
+.PHONY : CMakeFiles/pksetmask.dir/all
+
+# Include target in all.
+all: CMakeFiles/pksetmask.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pksetmask.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pksetmask.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pksetmask.dir/rule
+
+# Convenience name for target.
+pksetmask: CMakeFiles/pksetmask.dir/rule
+.PHONY : pksetmask
+
+# clean rule for target.
+CMakeFiles/pksetmask.dir/clean:
+	$(MAKE) -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/clean
+.PHONY : CMakeFiles/pksetmask.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pksetmask.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pksieve.dir
+
+# All Build rule for target.
+CMakeFiles/pksieve.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pksieve.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pksieve.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pksieve.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/depend
+	$(MAKE) -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  51
+	@echo "Built target pksieve"
+.PHONY : CMakeFiles/pksieve.dir/all
+
+# Include target in all.
+all: CMakeFiles/pksieve.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pksieve.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pksieve.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pksieve.dir/rule
+
+# Convenience name for target.
+pksieve: CMakeFiles/pksieve.dir/rule
+.PHONY : pksieve
+
+# clean rule for target.
+CMakeFiles/pksieve.dir/clean:
+	$(MAKE) -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/clean
+.PHONY : CMakeFiles/pksieve.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pksieve.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkstat.dir
+
+# All Build rule for target.
+CMakeFiles/pkstat.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkstat.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkstat.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkstat.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/depend
+	$(MAKE) -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  52
+	@echo "Built target pkstat"
+.PHONY : CMakeFiles/pkstat.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkstat.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkstat.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkstat.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkstat.dir/rule
+
+# Convenience name for target.
+pkstat: CMakeFiles/pkstat.dir/rule
+.PHONY : pkstat
+
+# clean rule for target.
+CMakeFiles/pkstat.dir/clean:
+	$(MAKE) -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/clean
+.PHONY : CMakeFiles/pkstat.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkstat.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkstatascii.dir
+
+# All Build rule for target.
+CMakeFiles/pkstatascii.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkstatascii.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkstatascii.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkstatascii.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/depend
+	$(MAKE) -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  53
+	@echo "Built target pkstatascii"
+.PHONY : CMakeFiles/pkstatascii.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkstatascii.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkstatascii.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkstatascii.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkstatascii.dir/rule
+
+# Convenience name for target.
+pkstatascii: CMakeFiles/pkstatascii.dir/rule
+.PHONY : pkstatascii
+
+# clean rule for target.
+CMakeFiles/pkstatascii.dir/clean:
+	$(MAKE) -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/clean
+.PHONY : CMakeFiles/pkstatascii.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkstatascii.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkstatogr.dir
+
+# All Build rule for target.
+CMakeFiles/pkstatogr.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkstatogr.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkstatogr.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkstatogr.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/depend
+	$(MAKE) -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  54
+	@echo "Built target pkstatogr"
+.PHONY : CMakeFiles/pkstatogr.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkstatogr.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkstatogr.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkstatogr.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkstatogr.dir/rule
+
+# Convenience name for target.
+pkstatogr: CMakeFiles/pkstatogr.dir/rule
+.PHONY : pkstatogr
+
+# clean rule for target.
+CMakeFiles/pkstatogr.dir/clean:
+	$(MAKE) -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/clean
+.PHONY : CMakeFiles/pkstatogr.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkstatogr.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pkstatprofile.dir
+
+# All Build rule for target.
+CMakeFiles/pkstatprofile.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pkstatprofile.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pkstatprofile.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pkstatprofile.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/depend
+	$(MAKE) -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  55
+	@echo "Built target pkstatprofile"
+.PHONY : CMakeFiles/pkstatprofile.dir/all
+
+# Include target in all.
+all: CMakeFiles/pkstatprofile.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pkstatprofile.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pkstatprofile.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pkstatprofile.dir/rule
+
+# Convenience name for target.
+pkstatprofile: CMakeFiles/pkstatprofile.dir/rule
+.PHONY : pkstatprofile
+
+# clean rule for target.
+CMakeFiles/pkstatprofile.dir/clean:
+	$(MAKE) -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/clean
+.PHONY : CMakeFiles/pkstatprofile.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pkstatprofile.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pksvm.dir
+
+# All Build rule for target.
+CMakeFiles/pksvm.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pksvm.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pksvm.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pksvm.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/depend
+	$(MAKE) -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  56
+	@echo "Built target pksvm"
+.PHONY : CMakeFiles/pksvm.dir/all
+
+# Include target in all.
+all: CMakeFiles/pksvm.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pksvm.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pksvm.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pksvm.dir/rule
+
+# Convenience name for target.
+pksvm: CMakeFiles/pksvm.dir/rule
+.PHONY : pksvm
+
+# clean rule for target.
+CMakeFiles/pksvm.dir/clean:
+	$(MAKE) -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/clean
+.PHONY : CMakeFiles/pksvm.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pksvm.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/pksvmogr.dir
+
+# All Build rule for target.
+CMakeFiles/pksvmogr.dir/all: src/CMakeFiles/base.dir/all
+CMakeFiles/pksvmogr.dir/all: src/CMakeFiles/fileClasses.dir/all
+CMakeFiles/pksvmogr.dir/all: src/CMakeFiles/imageClasses.dir/all
+CMakeFiles/pksvmogr.dir/all: src/CMakeFiles/algorithms.dir/all
+	$(MAKE) -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/depend
+	$(MAKE) -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  57
+	@echo "Built target pksvmogr"
+.PHONY : CMakeFiles/pksvmogr.dir/all
+
+# Include target in all.
+all: CMakeFiles/pksvmogr.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/pksvmogr.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 19
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/pksvmogr.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/pksvmogr.dir/rule
+
+# Convenience name for target.
+pksvmogr: CMakeFiles/pksvmogr.dir/rule
+.PHONY : pksvmogr
+
+# clean rule for target.
+CMakeFiles/pksvmogr.dir/clean:
+	$(MAKE) -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/clean
+.PHONY : CMakeFiles/pksvmogr.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/pksvmogr.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target CMakeFiles/utilities.dir
+
+# All Build rule for target.
+CMakeFiles/utilities.dir/all: CMakeFiles/pkfilterdem.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkfsann.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pklas2img.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkdiff.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkdumpogr.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkannogr.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkdsm2shadow.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkinfo.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkfssvm.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkreclass.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkcreatect.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkascii2ogr.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pksvm.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkfillnodata.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkfilter.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkann.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkreclassogr.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkregann.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkstatascii.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkstatogr.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkstatprofile.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkpolygonize.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkfilterascii.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkextractimg.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkextractogr.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pksieve.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pksvmogr.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkgetmask.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pksetmask.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkdumpimg.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkstat.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkkalman.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkascii2img.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkcomposite.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkegcs.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkoptsvm.dir/all
+CMakeFiles/utilities.dir/all: CMakeFiles/pkcrop.dir/all
+	$(MAKE) -f CMakeFiles/utilities.dir/build.make CMakeFiles/utilities.dir/depend
+	$(MAKE) -f CMakeFiles/utilities.dir/build.make CMakeFiles/utilities.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles 
+	@echo "Built target utilities"
+.PHONY : CMakeFiles/utilities.dir/all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/utilities.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 57
+	$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/utilities.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : CMakeFiles/utilities.dir/rule
+
+# Convenience name for target.
+utilities: CMakeFiles/utilities.dir/rule
+.PHONY : utilities
+
+# clean rule for target.
+CMakeFiles/utilities.dir/clean:
+	$(MAKE) -f CMakeFiles/utilities.dir/build.make CMakeFiles/utilities.dir/clean
+.PHONY : CMakeFiles/utilities.dir/clean
+
+# clean rule for target.
+clean: CMakeFiles/utilities.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Directory level rules for directory src
+
+# Convenience name for "all" pass in the directory.
+src/all: src/CMakeFiles/algorithms.dir/all
+src/all: src/CMakeFiles/base.dir/all
+src/all: src/CMakeFiles/fileClasses.dir/all
+src/all: src/CMakeFiles/imageClasses.dir/all
+src/all: src/CMakeFiles/lasClasses.dir/all
+.PHONY : src/all
+
+# Convenience name for "clean" pass in the directory.
+src/clean: src/CMakeFiles/algorithms.dir/clean
+src/clean: src/CMakeFiles/base.dir/clean
+src/clean: src/CMakeFiles/fileClasses.dir/clean
+src/clean: src/CMakeFiles/imageClasses.dir/clean
+src/clean: src/CMakeFiles/lasClasses.dir/clean
+.PHONY : src/clean
+
+# Convenience name for "preinstall" pass in the directory.
+src/preinstall:
+.PHONY : src/preinstall
+
+#=============================================================================
+# Target rules for target src/CMakeFiles/algorithms.dir
+
+# All Build rule for target.
+src/CMakeFiles/algorithms.dir/all: src/CMakeFiles/imageClasses.dir/all
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/depend
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  1 2 3 4 5 6 7 8
+	@echo "Built target algorithms"
+.PHONY : src/CMakeFiles/algorithms.dir/all
+
+# Include target in all.
+all: src/CMakeFiles/algorithms.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+src/CMakeFiles/algorithms.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 15
+	$(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/algorithms.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : src/CMakeFiles/algorithms.dir/rule
+
+# Convenience name for target.
+algorithms: src/CMakeFiles/algorithms.dir/rule
+.PHONY : algorithms
+
+# clean rule for target.
+src/CMakeFiles/algorithms.dir/clean:
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/clean
+.PHONY : src/CMakeFiles/algorithms.dir/clean
+
+# clean rule for target.
+clean: src/CMakeFiles/algorithms.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target src/CMakeFiles/base.dir
+
+# All Build rule for target.
+src/CMakeFiles/base.dir/all:
+	$(MAKE) -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/depend
+	$(MAKE) -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  9
+	@echo "Built target base"
+.PHONY : src/CMakeFiles/base.dir/all
+
+# Include target in all.
+all: src/CMakeFiles/base.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+src/CMakeFiles/base.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 1
+	$(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/base.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : src/CMakeFiles/base.dir/rule
+
+# Convenience name for target.
+base: src/CMakeFiles/base.dir/rule
+.PHONY : base
+
+# clean rule for target.
+src/CMakeFiles/base.dir/clean:
+	$(MAKE) -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/clean
+.PHONY : src/CMakeFiles/base.dir/clean
+
+# clean rule for target.
+clean: src/CMakeFiles/base.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target src/CMakeFiles/fileClasses.dir
+
+# All Build rule for target.
+src/CMakeFiles/fileClasses.dir/all:
+	$(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/depend
+	$(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  10 11
+	@echo "Built target fileClasses"
+.PHONY : src/CMakeFiles/fileClasses.dir/all
+
+# Include target in all.
+all: src/CMakeFiles/fileClasses.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+src/CMakeFiles/fileClasses.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 2
+	$(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/fileClasses.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : src/CMakeFiles/fileClasses.dir/rule
+
+# Convenience name for target.
+fileClasses: src/CMakeFiles/fileClasses.dir/rule
+.PHONY : fileClasses
+
+# clean rule for target.
+src/CMakeFiles/fileClasses.dir/clean:
+	$(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/clean
+.PHONY : src/CMakeFiles/fileClasses.dir/clean
+
+# clean rule for target.
+clean: src/CMakeFiles/fileClasses.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target src/CMakeFiles/imageClasses.dir
+
+# All Build rule for target.
+src/CMakeFiles/imageClasses.dir/all:
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/depend
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  12 13 14 15 16 17 18
+	@echo "Built target imageClasses"
+.PHONY : src/CMakeFiles/imageClasses.dir/all
+
+# Include target in all.
+all: src/CMakeFiles/imageClasses.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+src/CMakeFiles/imageClasses.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 7
+	$(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/imageClasses.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : src/CMakeFiles/imageClasses.dir/rule
+
+# Convenience name for target.
+imageClasses: src/CMakeFiles/imageClasses.dir/rule
+.PHONY : imageClasses
+
+# clean rule for target.
+src/CMakeFiles/imageClasses.dir/clean:
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/clean
+.PHONY : src/CMakeFiles/imageClasses.dir/clean
+
+# clean rule for target.
+clean: src/CMakeFiles/imageClasses.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Target rules for target src/CMakeFiles/lasClasses.dir
+
+# All Build rule for target.
+src/CMakeFiles/lasClasses.dir/all:
+	$(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/depend
+	$(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/build
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles  19 20
+	@echo "Built target lasClasses"
+.PHONY : src/CMakeFiles/lasClasses.dir/all
+
+# Include target in all.
+all: src/CMakeFiles/lasClasses.dir/all
+.PHONY : all
+
+# Build rule for subdir invocation for target.
+src/CMakeFiles/lasClasses.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 2
+	$(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/lasClasses.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : src/CMakeFiles/lasClasses.dir/rule
+
+# Convenience name for target.
+lasClasses: src/CMakeFiles/lasClasses.dir/rule
+.PHONY : lasClasses
+
+# clean rule for target.
+src/CMakeFiles/lasClasses.dir/clean:
+	$(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/clean
+.PHONY : src/CMakeFiles/lasClasses.dir/clean
+
+# clean rule for target.
+clean: src/CMakeFiles/lasClasses.dir/clean
+.PHONY : clean
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+	$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/build/CMakeFiles/TargetDirectories.txt b/build/CMakeFiles/TargetDirectories.txt
new file mode 100644
index 0000000..c4fb19b
--- /dev/null
+++ b/build/CMakeFiles/TargetDirectories.txt
@@ -0,0 +1,44 @@
+/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir
+/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/dist.dir
+/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir
+/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir
+/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/lasClasses.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkann.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkannogr.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkascii2img.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkascii2ogr.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkcomposite.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkcreatect.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkcrop.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdiff.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdsm2shadow.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdumpimg.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdumpogr.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkegcs.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkextractimg.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkextractogr.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfillnodata.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfilter.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfilterascii.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfilterdem.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfsann.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfssvm.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkgetmask.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkinfo.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkkalman.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pklas2img.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkoptsvm.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkpolygonize.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkreclass.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkreclassogr.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkregann.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pksetmask.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pksieve.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstat.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstatascii.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstatogr.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstatprofile.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pksvm.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/pksvmogr.dir
+/home/kempenep/pktools-2.6.7/build/CMakeFiles/utilities.dir
diff --git a/build/CMakeFiles/cmake.check_cache b/build/CMakeFiles/cmake.check_cache
new file mode 100644
index 0000000..3dccd73
--- /dev/null
+++ b/build/CMakeFiles/cmake.check_cache
@@ -0,0 +1 @@
+# This file is generated by cmake for dependency checking of the CMakeCache.txt file
diff --git a/build/CMakeFiles/dist.dir/DependInfo.cmake b/build/CMakeFiles/dist.dir/DependInfo.cmake
new file mode 100644
index 0000000..8d377cd
--- /dev/null
+++ b/build/CMakeFiles/dist.dir/DependInfo.cmake
@@ -0,0 +1,27 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  )
+# The set of files for implicit dependencies of each language:
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/dist.dir/build.make b/build/CMakeFiles/dist.dir/build.make
new file mode 100644
index 0000000..3f94272
--- /dev/null
+++ b/build/CMakeFiles/dist.dir/build.make
@@ -0,0 +1,66 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Utility rule file for dist.
+
+# Include the progress variables for this target.
+include CMakeFiles/dist.dir/progress.make
+
+CMakeFiles/dist:
+	/usr/bin/make package_source
+
+dist: CMakeFiles/dist
+dist: CMakeFiles/dist.dir/build.make
+.PHONY : dist
+
+# Rule to build all files generated by this target.
+CMakeFiles/dist.dir/build: dist
+.PHONY : CMakeFiles/dist.dir/build
+
+CMakeFiles/dist.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/dist.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/dist.dir/clean
+
+CMakeFiles/dist.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/dist.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/dist.dir/depend
+
diff --git a/build/CMakeFiles/dist.dir/cmake_clean.cmake b/build/CMakeFiles/dist.dir/cmake_clean.cmake
new file mode 100644
index 0000000..829d315
--- /dev/null
+++ b/build/CMakeFiles/dist.dir/cmake_clean.cmake
@@ -0,0 +1,8 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/dist"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang)
+  include(CMakeFiles/dist.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/dist.dir/depend.internal b/build/CMakeFiles/dist.dir/depend.internal
new file mode 100644
index 0000000..7e0ca3d
--- /dev/null
+++ b/build/CMakeFiles/dist.dir/depend.internal
@@ -0,0 +1,3 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
diff --git a/build/CMakeFiles/dist.dir/depend.make b/build/CMakeFiles/dist.dir/depend.make
new file mode 100644
index 0000000..7e0ca3d
--- /dev/null
+++ b/build/CMakeFiles/dist.dir/depend.make
@@ -0,0 +1,3 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
diff --git a/build/CMakeFiles/dist.dir/progress.make b/build/CMakeFiles/dist.dir/progress.make
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/build/CMakeFiles/dist.dir/progress.make
@@ -0,0 +1 @@
+
diff --git a/build/CMakeFiles/pkann.dir/DependInfo.cmake b/build/CMakeFiles/pkann.dir/DependInfo.cmake
new file mode 100644
index 0000000..29720dd
--- /dev/null
+++ b/build/CMakeFiles/pkann.dir/DependInfo.cmake
@@ -0,0 +1,37 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkann.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkann.dir/src/apps/pkann.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/lasClasses.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkann.dir/build.make b/build/CMakeFiles/pkann.dir/build.make
new file mode 100644
index 0000000..c58a952
--- /dev/null
+++ b/build/CMakeFiles/pkann.dir/build.make
@@ -0,0 +1,116 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkann.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkann.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkann.dir/flags.make
+
+CMakeFiles/pkann.dir/src/apps/pkann.cc.o: CMakeFiles/pkann.dir/flags.make
+CMakeFiles/pkann.dir/src/apps/pkann.cc.o: ../src/apps/pkann.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkann.dir/src/apps/pkann.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkann.dir/src/apps/pkann.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkann.cc
+
+CMakeFiles/pkann.dir/src/apps/pkann.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkann.dir/src/apps/pkann.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkann.cc > CMakeFiles/pkann.dir/src/apps/pkann.cc.i
+
+CMakeFiles/pkann.dir/src/apps/pkann.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkann.dir/src/apps/pkann.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkann.cc -o CMakeFiles/pkann.dir/src/apps/pkann.cc.s
+
+CMakeFiles/pkann.dir/src/apps/pkann.cc.o.requires:
+.PHONY : CMakeFiles/pkann.dir/src/apps/pkann.cc.o.requires
+
+CMakeFiles/pkann.dir/src/apps/pkann.cc.o.provides: CMakeFiles/pkann.dir/src/apps/pkann.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/src/apps/pkann.cc.o.provides.build
+.PHONY : CMakeFiles/pkann.dir/src/apps/pkann.cc.o.provides
+
+CMakeFiles/pkann.dir/src/apps/pkann.cc.o.provides.build: CMakeFiles/pkann.dir/src/apps/pkann.cc.o
+
+# Object files for target pkann
+pkann_OBJECTS = \
+"CMakeFiles/pkann.dir/src/apps/pkann.cc.o"
+
+# External object files for target pkann
+pkann_EXTERNAL_OBJECTS =
+
+pkann: CMakeFiles/pkann.dir/src/apps/pkann.cc.o
+pkann: CMakeFiles/pkann.dir/build.make
+pkann: src/libbase.so.1.6.1
+pkann: src/libimageClasses.so.1.6.1
+pkann: src/libfileClasses.so.1.6.1
+pkann: src/libalgorithms.so.1.6.1
+pkann: /usr/lib/libgdal.so
+pkann: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkann: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkann: src/liblasClasses.so.1.6.1
+pkann: /usr/lib/x86_64-linux-gnu/libfloatfann.so
+pkann: /usr/local/lib/liblas.so
+pkann: /usr/local/lib/liblas_c.so
+pkann: src/libimageClasses.so.1.6.1
+pkann: /usr/lib/libgdal.so
+pkann: /usr/lib/libarmadillo.so
+pkann: CMakeFiles/pkann.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkann"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkann.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkann.dir/build: pkann
+.PHONY : CMakeFiles/pkann.dir/build
+
+CMakeFiles/pkann.dir/requires: CMakeFiles/pkann.dir/src/apps/pkann.cc.o.requires
+.PHONY : CMakeFiles/pkann.dir/requires
+
+CMakeFiles/pkann.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkann.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkann.dir/clean
+
+CMakeFiles/pkann.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkann.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkann.dir/depend
+
diff --git a/build/CMakeFiles/pkann.dir/cmake_clean.cmake b/build/CMakeFiles/pkann.dir/cmake_clean.cmake
new file mode 100644
index 0000000..598f9c4
--- /dev/null
+++ b/build/CMakeFiles/pkann.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkann.dir/src/apps/pkann.cc.o"
+  "pkann.pdb"
+  "pkann"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkann.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkann.dir/depend.make b/build/CMakeFiles/pkann.dir/depend.make
new file mode 100644
index 0000000..bb6db15
--- /dev/null
+++ b/build/CMakeFiles/pkann.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkann.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkann.dir/flags.make b/build/CMakeFiles/pkann.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkann.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkann.dir/link.txt b/build/CMakeFiles/pkann.dir/link.txt
new file mode 100644
index 0000000..779a913
--- /dev/null
+++ b/build/CMakeFiles/pkann.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkann.dir/src/apps/pkann.cc.o  -o pkann -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -lfloatfann /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgd [...]
diff --git a/build/CMakeFiles/pkann.dir/progress.make b/build/CMakeFiles/pkann.dir/progress.make
new file mode 100644
index 0000000..b717bb3
--- /dev/null
+++ b/build/CMakeFiles/pkann.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 21
+
diff --git a/build/CMakeFiles/pkannogr.dir/DependInfo.cmake b/build/CMakeFiles/pkannogr.dir/DependInfo.cmake
new file mode 100644
index 0000000..28eccda
--- /dev/null
+++ b/build/CMakeFiles/pkannogr.dir/DependInfo.cmake
@@ -0,0 +1,37 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkannogr.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/lasClasses.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkannogr.dir/build.make b/build/CMakeFiles/pkannogr.dir/build.make
new file mode 100644
index 0000000..58bcdfa
--- /dev/null
+++ b/build/CMakeFiles/pkannogr.dir/build.make
@@ -0,0 +1,116 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkannogr.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkannogr.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkannogr.dir/flags.make
+
+CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o: CMakeFiles/pkannogr.dir/flags.make
+CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o: ../src/apps/pkannogr.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkannogr.cc
+
+CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkannogr.cc > CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.i
+
+CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkannogr.cc -o CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.s
+
+CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.requires:
+.PHONY : CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.requires
+
+CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.provides: CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.provides.build
+.PHONY : CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.provides
+
+CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.provides.build: CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o
+
+# Object files for target pkannogr
+pkannogr_OBJECTS = \
+"CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o"
+
+# External object files for target pkannogr
+pkannogr_EXTERNAL_OBJECTS =
+
+pkannogr: CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o
+pkannogr: CMakeFiles/pkannogr.dir/build.make
+pkannogr: src/libbase.so.1.6.1
+pkannogr: src/libimageClasses.so.1.6.1
+pkannogr: src/libfileClasses.so.1.6.1
+pkannogr: src/libalgorithms.so.1.6.1
+pkannogr: /usr/lib/libgdal.so
+pkannogr: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkannogr: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkannogr: src/liblasClasses.so.1.6.1
+pkannogr: /usr/lib/x86_64-linux-gnu/libfloatfann.so
+pkannogr: /usr/local/lib/liblas.so
+pkannogr: /usr/local/lib/liblas_c.so
+pkannogr: src/libimageClasses.so.1.6.1
+pkannogr: /usr/lib/libgdal.so
+pkannogr: /usr/lib/libarmadillo.so
+pkannogr: CMakeFiles/pkannogr.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkannogr"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkannogr.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkannogr.dir/build: pkannogr
+.PHONY : CMakeFiles/pkannogr.dir/build
+
+CMakeFiles/pkannogr.dir/requires: CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o.requires
+.PHONY : CMakeFiles/pkannogr.dir/requires
+
+CMakeFiles/pkannogr.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkannogr.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkannogr.dir/clean
+
+CMakeFiles/pkannogr.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkannogr.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkannogr.dir/depend
+
diff --git a/build/CMakeFiles/pkannogr.dir/cmake_clean.cmake b/build/CMakeFiles/pkannogr.dir/cmake_clean.cmake
new file mode 100644
index 0000000..2a28c5b
--- /dev/null
+++ b/build/CMakeFiles/pkannogr.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o"
+  "pkannogr.pdb"
+  "pkannogr"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkannogr.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkannogr.dir/depend.make b/build/CMakeFiles/pkannogr.dir/depend.make
new file mode 100644
index 0000000..bfede9d
--- /dev/null
+++ b/build/CMakeFiles/pkannogr.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkannogr.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkannogr.dir/flags.make b/build/CMakeFiles/pkannogr.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkannogr.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkannogr.dir/link.txt b/build/CMakeFiles/pkannogr.dir/link.txt
new file mode 100644
index 0000000..34c8d4e
--- /dev/null
+++ b/build/CMakeFiles/pkannogr.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o  -o pkannogr -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -lfloatfann /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1 [...]
diff --git a/build/CMakeFiles/pkannogr.dir/progress.make b/build/CMakeFiles/pkannogr.dir/progress.make
new file mode 100644
index 0000000..9e6c9ba
--- /dev/null
+++ b/build/CMakeFiles/pkannogr.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 22
+
diff --git a/build/CMakeFiles/pkascii2img.dir/DependInfo.cmake b/build/CMakeFiles/pkascii2img.dir/DependInfo.cmake
new file mode 100644
index 0000000..c1d76b9
--- /dev/null
+++ b/build/CMakeFiles/pkascii2img.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkascii2img.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkascii2img.dir/build.make b/build/CMakeFiles/pkascii2img.dir/build.make
new file mode 100644
index 0000000..e79689e
--- /dev/null
+++ b/build/CMakeFiles/pkascii2img.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkascii2img.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkascii2img.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkascii2img.dir/flags.make
+
+CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o: CMakeFiles/pkascii2img.dir/flags.make
+CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o: ../src/apps/pkascii2img.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkascii2img.cc
+
+CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkascii2img.cc > CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.i
+
+CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkascii2img.cc -o CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.s
+
+CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.requires:
+.PHONY : CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.requires
+
+CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.provides: CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.provides.build
+.PHONY : CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.provides
+
+CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.provides.build: CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o
+
+# Object files for target pkascii2img
+pkascii2img_OBJECTS = \
+"CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o"
+
+# External object files for target pkascii2img
+pkascii2img_EXTERNAL_OBJECTS =
+
+pkascii2img: CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o
+pkascii2img: CMakeFiles/pkascii2img.dir/build.make
+pkascii2img: src/libbase.so.1.6.1
+pkascii2img: src/libimageClasses.so.1.6.1
+pkascii2img: src/libfileClasses.so.1.6.1
+pkascii2img: src/libalgorithms.so.1.6.1
+pkascii2img: /usr/lib/libgdal.so
+pkascii2img: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkascii2img: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkascii2img: /usr/local/lib/liblas.so
+pkascii2img: /usr/local/lib/liblas_c.so
+pkascii2img: src/libimageClasses.so.1.6.1
+pkascii2img: /usr/lib/libgdal.so
+pkascii2img: /usr/lib/libarmadillo.so
+pkascii2img: CMakeFiles/pkascii2img.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkascii2img"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkascii2img.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkascii2img.dir/build: pkascii2img
+.PHONY : CMakeFiles/pkascii2img.dir/build
+
+CMakeFiles/pkascii2img.dir/requires: CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o.requires
+.PHONY : CMakeFiles/pkascii2img.dir/requires
+
+CMakeFiles/pkascii2img.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkascii2img.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkascii2img.dir/clean
+
+CMakeFiles/pkascii2img.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkascii2img.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkascii2img.dir/depend
+
diff --git a/build/CMakeFiles/pkascii2img.dir/cmake_clean.cmake b/build/CMakeFiles/pkascii2img.dir/cmake_clean.cmake
new file mode 100644
index 0000000..1a53782
--- /dev/null
+++ b/build/CMakeFiles/pkascii2img.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o"
+  "pkascii2img.pdb"
+  "pkascii2img"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkascii2img.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkascii2img.dir/depend.make b/build/CMakeFiles/pkascii2img.dir/depend.make
new file mode 100644
index 0000000..56773d5
--- /dev/null
+++ b/build/CMakeFiles/pkascii2img.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkascii2img.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkascii2img.dir/flags.make b/build/CMakeFiles/pkascii2img.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkascii2img.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkascii2img.dir/link.txt b/build/CMakeFiles/pkascii2img.dir/link.txt
new file mode 100644
index 0000000..50c0e96
--- /dev/null
+++ b/build/CMakeFiles/pkascii2img.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o  -o pkascii2img -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl - [...]
diff --git a/build/CMakeFiles/pkascii2img.dir/progress.make b/build/CMakeFiles/pkascii2img.dir/progress.make
new file mode 100644
index 0000000..42585f9
--- /dev/null
+++ b/build/CMakeFiles/pkascii2img.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 23
+
diff --git a/build/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake b/build/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake
new file mode 100644
index 0000000..38d1091
--- /dev/null
+++ b/build/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkascii2ogr.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkascii2ogr.dir/build.make b/build/CMakeFiles/pkascii2ogr.dir/build.make
new file mode 100644
index 0000000..e41be15
--- /dev/null
+++ b/build/CMakeFiles/pkascii2ogr.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkascii2ogr.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkascii2ogr.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkascii2ogr.dir/flags.make
+
+CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o: CMakeFiles/pkascii2ogr.dir/flags.make
+CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o: ../src/apps/pkascii2ogr.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkascii2ogr.cc
+
+CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkascii2ogr.cc > CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.i
+
+CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkascii2ogr.cc -o CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.s
+
+CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.requires:
+.PHONY : CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.requires
+
+CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.provides: CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.provides.build
+.PHONY : CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.provides
+
+CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.provides.build: CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o
+
+# Object files for target pkascii2ogr
+pkascii2ogr_OBJECTS = \
+"CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o"
+
+# External object files for target pkascii2ogr
+pkascii2ogr_EXTERNAL_OBJECTS =
+
+pkascii2ogr: CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o
+pkascii2ogr: CMakeFiles/pkascii2ogr.dir/build.make
+pkascii2ogr: src/libbase.so.1.6.1
+pkascii2ogr: src/libimageClasses.so.1.6.1
+pkascii2ogr: src/libfileClasses.so.1.6.1
+pkascii2ogr: src/libalgorithms.so.1.6.1
+pkascii2ogr: /usr/lib/libgdal.so
+pkascii2ogr: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkascii2ogr: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkascii2ogr: /usr/local/lib/liblas.so
+pkascii2ogr: /usr/local/lib/liblas_c.so
+pkascii2ogr: src/libimageClasses.so.1.6.1
+pkascii2ogr: /usr/lib/libgdal.so
+pkascii2ogr: /usr/lib/libarmadillo.so
+pkascii2ogr: CMakeFiles/pkascii2ogr.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkascii2ogr"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkascii2ogr.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkascii2ogr.dir/build: pkascii2ogr
+.PHONY : CMakeFiles/pkascii2ogr.dir/build
+
+CMakeFiles/pkascii2ogr.dir/requires: CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o.requires
+.PHONY : CMakeFiles/pkascii2ogr.dir/requires
+
+CMakeFiles/pkascii2ogr.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkascii2ogr.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkascii2ogr.dir/clean
+
+CMakeFiles/pkascii2ogr.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkascii2ogr.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkascii2ogr.dir/depend
+
diff --git a/build/CMakeFiles/pkascii2ogr.dir/cmake_clean.cmake b/build/CMakeFiles/pkascii2ogr.dir/cmake_clean.cmake
new file mode 100644
index 0000000..900e433
--- /dev/null
+++ b/build/CMakeFiles/pkascii2ogr.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o"
+  "pkascii2ogr.pdb"
+  "pkascii2ogr"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkascii2ogr.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkascii2ogr.dir/depend.make b/build/CMakeFiles/pkascii2ogr.dir/depend.make
new file mode 100644
index 0000000..ed99595
--- /dev/null
+++ b/build/CMakeFiles/pkascii2ogr.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkascii2ogr.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkascii2ogr.dir/flags.make b/build/CMakeFiles/pkascii2ogr.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkascii2ogr.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkascii2ogr.dir/link.txt b/build/CMakeFiles/pkascii2ogr.dir/link.txt
new file mode 100644
index 0000000..e2861ea
--- /dev/null
+++ b/build/CMakeFiles/pkascii2ogr.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o  -o pkascii2ogr -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl - [...]
diff --git a/build/CMakeFiles/pkascii2ogr.dir/progress.make b/build/CMakeFiles/pkascii2ogr.dir/progress.make
new file mode 100644
index 0000000..44101e1
--- /dev/null
+++ b/build/CMakeFiles/pkascii2ogr.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 24
+
diff --git a/build/CMakeFiles/pkcomposite.dir/DependInfo.cmake b/build/CMakeFiles/pkcomposite.dir/DependInfo.cmake
new file mode 100644
index 0000000..460513c
--- /dev/null
+++ b/build/CMakeFiles/pkcomposite.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkcomposite.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkcomposite.dir/build.make b/build/CMakeFiles/pkcomposite.dir/build.make
new file mode 100644
index 0000000..ec3e6d6
--- /dev/null
+++ b/build/CMakeFiles/pkcomposite.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkcomposite.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkcomposite.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkcomposite.dir/flags.make
+
+CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o: CMakeFiles/pkcomposite.dir/flags.make
+CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o: ../src/apps/pkcomposite.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkcomposite.cc
+
+CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkcomposite.cc > CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.i
+
+CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkcomposite.cc -o CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.s
+
+CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o.requires:
+.PHONY : CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o.requires
+
+CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o.provides: CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o.provides.build
+.PHONY : CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o.provides
+
+CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o.provides.build: CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o
+
+# Object files for target pkcomposite
+pkcomposite_OBJECTS = \
+"CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o"
+
+# External object files for target pkcomposite
+pkcomposite_EXTERNAL_OBJECTS =
+
+pkcomposite: CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o
+pkcomposite: CMakeFiles/pkcomposite.dir/build.make
+pkcomposite: src/libbase.so.1.6.1
+pkcomposite: src/libimageClasses.so.1.6.1
+pkcomposite: src/libfileClasses.so.1.6.1
+pkcomposite: src/libalgorithms.so.1.6.1
+pkcomposite: /usr/lib/libgdal.so
+pkcomposite: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkcomposite: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkcomposite: /usr/local/lib/liblas.so
+pkcomposite: /usr/local/lib/liblas_c.so
+pkcomposite: src/libimageClasses.so.1.6.1
+pkcomposite: /usr/lib/libgdal.so
+pkcomposite: /usr/lib/libarmadillo.so
+pkcomposite: CMakeFiles/pkcomposite.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkcomposite"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkcomposite.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkcomposite.dir/build: pkcomposite
+.PHONY : CMakeFiles/pkcomposite.dir/build
+
+CMakeFiles/pkcomposite.dir/requires: CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o.requires
+.PHONY : CMakeFiles/pkcomposite.dir/requires
+
+CMakeFiles/pkcomposite.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkcomposite.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkcomposite.dir/clean
+
+CMakeFiles/pkcomposite.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkcomposite.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkcomposite.dir/depend
+
diff --git a/build/CMakeFiles/pkcomposite.dir/cmake_clean.cmake b/build/CMakeFiles/pkcomposite.dir/cmake_clean.cmake
new file mode 100644
index 0000000..196dfaa
--- /dev/null
+++ b/build/CMakeFiles/pkcomposite.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o"
+  "pkcomposite.pdb"
+  "pkcomposite"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkcomposite.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkcomposite.dir/depend.make b/build/CMakeFiles/pkcomposite.dir/depend.make
new file mode 100644
index 0000000..9e29105
--- /dev/null
+++ b/build/CMakeFiles/pkcomposite.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkcomposite.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkcomposite.dir/flags.make b/build/CMakeFiles/pkcomposite.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkcomposite.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkcomposite.dir/link.txt b/build/CMakeFiles/pkcomposite.dir/link.txt
new file mode 100644
index 0000000..200b7a1
--- /dev/null
+++ b/build/CMakeFiles/pkcomposite.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o  -o pkcomposite -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl - [...]
diff --git a/build/CMakeFiles/pkcomposite.dir/progress.make b/build/CMakeFiles/pkcomposite.dir/progress.make
new file mode 100644
index 0000000..1c95e00
--- /dev/null
+++ b/build/CMakeFiles/pkcomposite.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 25
+
diff --git a/build/CMakeFiles/pkcreatect.dir/DependInfo.cmake b/build/CMakeFiles/pkcreatect.dir/DependInfo.cmake
new file mode 100644
index 0000000..6101267
--- /dev/null
+++ b/build/CMakeFiles/pkcreatect.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkcreatect.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkcreatect.dir/build.make b/build/CMakeFiles/pkcreatect.dir/build.make
new file mode 100644
index 0000000..dde0d0b
--- /dev/null
+++ b/build/CMakeFiles/pkcreatect.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkcreatect.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkcreatect.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkcreatect.dir/flags.make
+
+CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o: CMakeFiles/pkcreatect.dir/flags.make
+CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o: ../src/apps/pkcreatect.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkcreatect.cc
+
+CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkcreatect.cc > CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.i
+
+CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkcreatect.cc -o CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.s
+
+CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.requires:
+.PHONY : CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.requires
+
+CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.provides: CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.provides.build
+.PHONY : CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.provides
+
+CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.provides.build: CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o
+
+# Object files for target pkcreatect
+pkcreatect_OBJECTS = \
+"CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o"
+
+# External object files for target pkcreatect
+pkcreatect_EXTERNAL_OBJECTS =
+
+pkcreatect: CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o
+pkcreatect: CMakeFiles/pkcreatect.dir/build.make
+pkcreatect: src/libbase.so.1.6.1
+pkcreatect: src/libimageClasses.so.1.6.1
+pkcreatect: src/libfileClasses.so.1.6.1
+pkcreatect: src/libalgorithms.so.1.6.1
+pkcreatect: /usr/lib/libgdal.so
+pkcreatect: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkcreatect: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkcreatect: /usr/local/lib/liblas.so
+pkcreatect: /usr/local/lib/liblas_c.so
+pkcreatect: src/libimageClasses.so.1.6.1
+pkcreatect: /usr/lib/libgdal.so
+pkcreatect: /usr/lib/libarmadillo.so
+pkcreatect: CMakeFiles/pkcreatect.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkcreatect"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkcreatect.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkcreatect.dir/build: pkcreatect
+.PHONY : CMakeFiles/pkcreatect.dir/build
+
+CMakeFiles/pkcreatect.dir/requires: CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o.requires
+.PHONY : CMakeFiles/pkcreatect.dir/requires
+
+CMakeFiles/pkcreatect.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkcreatect.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkcreatect.dir/clean
+
+CMakeFiles/pkcreatect.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkcreatect.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkcreatect.dir/depend
+
diff --git a/build/CMakeFiles/pkcreatect.dir/cmake_clean.cmake b/build/CMakeFiles/pkcreatect.dir/cmake_clean.cmake
new file mode 100644
index 0000000..2a61d39
--- /dev/null
+++ b/build/CMakeFiles/pkcreatect.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o"
+  "pkcreatect.pdb"
+  "pkcreatect"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkcreatect.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkcreatect.dir/depend.make b/build/CMakeFiles/pkcreatect.dir/depend.make
new file mode 100644
index 0000000..4c2eaeb
--- /dev/null
+++ b/build/CMakeFiles/pkcreatect.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkcreatect.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkcreatect.dir/flags.make b/build/CMakeFiles/pkcreatect.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkcreatect.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkcreatect.dir/link.txt b/build/CMakeFiles/pkcreatect.dir/link.txt
new file mode 100644
index 0000000..787c913
--- /dev/null
+++ b/build/CMakeFiles/pkcreatect.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o  -o pkcreatect -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgs [...]
diff --git a/build/CMakeFiles/pkcreatect.dir/progress.make b/build/CMakeFiles/pkcreatect.dir/progress.make
new file mode 100644
index 0000000..fbba2b3
--- /dev/null
+++ b/build/CMakeFiles/pkcreatect.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 26
+
diff --git a/build/CMakeFiles/pkcrop.dir/DependInfo.cmake b/build/CMakeFiles/pkcrop.dir/DependInfo.cmake
new file mode 100644
index 0000000..47498eb
--- /dev/null
+++ b/build/CMakeFiles/pkcrop.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkcrop.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkcrop.dir/build.make b/build/CMakeFiles/pkcrop.dir/build.make
new file mode 100644
index 0000000..20a1080
--- /dev/null
+++ b/build/CMakeFiles/pkcrop.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkcrop.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkcrop.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkcrop.dir/flags.make
+
+CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o: CMakeFiles/pkcrop.dir/flags.make
+CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o: ../src/apps/pkcrop.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkcrop.cc
+
+CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkcrop.cc > CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.i
+
+CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkcrop.cc -o CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.s
+
+CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.requires:
+.PHONY : CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.requires
+
+CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.provides: CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.provides.build
+.PHONY : CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.provides
+
+CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.provides.build: CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o
+
+# Object files for target pkcrop
+pkcrop_OBJECTS = \
+"CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o"
+
+# External object files for target pkcrop
+pkcrop_EXTERNAL_OBJECTS =
+
+pkcrop: CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o
+pkcrop: CMakeFiles/pkcrop.dir/build.make
+pkcrop: src/libbase.so.1.6.1
+pkcrop: src/libimageClasses.so.1.6.1
+pkcrop: src/libfileClasses.so.1.6.1
+pkcrop: src/libalgorithms.so.1.6.1
+pkcrop: /usr/lib/libgdal.so
+pkcrop: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkcrop: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkcrop: /usr/local/lib/liblas.so
+pkcrop: /usr/local/lib/liblas_c.so
+pkcrop: src/libimageClasses.so.1.6.1
+pkcrop: /usr/lib/libgdal.so
+pkcrop: /usr/lib/libarmadillo.so
+pkcrop: CMakeFiles/pkcrop.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkcrop"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkcrop.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkcrop.dir/build: pkcrop
+.PHONY : CMakeFiles/pkcrop.dir/build
+
+CMakeFiles/pkcrop.dir/requires: CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o.requires
+.PHONY : CMakeFiles/pkcrop.dir/requires
+
+CMakeFiles/pkcrop.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkcrop.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkcrop.dir/clean
+
+CMakeFiles/pkcrop.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkcrop.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkcrop.dir/depend
+
diff --git a/build/CMakeFiles/pkcrop.dir/cmake_clean.cmake b/build/CMakeFiles/pkcrop.dir/cmake_clean.cmake
new file mode 100644
index 0000000..51ab785
--- /dev/null
+++ b/build/CMakeFiles/pkcrop.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o"
+  "pkcrop.pdb"
+  "pkcrop"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkcrop.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkcrop.dir/depend.make b/build/CMakeFiles/pkcrop.dir/depend.make
new file mode 100644
index 0000000..bf93e2a
--- /dev/null
+++ b/build/CMakeFiles/pkcrop.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkcrop.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkcrop.dir/flags.make b/build/CMakeFiles/pkcrop.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkcrop.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkcrop.dir/link.txt b/build/CMakeFiles/pkcrop.dir/link.txt
new file mode 100644
index 0000000..56c0df2
--- /dev/null
+++ b/build/CMakeFiles/pkcrop.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o  -o pkcrop -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm - [...]
diff --git a/build/CMakeFiles/pkcrop.dir/progress.make b/build/CMakeFiles/pkcrop.dir/progress.make
new file mode 100644
index 0000000..6e61838
--- /dev/null
+++ b/build/CMakeFiles/pkcrop.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 27
+
diff --git a/build/CMakeFiles/pkdiff.dir/DependInfo.cmake b/build/CMakeFiles/pkdiff.dir/DependInfo.cmake
new file mode 100644
index 0000000..b4f5201
--- /dev/null
+++ b/build/CMakeFiles/pkdiff.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkdiff.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkdiff.dir/build.make b/build/CMakeFiles/pkdiff.dir/build.make
new file mode 100644
index 0000000..21ee50e
--- /dev/null
+++ b/build/CMakeFiles/pkdiff.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkdiff.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkdiff.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkdiff.dir/flags.make
+
+CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o: CMakeFiles/pkdiff.dir/flags.make
+CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o: ../src/apps/pkdiff.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkdiff.cc
+
+CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkdiff.cc > CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.i
+
+CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkdiff.cc -o CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.s
+
+CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.requires:
+.PHONY : CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.requires
+
+CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.provides: CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.provides.build
+.PHONY : CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.provides
+
+CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.provides.build: CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o
+
+# Object files for target pkdiff
+pkdiff_OBJECTS = \
+"CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o"
+
+# External object files for target pkdiff
+pkdiff_EXTERNAL_OBJECTS =
+
+pkdiff: CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o
+pkdiff: CMakeFiles/pkdiff.dir/build.make
+pkdiff: src/libbase.so.1.6.1
+pkdiff: src/libimageClasses.so.1.6.1
+pkdiff: src/libfileClasses.so.1.6.1
+pkdiff: src/libalgorithms.so.1.6.1
+pkdiff: /usr/lib/libgdal.so
+pkdiff: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkdiff: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkdiff: /usr/local/lib/liblas.so
+pkdiff: /usr/local/lib/liblas_c.so
+pkdiff: src/libimageClasses.so.1.6.1
+pkdiff: /usr/lib/libgdal.so
+pkdiff: /usr/lib/libarmadillo.so
+pkdiff: CMakeFiles/pkdiff.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkdiff"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkdiff.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkdiff.dir/build: pkdiff
+.PHONY : CMakeFiles/pkdiff.dir/build
+
+CMakeFiles/pkdiff.dir/requires: CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o.requires
+.PHONY : CMakeFiles/pkdiff.dir/requires
+
+CMakeFiles/pkdiff.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkdiff.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkdiff.dir/clean
+
+CMakeFiles/pkdiff.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdiff.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkdiff.dir/depend
+
diff --git a/build/CMakeFiles/pkdiff.dir/cmake_clean.cmake b/build/CMakeFiles/pkdiff.dir/cmake_clean.cmake
new file mode 100644
index 0000000..f7e031b
--- /dev/null
+++ b/build/CMakeFiles/pkdiff.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o"
+  "pkdiff.pdb"
+  "pkdiff"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkdiff.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkdiff.dir/depend.make b/build/CMakeFiles/pkdiff.dir/depend.make
new file mode 100644
index 0000000..59bc891
--- /dev/null
+++ b/build/CMakeFiles/pkdiff.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkdiff.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkdiff.dir/flags.make b/build/CMakeFiles/pkdiff.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkdiff.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkdiff.dir/link.txt b/build/CMakeFiles/pkdiff.dir/link.txt
new file mode 100644
index 0000000..0672f26
--- /dev/null
+++ b/build/CMakeFiles/pkdiff.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o  -o pkdiff -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm - [...]
diff --git a/build/CMakeFiles/pkdiff.dir/progress.make b/build/CMakeFiles/pkdiff.dir/progress.make
new file mode 100644
index 0000000..f3290ad
--- /dev/null
+++ b/build/CMakeFiles/pkdiff.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 28
+
diff --git a/build/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake b/build/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake
new file mode 100644
index 0000000..d7b2c20
--- /dev/null
+++ b/build/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkdsm2shadow.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkdsm2shadow.dir/build.make b/build/CMakeFiles/pkdsm2shadow.dir/build.make
new file mode 100644
index 0000000..af35e5d
--- /dev/null
+++ b/build/CMakeFiles/pkdsm2shadow.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkdsm2shadow.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkdsm2shadow.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkdsm2shadow.dir/flags.make
+
+CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o: CMakeFiles/pkdsm2shadow.dir/flags.make
+CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o: ../src/apps/pkdsm2shadow.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkdsm2shadow.cc
+
+CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkdsm2shadow.cc > CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.i
+
+CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkdsm2shadow.cc -o CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.s
+
+CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.requires:
+.PHONY : CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.requires
+
+CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.provides: CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.provides.build
+.PHONY : CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.provides
+
+CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.provides.build: CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o
+
+# Object files for target pkdsm2shadow
+pkdsm2shadow_OBJECTS = \
+"CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o"
+
+# External object files for target pkdsm2shadow
+pkdsm2shadow_EXTERNAL_OBJECTS =
+
+pkdsm2shadow: CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o
+pkdsm2shadow: CMakeFiles/pkdsm2shadow.dir/build.make
+pkdsm2shadow: src/libbase.so.1.6.1
+pkdsm2shadow: src/libimageClasses.so.1.6.1
+pkdsm2shadow: src/libfileClasses.so.1.6.1
+pkdsm2shadow: src/libalgorithms.so.1.6.1
+pkdsm2shadow: /usr/lib/libgdal.so
+pkdsm2shadow: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkdsm2shadow: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkdsm2shadow: /usr/local/lib/liblas.so
+pkdsm2shadow: /usr/local/lib/liblas_c.so
+pkdsm2shadow: src/libimageClasses.so.1.6.1
+pkdsm2shadow: /usr/lib/libgdal.so
+pkdsm2shadow: /usr/lib/libarmadillo.so
+pkdsm2shadow: CMakeFiles/pkdsm2shadow.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkdsm2shadow"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkdsm2shadow.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkdsm2shadow.dir/build: pkdsm2shadow
+.PHONY : CMakeFiles/pkdsm2shadow.dir/build
+
+CMakeFiles/pkdsm2shadow.dir/requires: CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o.requires
+.PHONY : CMakeFiles/pkdsm2shadow.dir/requires
+
+CMakeFiles/pkdsm2shadow.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkdsm2shadow.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkdsm2shadow.dir/clean
+
+CMakeFiles/pkdsm2shadow.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdsm2shadow.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkdsm2shadow.dir/depend
+
diff --git a/build/CMakeFiles/pkdsm2shadow.dir/cmake_clean.cmake b/build/CMakeFiles/pkdsm2shadow.dir/cmake_clean.cmake
new file mode 100644
index 0000000..59da461
--- /dev/null
+++ b/build/CMakeFiles/pkdsm2shadow.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o"
+  "pkdsm2shadow.pdb"
+  "pkdsm2shadow"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkdsm2shadow.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkdsm2shadow.dir/depend.make b/build/CMakeFiles/pkdsm2shadow.dir/depend.make
new file mode 100644
index 0000000..386f447
--- /dev/null
+++ b/build/CMakeFiles/pkdsm2shadow.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkdsm2shadow.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkdsm2shadow.dir/flags.make b/build/CMakeFiles/pkdsm2shadow.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkdsm2shadow.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkdsm2shadow.dir/link.txt b/build/CMakeFiles/pkdsm2shadow.dir/link.txt
new file mode 100644
index 0000000..bdb00d6
--- /dev/null
+++ b/build/CMakeFiles/pkdsm2shadow.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o  -o pkdsm2shadow -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgs [...]
diff --git a/build/CMakeFiles/pkdsm2shadow.dir/progress.make b/build/CMakeFiles/pkdsm2shadow.dir/progress.make
new file mode 100644
index 0000000..c7c4328
--- /dev/null
+++ b/build/CMakeFiles/pkdsm2shadow.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 29
+
diff --git a/build/CMakeFiles/pkdumpimg.dir/DependInfo.cmake b/build/CMakeFiles/pkdumpimg.dir/DependInfo.cmake
new file mode 100644
index 0000000..9ffd4de
--- /dev/null
+++ b/build/CMakeFiles/pkdumpimg.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkdumpimg.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkdumpimg.dir/build.make b/build/CMakeFiles/pkdumpimg.dir/build.make
new file mode 100644
index 0000000..1712754
--- /dev/null
+++ b/build/CMakeFiles/pkdumpimg.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkdumpimg.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkdumpimg.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkdumpimg.dir/flags.make
+
+CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o: CMakeFiles/pkdumpimg.dir/flags.make
+CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o: ../src/apps/pkdumpimg.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkdumpimg.cc
+
+CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkdumpimg.cc > CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.i
+
+CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkdumpimg.cc -o CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.s
+
+CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.requires:
+.PHONY : CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.requires
+
+CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.provides: CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.provides.build
+.PHONY : CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.provides
+
+CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.provides.build: CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o
+
+# Object files for target pkdumpimg
+pkdumpimg_OBJECTS = \
+"CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o"
+
+# External object files for target pkdumpimg
+pkdumpimg_EXTERNAL_OBJECTS =
+
+pkdumpimg: CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o
+pkdumpimg: CMakeFiles/pkdumpimg.dir/build.make
+pkdumpimg: src/libbase.so.1.6.1
+pkdumpimg: src/libimageClasses.so.1.6.1
+pkdumpimg: src/libfileClasses.so.1.6.1
+pkdumpimg: src/libalgorithms.so.1.6.1
+pkdumpimg: /usr/lib/libgdal.so
+pkdumpimg: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkdumpimg: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkdumpimg: /usr/local/lib/liblas.so
+pkdumpimg: /usr/local/lib/liblas_c.so
+pkdumpimg: src/libimageClasses.so.1.6.1
+pkdumpimg: /usr/lib/libgdal.so
+pkdumpimg: /usr/lib/libarmadillo.so
+pkdumpimg: CMakeFiles/pkdumpimg.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkdumpimg"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkdumpimg.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkdumpimg.dir/build: pkdumpimg
+.PHONY : CMakeFiles/pkdumpimg.dir/build
+
+CMakeFiles/pkdumpimg.dir/requires: CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o.requires
+.PHONY : CMakeFiles/pkdumpimg.dir/requires
+
+CMakeFiles/pkdumpimg.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkdumpimg.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkdumpimg.dir/clean
+
+CMakeFiles/pkdumpimg.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdumpimg.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkdumpimg.dir/depend
+
diff --git a/build/CMakeFiles/pkdumpimg.dir/cmake_clean.cmake b/build/CMakeFiles/pkdumpimg.dir/cmake_clean.cmake
new file mode 100644
index 0000000..e80afc3
--- /dev/null
+++ b/build/CMakeFiles/pkdumpimg.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o"
+  "pkdumpimg.pdb"
+  "pkdumpimg"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkdumpimg.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkdumpimg.dir/depend.make b/build/CMakeFiles/pkdumpimg.dir/depend.make
new file mode 100644
index 0000000..49c1934
--- /dev/null
+++ b/build/CMakeFiles/pkdumpimg.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkdumpimg.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkdumpimg.dir/flags.make b/build/CMakeFiles/pkdumpimg.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkdumpimg.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkdumpimg.dir/link.txt b/build/CMakeFiles/pkdumpimg.dir/link.txt
new file mode 100644
index 0000000..20872bc
--- /dev/null
+++ b/build/CMakeFiles/pkdumpimg.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o  -o pkdumpimg -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcb [...]
diff --git a/build/CMakeFiles/pkdumpimg.dir/progress.make b/build/CMakeFiles/pkdumpimg.dir/progress.make
new file mode 100644
index 0000000..3040898
--- /dev/null
+++ b/build/CMakeFiles/pkdumpimg.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 30
+
diff --git a/build/CMakeFiles/pkdumpogr.dir/DependInfo.cmake b/build/CMakeFiles/pkdumpogr.dir/DependInfo.cmake
new file mode 100644
index 0000000..5698f71
--- /dev/null
+++ b/build/CMakeFiles/pkdumpogr.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkdumpogr.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkdumpogr.dir/build.make b/build/CMakeFiles/pkdumpogr.dir/build.make
new file mode 100644
index 0000000..2f336d9
--- /dev/null
+++ b/build/CMakeFiles/pkdumpogr.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkdumpogr.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkdumpogr.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkdumpogr.dir/flags.make
+
+CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o: CMakeFiles/pkdumpogr.dir/flags.make
+CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o: ../src/apps/pkdumpogr.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkdumpogr.cc
+
+CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkdumpogr.cc > CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.i
+
+CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkdumpogr.cc -o CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.s
+
+CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.requires:
+.PHONY : CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.requires
+
+CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.provides: CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.provides.build
+.PHONY : CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.provides
+
+CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.provides.build: CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o
+
+# Object files for target pkdumpogr
+pkdumpogr_OBJECTS = \
+"CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o"
+
+# External object files for target pkdumpogr
+pkdumpogr_EXTERNAL_OBJECTS =
+
+pkdumpogr: CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o
+pkdumpogr: CMakeFiles/pkdumpogr.dir/build.make
+pkdumpogr: src/libbase.so.1.6.1
+pkdumpogr: src/libimageClasses.so.1.6.1
+pkdumpogr: src/libfileClasses.so.1.6.1
+pkdumpogr: src/libalgorithms.so.1.6.1
+pkdumpogr: /usr/lib/libgdal.so
+pkdumpogr: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkdumpogr: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkdumpogr: /usr/local/lib/liblas.so
+pkdumpogr: /usr/local/lib/liblas_c.so
+pkdumpogr: src/libimageClasses.so.1.6.1
+pkdumpogr: /usr/lib/libgdal.so
+pkdumpogr: /usr/lib/libarmadillo.so
+pkdumpogr: CMakeFiles/pkdumpogr.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkdumpogr"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkdumpogr.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkdumpogr.dir/build: pkdumpogr
+.PHONY : CMakeFiles/pkdumpogr.dir/build
+
+CMakeFiles/pkdumpogr.dir/requires: CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o.requires
+.PHONY : CMakeFiles/pkdumpogr.dir/requires
+
+CMakeFiles/pkdumpogr.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkdumpogr.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkdumpogr.dir/clean
+
+CMakeFiles/pkdumpogr.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkdumpogr.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkdumpogr.dir/depend
+
diff --git a/build/CMakeFiles/pkdumpogr.dir/cmake_clean.cmake b/build/CMakeFiles/pkdumpogr.dir/cmake_clean.cmake
new file mode 100644
index 0000000..0c3e5d9
--- /dev/null
+++ b/build/CMakeFiles/pkdumpogr.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o"
+  "pkdumpogr.pdb"
+  "pkdumpogr"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkdumpogr.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkdumpogr.dir/depend.make b/build/CMakeFiles/pkdumpogr.dir/depend.make
new file mode 100644
index 0000000..ab87fde
--- /dev/null
+++ b/build/CMakeFiles/pkdumpogr.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkdumpogr.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkdumpogr.dir/flags.make b/build/CMakeFiles/pkdumpogr.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkdumpogr.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkdumpogr.dir/link.txt b/build/CMakeFiles/pkdumpogr.dir/link.txt
new file mode 100644
index 0000000..3f3f28b
--- /dev/null
+++ b/build/CMakeFiles/pkdumpogr.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o  -o pkdumpogr -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcb [...]
diff --git a/build/CMakeFiles/pkdumpogr.dir/progress.make b/build/CMakeFiles/pkdumpogr.dir/progress.make
new file mode 100644
index 0000000..a3100dd
--- /dev/null
+++ b/build/CMakeFiles/pkdumpogr.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 31
+
diff --git a/build/CMakeFiles/pkegcs.dir/DependInfo.cmake b/build/CMakeFiles/pkegcs.dir/DependInfo.cmake
new file mode 100644
index 0000000..cd89858
--- /dev/null
+++ b/build/CMakeFiles/pkegcs.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkegcs.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkegcs.dir/build.make b/build/CMakeFiles/pkegcs.dir/build.make
new file mode 100644
index 0000000..0b1fb9f
--- /dev/null
+++ b/build/CMakeFiles/pkegcs.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkegcs.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkegcs.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkegcs.dir/flags.make
+
+CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o: CMakeFiles/pkegcs.dir/flags.make
+CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o: ../src/apps/pkegcs.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkegcs.cc
+
+CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkegcs.cc > CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.i
+
+CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkegcs.cc -o CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.s
+
+CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.requires:
+.PHONY : CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.requires
+
+CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.provides: CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.provides.build
+.PHONY : CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.provides
+
+CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.provides.build: CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o
+
+# Object files for target pkegcs
+pkegcs_OBJECTS = \
+"CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o"
+
+# External object files for target pkegcs
+pkegcs_EXTERNAL_OBJECTS =
+
+pkegcs: CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o
+pkegcs: CMakeFiles/pkegcs.dir/build.make
+pkegcs: src/libbase.so.1.6.1
+pkegcs: src/libimageClasses.so.1.6.1
+pkegcs: src/libfileClasses.so.1.6.1
+pkegcs: src/libalgorithms.so.1.6.1
+pkegcs: /usr/lib/libgdal.so
+pkegcs: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkegcs: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkegcs: /usr/local/lib/liblas.so
+pkegcs: /usr/local/lib/liblas_c.so
+pkegcs: src/libimageClasses.so.1.6.1
+pkegcs: /usr/lib/libgdal.so
+pkegcs: /usr/lib/libarmadillo.so
+pkegcs: CMakeFiles/pkegcs.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkegcs"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkegcs.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkegcs.dir/build: pkegcs
+.PHONY : CMakeFiles/pkegcs.dir/build
+
+CMakeFiles/pkegcs.dir/requires: CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o.requires
+.PHONY : CMakeFiles/pkegcs.dir/requires
+
+CMakeFiles/pkegcs.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkegcs.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkegcs.dir/clean
+
+CMakeFiles/pkegcs.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkegcs.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkegcs.dir/depend
+
diff --git a/build/CMakeFiles/pkegcs.dir/cmake_clean.cmake b/build/CMakeFiles/pkegcs.dir/cmake_clean.cmake
new file mode 100644
index 0000000..f191068
--- /dev/null
+++ b/build/CMakeFiles/pkegcs.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o"
+  "pkegcs.pdb"
+  "pkegcs"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkegcs.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkegcs.dir/depend.make b/build/CMakeFiles/pkegcs.dir/depend.make
new file mode 100644
index 0000000..70bb3ef
--- /dev/null
+++ b/build/CMakeFiles/pkegcs.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkegcs.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkegcs.dir/flags.make b/build/CMakeFiles/pkegcs.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkegcs.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkegcs.dir/link.txt b/build/CMakeFiles/pkegcs.dir/link.txt
new file mode 100644
index 0000000..3b05957
--- /dev/null
+++ b/build/CMakeFiles/pkegcs.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o  -o pkegcs -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm - [...]
diff --git a/build/CMakeFiles/pkegcs.dir/progress.make b/build/CMakeFiles/pkegcs.dir/progress.make
new file mode 100644
index 0000000..044b5ab
--- /dev/null
+++ b/build/CMakeFiles/pkegcs.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 32
+
diff --git a/build/CMakeFiles/pkextractimg.dir/DependInfo.cmake b/build/CMakeFiles/pkextractimg.dir/DependInfo.cmake
new file mode 100644
index 0000000..7e92cd1
--- /dev/null
+++ b/build/CMakeFiles/pkextractimg.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkextractimg.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkextractimg.dir/build.make b/build/CMakeFiles/pkextractimg.dir/build.make
new file mode 100644
index 0000000..8328e10
--- /dev/null
+++ b/build/CMakeFiles/pkextractimg.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkextractimg.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkextractimg.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkextractimg.dir/flags.make
+
+CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o: CMakeFiles/pkextractimg.dir/flags.make
+CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o: ../src/apps/pkextractimg.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkextractimg.cc
+
+CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkextractimg.cc > CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.i
+
+CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkextractimg.cc -o CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.s
+
+CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.requires:
+.PHONY : CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.requires
+
+CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.provides: CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.provides.build
+.PHONY : CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.provides
+
+CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.provides.build: CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o
+
+# Object files for target pkextractimg
+pkextractimg_OBJECTS = \
+"CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o"
+
+# External object files for target pkextractimg
+pkextractimg_EXTERNAL_OBJECTS =
+
+pkextractimg: CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o
+pkextractimg: CMakeFiles/pkextractimg.dir/build.make
+pkextractimg: src/libbase.so.1.6.1
+pkextractimg: src/libimageClasses.so.1.6.1
+pkextractimg: src/libfileClasses.so.1.6.1
+pkextractimg: src/libalgorithms.so.1.6.1
+pkextractimg: /usr/lib/libgdal.so
+pkextractimg: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkextractimg: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkextractimg: /usr/local/lib/liblas.so
+pkextractimg: /usr/local/lib/liblas_c.so
+pkextractimg: src/libimageClasses.so.1.6.1
+pkextractimg: /usr/lib/libgdal.so
+pkextractimg: /usr/lib/libarmadillo.so
+pkextractimg: CMakeFiles/pkextractimg.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkextractimg"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkextractimg.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkextractimg.dir/build: pkextractimg
+.PHONY : CMakeFiles/pkextractimg.dir/build
+
+CMakeFiles/pkextractimg.dir/requires: CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o.requires
+.PHONY : CMakeFiles/pkextractimg.dir/requires
+
+CMakeFiles/pkextractimg.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkextractimg.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkextractimg.dir/clean
+
+CMakeFiles/pkextractimg.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkextractimg.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkextractimg.dir/depend
+
diff --git a/build/CMakeFiles/pkextractimg.dir/cmake_clean.cmake b/build/CMakeFiles/pkextractimg.dir/cmake_clean.cmake
new file mode 100644
index 0000000..43987b4
--- /dev/null
+++ b/build/CMakeFiles/pkextractimg.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o"
+  "pkextractimg.pdb"
+  "pkextractimg"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkextractimg.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkextractimg.dir/depend.make b/build/CMakeFiles/pkextractimg.dir/depend.make
new file mode 100644
index 0000000..7c0dcfb
--- /dev/null
+++ b/build/CMakeFiles/pkextractimg.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkextractimg.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkextractimg.dir/flags.make b/build/CMakeFiles/pkextractimg.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkextractimg.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkextractimg.dir/link.txt b/build/CMakeFiles/pkextractimg.dir/link.txt
new file mode 100644
index 0000000..c9b2a0e
--- /dev/null
+++ b/build/CMakeFiles/pkextractimg.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o  -o pkextractimg -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgs [...]
diff --git a/build/CMakeFiles/pkextractimg.dir/progress.make b/build/CMakeFiles/pkextractimg.dir/progress.make
new file mode 100644
index 0000000..5113372
--- /dev/null
+++ b/build/CMakeFiles/pkextractimg.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 33
+
diff --git a/build/CMakeFiles/pkextractogr.dir/DependInfo.cmake b/build/CMakeFiles/pkextractogr.dir/DependInfo.cmake
new file mode 100644
index 0000000..e697184
--- /dev/null
+++ b/build/CMakeFiles/pkextractogr.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkextractogr.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkextractogr.dir/build.make b/build/CMakeFiles/pkextractogr.dir/build.make
new file mode 100644
index 0000000..f57b673
--- /dev/null
+++ b/build/CMakeFiles/pkextractogr.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkextractogr.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkextractogr.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkextractogr.dir/flags.make
+
+CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o: CMakeFiles/pkextractogr.dir/flags.make
+CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o: ../src/apps/pkextractogr.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkextractogr.cc
+
+CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkextractogr.cc > CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.i
+
+CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkextractogr.cc -o CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.s
+
+CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.requires:
+.PHONY : CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.requires
+
+CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.provides: CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.provides.build
+.PHONY : CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.provides
+
+CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.provides.build: CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o
+
+# Object files for target pkextractogr
+pkextractogr_OBJECTS = \
+"CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o"
+
+# External object files for target pkextractogr
+pkextractogr_EXTERNAL_OBJECTS =
+
+pkextractogr: CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o
+pkextractogr: CMakeFiles/pkextractogr.dir/build.make
+pkextractogr: src/libbase.so.1.6.1
+pkextractogr: src/libimageClasses.so.1.6.1
+pkextractogr: src/libfileClasses.so.1.6.1
+pkextractogr: src/libalgorithms.so.1.6.1
+pkextractogr: /usr/lib/libgdal.so
+pkextractogr: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkextractogr: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkextractogr: /usr/local/lib/liblas.so
+pkextractogr: /usr/local/lib/liblas_c.so
+pkextractogr: src/libimageClasses.so.1.6.1
+pkextractogr: /usr/lib/libgdal.so
+pkextractogr: /usr/lib/libarmadillo.so
+pkextractogr: CMakeFiles/pkextractogr.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkextractogr"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkextractogr.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkextractogr.dir/build: pkextractogr
+.PHONY : CMakeFiles/pkextractogr.dir/build
+
+CMakeFiles/pkextractogr.dir/requires: CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o.requires
+.PHONY : CMakeFiles/pkextractogr.dir/requires
+
+CMakeFiles/pkextractogr.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkextractogr.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkextractogr.dir/clean
+
+CMakeFiles/pkextractogr.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkextractogr.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkextractogr.dir/depend
+
diff --git a/build/CMakeFiles/pkextractogr.dir/cmake_clean.cmake b/build/CMakeFiles/pkextractogr.dir/cmake_clean.cmake
new file mode 100644
index 0000000..d12cdf4
--- /dev/null
+++ b/build/CMakeFiles/pkextractogr.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o"
+  "pkextractogr.pdb"
+  "pkextractogr"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkextractogr.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkextractogr.dir/depend.make b/build/CMakeFiles/pkextractogr.dir/depend.make
new file mode 100644
index 0000000..4e9b292
--- /dev/null
+++ b/build/CMakeFiles/pkextractogr.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkextractogr.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkextractogr.dir/flags.make b/build/CMakeFiles/pkextractogr.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkextractogr.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkextractogr.dir/link.txt b/build/CMakeFiles/pkextractogr.dir/link.txt
new file mode 100644
index 0000000..b8b9982
--- /dev/null
+++ b/build/CMakeFiles/pkextractogr.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o  -o pkextractogr -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgs [...]
diff --git a/build/CMakeFiles/pkextractogr.dir/progress.make b/build/CMakeFiles/pkextractogr.dir/progress.make
new file mode 100644
index 0000000..49a8b31
--- /dev/null
+++ b/build/CMakeFiles/pkextractogr.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 34
+
diff --git a/build/CMakeFiles/pkfillnodata.dir/DependInfo.cmake b/build/CMakeFiles/pkfillnodata.dir/DependInfo.cmake
new file mode 100644
index 0000000..a9260b5
--- /dev/null
+++ b/build/CMakeFiles/pkfillnodata.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkfillnodata.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkfillnodata.dir/build.make b/build/CMakeFiles/pkfillnodata.dir/build.make
new file mode 100644
index 0000000..d2e8a07
--- /dev/null
+++ b/build/CMakeFiles/pkfillnodata.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkfillnodata.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkfillnodata.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkfillnodata.dir/flags.make
+
+CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o: CMakeFiles/pkfillnodata.dir/flags.make
+CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o: ../src/apps/pkfillnodata.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkfillnodata.cc
+
+CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkfillnodata.cc > CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.i
+
+CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkfillnodata.cc -o CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.s
+
+CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.requires:
+.PHONY : CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.requires
+
+CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.provides: CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.provides.build
+.PHONY : CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.provides
+
+CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.provides.build: CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o
+
+# Object files for target pkfillnodata
+pkfillnodata_OBJECTS = \
+"CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o"
+
+# External object files for target pkfillnodata
+pkfillnodata_EXTERNAL_OBJECTS =
+
+pkfillnodata: CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o
+pkfillnodata: CMakeFiles/pkfillnodata.dir/build.make
+pkfillnodata: src/libbase.so.1.6.1
+pkfillnodata: src/libimageClasses.so.1.6.1
+pkfillnodata: src/libfileClasses.so.1.6.1
+pkfillnodata: src/libalgorithms.so.1.6.1
+pkfillnodata: /usr/lib/libgdal.so
+pkfillnodata: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkfillnodata: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkfillnodata: /usr/local/lib/liblas.so
+pkfillnodata: /usr/local/lib/liblas_c.so
+pkfillnodata: src/libimageClasses.so.1.6.1
+pkfillnodata: /usr/lib/libgdal.so
+pkfillnodata: /usr/lib/libarmadillo.so
+pkfillnodata: CMakeFiles/pkfillnodata.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkfillnodata"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkfillnodata.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkfillnodata.dir/build: pkfillnodata
+.PHONY : CMakeFiles/pkfillnodata.dir/build
+
+CMakeFiles/pkfillnodata.dir/requires: CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o.requires
+.PHONY : CMakeFiles/pkfillnodata.dir/requires
+
+CMakeFiles/pkfillnodata.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkfillnodata.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkfillnodata.dir/clean
+
+CMakeFiles/pkfillnodata.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfillnodata.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkfillnodata.dir/depend
+
diff --git a/build/CMakeFiles/pkfillnodata.dir/cmake_clean.cmake b/build/CMakeFiles/pkfillnodata.dir/cmake_clean.cmake
new file mode 100644
index 0000000..7aae8a6
--- /dev/null
+++ b/build/CMakeFiles/pkfillnodata.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o"
+  "pkfillnodata.pdb"
+  "pkfillnodata"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkfillnodata.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkfillnodata.dir/depend.make b/build/CMakeFiles/pkfillnodata.dir/depend.make
new file mode 100644
index 0000000..d45d594
--- /dev/null
+++ b/build/CMakeFiles/pkfillnodata.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkfillnodata.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkfillnodata.dir/flags.make b/build/CMakeFiles/pkfillnodata.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkfillnodata.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkfillnodata.dir/link.txt b/build/CMakeFiles/pkfillnodata.dir/link.txt
new file mode 100644
index 0000000..63bb5d4
--- /dev/null
+++ b/build/CMakeFiles/pkfillnodata.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o  -o pkfillnodata -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgs [...]
diff --git a/build/CMakeFiles/pkfillnodata.dir/progress.make b/build/CMakeFiles/pkfillnodata.dir/progress.make
new file mode 100644
index 0000000..7fc5417
--- /dev/null
+++ b/build/CMakeFiles/pkfillnodata.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 35
+
diff --git a/build/CMakeFiles/pkfilter.dir/DependInfo.cmake b/build/CMakeFiles/pkfilter.dir/DependInfo.cmake
new file mode 100644
index 0000000..7104139
--- /dev/null
+++ b/build/CMakeFiles/pkfilter.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkfilter.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkfilter.dir/build.make b/build/CMakeFiles/pkfilter.dir/build.make
new file mode 100644
index 0000000..fe5ed38
--- /dev/null
+++ b/build/CMakeFiles/pkfilter.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkfilter.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkfilter.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkfilter.dir/flags.make
+
+CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o: CMakeFiles/pkfilter.dir/flags.make
+CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o: ../src/apps/pkfilter.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkfilter.cc
+
+CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkfilter.cc > CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.i
+
+CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkfilter.cc -o CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.s
+
+CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.requires:
+.PHONY : CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.requires
+
+CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.provides: CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.provides.build
+.PHONY : CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.provides
+
+CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.provides.build: CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o
+
+# Object files for target pkfilter
+pkfilter_OBJECTS = \
+"CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o"
+
+# External object files for target pkfilter
+pkfilter_EXTERNAL_OBJECTS =
+
+pkfilter: CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o
+pkfilter: CMakeFiles/pkfilter.dir/build.make
+pkfilter: src/libbase.so.1.6.1
+pkfilter: src/libimageClasses.so.1.6.1
+pkfilter: src/libfileClasses.so.1.6.1
+pkfilter: src/libalgorithms.so.1.6.1
+pkfilter: /usr/lib/libgdal.so
+pkfilter: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkfilter: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkfilter: /usr/local/lib/liblas.so
+pkfilter: /usr/local/lib/liblas_c.so
+pkfilter: src/libimageClasses.so.1.6.1
+pkfilter: /usr/lib/libgdal.so
+pkfilter: /usr/lib/libarmadillo.so
+pkfilter: CMakeFiles/pkfilter.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkfilter"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkfilter.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkfilter.dir/build: pkfilter
+.PHONY : CMakeFiles/pkfilter.dir/build
+
+CMakeFiles/pkfilter.dir/requires: CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o.requires
+.PHONY : CMakeFiles/pkfilter.dir/requires
+
+CMakeFiles/pkfilter.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkfilter.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkfilter.dir/clean
+
+CMakeFiles/pkfilter.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfilter.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkfilter.dir/depend
+
diff --git a/build/CMakeFiles/pkfilter.dir/cmake_clean.cmake b/build/CMakeFiles/pkfilter.dir/cmake_clean.cmake
new file mode 100644
index 0000000..4610d5e
--- /dev/null
+++ b/build/CMakeFiles/pkfilter.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o"
+  "pkfilter.pdb"
+  "pkfilter"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkfilter.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkfilter.dir/depend.make b/build/CMakeFiles/pkfilter.dir/depend.make
new file mode 100644
index 0000000..e47acee
--- /dev/null
+++ b/build/CMakeFiles/pkfilter.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkfilter.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkfilter.dir/flags.make b/build/CMakeFiles/pkfilter.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkfilter.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkfilter.dir/link.txt b/build/CMakeFiles/pkfilter.dir/link.txt
new file mode 100644
index 0000000..2d7cdb5
--- /dev/null
+++ b/build/CMakeFiles/pkfilter.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o  -o pkfilter -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas [...]
diff --git a/build/CMakeFiles/pkfilter.dir/progress.make b/build/CMakeFiles/pkfilter.dir/progress.make
new file mode 100644
index 0000000..9e6c9e4
--- /dev/null
+++ b/build/CMakeFiles/pkfilter.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 36
+
diff --git a/build/CMakeFiles/pkfilterascii.dir/DependInfo.cmake b/build/CMakeFiles/pkfilterascii.dir/DependInfo.cmake
new file mode 100644
index 0000000..5aa6c69
--- /dev/null
+++ b/build/CMakeFiles/pkfilterascii.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkfilterascii.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkfilterascii.dir/build.make b/build/CMakeFiles/pkfilterascii.dir/build.make
new file mode 100644
index 0000000..7054d19
--- /dev/null
+++ b/build/CMakeFiles/pkfilterascii.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkfilterascii.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkfilterascii.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkfilterascii.dir/flags.make
+
+CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o: CMakeFiles/pkfilterascii.dir/flags.make
+CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o: ../src/apps/pkfilterascii.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkfilterascii.cc
+
+CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkfilterascii.cc > CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.i
+
+CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkfilterascii.cc -o CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.s
+
+CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.requires:
+.PHONY : CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.requires
+
+CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.provides: CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.provides.build
+.PHONY : CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.provides
+
+CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.provides.build: CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o
+
+# Object files for target pkfilterascii
+pkfilterascii_OBJECTS = \
+"CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o"
+
+# External object files for target pkfilterascii
+pkfilterascii_EXTERNAL_OBJECTS =
+
+pkfilterascii: CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o
+pkfilterascii: CMakeFiles/pkfilterascii.dir/build.make
+pkfilterascii: src/libbase.so.1.6.1
+pkfilterascii: src/libimageClasses.so.1.6.1
+pkfilterascii: src/libfileClasses.so.1.6.1
+pkfilterascii: src/libalgorithms.so.1.6.1
+pkfilterascii: /usr/lib/libgdal.so
+pkfilterascii: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkfilterascii: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkfilterascii: /usr/local/lib/liblas.so
+pkfilterascii: /usr/local/lib/liblas_c.so
+pkfilterascii: src/libimageClasses.so.1.6.1
+pkfilterascii: /usr/lib/libgdal.so
+pkfilterascii: /usr/lib/libarmadillo.so
+pkfilterascii: CMakeFiles/pkfilterascii.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkfilterascii"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkfilterascii.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkfilterascii.dir/build: pkfilterascii
+.PHONY : CMakeFiles/pkfilterascii.dir/build
+
+CMakeFiles/pkfilterascii.dir/requires: CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o.requires
+.PHONY : CMakeFiles/pkfilterascii.dir/requires
+
+CMakeFiles/pkfilterascii.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkfilterascii.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkfilterascii.dir/clean
+
+CMakeFiles/pkfilterascii.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfilterascii.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkfilterascii.dir/depend
+
diff --git a/build/CMakeFiles/pkfilterascii.dir/cmake_clean.cmake b/build/CMakeFiles/pkfilterascii.dir/cmake_clean.cmake
new file mode 100644
index 0000000..c493373
--- /dev/null
+++ b/build/CMakeFiles/pkfilterascii.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o"
+  "pkfilterascii.pdb"
+  "pkfilterascii"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkfilterascii.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkfilterascii.dir/depend.make b/build/CMakeFiles/pkfilterascii.dir/depend.make
new file mode 100644
index 0000000..2cb28f4
--- /dev/null
+++ b/build/CMakeFiles/pkfilterascii.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkfilterascii.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkfilterascii.dir/flags.make b/build/CMakeFiles/pkfilterascii.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkfilterascii.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkfilterascii.dir/link.txt b/build/CMakeFiles/pkfilterascii.dir/link.txt
new file mode 100644
index 0000000..f7d6559
--- /dev/null
+++ b/build/CMakeFiles/pkfilterascii.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o  -o pkfilterascii -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib - [...]
diff --git a/build/CMakeFiles/pkfilterascii.dir/progress.make b/build/CMakeFiles/pkfilterascii.dir/progress.make
new file mode 100644
index 0000000..673b9bc
--- /dev/null
+++ b/build/CMakeFiles/pkfilterascii.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 37
+
diff --git a/build/CMakeFiles/pkfilterdem.dir/DependInfo.cmake b/build/CMakeFiles/pkfilterdem.dir/DependInfo.cmake
new file mode 100644
index 0000000..46d29ea
--- /dev/null
+++ b/build/CMakeFiles/pkfilterdem.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkfilterdem.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkfilterdem.dir/build.make b/build/CMakeFiles/pkfilterdem.dir/build.make
new file mode 100644
index 0000000..3cd72a3
--- /dev/null
+++ b/build/CMakeFiles/pkfilterdem.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkfilterdem.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkfilterdem.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkfilterdem.dir/flags.make
+
+CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o: CMakeFiles/pkfilterdem.dir/flags.make
+CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o: ../src/apps/pkfilterdem.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkfilterdem.cc
+
+CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkfilterdem.cc > CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.i
+
+CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkfilterdem.cc -o CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.s
+
+CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.requires:
+.PHONY : CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.requires
+
+CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.provides: CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.provides.build
+.PHONY : CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.provides
+
+CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.provides.build: CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o
+
+# Object files for target pkfilterdem
+pkfilterdem_OBJECTS = \
+"CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o"
+
+# External object files for target pkfilterdem
+pkfilterdem_EXTERNAL_OBJECTS =
+
+pkfilterdem: CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o
+pkfilterdem: CMakeFiles/pkfilterdem.dir/build.make
+pkfilterdem: src/libbase.so.1.6.1
+pkfilterdem: src/libimageClasses.so.1.6.1
+pkfilterdem: src/libfileClasses.so.1.6.1
+pkfilterdem: src/libalgorithms.so.1.6.1
+pkfilterdem: /usr/lib/libgdal.so
+pkfilterdem: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkfilterdem: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkfilterdem: /usr/local/lib/liblas.so
+pkfilterdem: /usr/local/lib/liblas_c.so
+pkfilterdem: src/libimageClasses.so.1.6.1
+pkfilterdem: /usr/lib/libgdal.so
+pkfilterdem: /usr/lib/libarmadillo.so
+pkfilterdem: CMakeFiles/pkfilterdem.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkfilterdem"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkfilterdem.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkfilterdem.dir/build: pkfilterdem
+.PHONY : CMakeFiles/pkfilterdem.dir/build
+
+CMakeFiles/pkfilterdem.dir/requires: CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o.requires
+.PHONY : CMakeFiles/pkfilterdem.dir/requires
+
+CMakeFiles/pkfilterdem.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkfilterdem.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkfilterdem.dir/clean
+
+CMakeFiles/pkfilterdem.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfilterdem.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkfilterdem.dir/depend
+
diff --git a/build/CMakeFiles/pkfilterdem.dir/cmake_clean.cmake b/build/CMakeFiles/pkfilterdem.dir/cmake_clean.cmake
new file mode 100644
index 0000000..ba60ff6
--- /dev/null
+++ b/build/CMakeFiles/pkfilterdem.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o"
+  "pkfilterdem.pdb"
+  "pkfilterdem"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkfilterdem.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkfilterdem.dir/depend.make b/build/CMakeFiles/pkfilterdem.dir/depend.make
new file mode 100644
index 0000000..e0da689
--- /dev/null
+++ b/build/CMakeFiles/pkfilterdem.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkfilterdem.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkfilterdem.dir/flags.make b/build/CMakeFiles/pkfilterdem.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkfilterdem.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkfilterdem.dir/link.txt b/build/CMakeFiles/pkfilterdem.dir/link.txt
new file mode 100644
index 0000000..19ff6e3
--- /dev/null
+++ b/build/CMakeFiles/pkfilterdem.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o  -o pkfilterdem -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl - [...]
diff --git a/build/CMakeFiles/pkfilterdem.dir/progress.make b/build/CMakeFiles/pkfilterdem.dir/progress.make
new file mode 100644
index 0000000..b43f43d
--- /dev/null
+++ b/build/CMakeFiles/pkfilterdem.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 38
+
diff --git a/build/CMakeFiles/pkfsann.dir/DependInfo.cmake b/build/CMakeFiles/pkfsann.dir/DependInfo.cmake
new file mode 100644
index 0000000..85363c4
--- /dev/null
+++ b/build/CMakeFiles/pkfsann.dir/DependInfo.cmake
@@ -0,0 +1,37 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkfsann.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/lasClasses.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkfsann.dir/build.make b/build/CMakeFiles/pkfsann.dir/build.make
new file mode 100644
index 0000000..9b1ea17
--- /dev/null
+++ b/build/CMakeFiles/pkfsann.dir/build.make
@@ -0,0 +1,116 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkfsann.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkfsann.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkfsann.dir/flags.make
+
+CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o: CMakeFiles/pkfsann.dir/flags.make
+CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o: ../src/apps/pkfsann.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkfsann.cc
+
+CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkfsann.cc > CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.i
+
+CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkfsann.cc -o CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.s
+
+CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.requires:
+.PHONY : CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.requires
+
+CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.provides: CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.provides.build
+.PHONY : CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.provides
+
+CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.provides.build: CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o
+
+# Object files for target pkfsann
+pkfsann_OBJECTS = \
+"CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o"
+
+# External object files for target pkfsann
+pkfsann_EXTERNAL_OBJECTS =
+
+pkfsann: CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o
+pkfsann: CMakeFiles/pkfsann.dir/build.make
+pkfsann: src/libbase.so.1.6.1
+pkfsann: src/libimageClasses.so.1.6.1
+pkfsann: src/libfileClasses.so.1.6.1
+pkfsann: src/libalgorithms.so.1.6.1
+pkfsann: /usr/lib/libgdal.so
+pkfsann: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkfsann: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkfsann: src/liblasClasses.so.1.6.1
+pkfsann: /usr/lib/x86_64-linux-gnu/libfloatfann.so
+pkfsann: /usr/local/lib/liblas.so
+pkfsann: /usr/local/lib/liblas_c.so
+pkfsann: src/libimageClasses.so.1.6.1
+pkfsann: /usr/lib/libgdal.so
+pkfsann: /usr/lib/libarmadillo.so
+pkfsann: CMakeFiles/pkfsann.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkfsann"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkfsann.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkfsann.dir/build: pkfsann
+.PHONY : CMakeFiles/pkfsann.dir/build
+
+CMakeFiles/pkfsann.dir/requires: CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o.requires
+.PHONY : CMakeFiles/pkfsann.dir/requires
+
+CMakeFiles/pkfsann.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkfsann.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkfsann.dir/clean
+
+CMakeFiles/pkfsann.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfsann.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkfsann.dir/depend
+
diff --git a/build/CMakeFiles/pkfsann.dir/cmake_clean.cmake b/build/CMakeFiles/pkfsann.dir/cmake_clean.cmake
new file mode 100644
index 0000000..f0b8019
--- /dev/null
+++ b/build/CMakeFiles/pkfsann.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o"
+  "pkfsann.pdb"
+  "pkfsann"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkfsann.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkfsann.dir/depend.make b/build/CMakeFiles/pkfsann.dir/depend.make
new file mode 100644
index 0000000..10bba9c
--- /dev/null
+++ b/build/CMakeFiles/pkfsann.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkfsann.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkfsann.dir/flags.make b/build/CMakeFiles/pkfsann.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkfsann.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkfsann.dir/link.txt b/build/CMakeFiles/pkfsann.dir/link.txt
new file mode 100644
index 0000000..4911ce5
--- /dev/null
+++ b/build/CMakeFiles/pkfsann.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o  -o pkfsann -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -lfloatfann /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6. [...]
diff --git a/build/CMakeFiles/pkfsann.dir/progress.make b/build/CMakeFiles/pkfsann.dir/progress.make
new file mode 100644
index 0000000..303dfaf
--- /dev/null
+++ b/build/CMakeFiles/pkfsann.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 39
+
diff --git a/build/CMakeFiles/pkfssvm.dir/DependInfo.cmake b/build/CMakeFiles/pkfssvm.dir/DependInfo.cmake
new file mode 100644
index 0000000..8e34797
--- /dev/null
+++ b/build/CMakeFiles/pkfssvm.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkfssvm.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkfssvm.dir/build.make b/build/CMakeFiles/pkfssvm.dir/build.make
new file mode 100644
index 0000000..af05ef1
--- /dev/null
+++ b/build/CMakeFiles/pkfssvm.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkfssvm.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkfssvm.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkfssvm.dir/flags.make
+
+CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o: CMakeFiles/pkfssvm.dir/flags.make
+CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o: ../src/apps/pkfssvm.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkfssvm.cc
+
+CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkfssvm.cc > CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.i
+
+CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkfssvm.cc -o CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.s
+
+CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o.requires:
+.PHONY : CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o.requires
+
+CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o.provides: CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o.provides.build
+.PHONY : CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o.provides
+
+CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o.provides.build: CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o
+
+# Object files for target pkfssvm
+pkfssvm_OBJECTS = \
+"CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o"
+
+# External object files for target pkfssvm
+pkfssvm_EXTERNAL_OBJECTS =
+
+pkfssvm: CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o
+pkfssvm: CMakeFiles/pkfssvm.dir/build.make
+pkfssvm: src/libbase.so.1.6.1
+pkfssvm: src/libimageClasses.so.1.6.1
+pkfssvm: src/libfileClasses.so.1.6.1
+pkfssvm: src/libalgorithms.so.1.6.1
+pkfssvm: /usr/lib/libgdal.so
+pkfssvm: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkfssvm: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkfssvm: /usr/local/lib/liblas.so
+pkfssvm: /usr/local/lib/liblas_c.so
+pkfssvm: src/libimageClasses.so.1.6.1
+pkfssvm: /usr/lib/libgdal.so
+pkfssvm: /usr/lib/libarmadillo.so
+pkfssvm: CMakeFiles/pkfssvm.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkfssvm"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkfssvm.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkfssvm.dir/build: pkfssvm
+.PHONY : CMakeFiles/pkfssvm.dir/build
+
+CMakeFiles/pkfssvm.dir/requires: CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o.requires
+.PHONY : CMakeFiles/pkfssvm.dir/requires
+
+CMakeFiles/pkfssvm.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkfssvm.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkfssvm.dir/clean
+
+CMakeFiles/pkfssvm.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkfssvm.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkfssvm.dir/depend
+
diff --git a/build/CMakeFiles/pkfssvm.dir/cmake_clean.cmake b/build/CMakeFiles/pkfssvm.dir/cmake_clean.cmake
new file mode 100644
index 0000000..2a83dae
--- /dev/null
+++ b/build/CMakeFiles/pkfssvm.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o"
+  "pkfssvm.pdb"
+  "pkfssvm"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkfssvm.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkfssvm.dir/depend.make b/build/CMakeFiles/pkfssvm.dir/depend.make
new file mode 100644
index 0000000..380fb78
--- /dev/null
+++ b/build/CMakeFiles/pkfssvm.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkfssvm.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkfssvm.dir/flags.make b/build/CMakeFiles/pkfssvm.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkfssvm.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkfssvm.dir/link.txt b/build/CMakeFiles/pkfssvm.dir/link.txt
new file mode 100644
index 0000000..7b19c25
--- /dev/null
+++ b/build/CMakeFiles/pkfssvm.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o  -o pkfssvm -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -l [...]
diff --git a/build/CMakeFiles/pkfssvm.dir/progress.make b/build/CMakeFiles/pkfssvm.dir/progress.make
new file mode 100644
index 0000000..764444f
--- /dev/null
+++ b/build/CMakeFiles/pkfssvm.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 40
+
diff --git a/build/CMakeFiles/pkgetmask.dir/DependInfo.cmake b/build/CMakeFiles/pkgetmask.dir/DependInfo.cmake
new file mode 100644
index 0000000..e084e7c
--- /dev/null
+++ b/build/CMakeFiles/pkgetmask.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkgetmask.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkgetmask.dir/build.make b/build/CMakeFiles/pkgetmask.dir/build.make
new file mode 100644
index 0000000..22f7546
--- /dev/null
+++ b/build/CMakeFiles/pkgetmask.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkgetmask.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkgetmask.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkgetmask.dir/flags.make
+
+CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o: CMakeFiles/pkgetmask.dir/flags.make
+CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o: ../src/apps/pkgetmask.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkgetmask.cc
+
+CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkgetmask.cc > CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.i
+
+CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkgetmask.cc -o CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.s
+
+CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.requires:
+.PHONY : CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.requires
+
+CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.provides: CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.provides.build
+.PHONY : CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.provides
+
+CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.provides.build: CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o
+
+# Object files for target pkgetmask
+pkgetmask_OBJECTS = \
+"CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o"
+
+# External object files for target pkgetmask
+pkgetmask_EXTERNAL_OBJECTS =
+
+pkgetmask: CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o
+pkgetmask: CMakeFiles/pkgetmask.dir/build.make
+pkgetmask: src/libbase.so.1.6.1
+pkgetmask: src/libimageClasses.so.1.6.1
+pkgetmask: src/libfileClasses.so.1.6.1
+pkgetmask: src/libalgorithms.so.1.6.1
+pkgetmask: /usr/lib/libgdal.so
+pkgetmask: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkgetmask: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkgetmask: /usr/local/lib/liblas.so
+pkgetmask: /usr/local/lib/liblas_c.so
+pkgetmask: src/libimageClasses.so.1.6.1
+pkgetmask: /usr/lib/libgdal.so
+pkgetmask: /usr/lib/libarmadillo.so
+pkgetmask: CMakeFiles/pkgetmask.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkgetmask"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkgetmask.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkgetmask.dir/build: pkgetmask
+.PHONY : CMakeFiles/pkgetmask.dir/build
+
+CMakeFiles/pkgetmask.dir/requires: CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o.requires
+.PHONY : CMakeFiles/pkgetmask.dir/requires
+
+CMakeFiles/pkgetmask.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkgetmask.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkgetmask.dir/clean
+
+CMakeFiles/pkgetmask.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkgetmask.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkgetmask.dir/depend
+
diff --git a/build/CMakeFiles/pkgetmask.dir/cmake_clean.cmake b/build/CMakeFiles/pkgetmask.dir/cmake_clean.cmake
new file mode 100644
index 0000000..de132b6
--- /dev/null
+++ b/build/CMakeFiles/pkgetmask.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o"
+  "pkgetmask.pdb"
+  "pkgetmask"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkgetmask.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkgetmask.dir/depend.make b/build/CMakeFiles/pkgetmask.dir/depend.make
new file mode 100644
index 0000000..a388a59
--- /dev/null
+++ b/build/CMakeFiles/pkgetmask.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkgetmask.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkgetmask.dir/flags.make b/build/CMakeFiles/pkgetmask.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkgetmask.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkgetmask.dir/link.txt b/build/CMakeFiles/pkgetmask.dir/link.txt
new file mode 100644
index 0000000..c1f7d8d
--- /dev/null
+++ b/build/CMakeFiles/pkgetmask.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o  -o pkgetmask -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcb [...]
diff --git a/build/CMakeFiles/pkgetmask.dir/progress.make b/build/CMakeFiles/pkgetmask.dir/progress.make
new file mode 100644
index 0000000..b390e26
--- /dev/null
+++ b/build/CMakeFiles/pkgetmask.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 41
+
diff --git a/build/CMakeFiles/pkinfo.dir/DependInfo.cmake b/build/CMakeFiles/pkinfo.dir/DependInfo.cmake
new file mode 100644
index 0000000..fae1d68
--- /dev/null
+++ b/build/CMakeFiles/pkinfo.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkinfo.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkinfo.dir/build.make b/build/CMakeFiles/pkinfo.dir/build.make
new file mode 100644
index 0000000..ca4c6ff
--- /dev/null
+++ b/build/CMakeFiles/pkinfo.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkinfo.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkinfo.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkinfo.dir/flags.make
+
+CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o: CMakeFiles/pkinfo.dir/flags.make
+CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o: ../src/apps/pkinfo.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkinfo.cc
+
+CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkinfo.cc > CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.i
+
+CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkinfo.cc -o CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.s
+
+CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.requires:
+.PHONY : CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.requires
+
+CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.provides: CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.provides.build
+.PHONY : CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.provides
+
+CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.provides.build: CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o
+
+# Object files for target pkinfo
+pkinfo_OBJECTS = \
+"CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o"
+
+# External object files for target pkinfo
+pkinfo_EXTERNAL_OBJECTS =
+
+pkinfo: CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o
+pkinfo: CMakeFiles/pkinfo.dir/build.make
+pkinfo: src/libbase.so.1.6.1
+pkinfo: src/libimageClasses.so.1.6.1
+pkinfo: src/libfileClasses.so.1.6.1
+pkinfo: src/libalgorithms.so.1.6.1
+pkinfo: /usr/lib/libgdal.so
+pkinfo: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkinfo: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkinfo: /usr/local/lib/liblas.so
+pkinfo: /usr/local/lib/liblas_c.so
+pkinfo: src/libimageClasses.so.1.6.1
+pkinfo: /usr/lib/libgdal.so
+pkinfo: /usr/lib/libarmadillo.so
+pkinfo: CMakeFiles/pkinfo.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkinfo"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkinfo.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkinfo.dir/build: pkinfo
+.PHONY : CMakeFiles/pkinfo.dir/build
+
+CMakeFiles/pkinfo.dir/requires: CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o.requires
+.PHONY : CMakeFiles/pkinfo.dir/requires
+
+CMakeFiles/pkinfo.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkinfo.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkinfo.dir/clean
+
+CMakeFiles/pkinfo.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkinfo.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkinfo.dir/depend
+
diff --git a/build/CMakeFiles/pkinfo.dir/cmake_clean.cmake b/build/CMakeFiles/pkinfo.dir/cmake_clean.cmake
new file mode 100644
index 0000000..8929f83
--- /dev/null
+++ b/build/CMakeFiles/pkinfo.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o"
+  "pkinfo.pdb"
+  "pkinfo"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkinfo.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkinfo.dir/depend.make b/build/CMakeFiles/pkinfo.dir/depend.make
new file mode 100644
index 0000000..2ea0ce7
--- /dev/null
+++ b/build/CMakeFiles/pkinfo.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkinfo.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkinfo.dir/flags.make b/build/CMakeFiles/pkinfo.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkinfo.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkinfo.dir/link.txt b/build/CMakeFiles/pkinfo.dir/link.txt
new file mode 100644
index 0000000..24b6ee0
--- /dev/null
+++ b/build/CMakeFiles/pkinfo.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o  -o pkinfo -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm - [...]
diff --git a/build/CMakeFiles/pkinfo.dir/progress.make b/build/CMakeFiles/pkinfo.dir/progress.make
new file mode 100644
index 0000000..08da5aa
--- /dev/null
+++ b/build/CMakeFiles/pkinfo.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 42
+
diff --git a/build/CMakeFiles/pkkalman.dir/DependInfo.cmake b/build/CMakeFiles/pkkalman.dir/DependInfo.cmake
new file mode 100644
index 0000000..904a1ac
--- /dev/null
+++ b/build/CMakeFiles/pkkalman.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkkalman.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkkalman.dir/build.make b/build/CMakeFiles/pkkalman.dir/build.make
new file mode 100644
index 0000000..8f18f3e
--- /dev/null
+++ b/build/CMakeFiles/pkkalman.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkkalman.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkkalman.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkkalman.dir/flags.make
+
+CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o: CMakeFiles/pkkalman.dir/flags.make
+CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o: ../src/apps/pkkalman.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkkalman.cc
+
+CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkkalman.cc > CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.i
+
+CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkkalman.cc -o CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.s
+
+CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.requires:
+.PHONY : CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.requires
+
+CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.provides: CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.provides.build
+.PHONY : CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.provides
+
+CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.provides.build: CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o
+
+# Object files for target pkkalman
+pkkalman_OBJECTS = \
+"CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o"
+
+# External object files for target pkkalman
+pkkalman_EXTERNAL_OBJECTS =
+
+pkkalman: CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o
+pkkalman: CMakeFiles/pkkalman.dir/build.make
+pkkalman: src/libbase.so.1.6.1
+pkkalman: src/libimageClasses.so.1.6.1
+pkkalman: src/libfileClasses.so.1.6.1
+pkkalman: src/libalgorithms.so.1.6.1
+pkkalman: /usr/lib/libgdal.so
+pkkalman: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkkalman: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkkalman: /usr/local/lib/liblas.so
+pkkalman: /usr/local/lib/liblas_c.so
+pkkalman: src/libimageClasses.so.1.6.1
+pkkalman: /usr/lib/libgdal.so
+pkkalman: /usr/lib/libarmadillo.so
+pkkalman: CMakeFiles/pkkalman.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkkalman"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkkalman.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkkalman.dir/build: pkkalman
+.PHONY : CMakeFiles/pkkalman.dir/build
+
+CMakeFiles/pkkalman.dir/requires: CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o.requires
+.PHONY : CMakeFiles/pkkalman.dir/requires
+
+CMakeFiles/pkkalman.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkkalman.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkkalman.dir/clean
+
+CMakeFiles/pkkalman.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkkalman.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkkalman.dir/depend
+
diff --git a/build/CMakeFiles/pkkalman.dir/cmake_clean.cmake b/build/CMakeFiles/pkkalman.dir/cmake_clean.cmake
new file mode 100644
index 0000000..527c4c0
--- /dev/null
+++ b/build/CMakeFiles/pkkalman.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o"
+  "pkkalman.pdb"
+  "pkkalman"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkkalman.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkkalman.dir/depend.make b/build/CMakeFiles/pkkalman.dir/depend.make
new file mode 100644
index 0000000..6d6472b
--- /dev/null
+++ b/build/CMakeFiles/pkkalman.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkkalman.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkkalman.dir/flags.make b/build/CMakeFiles/pkkalman.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkkalman.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkkalman.dir/link.txt b/build/CMakeFiles/pkkalman.dir/link.txt
new file mode 100644
index 0000000..f02aad2
--- /dev/null
+++ b/build/CMakeFiles/pkkalman.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o  -o pkkalman -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas [...]
diff --git a/build/CMakeFiles/pkkalman.dir/progress.make b/build/CMakeFiles/pkkalman.dir/progress.make
new file mode 100644
index 0000000..109d64a
--- /dev/null
+++ b/build/CMakeFiles/pkkalman.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 43
+
diff --git a/build/CMakeFiles/pklas2img.dir/DependInfo.cmake b/build/CMakeFiles/pklas2img.dir/DependInfo.cmake
new file mode 100644
index 0000000..35173ee
--- /dev/null
+++ b/build/CMakeFiles/pklas2img.dir/DependInfo.cmake
@@ -0,0 +1,37 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pklas2img.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/lasClasses.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pklas2img.dir/build.make b/build/CMakeFiles/pklas2img.dir/build.make
new file mode 100644
index 0000000..3826559
--- /dev/null
+++ b/build/CMakeFiles/pklas2img.dir/build.make
@@ -0,0 +1,115 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pklas2img.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pklas2img.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pklas2img.dir/flags.make
+
+CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o: CMakeFiles/pklas2img.dir/flags.make
+CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o: ../src/apps/pklas2img.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pklas2img.cc
+
+CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pklas2img.cc > CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.i
+
+CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pklas2img.cc -o CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.s
+
+CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o.requires:
+.PHONY : CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o.requires
+
+CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o.provides: CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o.requires
+	$(MAKE) -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o.provides.build
+.PHONY : CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o.provides
+
+CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o.provides.build: CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o
+
+# Object files for target pklas2img
+pklas2img_OBJECTS = \
+"CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o"
+
+# External object files for target pklas2img
+pklas2img_EXTERNAL_OBJECTS =
+
+pklas2img: CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o
+pklas2img: CMakeFiles/pklas2img.dir/build.make
+pklas2img: src/libbase.so.1.6.1
+pklas2img: src/libimageClasses.so.1.6.1
+pklas2img: src/libfileClasses.so.1.6.1
+pklas2img: src/libalgorithms.so.1.6.1
+pklas2img: /usr/lib/libgdal.so
+pklas2img: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pklas2img: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pklas2img: src/liblasClasses.so.1.6.1
+pklas2img: /usr/local/lib/liblas.so
+pklas2img: /usr/local/lib/liblas_c.so
+pklas2img: src/libimageClasses.so.1.6.1
+pklas2img: /usr/lib/libgdal.so
+pklas2img: /usr/lib/libarmadillo.so
+pklas2img: CMakeFiles/pklas2img.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pklas2img"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pklas2img.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pklas2img.dir/build: pklas2img
+.PHONY : CMakeFiles/pklas2img.dir/build
+
+CMakeFiles/pklas2img.dir/requires: CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o.requires
+.PHONY : CMakeFiles/pklas2img.dir/requires
+
+CMakeFiles/pklas2img.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pklas2img.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pklas2img.dir/clean
+
+CMakeFiles/pklas2img.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pklas2img.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pklas2img.dir/depend
+
diff --git a/build/CMakeFiles/pklas2img.dir/cmake_clean.cmake b/build/CMakeFiles/pklas2img.dir/cmake_clean.cmake
new file mode 100644
index 0000000..1128b75
--- /dev/null
+++ b/build/CMakeFiles/pklas2img.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o"
+  "pklas2img.pdb"
+  "pklas2img"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pklas2img.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pklas2img.dir/depend.make b/build/CMakeFiles/pklas2img.dir/depend.make
new file mode 100644
index 0000000..4d78ad3
--- /dev/null
+++ b/build/CMakeFiles/pklas2img.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pklas2img.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pklas2img.dir/flags.make b/build/CMakeFiles/pklas2img.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pklas2img.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pklas2img.dir/link.txt b/build/CMakeFiles/pklas2img.dir/link.txt
new file mode 100644
index 0000000..f6605b2
--- /dev/null
+++ b/build/CMakeFiles/pklas2img.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o  -o pklas2img -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgd [...]
diff --git a/build/CMakeFiles/pklas2img.dir/progress.make b/build/CMakeFiles/pklas2img.dir/progress.make
new file mode 100644
index 0000000..d0a4df8
--- /dev/null
+++ b/build/CMakeFiles/pklas2img.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 44
+
diff --git a/build/CMakeFiles/pkoptsvm.dir/DependInfo.cmake b/build/CMakeFiles/pkoptsvm.dir/DependInfo.cmake
new file mode 100644
index 0000000..b6bb5d1
--- /dev/null
+++ b/build/CMakeFiles/pkoptsvm.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkoptsvm.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkoptsvm.dir/build.make b/build/CMakeFiles/pkoptsvm.dir/build.make
new file mode 100644
index 0000000..3adc751
--- /dev/null
+++ b/build/CMakeFiles/pkoptsvm.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkoptsvm.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkoptsvm.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkoptsvm.dir/flags.make
+
+CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o: CMakeFiles/pkoptsvm.dir/flags.make
+CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o: ../src/apps/pkoptsvm.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkoptsvm.cc
+
+CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkoptsvm.cc > CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.i
+
+CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkoptsvm.cc -o CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.s
+
+CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.requires:
+.PHONY : CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.requires
+
+CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.provides: CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.provides.build
+.PHONY : CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.provides
+
+CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.provides.build: CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o
+
+# Object files for target pkoptsvm
+pkoptsvm_OBJECTS = \
+"CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o"
+
+# External object files for target pkoptsvm
+pkoptsvm_EXTERNAL_OBJECTS =
+
+pkoptsvm: CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o
+pkoptsvm: CMakeFiles/pkoptsvm.dir/build.make
+pkoptsvm: src/libbase.so.1.6.1
+pkoptsvm: src/libimageClasses.so.1.6.1
+pkoptsvm: src/libfileClasses.so.1.6.1
+pkoptsvm: src/libalgorithms.so.1.6.1
+pkoptsvm: /usr/lib/libgdal.so
+pkoptsvm: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkoptsvm: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkoptsvm: /usr/local/lib/liblas.so
+pkoptsvm: /usr/local/lib/liblas_c.so
+pkoptsvm: src/libimageClasses.so.1.6.1
+pkoptsvm: /usr/lib/libgdal.so
+pkoptsvm: /usr/lib/libarmadillo.so
+pkoptsvm: CMakeFiles/pkoptsvm.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkoptsvm"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkoptsvm.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkoptsvm.dir/build: pkoptsvm
+.PHONY : CMakeFiles/pkoptsvm.dir/build
+
+CMakeFiles/pkoptsvm.dir/requires: CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o.requires
+.PHONY : CMakeFiles/pkoptsvm.dir/requires
+
+CMakeFiles/pkoptsvm.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkoptsvm.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkoptsvm.dir/clean
+
+CMakeFiles/pkoptsvm.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkoptsvm.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkoptsvm.dir/depend
+
diff --git a/build/CMakeFiles/pkoptsvm.dir/cmake_clean.cmake b/build/CMakeFiles/pkoptsvm.dir/cmake_clean.cmake
new file mode 100644
index 0000000..5698a2a
--- /dev/null
+++ b/build/CMakeFiles/pkoptsvm.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o"
+  "pkoptsvm.pdb"
+  "pkoptsvm"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkoptsvm.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkoptsvm.dir/depend.make b/build/CMakeFiles/pkoptsvm.dir/depend.make
new file mode 100644
index 0000000..ad66751
--- /dev/null
+++ b/build/CMakeFiles/pkoptsvm.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkoptsvm.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkoptsvm.dir/flags.make b/build/CMakeFiles/pkoptsvm.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkoptsvm.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkoptsvm.dir/link.txt b/build/CMakeFiles/pkoptsvm.dir/link.txt
new file mode 100644
index 0000000..53f723c
--- /dev/null
+++ b/build/CMakeFiles/pkoptsvm.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o  -o pkoptsvm -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas [...]
diff --git a/build/CMakeFiles/pkoptsvm.dir/progress.make b/build/CMakeFiles/pkoptsvm.dir/progress.make
new file mode 100644
index 0000000..049132e
--- /dev/null
+++ b/build/CMakeFiles/pkoptsvm.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 45
+
diff --git a/build/CMakeFiles/pkpolygonize.dir/DependInfo.cmake b/build/CMakeFiles/pkpolygonize.dir/DependInfo.cmake
new file mode 100644
index 0000000..be09bd3
--- /dev/null
+++ b/build/CMakeFiles/pkpolygonize.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkpolygonize.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkpolygonize.dir/build.make b/build/CMakeFiles/pkpolygonize.dir/build.make
new file mode 100644
index 0000000..832a05b
--- /dev/null
+++ b/build/CMakeFiles/pkpolygonize.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkpolygonize.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkpolygonize.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkpolygonize.dir/flags.make
+
+CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o: CMakeFiles/pkpolygonize.dir/flags.make
+CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o: ../src/apps/pkpolygonize.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkpolygonize.cc
+
+CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkpolygonize.cc > CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.i
+
+CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkpolygonize.cc -o CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.s
+
+CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.requires:
+.PHONY : CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.requires
+
+CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.provides: CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.provides.build
+.PHONY : CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.provides
+
+CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.provides.build: CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o
+
+# Object files for target pkpolygonize
+pkpolygonize_OBJECTS = \
+"CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o"
+
+# External object files for target pkpolygonize
+pkpolygonize_EXTERNAL_OBJECTS =
+
+pkpolygonize: CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o
+pkpolygonize: CMakeFiles/pkpolygonize.dir/build.make
+pkpolygonize: src/libbase.so.1.6.1
+pkpolygonize: src/libimageClasses.so.1.6.1
+pkpolygonize: src/libfileClasses.so.1.6.1
+pkpolygonize: src/libalgorithms.so.1.6.1
+pkpolygonize: /usr/lib/libgdal.so
+pkpolygonize: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkpolygonize: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkpolygonize: /usr/local/lib/liblas.so
+pkpolygonize: /usr/local/lib/liblas_c.so
+pkpolygonize: src/libimageClasses.so.1.6.1
+pkpolygonize: /usr/lib/libgdal.so
+pkpolygonize: /usr/lib/libarmadillo.so
+pkpolygonize: CMakeFiles/pkpolygonize.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkpolygonize"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkpolygonize.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkpolygonize.dir/build: pkpolygonize
+.PHONY : CMakeFiles/pkpolygonize.dir/build
+
+CMakeFiles/pkpolygonize.dir/requires: CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o.requires
+.PHONY : CMakeFiles/pkpolygonize.dir/requires
+
+CMakeFiles/pkpolygonize.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkpolygonize.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkpolygonize.dir/clean
+
+CMakeFiles/pkpolygonize.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkpolygonize.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkpolygonize.dir/depend
+
diff --git a/build/CMakeFiles/pkpolygonize.dir/cmake_clean.cmake b/build/CMakeFiles/pkpolygonize.dir/cmake_clean.cmake
new file mode 100644
index 0000000..d9ab74e
--- /dev/null
+++ b/build/CMakeFiles/pkpolygonize.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o"
+  "pkpolygonize.pdb"
+  "pkpolygonize"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkpolygonize.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkpolygonize.dir/depend.make b/build/CMakeFiles/pkpolygonize.dir/depend.make
new file mode 100644
index 0000000..ee07085
--- /dev/null
+++ b/build/CMakeFiles/pkpolygonize.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkpolygonize.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkpolygonize.dir/flags.make b/build/CMakeFiles/pkpolygonize.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkpolygonize.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkpolygonize.dir/link.txt b/build/CMakeFiles/pkpolygonize.dir/link.txt
new file mode 100644
index 0000000..07b32ff
--- /dev/null
+++ b/build/CMakeFiles/pkpolygonize.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o  -o pkpolygonize -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgs [...]
diff --git a/build/CMakeFiles/pkpolygonize.dir/progress.make b/build/CMakeFiles/pkpolygonize.dir/progress.make
new file mode 100644
index 0000000..ec8ee70
--- /dev/null
+++ b/build/CMakeFiles/pkpolygonize.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 46
+
diff --git a/build/CMakeFiles/pkreclass.dir/DependInfo.cmake b/build/CMakeFiles/pkreclass.dir/DependInfo.cmake
new file mode 100644
index 0000000..6121003
--- /dev/null
+++ b/build/CMakeFiles/pkreclass.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkreclass.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkreclass.dir/build.make b/build/CMakeFiles/pkreclass.dir/build.make
new file mode 100644
index 0000000..1ce01fa
--- /dev/null
+++ b/build/CMakeFiles/pkreclass.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkreclass.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkreclass.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkreclass.dir/flags.make
+
+CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o: CMakeFiles/pkreclass.dir/flags.make
+CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o: ../src/apps/pkreclass.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkreclass.cc
+
+CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkreclass.cc > CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.i
+
+CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkreclass.cc -o CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.s
+
+CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o.requires:
+.PHONY : CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o.requires
+
+CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o.provides: CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o.provides.build
+.PHONY : CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o.provides
+
+CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o.provides.build: CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o
+
+# Object files for target pkreclass
+pkreclass_OBJECTS = \
+"CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o"
+
+# External object files for target pkreclass
+pkreclass_EXTERNAL_OBJECTS =
+
+pkreclass: CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o
+pkreclass: CMakeFiles/pkreclass.dir/build.make
+pkreclass: src/libbase.so.1.6.1
+pkreclass: src/libimageClasses.so.1.6.1
+pkreclass: src/libfileClasses.so.1.6.1
+pkreclass: src/libalgorithms.so.1.6.1
+pkreclass: /usr/lib/libgdal.so
+pkreclass: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkreclass: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkreclass: /usr/local/lib/liblas.so
+pkreclass: /usr/local/lib/liblas_c.so
+pkreclass: src/libimageClasses.so.1.6.1
+pkreclass: /usr/lib/libgdal.so
+pkreclass: /usr/lib/libarmadillo.so
+pkreclass: CMakeFiles/pkreclass.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkreclass"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkreclass.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkreclass.dir/build: pkreclass
+.PHONY : CMakeFiles/pkreclass.dir/build
+
+CMakeFiles/pkreclass.dir/requires: CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o.requires
+.PHONY : CMakeFiles/pkreclass.dir/requires
+
+CMakeFiles/pkreclass.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkreclass.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkreclass.dir/clean
+
+CMakeFiles/pkreclass.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkreclass.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkreclass.dir/depend
+
diff --git a/build/CMakeFiles/pkreclass.dir/cmake_clean.cmake b/build/CMakeFiles/pkreclass.dir/cmake_clean.cmake
new file mode 100644
index 0000000..1826627
--- /dev/null
+++ b/build/CMakeFiles/pkreclass.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o"
+  "pkreclass.pdb"
+  "pkreclass"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkreclass.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkreclass.dir/depend.make b/build/CMakeFiles/pkreclass.dir/depend.make
new file mode 100644
index 0000000..8f38ffe
--- /dev/null
+++ b/build/CMakeFiles/pkreclass.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkreclass.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkreclass.dir/flags.make b/build/CMakeFiles/pkreclass.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkreclass.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkreclass.dir/link.txt b/build/CMakeFiles/pkreclass.dir/link.txt
new file mode 100644
index 0000000..7b37650
--- /dev/null
+++ b/build/CMakeFiles/pkreclass.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o  -o pkreclass -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcb [...]
diff --git a/build/CMakeFiles/pkreclass.dir/progress.make b/build/CMakeFiles/pkreclass.dir/progress.make
new file mode 100644
index 0000000..27db629
--- /dev/null
+++ b/build/CMakeFiles/pkreclass.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 47
+
diff --git a/build/CMakeFiles/pkreclassogr.dir/DependInfo.cmake b/build/CMakeFiles/pkreclassogr.dir/DependInfo.cmake
new file mode 100644
index 0000000..cc3f7e6
--- /dev/null
+++ b/build/CMakeFiles/pkreclassogr.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkreclassogr.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkreclassogr.dir/build.make b/build/CMakeFiles/pkreclassogr.dir/build.make
new file mode 100644
index 0000000..9a49106
--- /dev/null
+++ b/build/CMakeFiles/pkreclassogr.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkreclassogr.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkreclassogr.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkreclassogr.dir/flags.make
+
+CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o: CMakeFiles/pkreclassogr.dir/flags.make
+CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o: ../src/apps/pkreclassogr.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkreclassogr.cc
+
+CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkreclassogr.cc > CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.i
+
+CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkreclassogr.cc -o CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.s
+
+CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o.requires:
+.PHONY : CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o.requires
+
+CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o.provides: CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o.provides.build
+.PHONY : CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o.provides
+
+CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o.provides.build: CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o
+
+# Object files for target pkreclassogr
+pkreclassogr_OBJECTS = \
+"CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o"
+
+# External object files for target pkreclassogr
+pkreclassogr_EXTERNAL_OBJECTS =
+
+pkreclassogr: CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o
+pkreclassogr: CMakeFiles/pkreclassogr.dir/build.make
+pkreclassogr: src/libbase.so.1.6.1
+pkreclassogr: src/libimageClasses.so.1.6.1
+pkreclassogr: src/libfileClasses.so.1.6.1
+pkreclassogr: src/libalgorithms.so.1.6.1
+pkreclassogr: /usr/lib/libgdal.so
+pkreclassogr: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkreclassogr: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkreclassogr: /usr/local/lib/liblas.so
+pkreclassogr: /usr/local/lib/liblas_c.so
+pkreclassogr: src/libimageClasses.so.1.6.1
+pkreclassogr: /usr/lib/libgdal.so
+pkreclassogr: /usr/lib/libarmadillo.so
+pkreclassogr: CMakeFiles/pkreclassogr.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkreclassogr"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkreclassogr.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkreclassogr.dir/build: pkreclassogr
+.PHONY : CMakeFiles/pkreclassogr.dir/build
+
+CMakeFiles/pkreclassogr.dir/requires: CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o.requires
+.PHONY : CMakeFiles/pkreclassogr.dir/requires
+
+CMakeFiles/pkreclassogr.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkreclassogr.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkreclassogr.dir/clean
+
+CMakeFiles/pkreclassogr.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkreclassogr.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkreclassogr.dir/depend
+
diff --git a/build/CMakeFiles/pkreclassogr.dir/cmake_clean.cmake b/build/CMakeFiles/pkreclassogr.dir/cmake_clean.cmake
new file mode 100644
index 0000000..e591d02
--- /dev/null
+++ b/build/CMakeFiles/pkreclassogr.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o"
+  "pkreclassogr.pdb"
+  "pkreclassogr"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkreclassogr.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkreclassogr.dir/depend.make b/build/CMakeFiles/pkreclassogr.dir/depend.make
new file mode 100644
index 0000000..29295e1
--- /dev/null
+++ b/build/CMakeFiles/pkreclassogr.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkreclassogr.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkreclassogr.dir/flags.make b/build/CMakeFiles/pkreclassogr.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkreclassogr.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkreclassogr.dir/link.txt b/build/CMakeFiles/pkreclassogr.dir/link.txt
new file mode 100644
index 0000000..2b4e803
--- /dev/null
+++ b/build/CMakeFiles/pkreclassogr.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o  -o pkreclassogr -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgs [...]
diff --git a/build/CMakeFiles/pkreclassogr.dir/progress.make b/build/CMakeFiles/pkreclassogr.dir/progress.make
new file mode 100644
index 0000000..12a3678
--- /dev/null
+++ b/build/CMakeFiles/pkreclassogr.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 48
+
diff --git a/build/CMakeFiles/pkregann.dir/DependInfo.cmake b/build/CMakeFiles/pkregann.dir/DependInfo.cmake
new file mode 100644
index 0000000..583cf5e
--- /dev/null
+++ b/build/CMakeFiles/pkregann.dir/DependInfo.cmake
@@ -0,0 +1,37 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkregann.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/lasClasses.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkregann.dir/build.make b/build/CMakeFiles/pkregann.dir/build.make
new file mode 100644
index 0000000..fdad811
--- /dev/null
+++ b/build/CMakeFiles/pkregann.dir/build.make
@@ -0,0 +1,116 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkregann.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkregann.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkregann.dir/flags.make
+
+CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o: CMakeFiles/pkregann.dir/flags.make
+CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o: ../src/apps/pkregann.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkregann.cc
+
+CMakeFiles/pkregann.dir/src/apps/pkregann.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkregann.dir/src/apps/pkregann.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkregann.cc > CMakeFiles/pkregann.dir/src/apps/pkregann.cc.i
+
+CMakeFiles/pkregann.dir/src/apps/pkregann.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkregann.dir/src/apps/pkregann.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkregann.cc -o CMakeFiles/pkregann.dir/src/apps/pkregann.cc.s
+
+CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.requires:
+.PHONY : CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.requires
+
+CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.provides: CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.provides.build
+.PHONY : CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.provides
+
+CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.provides.build: CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o
+
+# Object files for target pkregann
+pkregann_OBJECTS = \
+"CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o"
+
+# External object files for target pkregann
+pkregann_EXTERNAL_OBJECTS =
+
+pkregann: CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o
+pkregann: CMakeFiles/pkregann.dir/build.make
+pkregann: src/libbase.so.1.6.1
+pkregann: src/libimageClasses.so.1.6.1
+pkregann: src/libfileClasses.so.1.6.1
+pkregann: src/libalgorithms.so.1.6.1
+pkregann: /usr/lib/libgdal.so
+pkregann: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkregann: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkregann: src/liblasClasses.so.1.6.1
+pkregann: /usr/lib/x86_64-linux-gnu/libfloatfann.so
+pkregann: /usr/local/lib/liblas.so
+pkregann: /usr/local/lib/liblas_c.so
+pkregann: src/libimageClasses.so.1.6.1
+pkregann: /usr/lib/libgdal.so
+pkregann: /usr/lib/libarmadillo.so
+pkregann: CMakeFiles/pkregann.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkregann"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkregann.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkregann.dir/build: pkregann
+.PHONY : CMakeFiles/pkregann.dir/build
+
+CMakeFiles/pkregann.dir/requires: CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o.requires
+.PHONY : CMakeFiles/pkregann.dir/requires
+
+CMakeFiles/pkregann.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkregann.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkregann.dir/clean
+
+CMakeFiles/pkregann.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkregann.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkregann.dir/depend
+
diff --git a/build/CMakeFiles/pkregann.dir/cmake_clean.cmake b/build/CMakeFiles/pkregann.dir/cmake_clean.cmake
new file mode 100644
index 0000000..af2d731
--- /dev/null
+++ b/build/CMakeFiles/pkregann.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o"
+  "pkregann.pdb"
+  "pkregann"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkregann.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkregann.dir/depend.make b/build/CMakeFiles/pkregann.dir/depend.make
new file mode 100644
index 0000000..f9482d6
--- /dev/null
+++ b/build/CMakeFiles/pkregann.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkregann.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkregann.dir/flags.make b/build/CMakeFiles/pkregann.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkregann.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkregann.dir/link.txt b/build/CMakeFiles/pkregann.dir/link.txt
new file mode 100644
index 0000000..5747ee4
--- /dev/null
+++ b/build/CMakeFiles/pkregann.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o  -o pkregann -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system src/liblasClasses.so.1.6.1 -lfloatfann /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1 [...]
diff --git a/build/CMakeFiles/pkregann.dir/progress.make b/build/CMakeFiles/pkregann.dir/progress.make
new file mode 100644
index 0000000..d1280d3
--- /dev/null
+++ b/build/CMakeFiles/pkregann.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 49
+
diff --git a/build/CMakeFiles/pksetmask.dir/DependInfo.cmake b/build/CMakeFiles/pksetmask.dir/DependInfo.cmake
new file mode 100644
index 0000000..335ab1f
--- /dev/null
+++ b/build/CMakeFiles/pksetmask.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pksetmask.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pksetmask.dir/build.make b/build/CMakeFiles/pksetmask.dir/build.make
new file mode 100644
index 0000000..17baab0
--- /dev/null
+++ b/build/CMakeFiles/pksetmask.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pksetmask.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pksetmask.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pksetmask.dir/flags.make
+
+CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o: CMakeFiles/pksetmask.dir/flags.make
+CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o: ../src/apps/pksetmask.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pksetmask.cc
+
+CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pksetmask.cc > CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.i
+
+CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pksetmask.cc -o CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.s
+
+CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.requires:
+.PHONY : CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.requires
+
+CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.provides: CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.requires
+	$(MAKE) -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.provides.build
+.PHONY : CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.provides
+
+CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.provides.build: CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o
+
+# Object files for target pksetmask
+pksetmask_OBJECTS = \
+"CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o"
+
+# External object files for target pksetmask
+pksetmask_EXTERNAL_OBJECTS =
+
+pksetmask: CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o
+pksetmask: CMakeFiles/pksetmask.dir/build.make
+pksetmask: src/libbase.so.1.6.1
+pksetmask: src/libimageClasses.so.1.6.1
+pksetmask: src/libfileClasses.so.1.6.1
+pksetmask: src/libalgorithms.so.1.6.1
+pksetmask: /usr/lib/libgdal.so
+pksetmask: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pksetmask: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pksetmask: /usr/local/lib/liblas.so
+pksetmask: /usr/local/lib/liblas_c.so
+pksetmask: src/libimageClasses.so.1.6.1
+pksetmask: /usr/lib/libgdal.so
+pksetmask: /usr/lib/libarmadillo.so
+pksetmask: CMakeFiles/pksetmask.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pksetmask"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pksetmask.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pksetmask.dir/build: pksetmask
+.PHONY : CMakeFiles/pksetmask.dir/build
+
+CMakeFiles/pksetmask.dir/requires: CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o.requires
+.PHONY : CMakeFiles/pksetmask.dir/requires
+
+CMakeFiles/pksetmask.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pksetmask.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pksetmask.dir/clean
+
+CMakeFiles/pksetmask.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pksetmask.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pksetmask.dir/depend
+
diff --git a/build/CMakeFiles/pksetmask.dir/cmake_clean.cmake b/build/CMakeFiles/pksetmask.dir/cmake_clean.cmake
new file mode 100644
index 0000000..c326550
--- /dev/null
+++ b/build/CMakeFiles/pksetmask.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o"
+  "pksetmask.pdb"
+  "pksetmask"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pksetmask.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pksetmask.dir/depend.make b/build/CMakeFiles/pksetmask.dir/depend.make
new file mode 100644
index 0000000..8b6f70b
--- /dev/null
+++ b/build/CMakeFiles/pksetmask.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pksetmask.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pksetmask.dir/flags.make b/build/CMakeFiles/pksetmask.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pksetmask.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pksetmask.dir/link.txt b/build/CMakeFiles/pksetmask.dir/link.txt
new file mode 100644
index 0000000..ec9e025
--- /dev/null
+++ b/build/CMakeFiles/pksetmask.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o  -o pksetmask -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcb [...]
diff --git a/build/CMakeFiles/pksetmask.dir/progress.make b/build/CMakeFiles/pksetmask.dir/progress.make
new file mode 100644
index 0000000..9b1d57f
--- /dev/null
+++ b/build/CMakeFiles/pksetmask.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 50
+
diff --git a/build/CMakeFiles/pksieve.dir/DependInfo.cmake b/build/CMakeFiles/pksieve.dir/DependInfo.cmake
new file mode 100644
index 0000000..511f657
--- /dev/null
+++ b/build/CMakeFiles/pksieve.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pksieve.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pksieve.dir/build.make b/build/CMakeFiles/pksieve.dir/build.make
new file mode 100644
index 0000000..94b7f24
--- /dev/null
+++ b/build/CMakeFiles/pksieve.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pksieve.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pksieve.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pksieve.dir/flags.make
+
+CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o: CMakeFiles/pksieve.dir/flags.make
+CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o: ../src/apps/pksieve.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pksieve.cc
+
+CMakeFiles/pksieve.dir/src/apps/pksieve.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pksieve.dir/src/apps/pksieve.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pksieve.cc > CMakeFiles/pksieve.dir/src/apps/pksieve.cc.i
+
+CMakeFiles/pksieve.dir/src/apps/pksieve.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pksieve.dir/src/apps/pksieve.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pksieve.cc -o CMakeFiles/pksieve.dir/src/apps/pksieve.cc.s
+
+CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.requires:
+.PHONY : CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.requires
+
+CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.provides: CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.requires
+	$(MAKE) -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.provides.build
+.PHONY : CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.provides
+
+CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.provides.build: CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o
+
+# Object files for target pksieve
+pksieve_OBJECTS = \
+"CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o"
+
+# External object files for target pksieve
+pksieve_EXTERNAL_OBJECTS =
+
+pksieve: CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o
+pksieve: CMakeFiles/pksieve.dir/build.make
+pksieve: src/libbase.so.1.6.1
+pksieve: src/libimageClasses.so.1.6.1
+pksieve: src/libfileClasses.so.1.6.1
+pksieve: src/libalgorithms.so.1.6.1
+pksieve: /usr/lib/libgdal.so
+pksieve: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pksieve: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pksieve: /usr/local/lib/liblas.so
+pksieve: /usr/local/lib/liblas_c.so
+pksieve: src/libimageClasses.so.1.6.1
+pksieve: /usr/lib/libgdal.so
+pksieve: /usr/lib/libarmadillo.so
+pksieve: CMakeFiles/pksieve.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pksieve"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pksieve.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pksieve.dir/build: pksieve
+.PHONY : CMakeFiles/pksieve.dir/build
+
+CMakeFiles/pksieve.dir/requires: CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o.requires
+.PHONY : CMakeFiles/pksieve.dir/requires
+
+CMakeFiles/pksieve.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pksieve.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pksieve.dir/clean
+
+CMakeFiles/pksieve.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pksieve.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pksieve.dir/depend
+
diff --git a/build/CMakeFiles/pksieve.dir/cmake_clean.cmake b/build/CMakeFiles/pksieve.dir/cmake_clean.cmake
new file mode 100644
index 0000000..1e52b6f
--- /dev/null
+++ b/build/CMakeFiles/pksieve.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o"
+  "pksieve.pdb"
+  "pksieve"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pksieve.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pksieve.dir/depend.make b/build/CMakeFiles/pksieve.dir/depend.make
new file mode 100644
index 0000000..ddd4354
--- /dev/null
+++ b/build/CMakeFiles/pksieve.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pksieve.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pksieve.dir/flags.make b/build/CMakeFiles/pksieve.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pksieve.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pksieve.dir/link.txt b/build/CMakeFiles/pksieve.dir/link.txt
new file mode 100644
index 0000000..ca4bbfe
--- /dev/null
+++ b/build/CMakeFiles/pksieve.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o  -o pksieve -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -l [...]
diff --git a/build/CMakeFiles/pksieve.dir/progress.make b/build/CMakeFiles/pksieve.dir/progress.make
new file mode 100644
index 0000000..f03392a
--- /dev/null
+++ b/build/CMakeFiles/pksieve.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 51
+
diff --git a/build/CMakeFiles/pkstat.dir/DependInfo.cmake b/build/CMakeFiles/pkstat.dir/DependInfo.cmake
new file mode 100644
index 0000000..e1edec3
--- /dev/null
+++ b/build/CMakeFiles/pkstat.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkstat.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkstat.dir/build.make b/build/CMakeFiles/pkstat.dir/build.make
new file mode 100644
index 0000000..c071ea5
--- /dev/null
+++ b/build/CMakeFiles/pkstat.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkstat.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkstat.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkstat.dir/flags.make
+
+CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o: CMakeFiles/pkstat.dir/flags.make
+CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o: ../src/apps/pkstat.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkstat.cc
+
+CMakeFiles/pkstat.dir/src/apps/pkstat.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkstat.dir/src/apps/pkstat.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkstat.cc > CMakeFiles/pkstat.dir/src/apps/pkstat.cc.i
+
+CMakeFiles/pkstat.dir/src/apps/pkstat.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkstat.dir/src/apps/pkstat.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkstat.cc -o CMakeFiles/pkstat.dir/src/apps/pkstat.cc.s
+
+CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.requires:
+.PHONY : CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.requires
+
+CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.provides: CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.provides.build
+.PHONY : CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.provides
+
+CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.provides.build: CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o
+
+# Object files for target pkstat
+pkstat_OBJECTS = \
+"CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o"
+
+# External object files for target pkstat
+pkstat_EXTERNAL_OBJECTS =
+
+pkstat: CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o
+pkstat: CMakeFiles/pkstat.dir/build.make
+pkstat: src/libbase.so.1.6.1
+pkstat: src/libimageClasses.so.1.6.1
+pkstat: src/libfileClasses.so.1.6.1
+pkstat: src/libalgorithms.so.1.6.1
+pkstat: /usr/lib/libgdal.so
+pkstat: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkstat: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkstat: /usr/local/lib/liblas.so
+pkstat: /usr/local/lib/liblas_c.so
+pkstat: src/libimageClasses.so.1.6.1
+pkstat: /usr/lib/libgdal.so
+pkstat: /usr/lib/libarmadillo.so
+pkstat: CMakeFiles/pkstat.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkstat"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkstat.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkstat.dir/build: pkstat
+.PHONY : CMakeFiles/pkstat.dir/build
+
+CMakeFiles/pkstat.dir/requires: CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o.requires
+.PHONY : CMakeFiles/pkstat.dir/requires
+
+CMakeFiles/pkstat.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkstat.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkstat.dir/clean
+
+CMakeFiles/pkstat.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstat.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkstat.dir/depend
+
diff --git a/build/CMakeFiles/pkstat.dir/cmake_clean.cmake b/build/CMakeFiles/pkstat.dir/cmake_clean.cmake
new file mode 100644
index 0000000..c6a8bda
--- /dev/null
+++ b/build/CMakeFiles/pkstat.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o"
+  "pkstat.pdb"
+  "pkstat"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkstat.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkstat.dir/depend.make b/build/CMakeFiles/pkstat.dir/depend.make
new file mode 100644
index 0000000..ede5917
--- /dev/null
+++ b/build/CMakeFiles/pkstat.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkstat.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkstat.dir/flags.make b/build/CMakeFiles/pkstat.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkstat.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkstat.dir/link.txt b/build/CMakeFiles/pkstat.dir/link.txt
new file mode 100644
index 0000000..188c12f
--- /dev/null
+++ b/build/CMakeFiles/pkstat.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o  -o pkstat -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm - [...]
diff --git a/build/CMakeFiles/pkstat.dir/progress.make b/build/CMakeFiles/pkstat.dir/progress.make
new file mode 100644
index 0000000..d277494
--- /dev/null
+++ b/build/CMakeFiles/pkstat.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 52
+
diff --git a/build/CMakeFiles/pkstatascii.dir/DependInfo.cmake b/build/CMakeFiles/pkstatascii.dir/DependInfo.cmake
new file mode 100644
index 0000000..b26c82f
--- /dev/null
+++ b/build/CMakeFiles/pkstatascii.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkstatascii.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkstatascii.dir/build.make b/build/CMakeFiles/pkstatascii.dir/build.make
new file mode 100644
index 0000000..500e3f8
--- /dev/null
+++ b/build/CMakeFiles/pkstatascii.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkstatascii.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkstatascii.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkstatascii.dir/flags.make
+
+CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o: CMakeFiles/pkstatascii.dir/flags.make
+CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o: ../src/apps/pkstatascii.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkstatascii.cc
+
+CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkstatascii.cc > CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.i
+
+CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkstatascii.cc -o CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.s
+
+CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.requires:
+.PHONY : CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.requires
+
+CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.provides: CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.provides.build
+.PHONY : CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.provides
+
+CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.provides.build: CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o
+
+# Object files for target pkstatascii
+pkstatascii_OBJECTS = \
+"CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o"
+
+# External object files for target pkstatascii
+pkstatascii_EXTERNAL_OBJECTS =
+
+pkstatascii: CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o
+pkstatascii: CMakeFiles/pkstatascii.dir/build.make
+pkstatascii: src/libbase.so.1.6.1
+pkstatascii: src/libimageClasses.so.1.6.1
+pkstatascii: src/libfileClasses.so.1.6.1
+pkstatascii: src/libalgorithms.so.1.6.1
+pkstatascii: /usr/lib/libgdal.so
+pkstatascii: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkstatascii: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkstatascii: /usr/local/lib/liblas.so
+pkstatascii: /usr/local/lib/liblas_c.so
+pkstatascii: src/libimageClasses.so.1.6.1
+pkstatascii: /usr/lib/libgdal.so
+pkstatascii: /usr/lib/libarmadillo.so
+pkstatascii: CMakeFiles/pkstatascii.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkstatascii"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkstatascii.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkstatascii.dir/build: pkstatascii
+.PHONY : CMakeFiles/pkstatascii.dir/build
+
+CMakeFiles/pkstatascii.dir/requires: CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o.requires
+.PHONY : CMakeFiles/pkstatascii.dir/requires
+
+CMakeFiles/pkstatascii.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkstatascii.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkstatascii.dir/clean
+
+CMakeFiles/pkstatascii.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstatascii.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkstatascii.dir/depend
+
diff --git a/build/CMakeFiles/pkstatascii.dir/cmake_clean.cmake b/build/CMakeFiles/pkstatascii.dir/cmake_clean.cmake
new file mode 100644
index 0000000..24816d6
--- /dev/null
+++ b/build/CMakeFiles/pkstatascii.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o"
+  "pkstatascii.pdb"
+  "pkstatascii"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkstatascii.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkstatascii.dir/depend.make b/build/CMakeFiles/pkstatascii.dir/depend.make
new file mode 100644
index 0000000..b98f9a4
--- /dev/null
+++ b/build/CMakeFiles/pkstatascii.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkstatascii.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkstatascii.dir/flags.make b/build/CMakeFiles/pkstatascii.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkstatascii.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkstatascii.dir/link.txt b/build/CMakeFiles/pkstatascii.dir/link.txt
new file mode 100644
index 0000000..92881a9
--- /dev/null
+++ b/build/CMakeFiles/pkstatascii.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o  -o pkstatascii -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl - [...]
diff --git a/build/CMakeFiles/pkstatascii.dir/progress.make b/build/CMakeFiles/pkstatascii.dir/progress.make
new file mode 100644
index 0000000..af380ee
--- /dev/null
+++ b/build/CMakeFiles/pkstatascii.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 53
+
diff --git a/build/CMakeFiles/pkstatogr.dir/DependInfo.cmake b/build/CMakeFiles/pkstatogr.dir/DependInfo.cmake
new file mode 100644
index 0000000..0cafe62
--- /dev/null
+++ b/build/CMakeFiles/pkstatogr.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkstatogr.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkstatogr.dir/build.make b/build/CMakeFiles/pkstatogr.dir/build.make
new file mode 100644
index 0000000..6b191d7
--- /dev/null
+++ b/build/CMakeFiles/pkstatogr.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkstatogr.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkstatogr.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkstatogr.dir/flags.make
+
+CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o: CMakeFiles/pkstatogr.dir/flags.make
+CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o: ../src/apps/pkstatogr.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkstatogr.cc
+
+CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkstatogr.cc > CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.i
+
+CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkstatogr.cc -o CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.s
+
+CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.requires:
+.PHONY : CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.requires
+
+CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.provides: CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.provides.build
+.PHONY : CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.provides
+
+CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.provides.build: CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o
+
+# Object files for target pkstatogr
+pkstatogr_OBJECTS = \
+"CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o"
+
+# External object files for target pkstatogr
+pkstatogr_EXTERNAL_OBJECTS =
+
+pkstatogr: CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o
+pkstatogr: CMakeFiles/pkstatogr.dir/build.make
+pkstatogr: src/libbase.so.1.6.1
+pkstatogr: src/libimageClasses.so.1.6.1
+pkstatogr: src/libfileClasses.so.1.6.1
+pkstatogr: src/libalgorithms.so.1.6.1
+pkstatogr: /usr/lib/libgdal.so
+pkstatogr: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkstatogr: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkstatogr: /usr/local/lib/liblas.so
+pkstatogr: /usr/local/lib/liblas_c.so
+pkstatogr: src/libimageClasses.so.1.6.1
+pkstatogr: /usr/lib/libgdal.so
+pkstatogr: /usr/lib/libarmadillo.so
+pkstatogr: CMakeFiles/pkstatogr.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkstatogr"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkstatogr.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkstatogr.dir/build: pkstatogr
+.PHONY : CMakeFiles/pkstatogr.dir/build
+
+CMakeFiles/pkstatogr.dir/requires: CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o.requires
+.PHONY : CMakeFiles/pkstatogr.dir/requires
+
+CMakeFiles/pkstatogr.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkstatogr.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkstatogr.dir/clean
+
+CMakeFiles/pkstatogr.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstatogr.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkstatogr.dir/depend
+
diff --git a/build/CMakeFiles/pkstatogr.dir/cmake_clean.cmake b/build/CMakeFiles/pkstatogr.dir/cmake_clean.cmake
new file mode 100644
index 0000000..40bc2f0
--- /dev/null
+++ b/build/CMakeFiles/pkstatogr.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o"
+  "pkstatogr.pdb"
+  "pkstatogr"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkstatogr.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkstatogr.dir/depend.make b/build/CMakeFiles/pkstatogr.dir/depend.make
new file mode 100644
index 0000000..8c744e2
--- /dev/null
+++ b/build/CMakeFiles/pkstatogr.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkstatogr.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkstatogr.dir/flags.make b/build/CMakeFiles/pkstatogr.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkstatogr.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkstatogr.dir/link.txt b/build/CMakeFiles/pkstatogr.dir/link.txt
new file mode 100644
index 0000000..d95dac0
--- /dev/null
+++ b/build/CMakeFiles/pkstatogr.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o  -o pkstatogr -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcb [...]
diff --git a/build/CMakeFiles/pkstatogr.dir/progress.make b/build/CMakeFiles/pkstatogr.dir/progress.make
new file mode 100644
index 0000000..0bc7bd3
--- /dev/null
+++ b/build/CMakeFiles/pkstatogr.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 54
+
diff --git a/build/CMakeFiles/pkstatprofile.dir/DependInfo.cmake b/build/CMakeFiles/pkstatprofile.dir/DependInfo.cmake
new file mode 100644
index 0000000..fb4c627
--- /dev/null
+++ b/build/CMakeFiles/pkstatprofile.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pkstatprofile.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pkstatprofile.dir/build.make b/build/CMakeFiles/pkstatprofile.dir/build.make
new file mode 100644
index 0000000..8042d02
--- /dev/null
+++ b/build/CMakeFiles/pkstatprofile.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pkstatprofile.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pkstatprofile.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pkstatprofile.dir/flags.make
+
+CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o: CMakeFiles/pkstatprofile.dir/flags.make
+CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o: ../src/apps/pkstatprofile.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pkstatprofile.cc
+
+CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pkstatprofile.cc > CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.i
+
+CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pkstatprofile.cc -o CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.s
+
+CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.requires:
+.PHONY : CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.requires
+
+CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.provides: CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.requires
+	$(MAKE) -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.provides.build
+.PHONY : CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.provides
+
+CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.provides.build: CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o
+
+# Object files for target pkstatprofile
+pkstatprofile_OBJECTS = \
+"CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o"
+
+# External object files for target pkstatprofile
+pkstatprofile_EXTERNAL_OBJECTS =
+
+pkstatprofile: CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o
+pkstatprofile: CMakeFiles/pkstatprofile.dir/build.make
+pkstatprofile: src/libbase.so.1.6.1
+pkstatprofile: src/libimageClasses.so.1.6.1
+pkstatprofile: src/libfileClasses.so.1.6.1
+pkstatprofile: src/libalgorithms.so.1.6.1
+pkstatprofile: /usr/lib/libgdal.so
+pkstatprofile: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pkstatprofile: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pkstatprofile: /usr/local/lib/liblas.so
+pkstatprofile: /usr/local/lib/liblas_c.so
+pkstatprofile: src/libimageClasses.so.1.6.1
+pkstatprofile: /usr/lib/libgdal.so
+pkstatprofile: /usr/lib/libarmadillo.so
+pkstatprofile: CMakeFiles/pkstatprofile.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pkstatprofile"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pkstatprofile.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pkstatprofile.dir/build: pkstatprofile
+.PHONY : CMakeFiles/pkstatprofile.dir/build
+
+CMakeFiles/pkstatprofile.dir/requires: CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o.requires
+.PHONY : CMakeFiles/pkstatprofile.dir/requires
+
+CMakeFiles/pkstatprofile.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pkstatprofile.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pkstatprofile.dir/clean
+
+CMakeFiles/pkstatprofile.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pkstatprofile.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pkstatprofile.dir/depend
+
diff --git a/build/CMakeFiles/pkstatprofile.dir/cmake_clean.cmake b/build/CMakeFiles/pkstatprofile.dir/cmake_clean.cmake
new file mode 100644
index 0000000..77fb5d3
--- /dev/null
+++ b/build/CMakeFiles/pkstatprofile.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o"
+  "pkstatprofile.pdb"
+  "pkstatprofile"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pkstatprofile.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pkstatprofile.dir/depend.make b/build/CMakeFiles/pkstatprofile.dir/depend.make
new file mode 100644
index 0000000..9b51b38
--- /dev/null
+++ b/build/CMakeFiles/pkstatprofile.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pkstatprofile.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pkstatprofile.dir/flags.make b/build/CMakeFiles/pkstatprofile.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pkstatprofile.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pkstatprofile.dir/link.txt b/build/CMakeFiles/pkstatprofile.dir/link.txt
new file mode 100644
index 0000000..f83d621
--- /dev/null
+++ b/build/CMakeFiles/pkstatprofile.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o  -o pkstatprofile -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib - [...]
diff --git a/build/CMakeFiles/pkstatprofile.dir/progress.make b/build/CMakeFiles/pkstatprofile.dir/progress.make
new file mode 100644
index 0000000..e11d6f4
--- /dev/null
+++ b/build/CMakeFiles/pkstatprofile.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 55
+
diff --git a/build/CMakeFiles/pksvm.dir/DependInfo.cmake b/build/CMakeFiles/pksvm.dir/DependInfo.cmake
new file mode 100644
index 0000000..82943e9
--- /dev/null
+++ b/build/CMakeFiles/pksvm.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pksvm.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pksvm.dir/build.make b/build/CMakeFiles/pksvm.dir/build.make
new file mode 100644
index 0000000..cb15acb
--- /dev/null
+++ b/build/CMakeFiles/pksvm.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pksvm.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pksvm.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pksvm.dir/flags.make
+
+CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o: CMakeFiles/pksvm.dir/flags.make
+CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o: ../src/apps/pksvm.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pksvm.cc
+
+CMakeFiles/pksvm.dir/src/apps/pksvm.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pksvm.dir/src/apps/pksvm.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pksvm.cc > CMakeFiles/pksvm.dir/src/apps/pksvm.cc.i
+
+CMakeFiles/pksvm.dir/src/apps/pksvm.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pksvm.dir/src/apps/pksvm.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pksvm.cc -o CMakeFiles/pksvm.dir/src/apps/pksvm.cc.s
+
+CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.requires:
+.PHONY : CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.requires
+
+CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.provides: CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.requires
+	$(MAKE) -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.provides.build
+.PHONY : CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.provides
+
+CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.provides.build: CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o
+
+# Object files for target pksvm
+pksvm_OBJECTS = \
+"CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o"
+
+# External object files for target pksvm
+pksvm_EXTERNAL_OBJECTS =
+
+pksvm: CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o
+pksvm: CMakeFiles/pksvm.dir/build.make
+pksvm: src/libbase.so.1.6.1
+pksvm: src/libimageClasses.so.1.6.1
+pksvm: src/libfileClasses.so.1.6.1
+pksvm: src/libalgorithms.so.1.6.1
+pksvm: /usr/lib/libgdal.so
+pksvm: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pksvm: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pksvm: /usr/local/lib/liblas.so
+pksvm: /usr/local/lib/liblas_c.so
+pksvm: src/libimageClasses.so.1.6.1
+pksvm: /usr/lib/libgdal.so
+pksvm: /usr/lib/libarmadillo.so
+pksvm: CMakeFiles/pksvm.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pksvm"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pksvm.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pksvm.dir/build: pksvm
+.PHONY : CMakeFiles/pksvm.dir/build
+
+CMakeFiles/pksvm.dir/requires: CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o.requires
+.PHONY : CMakeFiles/pksvm.dir/requires
+
+CMakeFiles/pksvm.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pksvm.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pksvm.dir/clean
+
+CMakeFiles/pksvm.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pksvm.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pksvm.dir/depend
+
diff --git a/build/CMakeFiles/pksvm.dir/cmake_clean.cmake b/build/CMakeFiles/pksvm.dir/cmake_clean.cmake
new file mode 100644
index 0000000..ca9905a
--- /dev/null
+++ b/build/CMakeFiles/pksvm.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o"
+  "pksvm.pdb"
+  "pksvm"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pksvm.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pksvm.dir/depend.make b/build/CMakeFiles/pksvm.dir/depend.make
new file mode 100644
index 0000000..3322c45
--- /dev/null
+++ b/build/CMakeFiles/pksvm.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pksvm.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pksvm.dir/flags.make b/build/CMakeFiles/pksvm.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pksvm.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pksvm.dir/link.txt b/build/CMakeFiles/pksvm.dir/link.txt
new file mode 100644
index 0000000..9aa55e6
--- /dev/null
+++ b/build/CMakeFiles/pksvm.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o  -o pksvm -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lar [...]
diff --git a/build/CMakeFiles/pksvm.dir/progress.make b/build/CMakeFiles/pksvm.dir/progress.make
new file mode 100644
index 0000000..6fc7b16
--- /dev/null
+++ b/build/CMakeFiles/pksvm.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 56
+
diff --git a/build/CMakeFiles/pksvmogr.dir/DependInfo.cmake b/build/CMakeFiles/pksvmogr.dir/DependInfo.cmake
new file mode 100644
index 0000000..93ff5e5
--- /dev/null
+++ b/build/CMakeFiles/pksvmogr.dir/DependInfo.cmake
@@ -0,0 +1,36 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/apps/pksvmogr.cc" "/home/kempenep/pktools-2.6.7/build/CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake"
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/pksvmogr.dir/build.make b/build/CMakeFiles/pksvmogr.dir/build.make
new file mode 100644
index 0000000..1908dc1
--- /dev/null
+++ b/build/CMakeFiles/pksvmogr.dir/build.make
@@ -0,0 +1,114 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include CMakeFiles/pksvmogr.dir/depend.make
+
+# Include the progress variables for this target.
+include CMakeFiles/pksvmogr.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include CMakeFiles/pksvmogr.dir/flags.make
+
+CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o: CMakeFiles/pksvmogr.dir/flags.make
+CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o: ../src/apps/pksvmogr.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o"
+	/usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o -c /home/kempenep/pktools-2.6.7/src/apps/pksvmogr.cc
+
+CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.i"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/apps/pksvmogr.cc > CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.i
+
+CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.s"
+	/usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/apps/pksvmogr.cc -o CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.s
+
+CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.requires:
+.PHONY : CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.requires
+
+CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.provides: CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.requires
+	$(MAKE) -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.provides.build
+.PHONY : CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.provides
+
+CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.provides.build: CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o
+
+# Object files for target pksvmogr
+pksvmogr_OBJECTS = \
+"CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o"
+
+# External object files for target pksvmogr
+pksvmogr_EXTERNAL_OBJECTS =
+
+pksvmogr: CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o
+pksvmogr: CMakeFiles/pksvmogr.dir/build.make
+pksvmogr: src/libbase.so.1.6.1
+pksvmogr: src/libimageClasses.so.1.6.1
+pksvmogr: src/libfileClasses.so.1.6.1
+pksvmogr: src/libalgorithms.so.1.6.1
+pksvmogr: /usr/lib/libgdal.so
+pksvmogr: /usr/lib/x86_64-linux-gnu/libboost_filesystem.so
+pksvmogr: /usr/lib/x86_64-linux-gnu/libboost_system.so
+pksvmogr: /usr/local/lib/liblas.so
+pksvmogr: /usr/local/lib/liblas_c.so
+pksvmogr: src/libimageClasses.so.1.6.1
+pksvmogr: /usr/lib/libgdal.so
+pksvmogr: /usr/lib/libarmadillo.so
+pksvmogr: CMakeFiles/pksvmogr.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX executable pksvmogr"
+	$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/pksvmogr.dir/link.txt --verbose=$(VERBOSE)
+
+# Rule to build all files generated by this target.
+CMakeFiles/pksvmogr.dir/build: pksvmogr
+.PHONY : CMakeFiles/pksvmogr.dir/build
+
+CMakeFiles/pksvmogr.dir/requires: CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o.requires
+.PHONY : CMakeFiles/pksvmogr.dir/requires
+
+CMakeFiles/pksvmogr.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/pksvmogr.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/pksvmogr.dir/clean
+
+CMakeFiles/pksvmogr.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/pksvmogr.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/pksvmogr.dir/depend
+
diff --git a/build/CMakeFiles/pksvmogr.dir/cmake_clean.cmake b/build/CMakeFiles/pksvmogr.dir/cmake_clean.cmake
new file mode 100644
index 0000000..7b453a3
--- /dev/null
+++ b/build/CMakeFiles/pksvmogr.dir/cmake_clean.cmake
@@ -0,0 +1,10 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o"
+  "pksvmogr.pdb"
+  "pksvmogr"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/pksvmogr.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/pksvmogr.dir/depend.make b/build/CMakeFiles/pksvmogr.dir/depend.make
new file mode 100644
index 0000000..536a56c
--- /dev/null
+++ b/build/CMakeFiles/pksvmogr.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for pksvmogr.
+# This may be replaced when dependencies are built.
diff --git a/build/CMakeFiles/pksvmogr.dir/flags.make b/build/CMakeFiles/pksvmogr.dir/flags.make
new file mode 100644
index 0000000..b0863ce
--- /dev/null
+++ b/build/CMakeFiles/pksvmogr.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H
+
diff --git a/build/CMakeFiles/pksvmogr.dir/link.txt b/build/CMakeFiles/pksvmogr.dir/link.txt
new file mode 100644
index 0000000..be8acf6
--- /dev/null
+++ b/build/CMakeFiles/pksvmogr.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++    -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG    CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o  -o pksvmogr -rdynamic src/libbase.so.1.6.1 src/libimageClasses.so.1.6.1 src/libfileClasses.so.1.6.1 src/libalgorithms.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas -lm -lboost_filesystem -lboost_system /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so src/libimageClasses.so.1.6.1 -lgdal -L/usr/lib -lgsl -lgslcblas [...]
diff --git a/build/CMakeFiles/pksvmogr.dir/progress.make b/build/CMakeFiles/pksvmogr.dir/progress.make
new file mode 100644
index 0000000..08c4d5e
--- /dev/null
+++ b/build/CMakeFiles/pksvmogr.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 57
+
diff --git a/build/CMakeFiles/progress.marks b/build/CMakeFiles/progress.marks
new file mode 100644
index 0000000..e1617e8
--- /dev/null
+++ b/build/CMakeFiles/progress.marks
@@ -0,0 +1 @@
+57
diff --git a/build/CMakeFiles/utilities.dir/DependInfo.cmake b/build/CMakeFiles/utilities.dir/DependInfo.cmake
new file mode 100644
index 0000000..8d377cd
--- /dev/null
+++ b/build/CMakeFiles/utilities.dir/DependInfo.cmake
@@ -0,0 +1,27 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  )
+# The set of files for implicit dependencies of each language:
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/CMakeFiles/utilities.dir/build.make b/build/CMakeFiles/utilities.dir/build.make
new file mode 100644
index 0000000..6562e3f
--- /dev/null
+++ b/build/CMakeFiles/utilities.dir/build.make
@@ -0,0 +1,101 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Utility rule file for utilities.
+
+# Include the progress variables for this target.
+include CMakeFiles/utilities.dir/progress.make
+
+CMakeFiles/utilities: pkinfo
+CMakeFiles/utilities: pkcrop
+CMakeFiles/utilities: pkdiff
+CMakeFiles/utilities: pkgetmask
+CMakeFiles/utilities: pksetmask
+CMakeFiles/utilities: pkcreatect
+CMakeFiles/utilities: pkdumpimg
+CMakeFiles/utilities: pkdumpogr
+CMakeFiles/utilities: pksieve
+CMakeFiles/utilities: pkstat
+CMakeFiles/utilities: pkstatascii
+CMakeFiles/utilities: pkstatogr
+CMakeFiles/utilities: pkstatprofile
+CMakeFiles/utilities: pkegcs
+CMakeFiles/utilities: pkextractimg
+CMakeFiles/utilities: pkextractogr
+CMakeFiles/utilities: pkfillnodata
+CMakeFiles/utilities: pkfilter
+CMakeFiles/utilities: pkfilterdem
+CMakeFiles/utilities: pkfilterascii
+CMakeFiles/utilities: pkdsm2shadow
+CMakeFiles/utilities: pkcomposite
+CMakeFiles/utilities: pkpolygonize
+CMakeFiles/utilities: pkascii2img
+CMakeFiles/utilities: pksvm
+CMakeFiles/utilities: pksvmogr
+CMakeFiles/utilities: pkfssvm
+CMakeFiles/utilities: pkoptsvm
+CMakeFiles/utilities: pkascii2ogr
+CMakeFiles/utilities: pkreclass
+CMakeFiles/utilities: pkreclassogr
+CMakeFiles/utilities: pkkalman
+CMakeFiles/utilities: pklas2img
+CMakeFiles/utilities: pkann
+CMakeFiles/utilities: pkannogr
+CMakeFiles/utilities: pkfsann
+CMakeFiles/utilities: pkregann
+
+utilities: CMakeFiles/utilities
+utilities: CMakeFiles/utilities.dir/build.make
+.PHONY : utilities
+
+# Rule to build all files generated by this target.
+CMakeFiles/utilities.dir/build: utilities
+.PHONY : CMakeFiles/utilities.dir/build
+
+CMakeFiles/utilities.dir/clean:
+	$(CMAKE_COMMAND) -P CMakeFiles/utilities.dir/cmake_clean.cmake
+.PHONY : CMakeFiles/utilities.dir/clean
+
+CMakeFiles/utilities.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/CMakeFiles/utilities.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : CMakeFiles/utilities.dir/depend
+
diff --git a/build/CMakeFiles/utilities.dir/cmake_clean.cmake b/build/CMakeFiles/utilities.dir/cmake_clean.cmake
new file mode 100644
index 0000000..c14d2b7
--- /dev/null
+++ b/build/CMakeFiles/utilities.dir/cmake_clean.cmake
@@ -0,0 +1,8 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/utilities"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang)
+  include(CMakeFiles/utilities.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/CMakeFiles/utilities.dir/progress.make b/build/CMakeFiles/utilities.dir/progress.make
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/build/CMakeFiles/utilities.dir/progress.make
@@ -0,0 +1 @@
+
diff --git a/build/CPackSourceConfig.cmake b/build/CPackSourceConfig.cmake
new file mode 100644
index 0000000..f4204db
--- /dev/null
+++ b/build/CPackSourceConfig.cmake
@@ -0,0 +1,73 @@
+# This file will be configured to contain variables for CPack. These variables
+# should be set in the CMake list file of the project before CPack module is
+# included. The list of available CPACK_xxx variables and their associated
+# documentation may be obtained using
+#  cpack --help-variable-list
+#
+# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME)
+# and some are specific to a generator
+# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables
+# usually begin with CPACK_<GENNAME>_xxxx.
+
+
+SET(CPACK_BINARY_BUNDLE "")
+SET(CPACK_BINARY_CYGWIN "")
+SET(CPACK_BINARY_DEB "OFF")
+SET(CPACK_BINARY_DRAGNDROP "")
+SET(CPACK_BINARY_NSIS "OFF")
+SET(CPACK_BINARY_OSXX11 "")
+SET(CPACK_BINARY_PACKAGEMAKER "")
+SET(CPACK_BINARY_RPM "OFF")
+SET(CPACK_BINARY_STGZ "ON")
+SET(CPACK_BINARY_TBZ2 "OFF")
+SET(CPACK_BINARY_TGZ "ON")
+SET(CPACK_BINARY_TZ "ON")
+SET(CPACK_BINARY_WIX "")
+SET(CPACK_BINARY_ZIP "")
+SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
+SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
+SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
+SET(CPACK_GENERATOR "TGZ;ZIP;TBZ2")
+SET(CPACK_IGNORE_FILES "_CPack_Packages;.gz;.bz2;.zip;.svn;README;HOWTORELEASE.txt;CMakeCache.txt;CPackConfig.cmake;schemas")
+SET(CPACK_INSTALLED_DIRECTORIES "/home/kempenep/pktools-2.6.7;/")
+SET(CPACK_INSTALL_CMAKE_PROJECTS "")
+SET(CPACK_INSTALL_PREFIX "/usr/local")
+SET(CPACK_MODULE_PATH "/home/kempenep/pktools-2.6.7/cmake/modules")
+SET(CPACK_NSIS_DISPLAY_NAME "PKTOOLS 0.1.1")
+SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
+SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
+SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
+SET(CPACK_NSIS_PACKAGE_NAME "PKTOOLS 0.1.1")
+SET(CPACK_OUTPUT_CONFIG_FILE "/home/kempenep/pktools-2.6.7/build/CPackConfig.cmake")
+SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
+SET(CPACK_PACKAGE_DESCRIPTION_FILE "/usr/share/cmake-3.0/Templates/CPack.GenericDescription.txt")
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "PKTOOLS built using CMake")
+SET(CPACK_PACKAGE_FILE_NAME "PKTOOLS-2.6.7.1")
+SET(CPACK_PACKAGE_INSTALL_DIRECTORY "PKTOOLS 0.1.1")
+SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "PKTOOLS 0.1.1")
+SET(CPACK_PACKAGE_NAME "PKTOOLS")
+SET(CPACK_PACKAGE_RELOCATABLE "true")
+SET(CPACK_PACKAGE_VENDOR "Humanity")
+SET(CPACK_PACKAGE_VERSION "0.1.1")
+SET(CPACK_PACKAGE_VERSION_MAJOR "0")
+SET(CPACK_PACKAGE_VERSION_MINOR "1")
+SET(CPACK_PACKAGE_VERSION_PATCH "1")
+SET(CPACK_RESOURCE_FILE_LICENSE "/usr/share/cmake-3.0/Templates/CPack.GenericLicense.txt")
+SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-3.0/Templates/CPack.GenericDescription.txt")
+SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-3.0/Templates/CPack.GenericWelcome.txt")
+SET(CPACK_SET_DESTDIR "OFF")
+SET(CPACK_SOURCE_CYGWIN "")
+SET(CPACK_SOURCE_GENERATOR "TGZ;ZIP;TBZ2")
+SET(CPACK_SOURCE_IGNORE_FILES "_CPack_Packages;.gz;.bz2;.zip;.svn;README;HOWTORELEASE.txt;CMakeCache.txt;CPackConfig.cmake;schemas")
+SET(CPACK_SOURCE_INSTALLED_DIRECTORIES "/home/kempenep/pktools-2.6.7;/")
+SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/kempenep/pktools-2.6.7/build/CPackSourceConfig.cmake")
+SET(CPACK_SOURCE_PACKAGE_FILE_NAME "PKTOOLS-2.6.7.1")
+SET(CPACK_SOURCE_TBZ2 "")
+SET(CPACK_SOURCE_TGZ "")
+SET(CPACK_SOURCE_TOPLEVEL_TAG "Linux-Source")
+SET(CPACK_SOURCE_TZ "")
+SET(CPACK_SOURCE_ZIP "")
+SET(CPACK_STRIP_FILES "")
+SET(CPACK_SYSTEM_NAME "Linux")
+SET(CPACK_TOPLEVEL_TAG "Linux-Source")
+SET(CPACK_WIX_SIZEOF_VOID_P "8")
diff --git a/build/Makefile b/build/Makefile
new file mode 100644
index 0000000..8cdb3d9
--- /dev/null
+++ b/build/Makefile
@@ -0,0 +1,1808 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+# Allow only one "make -f Makefile2" at a time, but pass parallelism.
+.NOTPARALLEL:
+.PHONY : .NOTPARALLEL
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target edit_cache
+edit_cache:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
+	/usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : edit_cache
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+.PHONY : edit_cache/fast
+
+# Special rule for the target install
+install: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+	/usr/bin/cmake -P cmake_install.cmake
+.PHONY : install
+
+# Special rule for the target install
+install/fast: preinstall/fast
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+	/usr/bin/cmake -P cmake_install.cmake
+.PHONY : install/fast
+
+# Special rule for the target install/local
+install/local: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
+	/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+.PHONY : install/local
+
+# Special rule for the target install/local
+install/local/fast: install/local
+.PHONY : install/local/fast
+
+# Special rule for the target install/strip
+install/strip: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
+	/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+.PHONY : install/strip
+
+# Special rule for the target install/strip
+install/strip/fast: install/strip
+.PHONY : install/strip/fast
+
+# Special rule for the target list_install_components
+list_install_components:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
+.PHONY : list_install_components
+
+# Special rule for the target list_install_components
+list_install_components/fast: list_install_components
+.PHONY : list_install_components/fast
+
+# Special rule for the target package
+package: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
+	/usr/bin/cpack --config ./CPackConfig.cmake
+.PHONY : package
+
+# Special rule for the target package
+package/fast: package
+.PHONY : package/fast
+
+# Special rule for the target package_source
+package_source:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
+	/usr/bin/cpack --config ./CPackSourceConfig.cmake /home/kempenep/pktools-2.6.7/build/CPackSourceConfig.cmake
+.PHONY : package_source
+
+# Special rule for the target package_source
+package_source/fast: package_source
+.PHONY : package_source/fast
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+	/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : rebuild_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+.PHONY : rebuild_cache/fast
+
+# The main all target
+all: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles /home/kempenep/pktools-2.6.7/build/CMakeFiles/progress.marks
+	$(MAKE) -f CMakeFiles/Makefile2 all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+	$(MAKE) -f CMakeFiles/Makefile2 clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+	$(MAKE) -f CMakeFiles/Makefile2 preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+	$(MAKE) -f CMakeFiles/Makefile2 preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+	$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+#=============================================================================
+# Target rules for targets named dist
+
+# Build rule for target.
+dist: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 dist
+.PHONY : dist
+
+# fast build rule for target.
+dist/fast:
+	$(MAKE) -f CMakeFiles/dist.dir/build.make CMakeFiles/dist.dir/build
+.PHONY : dist/fast
+
+#=============================================================================
+# Target rules for targets named pkann
+
+# Build rule for target.
+pkann: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkann
+.PHONY : pkann
+
+# fast build rule for target.
+pkann/fast:
+	$(MAKE) -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/build
+.PHONY : pkann/fast
+
+#=============================================================================
+# Target rules for targets named pkannogr
+
+# Build rule for target.
+pkannogr: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkannogr
+.PHONY : pkannogr
+
+# fast build rule for target.
+pkannogr/fast:
+	$(MAKE) -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/build
+.PHONY : pkannogr/fast
+
+#=============================================================================
+# Target rules for targets named pkascii2img
+
+# Build rule for target.
+pkascii2img: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkascii2img
+.PHONY : pkascii2img
+
+# fast build rule for target.
+pkascii2img/fast:
+	$(MAKE) -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/build
+.PHONY : pkascii2img/fast
+
+#=============================================================================
+# Target rules for targets named pkascii2ogr
+
+# Build rule for target.
+pkascii2ogr: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkascii2ogr
+.PHONY : pkascii2ogr
+
+# fast build rule for target.
+pkascii2ogr/fast:
+	$(MAKE) -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/build
+.PHONY : pkascii2ogr/fast
+
+#=============================================================================
+# Target rules for targets named pkcomposite
+
+# Build rule for target.
+pkcomposite: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkcomposite
+.PHONY : pkcomposite
+
+# fast build rule for target.
+pkcomposite/fast:
+	$(MAKE) -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/build
+.PHONY : pkcomposite/fast
+
+#=============================================================================
+# Target rules for targets named pkcreatect
+
+# Build rule for target.
+pkcreatect: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkcreatect
+.PHONY : pkcreatect
+
+# fast build rule for target.
+pkcreatect/fast:
+	$(MAKE) -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/build
+.PHONY : pkcreatect/fast
+
+#=============================================================================
+# Target rules for targets named pkcrop
+
+# Build rule for target.
+pkcrop: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkcrop
+.PHONY : pkcrop
+
+# fast build rule for target.
+pkcrop/fast:
+	$(MAKE) -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/build
+.PHONY : pkcrop/fast
+
+#=============================================================================
+# Target rules for targets named pkdiff
+
+# Build rule for target.
+pkdiff: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkdiff
+.PHONY : pkdiff
+
+# fast build rule for target.
+pkdiff/fast:
+	$(MAKE) -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/build
+.PHONY : pkdiff/fast
+
+#=============================================================================
+# Target rules for targets named pkdsm2shadow
+
+# Build rule for target.
+pkdsm2shadow: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkdsm2shadow
+.PHONY : pkdsm2shadow
+
+# fast build rule for target.
+pkdsm2shadow/fast:
+	$(MAKE) -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/build
+.PHONY : pkdsm2shadow/fast
+
+#=============================================================================
+# Target rules for targets named pkdumpimg
+
+# Build rule for target.
+pkdumpimg: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkdumpimg
+.PHONY : pkdumpimg
+
+# fast build rule for target.
+pkdumpimg/fast:
+	$(MAKE) -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/build
+.PHONY : pkdumpimg/fast
+
+#=============================================================================
+# Target rules for targets named pkdumpogr
+
+# Build rule for target.
+pkdumpogr: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkdumpogr
+.PHONY : pkdumpogr
+
+# fast build rule for target.
+pkdumpogr/fast:
+	$(MAKE) -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/build
+.PHONY : pkdumpogr/fast
+
+#=============================================================================
+# Target rules for targets named pkegcs
+
+# Build rule for target.
+pkegcs: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkegcs
+.PHONY : pkegcs
+
+# fast build rule for target.
+pkegcs/fast:
+	$(MAKE) -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/build
+.PHONY : pkegcs/fast
+
+#=============================================================================
+# Target rules for targets named pkextractimg
+
+# Build rule for target.
+pkextractimg: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkextractimg
+.PHONY : pkextractimg
+
+# fast build rule for target.
+pkextractimg/fast:
+	$(MAKE) -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/build
+.PHONY : pkextractimg/fast
+
+#=============================================================================
+# Target rules for targets named pkextractogr
+
+# Build rule for target.
+pkextractogr: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkextractogr
+.PHONY : pkextractogr
+
+# fast build rule for target.
+pkextractogr/fast:
+	$(MAKE) -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/build
+.PHONY : pkextractogr/fast
+
+#=============================================================================
+# Target rules for targets named pkfillnodata
+
+# Build rule for target.
+pkfillnodata: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkfillnodata
+.PHONY : pkfillnodata
+
+# fast build rule for target.
+pkfillnodata/fast:
+	$(MAKE) -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/build
+.PHONY : pkfillnodata/fast
+
+#=============================================================================
+# Target rules for targets named pkfilter
+
+# Build rule for target.
+pkfilter: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkfilter
+.PHONY : pkfilter
+
+# fast build rule for target.
+pkfilter/fast:
+	$(MAKE) -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/build
+.PHONY : pkfilter/fast
+
+#=============================================================================
+# Target rules for targets named pkfilterascii
+
+# Build rule for target.
+pkfilterascii: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkfilterascii
+.PHONY : pkfilterascii
+
+# fast build rule for target.
+pkfilterascii/fast:
+	$(MAKE) -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/build
+.PHONY : pkfilterascii/fast
+
+#=============================================================================
+# Target rules for targets named pkfilterdem
+
+# Build rule for target.
+pkfilterdem: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkfilterdem
+.PHONY : pkfilterdem
+
+# fast build rule for target.
+pkfilterdem/fast:
+	$(MAKE) -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/build
+.PHONY : pkfilterdem/fast
+
+#=============================================================================
+# Target rules for targets named pkfsann
+
+# Build rule for target.
+pkfsann: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkfsann
+.PHONY : pkfsann
+
+# fast build rule for target.
+pkfsann/fast:
+	$(MAKE) -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/build
+.PHONY : pkfsann/fast
+
+#=============================================================================
+# Target rules for targets named pkfssvm
+
+# Build rule for target.
+pkfssvm: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkfssvm
+.PHONY : pkfssvm
+
+# fast build rule for target.
+pkfssvm/fast:
+	$(MAKE) -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/build
+.PHONY : pkfssvm/fast
+
+#=============================================================================
+# Target rules for targets named pkgetmask
+
+# Build rule for target.
+pkgetmask: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkgetmask
+.PHONY : pkgetmask
+
+# fast build rule for target.
+pkgetmask/fast:
+	$(MAKE) -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/build
+.PHONY : pkgetmask/fast
+
+#=============================================================================
+# Target rules for targets named pkinfo
+
+# Build rule for target.
+pkinfo: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkinfo
+.PHONY : pkinfo
+
+# fast build rule for target.
+pkinfo/fast:
+	$(MAKE) -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/build
+.PHONY : pkinfo/fast
+
+#=============================================================================
+# Target rules for targets named pkkalman
+
+# Build rule for target.
+pkkalman: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkkalman
+.PHONY : pkkalman
+
+# fast build rule for target.
+pkkalman/fast:
+	$(MAKE) -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/build
+.PHONY : pkkalman/fast
+
+#=============================================================================
+# Target rules for targets named pklas2img
+
+# Build rule for target.
+pklas2img: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pklas2img
+.PHONY : pklas2img
+
+# fast build rule for target.
+pklas2img/fast:
+	$(MAKE) -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/build
+.PHONY : pklas2img/fast
+
+#=============================================================================
+# Target rules for targets named pkoptsvm
+
+# Build rule for target.
+pkoptsvm: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkoptsvm
+.PHONY : pkoptsvm
+
+# fast build rule for target.
+pkoptsvm/fast:
+	$(MAKE) -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/build
+.PHONY : pkoptsvm/fast
+
+#=============================================================================
+# Target rules for targets named pkpolygonize
+
+# Build rule for target.
+pkpolygonize: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkpolygonize
+.PHONY : pkpolygonize
+
+# fast build rule for target.
+pkpolygonize/fast:
+	$(MAKE) -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/build
+.PHONY : pkpolygonize/fast
+
+#=============================================================================
+# Target rules for targets named pkreclass
+
+# Build rule for target.
+pkreclass: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkreclass
+.PHONY : pkreclass
+
+# fast build rule for target.
+pkreclass/fast:
+	$(MAKE) -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/build
+.PHONY : pkreclass/fast
+
+#=============================================================================
+# Target rules for targets named pkreclassogr
+
+# Build rule for target.
+pkreclassogr: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkreclassogr
+.PHONY : pkreclassogr
+
+# fast build rule for target.
+pkreclassogr/fast:
+	$(MAKE) -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/build
+.PHONY : pkreclassogr/fast
+
+#=============================================================================
+# Target rules for targets named pkregann
+
+# Build rule for target.
+pkregann: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkregann
+.PHONY : pkregann
+
+# fast build rule for target.
+pkregann/fast:
+	$(MAKE) -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/build
+.PHONY : pkregann/fast
+
+#=============================================================================
+# Target rules for targets named pksetmask
+
+# Build rule for target.
+pksetmask: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pksetmask
+.PHONY : pksetmask
+
+# fast build rule for target.
+pksetmask/fast:
+	$(MAKE) -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/build
+.PHONY : pksetmask/fast
+
+#=============================================================================
+# Target rules for targets named pksieve
+
+# Build rule for target.
+pksieve: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pksieve
+.PHONY : pksieve
+
+# fast build rule for target.
+pksieve/fast:
+	$(MAKE) -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/build
+.PHONY : pksieve/fast
+
+#=============================================================================
+# Target rules for targets named pkstat
+
+# Build rule for target.
+pkstat: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkstat
+.PHONY : pkstat
+
+# fast build rule for target.
+pkstat/fast:
+	$(MAKE) -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/build
+.PHONY : pkstat/fast
+
+#=============================================================================
+# Target rules for targets named pkstatascii
+
+# Build rule for target.
+pkstatascii: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkstatascii
+.PHONY : pkstatascii
+
+# fast build rule for target.
+pkstatascii/fast:
+	$(MAKE) -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/build
+.PHONY : pkstatascii/fast
+
+#=============================================================================
+# Target rules for targets named pkstatogr
+
+# Build rule for target.
+pkstatogr: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkstatogr
+.PHONY : pkstatogr
+
+# fast build rule for target.
+pkstatogr/fast:
+	$(MAKE) -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/build
+.PHONY : pkstatogr/fast
+
+#=============================================================================
+# Target rules for targets named pkstatprofile
+
+# Build rule for target.
+pkstatprofile: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pkstatprofile
+.PHONY : pkstatprofile
+
+# fast build rule for target.
+pkstatprofile/fast:
+	$(MAKE) -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/build
+.PHONY : pkstatprofile/fast
+
+#=============================================================================
+# Target rules for targets named pksvm
+
+# Build rule for target.
+pksvm: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pksvm
+.PHONY : pksvm
+
+# fast build rule for target.
+pksvm/fast:
+	$(MAKE) -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/build
+.PHONY : pksvm/fast
+
+#=============================================================================
+# Target rules for targets named pksvmogr
+
+# Build rule for target.
+pksvmogr: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 pksvmogr
+.PHONY : pksvmogr
+
+# fast build rule for target.
+pksvmogr/fast:
+	$(MAKE) -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/build
+.PHONY : pksvmogr/fast
+
+#=============================================================================
+# Target rules for targets named utilities
+
+# Build rule for target.
+utilities: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 utilities
+.PHONY : utilities
+
+# fast build rule for target.
+utilities/fast:
+	$(MAKE) -f CMakeFiles/utilities.dir/build.make CMakeFiles/utilities.dir/build
+.PHONY : utilities/fast
+
+#=============================================================================
+# Target rules for targets named algorithms
+
+# Build rule for target.
+algorithms: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 algorithms
+.PHONY : algorithms
+
+# fast build rule for target.
+algorithms/fast:
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/build
+.PHONY : algorithms/fast
+
+#=============================================================================
+# Target rules for targets named base
+
+# Build rule for target.
+base: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 base
+.PHONY : base
+
+# fast build rule for target.
+base/fast:
+	$(MAKE) -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build
+.PHONY : base/fast
+
+#=============================================================================
+# Target rules for targets named fileClasses
+
+# Build rule for target.
+fileClasses: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 fileClasses
+.PHONY : fileClasses
+
+# fast build rule for target.
+fileClasses/fast:
+	$(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/build
+.PHONY : fileClasses/fast
+
+#=============================================================================
+# Target rules for targets named imageClasses
+
+# Build rule for target.
+imageClasses: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 imageClasses
+.PHONY : imageClasses
+
+# fast build rule for target.
+imageClasses/fast:
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build
+.PHONY : imageClasses/fast
+
+#=============================================================================
+# Target rules for targets named lasClasses
+
+# Build rule for target.
+lasClasses: cmake_check_build_system
+	$(MAKE) -f CMakeFiles/Makefile2 lasClasses
+.PHONY : lasClasses
+
+# fast build rule for target.
+lasClasses/fast:
+	$(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/build
+.PHONY : lasClasses/fast
+
+src/apps/pkann.o: src/apps/pkann.cc.o
+.PHONY : src/apps/pkann.o
+
+# target to build an object file
+src/apps/pkann.cc.o:
+	$(MAKE) -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/src/apps/pkann.cc.o
+.PHONY : src/apps/pkann.cc.o
+
+src/apps/pkann.i: src/apps/pkann.cc.i
+.PHONY : src/apps/pkann.i
+
+# target to preprocess a source file
+src/apps/pkann.cc.i:
+	$(MAKE) -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/src/apps/pkann.cc.i
+.PHONY : src/apps/pkann.cc.i
+
+src/apps/pkann.s: src/apps/pkann.cc.s
+.PHONY : src/apps/pkann.s
+
+# target to generate assembly for a file
+src/apps/pkann.cc.s:
+	$(MAKE) -f CMakeFiles/pkann.dir/build.make CMakeFiles/pkann.dir/src/apps/pkann.cc.s
+.PHONY : src/apps/pkann.cc.s
+
+src/apps/pkannogr.o: src/apps/pkannogr.cc.o
+.PHONY : src/apps/pkannogr.o
+
+# target to build an object file
+src/apps/pkannogr.cc.o:
+	$(MAKE) -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.o
+.PHONY : src/apps/pkannogr.cc.o
+
+src/apps/pkannogr.i: src/apps/pkannogr.cc.i
+.PHONY : src/apps/pkannogr.i
+
+# target to preprocess a source file
+src/apps/pkannogr.cc.i:
+	$(MAKE) -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.i
+.PHONY : src/apps/pkannogr.cc.i
+
+src/apps/pkannogr.s: src/apps/pkannogr.cc.s
+.PHONY : src/apps/pkannogr.s
+
+# target to generate assembly for a file
+src/apps/pkannogr.cc.s:
+	$(MAKE) -f CMakeFiles/pkannogr.dir/build.make CMakeFiles/pkannogr.dir/src/apps/pkannogr.cc.s
+.PHONY : src/apps/pkannogr.cc.s
+
+src/apps/pkascii2img.o: src/apps/pkascii2img.cc.o
+.PHONY : src/apps/pkascii2img.o
+
+# target to build an object file
+src/apps/pkascii2img.cc.o:
+	$(MAKE) -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.o
+.PHONY : src/apps/pkascii2img.cc.o
+
+src/apps/pkascii2img.i: src/apps/pkascii2img.cc.i
+.PHONY : src/apps/pkascii2img.i
+
+# target to preprocess a source file
+src/apps/pkascii2img.cc.i:
+	$(MAKE) -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.i
+.PHONY : src/apps/pkascii2img.cc.i
+
+src/apps/pkascii2img.s: src/apps/pkascii2img.cc.s
+.PHONY : src/apps/pkascii2img.s
+
+# target to generate assembly for a file
+src/apps/pkascii2img.cc.s:
+	$(MAKE) -f CMakeFiles/pkascii2img.dir/build.make CMakeFiles/pkascii2img.dir/src/apps/pkascii2img.cc.s
+.PHONY : src/apps/pkascii2img.cc.s
+
+src/apps/pkascii2ogr.o: src/apps/pkascii2ogr.cc.o
+.PHONY : src/apps/pkascii2ogr.o
+
+# target to build an object file
+src/apps/pkascii2ogr.cc.o:
+	$(MAKE) -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.o
+.PHONY : src/apps/pkascii2ogr.cc.o
+
+src/apps/pkascii2ogr.i: src/apps/pkascii2ogr.cc.i
+.PHONY : src/apps/pkascii2ogr.i
+
+# target to preprocess a source file
+src/apps/pkascii2ogr.cc.i:
+	$(MAKE) -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.i
+.PHONY : src/apps/pkascii2ogr.cc.i
+
+src/apps/pkascii2ogr.s: src/apps/pkascii2ogr.cc.s
+.PHONY : src/apps/pkascii2ogr.s
+
+# target to generate assembly for a file
+src/apps/pkascii2ogr.cc.s:
+	$(MAKE) -f CMakeFiles/pkascii2ogr.dir/build.make CMakeFiles/pkascii2ogr.dir/src/apps/pkascii2ogr.cc.s
+.PHONY : src/apps/pkascii2ogr.cc.s
+
+src/apps/pkcomposite.o: src/apps/pkcomposite.cc.o
+.PHONY : src/apps/pkcomposite.o
+
+# target to build an object file
+src/apps/pkcomposite.cc.o:
+	$(MAKE) -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.o
+.PHONY : src/apps/pkcomposite.cc.o
+
+src/apps/pkcomposite.i: src/apps/pkcomposite.cc.i
+.PHONY : src/apps/pkcomposite.i
+
+# target to preprocess a source file
+src/apps/pkcomposite.cc.i:
+	$(MAKE) -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.i
+.PHONY : src/apps/pkcomposite.cc.i
+
+src/apps/pkcomposite.s: src/apps/pkcomposite.cc.s
+.PHONY : src/apps/pkcomposite.s
+
+# target to generate assembly for a file
+src/apps/pkcomposite.cc.s:
+	$(MAKE) -f CMakeFiles/pkcomposite.dir/build.make CMakeFiles/pkcomposite.dir/src/apps/pkcomposite.cc.s
+.PHONY : src/apps/pkcomposite.cc.s
+
+src/apps/pkcreatect.o: src/apps/pkcreatect.cc.o
+.PHONY : src/apps/pkcreatect.o
+
+# target to build an object file
+src/apps/pkcreatect.cc.o:
+	$(MAKE) -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.o
+.PHONY : src/apps/pkcreatect.cc.o
+
+src/apps/pkcreatect.i: src/apps/pkcreatect.cc.i
+.PHONY : src/apps/pkcreatect.i
+
+# target to preprocess a source file
+src/apps/pkcreatect.cc.i:
+	$(MAKE) -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.i
+.PHONY : src/apps/pkcreatect.cc.i
+
+src/apps/pkcreatect.s: src/apps/pkcreatect.cc.s
+.PHONY : src/apps/pkcreatect.s
+
+# target to generate assembly for a file
+src/apps/pkcreatect.cc.s:
+	$(MAKE) -f CMakeFiles/pkcreatect.dir/build.make CMakeFiles/pkcreatect.dir/src/apps/pkcreatect.cc.s
+.PHONY : src/apps/pkcreatect.cc.s
+
+src/apps/pkcrop.o: src/apps/pkcrop.cc.o
+.PHONY : src/apps/pkcrop.o
+
+# target to build an object file
+src/apps/pkcrop.cc.o:
+	$(MAKE) -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.o
+.PHONY : src/apps/pkcrop.cc.o
+
+src/apps/pkcrop.i: src/apps/pkcrop.cc.i
+.PHONY : src/apps/pkcrop.i
+
+# target to preprocess a source file
+src/apps/pkcrop.cc.i:
+	$(MAKE) -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.i
+.PHONY : src/apps/pkcrop.cc.i
+
+src/apps/pkcrop.s: src/apps/pkcrop.cc.s
+.PHONY : src/apps/pkcrop.s
+
+# target to generate assembly for a file
+src/apps/pkcrop.cc.s:
+	$(MAKE) -f CMakeFiles/pkcrop.dir/build.make CMakeFiles/pkcrop.dir/src/apps/pkcrop.cc.s
+.PHONY : src/apps/pkcrop.cc.s
+
+src/apps/pkdiff.o: src/apps/pkdiff.cc.o
+.PHONY : src/apps/pkdiff.o
+
+# target to build an object file
+src/apps/pkdiff.cc.o:
+	$(MAKE) -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.o
+.PHONY : src/apps/pkdiff.cc.o
+
+src/apps/pkdiff.i: src/apps/pkdiff.cc.i
+.PHONY : src/apps/pkdiff.i
+
+# target to preprocess a source file
+src/apps/pkdiff.cc.i:
+	$(MAKE) -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.i
+.PHONY : src/apps/pkdiff.cc.i
+
+src/apps/pkdiff.s: src/apps/pkdiff.cc.s
+.PHONY : src/apps/pkdiff.s
+
+# target to generate assembly for a file
+src/apps/pkdiff.cc.s:
+	$(MAKE) -f CMakeFiles/pkdiff.dir/build.make CMakeFiles/pkdiff.dir/src/apps/pkdiff.cc.s
+.PHONY : src/apps/pkdiff.cc.s
+
+src/apps/pkdsm2shadow.o: src/apps/pkdsm2shadow.cc.o
+.PHONY : src/apps/pkdsm2shadow.o
+
+# target to build an object file
+src/apps/pkdsm2shadow.cc.o:
+	$(MAKE) -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.o
+.PHONY : src/apps/pkdsm2shadow.cc.o
+
+src/apps/pkdsm2shadow.i: src/apps/pkdsm2shadow.cc.i
+.PHONY : src/apps/pkdsm2shadow.i
+
+# target to preprocess a source file
+src/apps/pkdsm2shadow.cc.i:
+	$(MAKE) -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.i
+.PHONY : src/apps/pkdsm2shadow.cc.i
+
+src/apps/pkdsm2shadow.s: src/apps/pkdsm2shadow.cc.s
+.PHONY : src/apps/pkdsm2shadow.s
+
+# target to generate assembly for a file
+src/apps/pkdsm2shadow.cc.s:
+	$(MAKE) -f CMakeFiles/pkdsm2shadow.dir/build.make CMakeFiles/pkdsm2shadow.dir/src/apps/pkdsm2shadow.cc.s
+.PHONY : src/apps/pkdsm2shadow.cc.s
+
+src/apps/pkdumpimg.o: src/apps/pkdumpimg.cc.o
+.PHONY : src/apps/pkdumpimg.o
+
+# target to build an object file
+src/apps/pkdumpimg.cc.o:
+	$(MAKE) -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.o
+.PHONY : src/apps/pkdumpimg.cc.o
+
+src/apps/pkdumpimg.i: src/apps/pkdumpimg.cc.i
+.PHONY : src/apps/pkdumpimg.i
+
+# target to preprocess a source file
+src/apps/pkdumpimg.cc.i:
+	$(MAKE) -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.i
+.PHONY : src/apps/pkdumpimg.cc.i
+
+src/apps/pkdumpimg.s: src/apps/pkdumpimg.cc.s
+.PHONY : src/apps/pkdumpimg.s
+
+# target to generate assembly for a file
+src/apps/pkdumpimg.cc.s:
+	$(MAKE) -f CMakeFiles/pkdumpimg.dir/build.make CMakeFiles/pkdumpimg.dir/src/apps/pkdumpimg.cc.s
+.PHONY : src/apps/pkdumpimg.cc.s
+
+src/apps/pkdumpogr.o: src/apps/pkdumpogr.cc.o
+.PHONY : src/apps/pkdumpogr.o
+
+# target to build an object file
+src/apps/pkdumpogr.cc.o:
+	$(MAKE) -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.o
+.PHONY : src/apps/pkdumpogr.cc.o
+
+src/apps/pkdumpogr.i: src/apps/pkdumpogr.cc.i
+.PHONY : src/apps/pkdumpogr.i
+
+# target to preprocess a source file
+src/apps/pkdumpogr.cc.i:
+	$(MAKE) -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.i
+.PHONY : src/apps/pkdumpogr.cc.i
+
+src/apps/pkdumpogr.s: src/apps/pkdumpogr.cc.s
+.PHONY : src/apps/pkdumpogr.s
+
+# target to generate assembly for a file
+src/apps/pkdumpogr.cc.s:
+	$(MAKE) -f CMakeFiles/pkdumpogr.dir/build.make CMakeFiles/pkdumpogr.dir/src/apps/pkdumpogr.cc.s
+.PHONY : src/apps/pkdumpogr.cc.s
+
+src/apps/pkegcs.o: src/apps/pkegcs.cc.o
+.PHONY : src/apps/pkegcs.o
+
+# target to build an object file
+src/apps/pkegcs.cc.o:
+	$(MAKE) -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.o
+.PHONY : src/apps/pkegcs.cc.o
+
+src/apps/pkegcs.i: src/apps/pkegcs.cc.i
+.PHONY : src/apps/pkegcs.i
+
+# target to preprocess a source file
+src/apps/pkegcs.cc.i:
+	$(MAKE) -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.i
+.PHONY : src/apps/pkegcs.cc.i
+
+src/apps/pkegcs.s: src/apps/pkegcs.cc.s
+.PHONY : src/apps/pkegcs.s
+
+# target to generate assembly for a file
+src/apps/pkegcs.cc.s:
+	$(MAKE) -f CMakeFiles/pkegcs.dir/build.make CMakeFiles/pkegcs.dir/src/apps/pkegcs.cc.s
+.PHONY : src/apps/pkegcs.cc.s
+
+src/apps/pkextractimg.o: src/apps/pkextractimg.cc.o
+.PHONY : src/apps/pkextractimg.o
+
+# target to build an object file
+src/apps/pkextractimg.cc.o:
+	$(MAKE) -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.o
+.PHONY : src/apps/pkextractimg.cc.o
+
+src/apps/pkextractimg.i: src/apps/pkextractimg.cc.i
+.PHONY : src/apps/pkextractimg.i
+
+# target to preprocess a source file
+src/apps/pkextractimg.cc.i:
+	$(MAKE) -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.i
+.PHONY : src/apps/pkextractimg.cc.i
+
+src/apps/pkextractimg.s: src/apps/pkextractimg.cc.s
+.PHONY : src/apps/pkextractimg.s
+
+# target to generate assembly for a file
+src/apps/pkextractimg.cc.s:
+	$(MAKE) -f CMakeFiles/pkextractimg.dir/build.make CMakeFiles/pkextractimg.dir/src/apps/pkextractimg.cc.s
+.PHONY : src/apps/pkextractimg.cc.s
+
+src/apps/pkextractogr.o: src/apps/pkextractogr.cc.o
+.PHONY : src/apps/pkextractogr.o
+
+# target to build an object file
+src/apps/pkextractogr.cc.o:
+	$(MAKE) -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.o
+.PHONY : src/apps/pkextractogr.cc.o
+
+src/apps/pkextractogr.i: src/apps/pkextractogr.cc.i
+.PHONY : src/apps/pkextractogr.i
+
+# target to preprocess a source file
+src/apps/pkextractogr.cc.i:
+	$(MAKE) -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.i
+.PHONY : src/apps/pkextractogr.cc.i
+
+src/apps/pkextractogr.s: src/apps/pkextractogr.cc.s
+.PHONY : src/apps/pkextractogr.s
+
+# target to generate assembly for a file
+src/apps/pkextractogr.cc.s:
+	$(MAKE) -f CMakeFiles/pkextractogr.dir/build.make CMakeFiles/pkextractogr.dir/src/apps/pkextractogr.cc.s
+.PHONY : src/apps/pkextractogr.cc.s
+
+src/apps/pkfillnodata.o: src/apps/pkfillnodata.cc.o
+.PHONY : src/apps/pkfillnodata.o
+
+# target to build an object file
+src/apps/pkfillnodata.cc.o:
+	$(MAKE) -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.o
+.PHONY : src/apps/pkfillnodata.cc.o
+
+src/apps/pkfillnodata.i: src/apps/pkfillnodata.cc.i
+.PHONY : src/apps/pkfillnodata.i
+
+# target to preprocess a source file
+src/apps/pkfillnodata.cc.i:
+	$(MAKE) -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.i
+.PHONY : src/apps/pkfillnodata.cc.i
+
+src/apps/pkfillnodata.s: src/apps/pkfillnodata.cc.s
+.PHONY : src/apps/pkfillnodata.s
+
+# target to generate assembly for a file
+src/apps/pkfillnodata.cc.s:
+	$(MAKE) -f CMakeFiles/pkfillnodata.dir/build.make CMakeFiles/pkfillnodata.dir/src/apps/pkfillnodata.cc.s
+.PHONY : src/apps/pkfillnodata.cc.s
+
+src/apps/pkfilter.o: src/apps/pkfilter.cc.o
+.PHONY : src/apps/pkfilter.o
+
+# target to build an object file
+src/apps/pkfilter.cc.o:
+	$(MAKE) -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.o
+.PHONY : src/apps/pkfilter.cc.o
+
+src/apps/pkfilter.i: src/apps/pkfilter.cc.i
+.PHONY : src/apps/pkfilter.i
+
+# target to preprocess a source file
+src/apps/pkfilter.cc.i:
+	$(MAKE) -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.i
+.PHONY : src/apps/pkfilter.cc.i
+
+src/apps/pkfilter.s: src/apps/pkfilter.cc.s
+.PHONY : src/apps/pkfilter.s
+
+# target to generate assembly for a file
+src/apps/pkfilter.cc.s:
+	$(MAKE) -f CMakeFiles/pkfilter.dir/build.make CMakeFiles/pkfilter.dir/src/apps/pkfilter.cc.s
+.PHONY : src/apps/pkfilter.cc.s
+
+src/apps/pkfilterascii.o: src/apps/pkfilterascii.cc.o
+.PHONY : src/apps/pkfilterascii.o
+
+# target to build an object file
+src/apps/pkfilterascii.cc.o:
+	$(MAKE) -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.o
+.PHONY : src/apps/pkfilterascii.cc.o
+
+src/apps/pkfilterascii.i: src/apps/pkfilterascii.cc.i
+.PHONY : src/apps/pkfilterascii.i
+
+# target to preprocess a source file
+src/apps/pkfilterascii.cc.i:
+	$(MAKE) -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.i
+.PHONY : src/apps/pkfilterascii.cc.i
+
+src/apps/pkfilterascii.s: src/apps/pkfilterascii.cc.s
+.PHONY : src/apps/pkfilterascii.s
+
+# target to generate assembly for a file
+src/apps/pkfilterascii.cc.s:
+	$(MAKE) -f CMakeFiles/pkfilterascii.dir/build.make CMakeFiles/pkfilterascii.dir/src/apps/pkfilterascii.cc.s
+.PHONY : src/apps/pkfilterascii.cc.s
+
+src/apps/pkfilterdem.o: src/apps/pkfilterdem.cc.o
+.PHONY : src/apps/pkfilterdem.o
+
+# target to build an object file
+src/apps/pkfilterdem.cc.o:
+	$(MAKE) -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.o
+.PHONY : src/apps/pkfilterdem.cc.o
+
+src/apps/pkfilterdem.i: src/apps/pkfilterdem.cc.i
+.PHONY : src/apps/pkfilterdem.i
+
+# target to preprocess a source file
+src/apps/pkfilterdem.cc.i:
+	$(MAKE) -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.i
+.PHONY : src/apps/pkfilterdem.cc.i
+
+src/apps/pkfilterdem.s: src/apps/pkfilterdem.cc.s
+.PHONY : src/apps/pkfilterdem.s
+
+# target to generate assembly for a file
+src/apps/pkfilterdem.cc.s:
+	$(MAKE) -f CMakeFiles/pkfilterdem.dir/build.make CMakeFiles/pkfilterdem.dir/src/apps/pkfilterdem.cc.s
+.PHONY : src/apps/pkfilterdem.cc.s
+
+src/apps/pkfsann.o: src/apps/pkfsann.cc.o
+.PHONY : src/apps/pkfsann.o
+
+# target to build an object file
+src/apps/pkfsann.cc.o:
+	$(MAKE) -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.o
+.PHONY : src/apps/pkfsann.cc.o
+
+src/apps/pkfsann.i: src/apps/pkfsann.cc.i
+.PHONY : src/apps/pkfsann.i
+
+# target to preprocess a source file
+src/apps/pkfsann.cc.i:
+	$(MAKE) -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.i
+.PHONY : src/apps/pkfsann.cc.i
+
+src/apps/pkfsann.s: src/apps/pkfsann.cc.s
+.PHONY : src/apps/pkfsann.s
+
+# target to generate assembly for a file
+src/apps/pkfsann.cc.s:
+	$(MAKE) -f CMakeFiles/pkfsann.dir/build.make CMakeFiles/pkfsann.dir/src/apps/pkfsann.cc.s
+.PHONY : src/apps/pkfsann.cc.s
+
+src/apps/pkfssvm.o: src/apps/pkfssvm.cc.o
+.PHONY : src/apps/pkfssvm.o
+
+# target to build an object file
+src/apps/pkfssvm.cc.o:
+	$(MAKE) -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.o
+.PHONY : src/apps/pkfssvm.cc.o
+
+src/apps/pkfssvm.i: src/apps/pkfssvm.cc.i
+.PHONY : src/apps/pkfssvm.i
+
+# target to preprocess a source file
+src/apps/pkfssvm.cc.i:
+	$(MAKE) -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.i
+.PHONY : src/apps/pkfssvm.cc.i
+
+src/apps/pkfssvm.s: src/apps/pkfssvm.cc.s
+.PHONY : src/apps/pkfssvm.s
+
+# target to generate assembly for a file
+src/apps/pkfssvm.cc.s:
+	$(MAKE) -f CMakeFiles/pkfssvm.dir/build.make CMakeFiles/pkfssvm.dir/src/apps/pkfssvm.cc.s
+.PHONY : src/apps/pkfssvm.cc.s
+
+src/apps/pkgetmask.o: src/apps/pkgetmask.cc.o
+.PHONY : src/apps/pkgetmask.o
+
+# target to build an object file
+src/apps/pkgetmask.cc.o:
+	$(MAKE) -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.o
+.PHONY : src/apps/pkgetmask.cc.o
+
+src/apps/pkgetmask.i: src/apps/pkgetmask.cc.i
+.PHONY : src/apps/pkgetmask.i
+
+# target to preprocess a source file
+src/apps/pkgetmask.cc.i:
+	$(MAKE) -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.i
+.PHONY : src/apps/pkgetmask.cc.i
+
+src/apps/pkgetmask.s: src/apps/pkgetmask.cc.s
+.PHONY : src/apps/pkgetmask.s
+
+# target to generate assembly for a file
+src/apps/pkgetmask.cc.s:
+	$(MAKE) -f CMakeFiles/pkgetmask.dir/build.make CMakeFiles/pkgetmask.dir/src/apps/pkgetmask.cc.s
+.PHONY : src/apps/pkgetmask.cc.s
+
+src/apps/pkinfo.o: src/apps/pkinfo.cc.o
+.PHONY : src/apps/pkinfo.o
+
+# target to build an object file
+src/apps/pkinfo.cc.o:
+	$(MAKE) -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.o
+.PHONY : src/apps/pkinfo.cc.o
+
+src/apps/pkinfo.i: src/apps/pkinfo.cc.i
+.PHONY : src/apps/pkinfo.i
+
+# target to preprocess a source file
+src/apps/pkinfo.cc.i:
+	$(MAKE) -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.i
+.PHONY : src/apps/pkinfo.cc.i
+
+src/apps/pkinfo.s: src/apps/pkinfo.cc.s
+.PHONY : src/apps/pkinfo.s
+
+# target to generate assembly for a file
+src/apps/pkinfo.cc.s:
+	$(MAKE) -f CMakeFiles/pkinfo.dir/build.make CMakeFiles/pkinfo.dir/src/apps/pkinfo.cc.s
+.PHONY : src/apps/pkinfo.cc.s
+
+src/apps/pkkalman.o: src/apps/pkkalman.cc.o
+.PHONY : src/apps/pkkalman.o
+
+# target to build an object file
+src/apps/pkkalman.cc.o:
+	$(MAKE) -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.o
+.PHONY : src/apps/pkkalman.cc.o
+
+src/apps/pkkalman.i: src/apps/pkkalman.cc.i
+.PHONY : src/apps/pkkalman.i
+
+# target to preprocess a source file
+src/apps/pkkalman.cc.i:
+	$(MAKE) -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.i
+.PHONY : src/apps/pkkalman.cc.i
+
+src/apps/pkkalman.s: src/apps/pkkalman.cc.s
+.PHONY : src/apps/pkkalman.s
+
+# target to generate assembly for a file
+src/apps/pkkalman.cc.s:
+	$(MAKE) -f CMakeFiles/pkkalman.dir/build.make CMakeFiles/pkkalman.dir/src/apps/pkkalman.cc.s
+.PHONY : src/apps/pkkalman.cc.s
+
+src/apps/pklas2img.o: src/apps/pklas2img.cc.o
+.PHONY : src/apps/pklas2img.o
+
+# target to build an object file
+src/apps/pklas2img.cc.o:
+	$(MAKE) -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.o
+.PHONY : src/apps/pklas2img.cc.o
+
+src/apps/pklas2img.i: src/apps/pklas2img.cc.i
+.PHONY : src/apps/pklas2img.i
+
+# target to preprocess a source file
+src/apps/pklas2img.cc.i:
+	$(MAKE) -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.i
+.PHONY : src/apps/pklas2img.cc.i
+
+src/apps/pklas2img.s: src/apps/pklas2img.cc.s
+.PHONY : src/apps/pklas2img.s
+
+# target to generate assembly for a file
+src/apps/pklas2img.cc.s:
+	$(MAKE) -f CMakeFiles/pklas2img.dir/build.make CMakeFiles/pklas2img.dir/src/apps/pklas2img.cc.s
+.PHONY : src/apps/pklas2img.cc.s
+
+src/apps/pkoptsvm.o: src/apps/pkoptsvm.cc.o
+.PHONY : src/apps/pkoptsvm.o
+
+# target to build an object file
+src/apps/pkoptsvm.cc.o:
+	$(MAKE) -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.o
+.PHONY : src/apps/pkoptsvm.cc.o
+
+src/apps/pkoptsvm.i: src/apps/pkoptsvm.cc.i
+.PHONY : src/apps/pkoptsvm.i
+
+# target to preprocess a source file
+src/apps/pkoptsvm.cc.i:
+	$(MAKE) -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.i
+.PHONY : src/apps/pkoptsvm.cc.i
+
+src/apps/pkoptsvm.s: src/apps/pkoptsvm.cc.s
+.PHONY : src/apps/pkoptsvm.s
+
+# target to generate assembly for a file
+src/apps/pkoptsvm.cc.s:
+	$(MAKE) -f CMakeFiles/pkoptsvm.dir/build.make CMakeFiles/pkoptsvm.dir/src/apps/pkoptsvm.cc.s
+.PHONY : src/apps/pkoptsvm.cc.s
+
+src/apps/pkpolygonize.o: src/apps/pkpolygonize.cc.o
+.PHONY : src/apps/pkpolygonize.o
+
+# target to build an object file
+src/apps/pkpolygonize.cc.o:
+	$(MAKE) -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.o
+.PHONY : src/apps/pkpolygonize.cc.o
+
+src/apps/pkpolygonize.i: src/apps/pkpolygonize.cc.i
+.PHONY : src/apps/pkpolygonize.i
+
+# target to preprocess a source file
+src/apps/pkpolygonize.cc.i:
+	$(MAKE) -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.i
+.PHONY : src/apps/pkpolygonize.cc.i
+
+src/apps/pkpolygonize.s: src/apps/pkpolygonize.cc.s
+.PHONY : src/apps/pkpolygonize.s
+
+# target to generate assembly for a file
+src/apps/pkpolygonize.cc.s:
+	$(MAKE) -f CMakeFiles/pkpolygonize.dir/build.make CMakeFiles/pkpolygonize.dir/src/apps/pkpolygonize.cc.s
+.PHONY : src/apps/pkpolygonize.cc.s
+
+src/apps/pkreclass.o: src/apps/pkreclass.cc.o
+.PHONY : src/apps/pkreclass.o
+
+# target to build an object file
+src/apps/pkreclass.cc.o:
+	$(MAKE) -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.o
+.PHONY : src/apps/pkreclass.cc.o
+
+src/apps/pkreclass.i: src/apps/pkreclass.cc.i
+.PHONY : src/apps/pkreclass.i
+
+# target to preprocess a source file
+src/apps/pkreclass.cc.i:
+	$(MAKE) -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.i
+.PHONY : src/apps/pkreclass.cc.i
+
+src/apps/pkreclass.s: src/apps/pkreclass.cc.s
+.PHONY : src/apps/pkreclass.s
+
+# target to generate assembly for a file
+src/apps/pkreclass.cc.s:
+	$(MAKE) -f CMakeFiles/pkreclass.dir/build.make CMakeFiles/pkreclass.dir/src/apps/pkreclass.cc.s
+.PHONY : src/apps/pkreclass.cc.s
+
+src/apps/pkreclassogr.o: src/apps/pkreclassogr.cc.o
+.PHONY : src/apps/pkreclassogr.o
+
+# target to build an object file
+src/apps/pkreclassogr.cc.o:
+	$(MAKE) -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.o
+.PHONY : src/apps/pkreclassogr.cc.o
+
+src/apps/pkreclassogr.i: src/apps/pkreclassogr.cc.i
+.PHONY : src/apps/pkreclassogr.i
+
+# target to preprocess a source file
+src/apps/pkreclassogr.cc.i:
+	$(MAKE) -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.i
+.PHONY : src/apps/pkreclassogr.cc.i
+
+src/apps/pkreclassogr.s: src/apps/pkreclassogr.cc.s
+.PHONY : src/apps/pkreclassogr.s
+
+# target to generate assembly for a file
+src/apps/pkreclassogr.cc.s:
+	$(MAKE) -f CMakeFiles/pkreclassogr.dir/build.make CMakeFiles/pkreclassogr.dir/src/apps/pkreclassogr.cc.s
+.PHONY : src/apps/pkreclassogr.cc.s
+
+src/apps/pkregann.o: src/apps/pkregann.cc.o
+.PHONY : src/apps/pkregann.o
+
+# target to build an object file
+src/apps/pkregann.cc.o:
+	$(MAKE) -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/src/apps/pkregann.cc.o
+.PHONY : src/apps/pkregann.cc.o
+
+src/apps/pkregann.i: src/apps/pkregann.cc.i
+.PHONY : src/apps/pkregann.i
+
+# target to preprocess a source file
+src/apps/pkregann.cc.i:
+	$(MAKE) -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/src/apps/pkregann.cc.i
+.PHONY : src/apps/pkregann.cc.i
+
+src/apps/pkregann.s: src/apps/pkregann.cc.s
+.PHONY : src/apps/pkregann.s
+
+# target to generate assembly for a file
+src/apps/pkregann.cc.s:
+	$(MAKE) -f CMakeFiles/pkregann.dir/build.make CMakeFiles/pkregann.dir/src/apps/pkregann.cc.s
+.PHONY : src/apps/pkregann.cc.s
+
+src/apps/pksetmask.o: src/apps/pksetmask.cc.o
+.PHONY : src/apps/pksetmask.o
+
+# target to build an object file
+src/apps/pksetmask.cc.o:
+	$(MAKE) -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.o
+.PHONY : src/apps/pksetmask.cc.o
+
+src/apps/pksetmask.i: src/apps/pksetmask.cc.i
+.PHONY : src/apps/pksetmask.i
+
+# target to preprocess a source file
+src/apps/pksetmask.cc.i:
+	$(MAKE) -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.i
+.PHONY : src/apps/pksetmask.cc.i
+
+src/apps/pksetmask.s: src/apps/pksetmask.cc.s
+.PHONY : src/apps/pksetmask.s
+
+# target to generate assembly for a file
+src/apps/pksetmask.cc.s:
+	$(MAKE) -f CMakeFiles/pksetmask.dir/build.make CMakeFiles/pksetmask.dir/src/apps/pksetmask.cc.s
+.PHONY : src/apps/pksetmask.cc.s
+
+src/apps/pksieve.o: src/apps/pksieve.cc.o
+.PHONY : src/apps/pksieve.o
+
+# target to build an object file
+src/apps/pksieve.cc.o:
+	$(MAKE) -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/src/apps/pksieve.cc.o
+.PHONY : src/apps/pksieve.cc.o
+
+src/apps/pksieve.i: src/apps/pksieve.cc.i
+.PHONY : src/apps/pksieve.i
+
+# target to preprocess a source file
+src/apps/pksieve.cc.i:
+	$(MAKE) -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/src/apps/pksieve.cc.i
+.PHONY : src/apps/pksieve.cc.i
+
+src/apps/pksieve.s: src/apps/pksieve.cc.s
+.PHONY : src/apps/pksieve.s
+
+# target to generate assembly for a file
+src/apps/pksieve.cc.s:
+	$(MAKE) -f CMakeFiles/pksieve.dir/build.make CMakeFiles/pksieve.dir/src/apps/pksieve.cc.s
+.PHONY : src/apps/pksieve.cc.s
+
+src/apps/pkstat.o: src/apps/pkstat.cc.o
+.PHONY : src/apps/pkstat.o
+
+# target to build an object file
+src/apps/pkstat.cc.o:
+	$(MAKE) -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/src/apps/pkstat.cc.o
+.PHONY : src/apps/pkstat.cc.o
+
+src/apps/pkstat.i: src/apps/pkstat.cc.i
+.PHONY : src/apps/pkstat.i
+
+# target to preprocess a source file
+src/apps/pkstat.cc.i:
+	$(MAKE) -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/src/apps/pkstat.cc.i
+.PHONY : src/apps/pkstat.cc.i
+
+src/apps/pkstat.s: src/apps/pkstat.cc.s
+.PHONY : src/apps/pkstat.s
+
+# target to generate assembly for a file
+src/apps/pkstat.cc.s:
+	$(MAKE) -f CMakeFiles/pkstat.dir/build.make CMakeFiles/pkstat.dir/src/apps/pkstat.cc.s
+.PHONY : src/apps/pkstat.cc.s
+
+src/apps/pkstatascii.o: src/apps/pkstatascii.cc.o
+.PHONY : src/apps/pkstatascii.o
+
+# target to build an object file
+src/apps/pkstatascii.cc.o:
+	$(MAKE) -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.o
+.PHONY : src/apps/pkstatascii.cc.o
+
+src/apps/pkstatascii.i: src/apps/pkstatascii.cc.i
+.PHONY : src/apps/pkstatascii.i
+
+# target to preprocess a source file
+src/apps/pkstatascii.cc.i:
+	$(MAKE) -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.i
+.PHONY : src/apps/pkstatascii.cc.i
+
+src/apps/pkstatascii.s: src/apps/pkstatascii.cc.s
+.PHONY : src/apps/pkstatascii.s
+
+# target to generate assembly for a file
+src/apps/pkstatascii.cc.s:
+	$(MAKE) -f CMakeFiles/pkstatascii.dir/build.make CMakeFiles/pkstatascii.dir/src/apps/pkstatascii.cc.s
+.PHONY : src/apps/pkstatascii.cc.s
+
+src/apps/pkstatogr.o: src/apps/pkstatogr.cc.o
+.PHONY : src/apps/pkstatogr.o
+
+# target to build an object file
+src/apps/pkstatogr.cc.o:
+	$(MAKE) -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.o
+.PHONY : src/apps/pkstatogr.cc.o
+
+src/apps/pkstatogr.i: src/apps/pkstatogr.cc.i
+.PHONY : src/apps/pkstatogr.i
+
+# target to preprocess a source file
+src/apps/pkstatogr.cc.i:
+	$(MAKE) -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.i
+.PHONY : src/apps/pkstatogr.cc.i
+
+src/apps/pkstatogr.s: src/apps/pkstatogr.cc.s
+.PHONY : src/apps/pkstatogr.s
+
+# target to generate assembly for a file
+src/apps/pkstatogr.cc.s:
+	$(MAKE) -f CMakeFiles/pkstatogr.dir/build.make CMakeFiles/pkstatogr.dir/src/apps/pkstatogr.cc.s
+.PHONY : src/apps/pkstatogr.cc.s
+
+src/apps/pkstatprofile.o: src/apps/pkstatprofile.cc.o
+.PHONY : src/apps/pkstatprofile.o
+
+# target to build an object file
+src/apps/pkstatprofile.cc.o:
+	$(MAKE) -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.o
+.PHONY : src/apps/pkstatprofile.cc.o
+
+src/apps/pkstatprofile.i: src/apps/pkstatprofile.cc.i
+.PHONY : src/apps/pkstatprofile.i
+
+# target to preprocess a source file
+src/apps/pkstatprofile.cc.i:
+	$(MAKE) -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.i
+.PHONY : src/apps/pkstatprofile.cc.i
+
+src/apps/pkstatprofile.s: src/apps/pkstatprofile.cc.s
+.PHONY : src/apps/pkstatprofile.s
+
+# target to generate assembly for a file
+src/apps/pkstatprofile.cc.s:
+	$(MAKE) -f CMakeFiles/pkstatprofile.dir/build.make CMakeFiles/pkstatprofile.dir/src/apps/pkstatprofile.cc.s
+.PHONY : src/apps/pkstatprofile.cc.s
+
+src/apps/pksvm.o: src/apps/pksvm.cc.o
+.PHONY : src/apps/pksvm.o
+
+# target to build an object file
+src/apps/pksvm.cc.o:
+	$(MAKE) -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/src/apps/pksvm.cc.o
+.PHONY : src/apps/pksvm.cc.o
+
+src/apps/pksvm.i: src/apps/pksvm.cc.i
+.PHONY : src/apps/pksvm.i
+
+# target to preprocess a source file
+src/apps/pksvm.cc.i:
+	$(MAKE) -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/src/apps/pksvm.cc.i
+.PHONY : src/apps/pksvm.cc.i
+
+src/apps/pksvm.s: src/apps/pksvm.cc.s
+.PHONY : src/apps/pksvm.s
+
+# target to generate assembly for a file
+src/apps/pksvm.cc.s:
+	$(MAKE) -f CMakeFiles/pksvm.dir/build.make CMakeFiles/pksvm.dir/src/apps/pksvm.cc.s
+.PHONY : src/apps/pksvm.cc.s
+
+src/apps/pksvmogr.o: src/apps/pksvmogr.cc.o
+.PHONY : src/apps/pksvmogr.o
+
+# target to build an object file
+src/apps/pksvmogr.cc.o:
+	$(MAKE) -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.o
+.PHONY : src/apps/pksvmogr.cc.o
+
+src/apps/pksvmogr.i: src/apps/pksvmogr.cc.i
+.PHONY : src/apps/pksvmogr.i
+
+# target to preprocess a source file
+src/apps/pksvmogr.cc.i:
+	$(MAKE) -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.i
+.PHONY : src/apps/pksvmogr.cc.i
+
+src/apps/pksvmogr.s: src/apps/pksvmogr.cc.s
+.PHONY : src/apps/pksvmogr.s
+
+# target to generate assembly for a file
+src/apps/pksvmogr.cc.s:
+	$(MAKE) -f CMakeFiles/pksvmogr.dir/build.make CMakeFiles/pksvmogr.dir/src/apps/pksvmogr.cc.s
+.PHONY : src/apps/pksvmogr.cc.s
+
+# Help Target
+help:
+	@echo "The following are some of the valid targets for this Makefile:"
+	@echo "... all (the default if no target is provided)"
+	@echo "... clean"
+	@echo "... depend"
+	@echo "... dist"
+	@echo "... edit_cache"
+	@echo "... install"
+	@echo "... install/local"
+	@echo "... install/strip"
+	@echo "... list_install_components"
+	@echo "... package"
+	@echo "... package_source"
+	@echo "... pkann"
+	@echo "... pkannogr"
+	@echo "... pkascii2img"
+	@echo "... pkascii2ogr"
+	@echo "... pkcomposite"
+	@echo "... pkcreatect"
+	@echo "... pkcrop"
+	@echo "... pkdiff"
+	@echo "... pkdsm2shadow"
+	@echo "... pkdumpimg"
+	@echo "... pkdumpogr"
+	@echo "... pkegcs"
+	@echo "... pkextractimg"
+	@echo "... pkextractogr"
+	@echo "... pkfillnodata"
+	@echo "... pkfilter"
+	@echo "... pkfilterascii"
+	@echo "... pkfilterdem"
+	@echo "... pkfsann"
+	@echo "... pkfssvm"
+	@echo "... pkgetmask"
+	@echo "... pkinfo"
+	@echo "... pkkalman"
+	@echo "... pklas2img"
+	@echo "... pkoptsvm"
+	@echo "... pkpolygonize"
+	@echo "... pkreclass"
+	@echo "... pkreclassogr"
+	@echo "... pkregann"
+	@echo "... pksetmask"
+	@echo "... pksieve"
+	@echo "... pkstat"
+	@echo "... pkstatascii"
+	@echo "... pkstatogr"
+	@echo "... pkstatprofile"
+	@echo "... pksvm"
+	@echo "... pksvmogr"
+	@echo "... rebuild_cache"
+	@echo "... utilities"
+	@echo "... algorithms"
+	@echo "... base"
+	@echo "... fileClasses"
+	@echo "... imageClasses"
+	@echo "... lasClasses"
+	@echo "... src/apps/pkann.o"
+	@echo "... src/apps/pkann.i"
+	@echo "... src/apps/pkann.s"
+	@echo "... src/apps/pkannogr.o"
+	@echo "... src/apps/pkannogr.i"
+	@echo "... src/apps/pkannogr.s"
+	@echo "... src/apps/pkascii2img.o"
+	@echo "... src/apps/pkascii2img.i"
+	@echo "... src/apps/pkascii2img.s"
+	@echo "... src/apps/pkascii2ogr.o"
+	@echo "... src/apps/pkascii2ogr.i"
+	@echo "... src/apps/pkascii2ogr.s"
+	@echo "... src/apps/pkcomposite.o"
+	@echo "... src/apps/pkcomposite.i"
+	@echo "... src/apps/pkcomposite.s"
+	@echo "... src/apps/pkcreatect.o"
+	@echo "... src/apps/pkcreatect.i"
+	@echo "... src/apps/pkcreatect.s"
+	@echo "... src/apps/pkcrop.o"
+	@echo "... src/apps/pkcrop.i"
+	@echo "... src/apps/pkcrop.s"
+	@echo "... src/apps/pkdiff.o"
+	@echo "... src/apps/pkdiff.i"
+	@echo "... src/apps/pkdiff.s"
+	@echo "... src/apps/pkdsm2shadow.o"
+	@echo "... src/apps/pkdsm2shadow.i"
+	@echo "... src/apps/pkdsm2shadow.s"
+	@echo "... src/apps/pkdumpimg.o"
+	@echo "... src/apps/pkdumpimg.i"
+	@echo "... src/apps/pkdumpimg.s"
+	@echo "... src/apps/pkdumpogr.o"
+	@echo "... src/apps/pkdumpogr.i"
+	@echo "... src/apps/pkdumpogr.s"
+	@echo "... src/apps/pkegcs.o"
+	@echo "... src/apps/pkegcs.i"
+	@echo "... src/apps/pkegcs.s"
+	@echo "... src/apps/pkextractimg.o"
+	@echo "... src/apps/pkextractimg.i"
+	@echo "... src/apps/pkextractimg.s"
+	@echo "... src/apps/pkextractogr.o"
+	@echo "... src/apps/pkextractogr.i"
+	@echo "... src/apps/pkextractogr.s"
+	@echo "... src/apps/pkfillnodata.o"
+	@echo "... src/apps/pkfillnodata.i"
+	@echo "... src/apps/pkfillnodata.s"
+	@echo "... src/apps/pkfilter.o"
+	@echo "... src/apps/pkfilter.i"
+	@echo "... src/apps/pkfilter.s"
+	@echo "... src/apps/pkfilterascii.o"
+	@echo "... src/apps/pkfilterascii.i"
+	@echo "... src/apps/pkfilterascii.s"
+	@echo "... src/apps/pkfilterdem.o"
+	@echo "... src/apps/pkfilterdem.i"
+	@echo "... src/apps/pkfilterdem.s"
+	@echo "... src/apps/pkfsann.o"
+	@echo "... src/apps/pkfsann.i"
+	@echo "... src/apps/pkfsann.s"
+	@echo "... src/apps/pkfssvm.o"
+	@echo "... src/apps/pkfssvm.i"
+	@echo "... src/apps/pkfssvm.s"
+	@echo "... src/apps/pkgetmask.o"
+	@echo "... src/apps/pkgetmask.i"
+	@echo "... src/apps/pkgetmask.s"
+	@echo "... src/apps/pkinfo.o"
+	@echo "... src/apps/pkinfo.i"
+	@echo "... src/apps/pkinfo.s"
+	@echo "... src/apps/pkkalman.o"
+	@echo "... src/apps/pkkalman.i"
+	@echo "... src/apps/pkkalman.s"
+	@echo "... src/apps/pklas2img.o"
+	@echo "... src/apps/pklas2img.i"
+	@echo "... src/apps/pklas2img.s"
+	@echo "... src/apps/pkoptsvm.o"
+	@echo "... src/apps/pkoptsvm.i"
+	@echo "... src/apps/pkoptsvm.s"
+	@echo "... src/apps/pkpolygonize.o"
+	@echo "... src/apps/pkpolygonize.i"
+	@echo "... src/apps/pkpolygonize.s"
+	@echo "... src/apps/pkreclass.o"
+	@echo "... src/apps/pkreclass.i"
+	@echo "... src/apps/pkreclass.s"
+	@echo "... src/apps/pkreclassogr.o"
+	@echo "... src/apps/pkreclassogr.i"
+	@echo "... src/apps/pkreclassogr.s"
+	@echo "... src/apps/pkregann.o"
+	@echo "... src/apps/pkregann.i"
+	@echo "... src/apps/pkregann.s"
+	@echo "... src/apps/pksetmask.o"
+	@echo "... src/apps/pksetmask.i"
+	@echo "... src/apps/pksetmask.s"
+	@echo "... src/apps/pksieve.o"
+	@echo "... src/apps/pksieve.i"
+	@echo "... src/apps/pksieve.s"
+	@echo "... src/apps/pkstat.o"
+	@echo "... src/apps/pkstat.i"
+	@echo "... src/apps/pkstat.s"
+	@echo "... src/apps/pkstatascii.o"
+	@echo "... src/apps/pkstatascii.i"
+	@echo "... src/apps/pkstatascii.s"
+	@echo "... src/apps/pkstatogr.o"
+	@echo "... src/apps/pkstatogr.i"
+	@echo "... src/apps/pkstatogr.s"
+	@echo "... src/apps/pkstatprofile.o"
+	@echo "... src/apps/pkstatprofile.i"
+	@echo "... src/apps/pkstatprofile.s"
+	@echo "... src/apps/pksvm.o"
+	@echo "... src/apps/pksvm.i"
+	@echo "... src/apps/pksvm.s"
+	@echo "... src/apps/pksvmogr.o"
+	@echo "... src/apps/pksvmogr.i"
+	@echo "... src/apps/pksvmogr.s"
+.PHONY : help
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+	$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/build/base/config.h b/build/base/config.h
new file mode 100644
index 0000000..9e3fe3f
--- /dev/null
+++ b/build/base/config.h
@@ -0,0 +1,80 @@
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
+/* Define to 1 if GDAL library are available */
+#undef HAVE_GDAL
+
+/* Define to 1 if you have the <gdal.h> header file. */
+#undef HAVE_GDAL_H
+
+/* Define to 1 if GDAL library includes OGR support */
+#undef HAVE_GDAL_OGR
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#undef HAVE_INTTYPES_H
+
+/* Define to 1 if you have the <iostream> header file. */
+#undef HAVE_IOSTREAM
+
+/* Define to 1 if you have the <memory.h> header file. */
+#undef HAVE_MEMORY_H
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#undef HAVE_STDINT_H
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#undef HAVE_STDLIB_H
+
+/* Define to 1 if you have the <string> header file. */
+#undef HAVE_STRING
+
+/* Define to 1 if you have the <strings.h> header file. */
+#undef HAVE_STRINGS_H
+
+/* Define to 1 if you have the <string.h> header file. */
+#undef HAVE_STRING_H
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#undef HAVE_SYS_STAT_H
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#undef HAVE_SYS_TYPES_H
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#undef HAVE_UNISTD_H
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#undef LT_OBJDIR
+
+/* Name of package */
+#undef PACKAGE
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION
+
+/* Define to 1 if you have the ANSI C header files. */
+#undef STDC_HEADERS
+
+/* Version number of package */
+#define VERSION "2.6.7.1"
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+#undef size_t
diff --git a/build/cmake_install.cmake b/build/cmake_install.cmake
new file mode 100644
index 0000000..e5a40ed
--- /dev/null
+++ b/build/cmake_install.cmake
@@ -0,0 +1,724 @@
+# Install script for directory: /home/kempenep/pktools-2.6.7
+
+# Set the install prefix
+if(NOT DEFINED CMAKE_INSTALL_PREFIX)
+  set(CMAKE_INSTALL_PREFIX "/usr/local")
+endif()
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+  if(BUILD_TYPE)
+    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+  else()
+    set(CMAKE_INSTALL_CONFIG_NAME "RELEASE")
+  endif()
+  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+endif()
+
+# Set the component getting installed.
+if(NOT CMAKE_INSTALL_COMPONENT)
+  if(COMPONENT)
+    message(STATUS "Install component: \"${COMPONENT}\"")
+    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+  else()
+    set(CMAKE_INSTALL_COMPONENT)
+  endif()
+endif()
+
+# Install shared libraries without execute permission?
+if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+  set(CMAKE_INSTALL_SO_NO_EXE "1")
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE FILE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pktools-config")
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ FILES "/home/kempenep/pktools-2.6.7/pktools.pc")
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkinfo" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkinfo")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkinfo"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkinfo")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkinfo" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkinfo")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkinfo")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkinfo")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcrop" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcrop")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcrop"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkcrop")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcrop" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcrop")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcrop")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcrop")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdiff" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdiff")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdiff"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkdiff")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdiff" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdiff")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdiff")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdiff")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkgetmask" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkgetmask")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkgetmask"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkgetmask")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkgetmask" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkgetmask")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkgetmask")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkgetmask")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksetmask" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksetmask")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksetmask"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pksetmask")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksetmask" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksetmask")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksetmask")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksetmask")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcreatect" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcreatect")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcreatect"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkcreatect")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcreatect" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcreatect")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcreatect")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcreatect")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpimg" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpimg")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpimg"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkdumpimg")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpimg" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpimg")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpimg")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpimg")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpogr")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpogr"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkdumpogr")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpogr")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpogr")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdumpogr")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksieve" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksieve")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksieve"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pksieve")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksieve" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksieve")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksieve")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksieve")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstat" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstat")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstat"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkstat")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstat" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstat")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstat")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstat")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatascii" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatascii")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatascii"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkstatascii")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatascii" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatascii")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatascii")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatascii")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatogr")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatogr"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkstatogr")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatogr")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatogr")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatogr")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatprofile" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatprofile")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatprofile"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkstatprofile")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatprofile" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatprofile")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatprofile")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkstatprofile")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkegcs" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkegcs")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkegcs"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkegcs")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkegcs" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkegcs")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkegcs")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkegcs")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractimg" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractimg")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractimg"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkextractimg")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractimg" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractimg")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractimg")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractimg")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractogr")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractogr"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkextractogr")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractogr")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractogr")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkextractogr")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfillnodata" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfillnodata")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfillnodata"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkfillnodata")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfillnodata" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfillnodata")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfillnodata")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfillnodata")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilter" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilter")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilter"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkfilter")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilter" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilter")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilter")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilter")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterdem" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterdem")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterdem"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkfilterdem")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterdem" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterdem")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterdem")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterdem")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterascii" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterascii")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterascii"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkfilterascii")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterascii" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterascii")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterascii")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfilterascii")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdsm2shadow" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdsm2shadow")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdsm2shadow"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkdsm2shadow")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdsm2shadow" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdsm2shadow")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdsm2shadow")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkdsm2shadow")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcomposite" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcomposite")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcomposite"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkcomposite")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcomposite" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcomposite")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcomposite")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkcomposite")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkpolygonize" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkpolygonize")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkpolygonize"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkpolygonize")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkpolygonize" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkpolygonize")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkpolygonize")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkpolygonize")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2img" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2img")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2img"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkascii2img")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2img" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2img")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2img")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2img")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvm" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvm")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvm"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pksvm")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvm" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvm")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvm")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvm")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvmogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvmogr")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvmogr"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pksvmogr")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvmogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvmogr")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvmogr")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pksvmogr")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfssvm" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfssvm")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfssvm"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkfssvm")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfssvm" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfssvm")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfssvm")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfssvm")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkoptsvm" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkoptsvm")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkoptsvm"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkoptsvm")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkoptsvm" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkoptsvm")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkoptsvm")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkoptsvm")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2ogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2ogr")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2ogr"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkascii2ogr")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2ogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2ogr")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2ogr")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkascii2ogr")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclass" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclass")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclass"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkreclass")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclass" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclass")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclass")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclass")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclassogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclassogr")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclassogr"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkreclassogr")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclassogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclassogr")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclassogr")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkreclassogr")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkkalman" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkkalman")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkkalman"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkkalman")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkkalman" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkkalman")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkkalman")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkkalman")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pklas2img" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pklas2img")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pklas2img"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pklas2img")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pklas2img" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pklas2img")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pklas2img")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pklas2img")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkann" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkann")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkann"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkann")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkann" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkann")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkann")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkann")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkannogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkannogr")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkannogr"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkannogr")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkannogr" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkannogr")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkannogr")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkannogr")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfsann" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfsann")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfsann"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkfsann")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfsann" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfsann")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfsann")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkfsann")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkregann" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkregann")
+    file(RPATH_CHECK
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkregann"
+         RPATH "")
+  endif()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE FILES "/home/kempenep/pktools-2.6.7/build/pkregann")
+  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkregann" AND
+     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkregann")
+    file(RPATH_REMOVE
+         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkregann")
+    if(CMAKE_INSTALL_DO_STRIP)
+      execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/pkregann")
+    endif()
+  endif()
+endif()
+
+if(NOT CMAKE_INSTALL_LOCAL_ONLY)
+  # Include the install script for each subdirectory.
+  include("/home/kempenep/pktools-2.6.7/build/src/cmake_install.cmake")
+
+endif()
+
+if(CMAKE_INSTALL_COMPONENT)
+  set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
+else()
+  set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
+endif()
+
+file(WRITE "/home/kempenep/pktools-2.6.7/build/${CMAKE_INSTALL_MANIFEST}" "")
+foreach(file ${CMAKE_INSTALL_MANIFEST_FILES})
+  file(APPEND "/home/kempenep/pktools-2.6.7/build/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
+endforeach()
diff --git a/build/pktools-config b/build/pktools-config
new file mode 100644
index 0000000..821193c
--- /dev/null
+++ b/build/pktools-config
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+usage()
+{
+    cat <<EOF
+Usage: cmake-config [OPTIONS]
+Options:
+     [--prefix]
+     [--version]
+     [--libs]
+     [--cflags]
+     [--ldflags]
+     [--includes]
+EOF
+    exit $1
+}
+if test $# -eq 0; then
+  usage 1 1>&2
+fi
+while test $# -gt 0; do
+case "$1" in
+    -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
+    *) optarg= ;;
+esac
+case $1 in
+    --prefix)
+      echo /usr/local
+     ;;
+    --version)
+      echo 2.6.7.1
+     ;;
+    --cflags)
+      echo -I/usr/local/include 
+      ;;
+    --libs)
+      echo -L/usr/local/lib -lalgorithms  -lfileClasses -limageClasses 
+      ;;
+    --ldflags)
+      echo /usr/local/lib
+      ;;
+    --includes)
+      echo /usr/local/include
+      ;;
+  esac
+  shift
+done
+
diff --git a/build/pktools.pc b/build/pktools.pc
new file mode 100644
index 0000000..ce8f085
--- /dev/null
+++ b/build/pktools.pc
@@ -0,0 +1,11 @@
+prefix=/usr/local
+exec_prefix=/usr/local\bin
+libdir=/usr/local\lib
+includedir=/usr/local\include
+
+Name: pktools
+Description: API library for pktools
+Requires: gdal gsl armadillo
+Version: 
+Libs: -L${libdir} -lbase -lalgorithms -limageClasses -lfileClasses -llasClasses
+Cflags: -I${includedir}/pktools
diff --git a/build/src/CMakeFiles/CMakeDirectoryInformation.cmake b/build/src/CMakeFiles/CMakeDirectoryInformation.cmake
new file mode 100644
index 0000000..08e9cf8
--- /dev/null
+++ b/build/src/CMakeFiles/CMakeDirectoryInformation.cmake
@@ -0,0 +1,16 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# Relative path conversion top directories.
+set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/kempenep/pktools-2.6.7")
+set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/kempenep/pktools-2.6.7/build")
+
+# Force unix paths in dependencies.
+set(CMAKE_FORCE_UNIX_PATHS 1)
+
+
+# The C and CXX include file regular expressions for this directory.
+set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
+set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
+set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
+set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
diff --git a/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake b/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake
new file mode 100644
index 0000000..8d13795
--- /dev/null
+++ b/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake
@@ -0,0 +1,47 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/algorithms/ConfusionMatrix.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/algorithms/CostFactorySVM.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/algorithms/Egcs.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/algorithms/Filter.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/algorithms/Filter2d.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/algorithms/ImgRegression.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/algorithms/svm.cpp" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o"
+  "/home/kempenep/pktools-2.6.7/src/base/Vector2d.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Pairs of files generated by the same build rule.
+set(CMAKE_MULTIPLE_OUTPUT_PAIRS
+  "/home/kempenep/pktools-2.6.7/build/src/libalgorithms.so" "/home/kempenep/pktools-2.6.7/build/src/libalgorithms.so.1.6.1"
+  "/home/kempenep/pktools-2.6.7/build/src/libalgorithms.so.1" "/home/kempenep/pktools-2.6.7/build/src/libalgorithms.so.1.6.1"
+  )
+
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake"
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/src/CMakeFiles/algorithms.dir/build.make b/build/src/CMakeFiles/algorithms.dir/build.make
new file mode 100644
index 0000000..d62ee12
--- /dev/null
+++ b/build/src/CMakeFiles/algorithms.dir/build.make
@@ -0,0 +1,294 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include src/CMakeFiles/algorithms.dir/depend.make
+
+# Include the progress variables for this target.
+include src/CMakeFiles/algorithms.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include src/CMakeFiles/algorithms.dir/flags.make
+
+src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o: src/CMakeFiles/algorithms.dir/flags.make
+src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o: ../src/algorithms/ConfusionMatrix.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o -c /home/kempenep/pktools-2.6.7/src/algorithms/ConfusionMatrix.cc
+
+src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/algorithms/ConfusionMatrix.cc > CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.i
+
+src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/algorithms/ConfusionMatrix.cc -o CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.s
+
+src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.requires:
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.requires
+
+src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.provides: src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.provides.build
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.provides
+
+src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.provides.build: src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o
+
+src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o: src/CMakeFiles/algorithms.dir/flags.make
+src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o: ../src/algorithms/CostFactorySVM.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_2)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o -c /home/kempenep/pktools-2.6.7/src/algorithms/CostFactorySVM.cc
+
+src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/algorithms/CostFactorySVM.cc > CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.i
+
+src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/algorithms/CostFactorySVM.cc -o CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.s
+
+src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.requires:
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.requires
+
+src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.provides: src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.provides.build
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.provides
+
+src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.provides.build: src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o
+
+src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o: src/CMakeFiles/algorithms.dir/flags.make
+src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o: ../src/algorithms/Egcs.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_3)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o -c /home/kempenep/pktools-2.6.7/src/algorithms/Egcs.cc
+
+src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/algorithms.dir/algorithms/Egcs.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/algorithms/Egcs.cc > CMakeFiles/algorithms.dir/algorithms/Egcs.cc.i
+
+src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/algorithms.dir/algorithms/Egcs.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/algorithms/Egcs.cc -o CMakeFiles/algorithms.dir/algorithms/Egcs.cc.s
+
+src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.requires:
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.requires
+
+src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.provides: src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.provides.build
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.provides
+
+src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.provides.build: src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o: src/CMakeFiles/algorithms.dir/flags.make
+src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o: ../src/algorithms/Filter.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_4)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/algorithms.dir/algorithms/Filter.cc.o -c /home/kempenep/pktools-2.6.7/src/algorithms/Filter.cc
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/algorithms.dir/algorithms/Filter.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/algorithms/Filter.cc > CMakeFiles/algorithms.dir/algorithms/Filter.cc.i
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/algorithms.dir/algorithms/Filter.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/algorithms/Filter.cc -o CMakeFiles/algorithms.dir/algorithms/Filter.cc.s
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.requires:
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.requires
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.provides: src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.provides.build
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.provides
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.provides.build: src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o: src/CMakeFiles/algorithms.dir/flags.make
+src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o: ../src/algorithms/Filter2d.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_5)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o -c /home/kempenep/pktools-2.6.7/src/algorithms/Filter2d.cc
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/algorithms/Filter2d.cc > CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.i
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/algorithms/Filter2d.cc -o CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.s
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.requires:
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.requires
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.provides: src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.provides.build
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.provides
+
+src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.provides.build: src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o
+
+src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o: src/CMakeFiles/algorithms.dir/flags.make
+src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o: ../src/algorithms/ImgRegression.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_6)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o -c /home/kempenep/pktools-2.6.7/src/algorithms/ImgRegression.cc
+
+src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/algorithms/ImgRegression.cc > CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.i
+
+src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/algorithms/ImgRegression.cc -o CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.s
+
+src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.requires:
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.requires
+
+src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.provides: src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.provides.build
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.provides
+
+src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.provides.build: src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o
+
+src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o: src/CMakeFiles/algorithms.dir/flags.make
+src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o: ../src/algorithms/svm.cpp
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_7)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/algorithms.dir/algorithms/svm.cpp.o -c /home/kempenep/pktools-2.6.7/src/algorithms/svm.cpp
+
+src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/algorithms.dir/algorithms/svm.cpp.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/algorithms/svm.cpp > CMakeFiles/algorithms.dir/algorithms/svm.cpp.i
+
+src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/algorithms.dir/algorithms/svm.cpp.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/algorithms/svm.cpp -o CMakeFiles/algorithms.dir/algorithms/svm.cpp.s
+
+src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.requires:
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.requires
+
+src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.provides: src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.requires
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.provides.build
+.PHONY : src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.provides
+
+src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.provides.build: src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o
+
+src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o: src/CMakeFiles/algorithms.dir/flags.make
+src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o: ../src/base/Vector2d.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_8)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/algorithms.dir/base/Vector2d.cc.o -c /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc
+
+src/CMakeFiles/algorithms.dir/base/Vector2d.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/algorithms.dir/base/Vector2d.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc > CMakeFiles/algorithms.dir/base/Vector2d.cc.i
+
+src/CMakeFiles/algorithms.dir/base/Vector2d.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/algorithms.dir/base/Vector2d.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc -o CMakeFiles/algorithms.dir/base/Vector2d.cc.s
+
+src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o.requires:
+.PHONY : src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o.requires
+
+src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o.provides: src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o.provides.build
+.PHONY : src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o.provides
+
+src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o.provides.build: src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o
+
+# Object files for target algorithms
+algorithms_OBJECTS = \
+"CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o" \
+"CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o" \
+"CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o" \
+"CMakeFiles/algorithms.dir/algorithms/Filter.cc.o" \
+"CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o" \
+"CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o" \
+"CMakeFiles/algorithms.dir/algorithms/svm.cpp.o" \
+"CMakeFiles/algorithms.dir/base/Vector2d.cc.o"
+
+# External object files for target algorithms
+algorithms_EXTERNAL_OBJECTS =
+
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/build.make
+src/libalgorithms.so.1.6.1: /usr/lib/libgdal.so
+src/libalgorithms.so.1.6.1: /usr/lib/libarmadillo.so
+src/libalgorithms.so.1.6.1: src/libimageClasses.so.1.6.1
+src/libalgorithms.so.1.6.1: /usr/lib/libgdal.so
+src/libalgorithms.so.1.6.1: /usr/lib/libarmadillo.so
+src/libalgorithms.so.1.6.1: src/CMakeFiles/algorithms.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX shared library libalgorithms.so"
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/algorithms.dir/link.txt --verbose=$(VERBOSE)
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_symlink_library libalgorithms.so.1.6.1 libalgorithms.so.1 libalgorithms.so
+
+src/libalgorithms.so.1: src/libalgorithms.so.1.6.1
+
+src/libalgorithms.so: src/libalgorithms.so.1.6.1
+
+# Rule to build all files generated by this target.
+src/CMakeFiles/algorithms.dir/build: src/libalgorithms.so
+.PHONY : src/CMakeFiles/algorithms.dir/build
+
+src/CMakeFiles/algorithms.dir/requires: src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o.requires
+src/CMakeFiles/algorithms.dir/requires: src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o.requires
+src/CMakeFiles/algorithms.dir/requires: src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o.requires
+src/CMakeFiles/algorithms.dir/requires: src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o.requires
+src/CMakeFiles/algorithms.dir/requires: src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o.requires
+src/CMakeFiles/algorithms.dir/requires: src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o.requires
+src/CMakeFiles/algorithms.dir/requires: src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o.requires
+src/CMakeFiles/algorithms.dir/requires: src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o.requires
+.PHONY : src/CMakeFiles/algorithms.dir/requires
+
+src/CMakeFiles/algorithms.dir/clean:
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -P CMakeFiles/algorithms.dir/cmake_clean.cmake
+.PHONY : src/CMakeFiles/algorithms.dir/clean
+
+src/CMakeFiles/algorithms.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/src /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/src /home/kempenep/pktools-2.6.7/build/src/CMakeFiles/algorithms.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : src/CMakeFiles/algorithms.dir/depend
+
diff --git a/build/src/CMakeFiles/algorithms.dir/cmake_clean.cmake b/build/src/CMakeFiles/algorithms.dir/cmake_clean.cmake
new file mode 100644
index 0000000..7e2f4ee
--- /dev/null
+++ b/build/src/CMakeFiles/algorithms.dir/cmake_clean.cmake
@@ -0,0 +1,19 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o"
+  "CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o"
+  "CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o"
+  "CMakeFiles/algorithms.dir/algorithms/Filter.cc.o"
+  "CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o"
+  "CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o"
+  "CMakeFiles/algorithms.dir/algorithms/svm.cpp.o"
+  "CMakeFiles/algorithms.dir/base/Vector2d.cc.o"
+  "libalgorithms.pdb"
+  "libalgorithms.so"
+  "libalgorithms.so.1.6.1"
+  "libalgorithms.so.1"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/algorithms.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/src/CMakeFiles/algorithms.dir/depend.make b/build/src/CMakeFiles/algorithms.dir/depend.make
new file mode 100644
index 0000000..1ac6c0e
--- /dev/null
+++ b/build/src/CMakeFiles/algorithms.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for algorithms.
+# This may be replaced when dependencies are built.
diff --git a/build/src/CMakeFiles/algorithms.dir/flags.make b/build/src/CMakeFiles/algorithms.dir/flags.make
new file mode 100644
index 0000000..0b573d9
--- /dev/null
+++ b/build/src/CMakeFiles/algorithms.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -fPIC -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dalgorithms_EXPORTS
+
diff --git a/build/src/CMakeFiles/algorithms.dir/link.txt b/build/src/CMakeFiles/algorithms.dir/link.txt
new file mode 100644
index 0000000..db8fe8b
--- /dev/null
+++ b/build/src/CMakeFiles/algorithms.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++  -fPIC  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG   -shared -Wl,-soname,libalgorithms.so.1 -o libalgorithms.so.1.6.1 CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o CMakeFiles/algorithms.dir/algorithms/Filter.cc.o CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o CMakeFiles/algorithms.dir/algori [...]
diff --git a/build/src/CMakeFiles/algorithms.dir/progress.make b/build/src/CMakeFiles/algorithms.dir/progress.make
new file mode 100644
index 0000000..5b29368
--- /dev/null
+++ b/build/src/CMakeFiles/algorithms.dir/progress.make
@@ -0,0 +1,9 @@
+CMAKE_PROGRESS_1 = 1
+CMAKE_PROGRESS_2 = 2
+CMAKE_PROGRESS_3 = 3
+CMAKE_PROGRESS_4 = 4
+CMAKE_PROGRESS_5 = 5
+CMAKE_PROGRESS_6 = 6
+CMAKE_PROGRESS_7 = 7
+CMAKE_PROGRESS_8 = 8
+
diff --git a/build/src/CMakeFiles/base.dir/DependInfo.cmake b/build/src/CMakeFiles/base.dir/DependInfo.cmake
new file mode 100644
index 0000000..b6b5272
--- /dev/null
+++ b/build/src/CMakeFiles/base.dir/DependInfo.cmake
@@ -0,0 +1,39 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/base/Vector2d.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/base/Vector2d.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Pairs of files generated by the same build rule.
+set(CMAKE_MULTIPLE_OUTPUT_PAIRS
+  "/home/kempenep/pktools-2.6.7/build/src/libbase.so" "/home/kempenep/pktools-2.6.7/build/src/libbase.so.1.6.1"
+  "/home/kempenep/pktools-2.6.7/build/src/libbase.so.1" "/home/kempenep/pktools-2.6.7/build/src/libbase.so.1.6.1"
+  )
+
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/src/CMakeFiles/base.dir/build.make b/build/src/CMakeFiles/base.dir/build.make
new file mode 100644
index 0000000..8e99da6
--- /dev/null
+++ b/build/src/CMakeFiles/base.dir/build.make
@@ -0,0 +1,109 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include src/CMakeFiles/base.dir/depend.make
+
+# Include the progress variables for this target.
+include src/CMakeFiles/base.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include src/CMakeFiles/base.dir/flags.make
+
+src/CMakeFiles/base.dir/base/Vector2d.cc.o: src/CMakeFiles/base.dir/flags.make
+src/CMakeFiles/base.dir/base/Vector2d.cc.o: ../src/base/Vector2d.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/base.dir/base/Vector2d.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/base.dir/base/Vector2d.cc.o -c /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc
+
+src/CMakeFiles/base.dir/base/Vector2d.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/base.dir/base/Vector2d.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc > CMakeFiles/base.dir/base/Vector2d.cc.i
+
+src/CMakeFiles/base.dir/base/Vector2d.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/base.dir/base/Vector2d.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc -o CMakeFiles/base.dir/base/Vector2d.cc.s
+
+src/CMakeFiles/base.dir/base/Vector2d.cc.o.requires:
+.PHONY : src/CMakeFiles/base.dir/base/Vector2d.cc.o.requires
+
+src/CMakeFiles/base.dir/base/Vector2d.cc.o.provides: src/CMakeFiles/base.dir/base/Vector2d.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/base/Vector2d.cc.o.provides.build
+.PHONY : src/CMakeFiles/base.dir/base/Vector2d.cc.o.provides
+
+src/CMakeFiles/base.dir/base/Vector2d.cc.o.provides.build: src/CMakeFiles/base.dir/base/Vector2d.cc.o
+
+# Object files for target base
+base_OBJECTS = \
+"CMakeFiles/base.dir/base/Vector2d.cc.o"
+
+# External object files for target base
+base_EXTERNAL_OBJECTS =
+
+src/libbase.so.1.6.1: src/CMakeFiles/base.dir/base/Vector2d.cc.o
+src/libbase.so.1.6.1: src/CMakeFiles/base.dir/build.make
+src/libbase.so.1.6.1: /usr/lib/libgdal.so
+src/libbase.so.1.6.1: /usr/lib/libarmadillo.so
+src/libbase.so.1.6.1: src/CMakeFiles/base.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX shared library libbase.so"
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/base.dir/link.txt --verbose=$(VERBOSE)
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_symlink_library libbase.so.1.6.1 libbase.so.1 libbase.so
+
+src/libbase.so.1: src/libbase.so.1.6.1
+
+src/libbase.so: src/libbase.so.1.6.1
+
+# Rule to build all files generated by this target.
+src/CMakeFiles/base.dir/build: src/libbase.so
+.PHONY : src/CMakeFiles/base.dir/build
+
+src/CMakeFiles/base.dir/requires: src/CMakeFiles/base.dir/base/Vector2d.cc.o.requires
+.PHONY : src/CMakeFiles/base.dir/requires
+
+src/CMakeFiles/base.dir/clean:
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -P CMakeFiles/base.dir/cmake_clean.cmake
+.PHONY : src/CMakeFiles/base.dir/clean
+
+src/CMakeFiles/base.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/src /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/src /home/kempenep/pktools-2.6.7/build/src/CMakeFiles/base.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : src/CMakeFiles/base.dir/depend
+
diff --git a/build/src/CMakeFiles/base.dir/cmake_clean.cmake b/build/src/CMakeFiles/base.dir/cmake_clean.cmake
new file mode 100644
index 0000000..a4e5a51
--- /dev/null
+++ b/build/src/CMakeFiles/base.dir/cmake_clean.cmake
@@ -0,0 +1,12 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/base.dir/base/Vector2d.cc.o"
+  "libbase.pdb"
+  "libbase.so"
+  "libbase.so.1.6.1"
+  "libbase.so.1"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/base.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/src/CMakeFiles/base.dir/depend.make b/build/src/CMakeFiles/base.dir/depend.make
new file mode 100644
index 0000000..b585b3c
--- /dev/null
+++ b/build/src/CMakeFiles/base.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for base.
+# This may be replaced when dependencies are built.
diff --git a/build/src/CMakeFiles/base.dir/flags.make b/build/src/CMakeFiles/base.dir/flags.make
new file mode 100644
index 0000000..4283d87
--- /dev/null
+++ b/build/src/CMakeFiles/base.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -fPIC -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -Dbase_EXPORTS
+
diff --git a/build/src/CMakeFiles/base.dir/link.txt b/build/src/CMakeFiles/base.dir/link.txt
new file mode 100644
index 0000000..f58920e
--- /dev/null
+++ b/build/src/CMakeFiles/base.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++  -fPIC  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG   -shared -Wl,-soname,libbase.so.1 -o libbase.so.1.6.1 CMakeFiles/base.dir/base/Vector2d.cc.o -lgdal -L/usr/lib -lgsl -lgslcblas -lm -larmadillo 
diff --git a/build/src/CMakeFiles/base.dir/progress.make b/build/src/CMakeFiles/base.dir/progress.make
new file mode 100644
index 0000000..153b0f2
--- /dev/null
+++ b/build/src/CMakeFiles/base.dir/progress.make
@@ -0,0 +1,2 @@
+CMAKE_PROGRESS_1 = 9
+
diff --git a/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake b/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake
new file mode 100644
index 0000000..21c2393
--- /dev/null
+++ b/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake
@@ -0,0 +1,40 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/base/Vector2d.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/fileclasses/FileReaderAscii.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Pairs of files generated by the same build rule.
+set(CMAKE_MULTIPLE_OUTPUT_PAIRS
+  "/home/kempenep/pktools-2.6.7/build/src/libfileClasses.so" "/home/kempenep/pktools-2.6.7/build/src/libfileClasses.so.1.6.1"
+  "/home/kempenep/pktools-2.6.7/build/src/libfileClasses.so.1" "/home/kempenep/pktools-2.6.7/build/src/libfileClasses.so.1.6.1"
+  )
+
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/src/CMakeFiles/fileClasses.dir/build.make b/build/src/CMakeFiles/fileClasses.dir/build.make
new file mode 100644
index 0000000..d9934e2
--- /dev/null
+++ b/build/src/CMakeFiles/fileClasses.dir/build.make
@@ -0,0 +1,141 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include src/CMakeFiles/fileClasses.dir/depend.make
+
+# Include the progress variables for this target.
+include src/CMakeFiles/fileClasses.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include src/CMakeFiles/fileClasses.dir/flags.make
+
+src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o: src/CMakeFiles/fileClasses.dir/flags.make
+src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o: ../src/fileclasses/FileReaderAscii.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o -c /home/kempenep/pktools-2.6.7/src/fileclasses/FileReaderAscii.cc
+
+src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/fileclasses/FileReaderAscii.cc > CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.i
+
+src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/fileclasses/FileReaderAscii.cc -o CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.s
+
+src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.requires:
+.PHONY : src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.requires
+
+src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.provides: src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.provides.build
+.PHONY : src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.provides
+
+src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.provides.build: src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o
+
+src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o: src/CMakeFiles/fileClasses.dir/flags.make
+src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o: ../src/base/Vector2d.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_2)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -c /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc
+
+src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/fileClasses.dir/base/Vector2d.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc > CMakeFiles/fileClasses.dir/base/Vector2d.cc.i
+
+src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/fileClasses.dir/base/Vector2d.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc -o CMakeFiles/fileClasses.dir/base/Vector2d.cc.s
+
+src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.requires:
+.PHONY : src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.requires
+
+src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.provides: src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.provides.build
+.PHONY : src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.provides
+
+src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.provides.build: src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o
+
+# Object files for target fileClasses
+fileClasses_OBJECTS = \
+"CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o" \
+"CMakeFiles/fileClasses.dir/base/Vector2d.cc.o"
+
+# External object files for target fileClasses
+fileClasses_EXTERNAL_OBJECTS =
+
+src/libfileClasses.so.1.6.1: src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o
+src/libfileClasses.so.1.6.1: src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o
+src/libfileClasses.so.1.6.1: src/CMakeFiles/fileClasses.dir/build.make
+src/libfileClasses.so.1.6.1: /usr/lib/libgdal.so
+src/libfileClasses.so.1.6.1: /usr/lib/libarmadillo.so
+src/libfileClasses.so.1.6.1: /usr/local/lib/liblas.so
+src/libfileClasses.so.1.6.1: /usr/local/lib/liblas_c.so
+src/libfileClasses.so.1.6.1: /usr/lib/libgdal.so
+src/libfileClasses.so.1.6.1: /usr/lib/libarmadillo.so
+src/libfileClasses.so.1.6.1: /usr/local/lib/liblas.so
+src/libfileClasses.so.1.6.1: /usr/local/lib/liblas_c.so
+src/libfileClasses.so.1.6.1: src/CMakeFiles/fileClasses.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX shared library libfileClasses.so"
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/fileClasses.dir/link.txt --verbose=$(VERBOSE)
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_symlink_library libfileClasses.so.1.6.1 libfileClasses.so.1 libfileClasses.so
+
+src/libfileClasses.so.1: src/libfileClasses.so.1.6.1
+
+src/libfileClasses.so: src/libfileClasses.so.1.6.1
+
+# Rule to build all files generated by this target.
+src/CMakeFiles/fileClasses.dir/build: src/libfileClasses.so
+.PHONY : src/CMakeFiles/fileClasses.dir/build
+
+src/CMakeFiles/fileClasses.dir/requires: src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o.requires
+src/CMakeFiles/fileClasses.dir/requires: src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o.requires
+.PHONY : src/CMakeFiles/fileClasses.dir/requires
+
+src/CMakeFiles/fileClasses.dir/clean:
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -P CMakeFiles/fileClasses.dir/cmake_clean.cmake
+.PHONY : src/CMakeFiles/fileClasses.dir/clean
+
+src/CMakeFiles/fileClasses.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/src /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/src /home/kempenep/pktools-2.6.7/build/src/CMakeFiles/fileClasses.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : src/CMakeFiles/fileClasses.dir/depend
+
diff --git a/build/src/CMakeFiles/fileClasses.dir/cmake_clean.cmake b/build/src/CMakeFiles/fileClasses.dir/cmake_clean.cmake
new file mode 100644
index 0000000..5dccd87
--- /dev/null
+++ b/build/src/CMakeFiles/fileClasses.dir/cmake_clean.cmake
@@ -0,0 +1,13 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o"
+  "CMakeFiles/fileClasses.dir/base/Vector2d.cc.o"
+  "libfileClasses.pdb"
+  "libfileClasses.so"
+  "libfileClasses.so.1.6.1"
+  "libfileClasses.so.1"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/fileClasses.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/src/CMakeFiles/fileClasses.dir/depend.make b/build/src/CMakeFiles/fileClasses.dir/depend.make
new file mode 100644
index 0000000..05f556f
--- /dev/null
+++ b/build/src/CMakeFiles/fileClasses.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for fileClasses.
+# This may be replaced when dependencies are built.
diff --git a/build/src/CMakeFiles/fileClasses.dir/flags.make b/build/src/CMakeFiles/fileClasses.dir/flags.make
new file mode 100644
index 0000000..012b3e2
--- /dev/null
+++ b/build/src/CMakeFiles/fileClasses.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -fPIC -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DfileClasses_EXPORTS
+
diff --git a/build/src/CMakeFiles/fileClasses.dir/link.txt b/build/src/CMakeFiles/fileClasses.dir/link.txt
new file mode 100644
index 0000000..cc41ab4
--- /dev/null
+++ b/build/src/CMakeFiles/fileClasses.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++  -fPIC  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG   -shared -Wl,-soname,libfileClasses.so.1 -o libfileClasses.so.1.6.1 CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o CMakeFiles/fileClasses.dir/base/Vector2d.cc.o -lgdal -L/usr/lib -lgsl -lgslcblas -lm -larmadillo /usr/local/lib/liblas.so /usr/local/lib/liblas_c.so -lgdal -L/usr/lib -lgsl -lgslcblas -lm -larmadillo /usr/local/lib/liblas.so /usr/lo [...]
diff --git a/build/src/CMakeFiles/fileClasses.dir/progress.make b/build/src/CMakeFiles/fileClasses.dir/progress.make
new file mode 100644
index 0000000..17875e3
--- /dev/null
+++ b/build/src/CMakeFiles/fileClasses.dir/progress.make
@@ -0,0 +1,3 @@
+CMAKE_PROGRESS_1 = 10
+CMAKE_PROGRESS_2 = 11
+
diff --git a/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake b/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake
new file mode 100644
index 0000000..4b0acf1
--- /dev/null
+++ b/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake
@@ -0,0 +1,45 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/base/Vector2d.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgRasterGdal.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderGdal.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderOgr.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgUpdaterGdal.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterGdal.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterOgr.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Pairs of files generated by the same build rule.
+set(CMAKE_MULTIPLE_OUTPUT_PAIRS
+  "/home/kempenep/pktools-2.6.7/build/src/libimageClasses.so" "/home/kempenep/pktools-2.6.7/build/src/libimageClasses.so.1.6.1"
+  "/home/kempenep/pktools-2.6.7/build/src/libimageClasses.so.1" "/home/kempenep/pktools-2.6.7/build/src/libimageClasses.so.1.6.1"
+  )
+
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/src/CMakeFiles/imageClasses.dir/build.make b/build/src/CMakeFiles/imageClasses.dir/build.make
new file mode 100644
index 0000000..9ecdc6b
--- /dev/null
+++ b/build/src/CMakeFiles/imageClasses.dir/build.make
@@ -0,0 +1,265 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include src/CMakeFiles/imageClasses.dir/depend.make
+
+# Include the progress variables for this target.
+include src/CMakeFiles/imageClasses.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include src/CMakeFiles/imageClasses.dir/flags.make
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o: src/CMakeFiles/imageClasses.dir/flags.make
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o: ../src/imageclasses/ImgRasterGdal.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o -c /home/kempenep/pktools-2.6.7/src/imageclasses/ImgRasterGdal.cc
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/imageclasses/ImgRasterGdal.cc > CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.i
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/imageclasses/ImgRasterGdal.cc -o CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.s
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.requires:
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.requires
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.provides: src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.provides.build
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.provides
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.provides.build: src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o: src/CMakeFiles/imageClasses.dir/flags.make
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o: ../src/imageclasses/ImgReaderGdal.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_2)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o -c /home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderGdal.cc
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderGdal.cc > CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.i
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderGdal.cc -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.s
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.requires:
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.requires
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.provides: src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.provides.build
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.provides
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.provides.build: src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o: src/CMakeFiles/imageClasses.dir/flags.make
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o: ../src/imageclasses/ImgReaderOgr.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_3)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o -c /home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderOgr.cc
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderOgr.cc > CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.i
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderOgr.cc -o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.s
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.requires:
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.requires
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.provides: src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.provides.build
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.provides
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.provides.build: src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o: src/CMakeFiles/imageClasses.dir/flags.make
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o: ../src/imageclasses/ImgWriterGdal.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_4)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o -c /home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterGdal.cc
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterGdal.cc > CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.i
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterGdal.cc -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.s
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.requires:
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.requires
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.provides: src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.provides.build
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.provides
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.provides.build: src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o: src/CMakeFiles/imageClasses.dir/flags.make
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o: ../src/imageclasses/ImgWriterOgr.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_5)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o -c /home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterOgr.cc
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterOgr.cc > CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.i
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterOgr.cc -o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.s
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.requires:
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.requires
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.provides: src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.provides.build
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.provides
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.provides.build: src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o: src/CMakeFiles/imageClasses.dir/flags.make
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o: ../src/imageclasses/ImgUpdaterGdal.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_6)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o -c /home/kempenep/pktools-2.6.7/src/imageclasses/ImgUpdaterGdal.cc
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/imageclasses/ImgUpdaterGdal.cc > CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.i
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/imageclasses/ImgUpdaterGdal.cc -o CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.s
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.requires:
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.requires
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.provides: src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.provides.build
+.PHONY : src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.provides
+
+src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.provides.build: src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o
+
+src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o: src/CMakeFiles/imageClasses.dir/flags.make
+src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o: ../src/base/Vector2d.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_7)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/imageClasses.dir/base/Vector2d.cc.o -c /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc
+
+src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/imageClasses.dir/base/Vector2d.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc > CMakeFiles/imageClasses.dir/base/Vector2d.cc.i
+
+src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/imageClasses.dir/base/Vector2d.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc -o CMakeFiles/imageClasses.dir/base/Vector2d.cc.s
+
+src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.requires:
+.PHONY : src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.requires
+
+src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.provides: src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.provides.build
+.PHONY : src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.provides
+
+src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.provides.build: src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o
+
+# Object files for target imageClasses
+imageClasses_OBJECTS = \
+"CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o" \
+"CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o" \
+"CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o" \
+"CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o" \
+"CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o" \
+"CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o" \
+"CMakeFiles/imageClasses.dir/base/Vector2d.cc.o"
+
+# External object files for target imageClasses
+imageClasses_EXTERNAL_OBJECTS =
+
+src/libimageClasses.so.1.6.1: src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o
+src/libimageClasses.so.1.6.1: src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o
+src/libimageClasses.so.1.6.1: src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o
+src/libimageClasses.so.1.6.1: src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o
+src/libimageClasses.so.1.6.1: src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o
+src/libimageClasses.so.1.6.1: src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o
+src/libimageClasses.so.1.6.1: src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o
+src/libimageClasses.so.1.6.1: src/CMakeFiles/imageClasses.dir/build.make
+src/libimageClasses.so.1.6.1: /usr/lib/libgdal.so
+src/libimageClasses.so.1.6.1: /usr/lib/libarmadillo.so
+src/libimageClasses.so.1.6.1: src/CMakeFiles/imageClasses.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX shared library libimageClasses.so"
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/imageClasses.dir/link.txt --verbose=$(VERBOSE)
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_symlink_library libimageClasses.so.1.6.1 libimageClasses.so.1 libimageClasses.so
+
+src/libimageClasses.so.1: src/libimageClasses.so.1.6.1
+
+src/libimageClasses.so: src/libimageClasses.so.1.6.1
+
+# Rule to build all files generated by this target.
+src/CMakeFiles/imageClasses.dir/build: src/libimageClasses.so
+.PHONY : src/CMakeFiles/imageClasses.dir/build
+
+src/CMakeFiles/imageClasses.dir/requires: src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o.requires
+src/CMakeFiles/imageClasses.dir/requires: src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o.requires
+src/CMakeFiles/imageClasses.dir/requires: src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o.requires
+src/CMakeFiles/imageClasses.dir/requires: src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o.requires
+src/CMakeFiles/imageClasses.dir/requires: src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o.requires
+src/CMakeFiles/imageClasses.dir/requires: src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o.requires
+src/CMakeFiles/imageClasses.dir/requires: src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o.requires
+.PHONY : src/CMakeFiles/imageClasses.dir/requires
+
+src/CMakeFiles/imageClasses.dir/clean:
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -P CMakeFiles/imageClasses.dir/cmake_clean.cmake
+.PHONY : src/CMakeFiles/imageClasses.dir/clean
+
+src/CMakeFiles/imageClasses.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/src /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/src /home/kempenep/pktools-2.6.7/build/src/CMakeFiles/imageClasses.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : src/CMakeFiles/imageClasses.dir/depend
+
diff --git a/build/src/CMakeFiles/imageClasses.dir/cmake_clean.cmake b/build/src/CMakeFiles/imageClasses.dir/cmake_clean.cmake
new file mode 100644
index 0000000..85e5631
--- /dev/null
+++ b/build/src/CMakeFiles/imageClasses.dir/cmake_clean.cmake
@@ -0,0 +1,18 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o"
+  "CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o"
+  "CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o"
+  "CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o"
+  "CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o"
+  "CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o"
+  "CMakeFiles/imageClasses.dir/base/Vector2d.cc.o"
+  "libimageClasses.pdb"
+  "libimageClasses.so"
+  "libimageClasses.so.1.6.1"
+  "libimageClasses.so.1"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/imageClasses.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/src/CMakeFiles/imageClasses.dir/depend.make b/build/src/CMakeFiles/imageClasses.dir/depend.make
new file mode 100644
index 0000000..cd97a40
--- /dev/null
+++ b/build/src/CMakeFiles/imageClasses.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for imageClasses.
+# This may be replaced when dependencies are built.
diff --git a/build/src/CMakeFiles/imageClasses.dir/flags.make b/build/src/CMakeFiles/imageClasses.dir/flags.make
new file mode 100644
index 0000000..44708a2
--- /dev/null
+++ b/build/src/CMakeFiles/imageClasses.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -fPIC -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DimageClasses_EXPORTS
+
diff --git a/build/src/CMakeFiles/imageClasses.dir/link.txt b/build/src/CMakeFiles/imageClasses.dir/link.txt
new file mode 100644
index 0000000..0873d95
--- /dev/null
+++ b/build/src/CMakeFiles/imageClasses.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++  -fPIC  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG   -shared -Wl,-soname,libimageClasses.so.1 -o libimageClasses.so.1.6.1 CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o CMakeFiles/imageClasses.dir/imageclasses/ImgWriterO [...]
diff --git a/build/src/CMakeFiles/imageClasses.dir/progress.make b/build/src/CMakeFiles/imageClasses.dir/progress.make
new file mode 100644
index 0000000..d5c59a6
--- /dev/null
+++ b/build/src/CMakeFiles/imageClasses.dir/progress.make
@@ -0,0 +1,8 @@
+CMAKE_PROGRESS_1 = 12
+CMAKE_PROGRESS_2 = 13
+CMAKE_PROGRESS_3 = 14
+CMAKE_PROGRESS_4 = 15
+CMAKE_PROGRESS_5 = 16
+CMAKE_PROGRESS_6 = 17
+CMAKE_PROGRESS_7 = 18
+
diff --git a/build/src/CMakeFiles/lasClasses.dir/DependInfo.cmake b/build/src/CMakeFiles/lasClasses.dir/DependInfo.cmake
new file mode 100644
index 0000000..30caf9c
--- /dev/null
+++ b/build/src/CMakeFiles/lasClasses.dir/DependInfo.cmake
@@ -0,0 +1,40 @@
+# The set of languages for which implicit dependencies are needed:
+set(CMAKE_DEPENDS_LANGUAGES
+  "CXX"
+  )
+# The set of files for implicit dependencies of each language:
+set(CMAKE_DEPENDS_CHECK_CXX
+  "/home/kempenep/pktools-2.6.7/src/base/Vector2d.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o"
+  "/home/kempenep/pktools-2.6.7/src/lasclasses/FileReaderLas.cc" "/home/kempenep/pktools-2.6.7/build/src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o"
+  )
+set(CMAKE_CXX_COMPILER_ID "GNU")
+
+# Preprocessor definitions for this target.
+set(CMAKE_TARGET_DEFINITIONS
+  "BOOST_ALL_NO_LIB"
+  "FANN_DLL"
+  "GSL_DLL"
+  "HAVE_CONFIG_H"
+  )
+
+# Pairs of files generated by the same build rule.
+set(CMAKE_MULTIPLE_OUTPUT_PAIRS
+  "/home/kempenep/pktools-2.6.7/build/src/liblasClasses.so" "/home/kempenep/pktools-2.6.7/build/src/liblasClasses.so.1.6.1"
+  "/home/kempenep/pktools-2.6.7/build/src/liblasClasses.so.1" "/home/kempenep/pktools-2.6.7/build/src/liblasClasses.so.1.6.1"
+  )
+
+
+# Targets to which this target links.
+set(CMAKE_TARGET_LINKED_INFO_FILES
+  )
+
+# The include file search paths:
+set(CMAKE_C_TARGET_INCLUDE_PATH
+  "base"
+  "/usr/include/gdal"
+  "/usr/local/include"
+  "../src"
+  )
+set(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
+set(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH})
diff --git a/build/src/CMakeFiles/lasClasses.dir/build.make b/build/src/CMakeFiles/lasClasses.dir/build.make
new file mode 100644
index 0000000..d1f6201
--- /dev/null
+++ b/build/src/CMakeFiles/lasClasses.dir/build.make
@@ -0,0 +1,133 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+# Include any dependencies generated for this target.
+include src/CMakeFiles/lasClasses.dir/depend.make
+
+# Include the progress variables for this target.
+include src/CMakeFiles/lasClasses.dir/progress.make
+
+# Include the compile flags for this target's objects.
+include src/CMakeFiles/lasClasses.dir/flags.make
+
+src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o: src/CMakeFiles/lasClasses.dir/flags.make
+src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o: ../src/lasclasses/FileReaderLas.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_1)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o -c /home/kempenep/pktools-2.6.7/src/lasclasses/FileReaderLas.cc
+
+src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/lasclasses/FileReaderLas.cc > CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.i
+
+src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/lasclasses/FileReaderLas.cc -o CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.s
+
+src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o.requires:
+.PHONY : src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o.requires
+
+src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o.provides: src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o.provides.build
+.PHONY : src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o.provides
+
+src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o.provides.build: src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o
+
+src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o: src/CMakeFiles/lasClasses.dir/flags.make
+src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o: ../src/base/Vector2d.cc
+	$(CMAKE_COMMAND) -E cmake_progress_report /home/kempenep/pktools-2.6.7/build/CMakeFiles $(CMAKE_PROGRESS_2)
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Building CXX object src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++   $(CXX_DEFINES) $(CXX_FLAGS) -o CMakeFiles/lasClasses.dir/base/Vector2d.cc.o -c /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc
+
+src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.i: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/lasClasses.dir/base/Vector2d.cc.i"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -E /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc > CMakeFiles/lasClasses.dir/base/Vector2d.cc.i
+
+src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.s: cmake_force
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/lasClasses.dir/base/Vector2d.cc.s"
+	cd /home/kempenep/pktools-2.6.7/build/src && /usr/bin/c++  $(CXX_DEFINES) $(CXX_FLAGS) -S /home/kempenep/pktools-2.6.7/src/base/Vector2d.cc -o CMakeFiles/lasClasses.dir/base/Vector2d.cc.s
+
+src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o.requires:
+.PHONY : src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o.requires
+
+src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o.provides: src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o.requires
+	$(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o.provides.build
+.PHONY : src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o.provides
+
+src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o.provides.build: src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o
+
+# Object files for target lasClasses
+lasClasses_OBJECTS = \
+"CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o" \
+"CMakeFiles/lasClasses.dir/base/Vector2d.cc.o"
+
+# External object files for target lasClasses
+lasClasses_EXTERNAL_OBJECTS =
+
+src/liblasClasses.so.1.6.1: src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o
+src/liblasClasses.so.1.6.1: src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o
+src/liblasClasses.so.1.6.1: src/CMakeFiles/lasClasses.dir/build.make
+src/liblasClasses.so.1.6.1: src/CMakeFiles/lasClasses.dir/link.txt
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking CXX shared library liblasClasses.so"
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/lasClasses.dir/link.txt --verbose=$(VERBOSE)
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -E cmake_symlink_library liblasClasses.so.1.6.1 liblasClasses.so.1 liblasClasses.so
+
+src/liblasClasses.so.1: src/liblasClasses.so.1.6.1
+
+src/liblasClasses.so: src/liblasClasses.so.1.6.1
+
+# Rule to build all files generated by this target.
+src/CMakeFiles/lasClasses.dir/build: src/liblasClasses.so
+.PHONY : src/CMakeFiles/lasClasses.dir/build
+
+src/CMakeFiles/lasClasses.dir/requires: src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o.requires
+src/CMakeFiles/lasClasses.dir/requires: src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o.requires
+.PHONY : src/CMakeFiles/lasClasses.dir/requires
+
+src/CMakeFiles/lasClasses.dir/clean:
+	cd /home/kempenep/pktools-2.6.7/build/src && $(CMAKE_COMMAND) -P CMakeFiles/lasClasses.dir/cmake_clean.cmake
+.PHONY : src/CMakeFiles/lasClasses.dir/clean
+
+src/CMakeFiles/lasClasses.dir/depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/kempenep/pktools-2.6.7 /home/kempenep/pktools-2.6.7/src /home/kempenep/pktools-2.6.7/build /home/kempenep/pktools-2.6.7/build/src /home/kempenep/pktools-2.6.7/build/src/CMakeFiles/lasClasses.dir/DependInfo.cmake --color=$(COLOR)
+.PHONY : src/CMakeFiles/lasClasses.dir/depend
+
diff --git a/build/src/CMakeFiles/lasClasses.dir/cmake_clean.cmake b/build/src/CMakeFiles/lasClasses.dir/cmake_clean.cmake
new file mode 100644
index 0000000..19dd1f1
--- /dev/null
+++ b/build/src/CMakeFiles/lasClasses.dir/cmake_clean.cmake
@@ -0,0 +1,13 @@
+file(REMOVE_RECURSE
+  "CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o"
+  "CMakeFiles/lasClasses.dir/base/Vector2d.cc.o"
+  "liblasClasses.pdb"
+  "liblasClasses.so"
+  "liblasClasses.so.1.6.1"
+  "liblasClasses.so.1"
+)
+
+# Per-language clean rules from dependency scanning.
+foreach(lang CXX)
+  include(CMakeFiles/lasClasses.dir/cmake_clean_${lang}.cmake OPTIONAL)
+endforeach()
diff --git a/build/src/CMakeFiles/lasClasses.dir/depend.make b/build/src/CMakeFiles/lasClasses.dir/depend.make
new file mode 100644
index 0000000..6219596
--- /dev/null
+++ b/build/src/CMakeFiles/lasClasses.dir/depend.make
@@ -0,0 +1,2 @@
+# Empty dependencies file for lasClasses.
+# This may be replaced when dependencies are built.
diff --git a/build/src/CMakeFiles/lasClasses.dir/flags.make b/build/src/CMakeFiles/lasClasses.dir/flags.make
new file mode 100644
index 0000000..36f0a6f
--- /dev/null
+++ b/build/src/CMakeFiles/lasClasses.dir/flags.make
@@ -0,0 +1,8 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# compile CXX with /usr/bin/c++
+CXX_FLAGS =  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG -fPIC -I/home/kempenep/pktools-2.6.7/build/base -I/usr/include/gdal -I/usr/local/include -I/home/kempenep/pktools-2.6.7/src   
+
+CXX_DEFINES = -DBOOST_ALL_NO_LIB -DFANN_DLL -DGSL_DLL -DHAVE_CONFIG_H -DlasClasses_EXPORTS
+
diff --git a/build/src/CMakeFiles/lasClasses.dir/link.txt b/build/src/CMakeFiles/lasClasses.dir/link.txt
new file mode 100644
index 0000000..cf32483
--- /dev/null
+++ b/build/src/CMakeFiles/lasClasses.dir/link.txt
@@ -0,0 +1 @@
+/usr/bin/c++  -fPIC  -fPIC -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wredundant-decls -Wno-long-long -std=c++98 -O3 -DNDEBUG   -shared -Wl,-soname,liblasClasses.so.1 -o liblasClasses.so.1.6.1 CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o CMakeFiles/lasClasses.dir/base/Vector2d.cc.o 
diff --git a/build/src/CMakeFiles/lasClasses.dir/progress.make b/build/src/CMakeFiles/lasClasses.dir/progress.make
new file mode 100644
index 0000000..48b3d8a
--- /dev/null
+++ b/build/src/CMakeFiles/lasClasses.dir/progress.make
@@ -0,0 +1,3 @@
+CMAKE_PROGRESS_1 = 19
+CMAKE_PROGRESS_2 = 20
+
diff --git a/build/src/CMakeFiles/progress.marks b/build/src/CMakeFiles/progress.marks
new file mode 100644
index 0000000..209e3ef
--- /dev/null
+++ b/build/src/CMakeFiles/progress.marks
@@ -0,0 +1 @@
+20
diff --git a/build/src/Makefile b/build/src/Makefile
new file mode 100644
index 0000000..4fef1c1
--- /dev/null
+++ b/build/src/Makefile
@@ -0,0 +1,712 @@
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 3.0
+
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
+
+# Allow only one "make -f Makefile2" at a time, but pass parallelism.
+.NOTPARALLEL:
+.PHONY : .NOTPARALLEL
+
+#=============================================================================
+# Special targets provided by cmake.
+
+# Disable implicit rules so canonical targets will work.
+.SUFFIXES:
+
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
+
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# Escaping for special characters.
+EQUALS = =
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/kempenep/pktools-2.6.7
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/kempenep/pktools-2.6.7/build
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target edit_cache
+edit_cache:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
+	/usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : edit_cache
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+.PHONY : edit_cache/fast
+
+# Special rule for the target install
+install: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+	/usr/bin/cmake -P cmake_install.cmake
+.PHONY : install
+
+# Special rule for the target install
+install/fast: preinstall/fast
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
+	/usr/bin/cmake -P cmake_install.cmake
+.PHONY : install/fast
+
+# Special rule for the target install/local
+install/local: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
+	/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+.PHONY : install/local
+
+# Special rule for the target install/local
+install/local/fast: install/local
+.PHONY : install/local/fast
+
+# Special rule for the target install/strip
+install/strip: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
+	/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+.PHONY : install/strip
+
+# Special rule for the target install/strip
+install/strip/fast: install/strip
+.PHONY : install/strip/fast
+
+# Special rule for the target list_install_components
+list_install_components:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
+.PHONY : list_install_components
+
+# Special rule for the target list_install_components
+list_install_components/fast: list_install_components
+.PHONY : list_install_components/fast
+
+# Special rule for the target package
+package: preinstall
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
+	cd /home/kempenep/pktools-2.6.7/build && /usr/bin/cpack --config ./CPackConfig.cmake
+.PHONY : package
+
+# Special rule for the target package
+package/fast: package
+.PHONY : package/fast
+
+# Special rule for the target package_source
+package_source:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
+	cd /home/kempenep/pktools-2.6.7/build && /usr/bin/cpack --config ./CPackSourceConfig.cmake /home/kempenep/pktools-2.6.7/build/CPackSourceConfig.cmake
+.PHONY : package_source
+
+# Special rule for the target package_source
+package_source/fast: package_source
+.PHONY : package_source/fast
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+	/usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : rebuild_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+.PHONY : rebuild_cache/fast
+
+# The main all target
+all: cmake_check_build_system
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles /home/kempenep/pktools-2.6.7/build/src/CMakeFiles/progress.marks
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f CMakeFiles/Makefile2 src/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /home/kempenep/pktools-2.6.7/build/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f CMakeFiles/Makefile2 src/clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f CMakeFiles/Makefile2 src/preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+# Convenience name for target.
+src/CMakeFiles/algorithms.dir/rule:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/algorithms.dir/rule
+.PHONY : src/CMakeFiles/algorithms.dir/rule
+
+# Convenience name for target.
+algorithms: src/CMakeFiles/algorithms.dir/rule
+.PHONY : algorithms
+
+# fast build rule for target.
+algorithms/fast:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/build
+.PHONY : algorithms/fast
+
+# Convenience name for target.
+src/CMakeFiles/base.dir/rule:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/base.dir/rule
+.PHONY : src/CMakeFiles/base.dir/rule
+
+# Convenience name for target.
+base: src/CMakeFiles/base.dir/rule
+.PHONY : base
+
+# fast build rule for target.
+base/fast:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/build
+.PHONY : base/fast
+
+# Convenience name for target.
+src/CMakeFiles/fileClasses.dir/rule:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/fileClasses.dir/rule
+.PHONY : src/CMakeFiles/fileClasses.dir/rule
+
+# Convenience name for target.
+fileClasses: src/CMakeFiles/fileClasses.dir/rule
+.PHONY : fileClasses
+
+# fast build rule for target.
+fileClasses/fast:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/build
+.PHONY : fileClasses/fast
+
+# Convenience name for target.
+src/CMakeFiles/imageClasses.dir/rule:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/imageClasses.dir/rule
+.PHONY : src/CMakeFiles/imageClasses.dir/rule
+
+# Convenience name for target.
+imageClasses: src/CMakeFiles/imageClasses.dir/rule
+.PHONY : imageClasses
+
+# fast build rule for target.
+imageClasses/fast:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/build
+.PHONY : imageClasses/fast
+
+# Convenience name for target.
+src/CMakeFiles/lasClasses.dir/rule:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f CMakeFiles/Makefile2 src/CMakeFiles/lasClasses.dir/rule
+.PHONY : src/CMakeFiles/lasClasses.dir/rule
+
+# Convenience name for target.
+lasClasses: src/CMakeFiles/lasClasses.dir/rule
+.PHONY : lasClasses
+
+# fast build rule for target.
+lasClasses/fast:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/build
+.PHONY : lasClasses/fast
+
+algorithms/ConfusionMatrix.o: algorithms/ConfusionMatrix.cc.o
+.PHONY : algorithms/ConfusionMatrix.o
+
+# target to build an object file
+algorithms/ConfusionMatrix.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.o
+.PHONY : algorithms/ConfusionMatrix.cc.o
+
+algorithms/ConfusionMatrix.i: algorithms/ConfusionMatrix.cc.i
+.PHONY : algorithms/ConfusionMatrix.i
+
+# target to preprocess a source file
+algorithms/ConfusionMatrix.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.i
+.PHONY : algorithms/ConfusionMatrix.cc.i
+
+algorithms/ConfusionMatrix.s: algorithms/ConfusionMatrix.cc.s
+.PHONY : algorithms/ConfusionMatrix.s
+
+# target to generate assembly for a file
+algorithms/ConfusionMatrix.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/ConfusionMatrix.cc.s
+.PHONY : algorithms/ConfusionMatrix.cc.s
+
+algorithms/CostFactorySVM.o: algorithms/CostFactorySVM.cc.o
+.PHONY : algorithms/CostFactorySVM.o
+
+# target to build an object file
+algorithms/CostFactorySVM.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.o
+.PHONY : algorithms/CostFactorySVM.cc.o
+
+algorithms/CostFactorySVM.i: algorithms/CostFactorySVM.cc.i
+.PHONY : algorithms/CostFactorySVM.i
+
+# target to preprocess a source file
+algorithms/CostFactorySVM.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.i
+.PHONY : algorithms/CostFactorySVM.cc.i
+
+algorithms/CostFactorySVM.s: algorithms/CostFactorySVM.cc.s
+.PHONY : algorithms/CostFactorySVM.s
+
+# target to generate assembly for a file
+algorithms/CostFactorySVM.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/CostFactorySVM.cc.s
+.PHONY : algorithms/CostFactorySVM.cc.s
+
+algorithms/Egcs.o: algorithms/Egcs.cc.o
+.PHONY : algorithms/Egcs.o
+
+# target to build an object file
+algorithms/Egcs.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.o
+.PHONY : algorithms/Egcs.cc.o
+
+algorithms/Egcs.i: algorithms/Egcs.cc.i
+.PHONY : algorithms/Egcs.i
+
+# target to preprocess a source file
+algorithms/Egcs.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.i
+.PHONY : algorithms/Egcs.cc.i
+
+algorithms/Egcs.s: algorithms/Egcs.cc.s
+.PHONY : algorithms/Egcs.s
+
+# target to generate assembly for a file
+algorithms/Egcs.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Egcs.cc.s
+.PHONY : algorithms/Egcs.cc.s
+
+algorithms/Filter.o: algorithms/Filter.cc.o
+.PHONY : algorithms/Filter.o
+
+# target to build an object file
+algorithms/Filter.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.o
+.PHONY : algorithms/Filter.cc.o
+
+algorithms/Filter.i: algorithms/Filter.cc.i
+.PHONY : algorithms/Filter.i
+
+# target to preprocess a source file
+algorithms/Filter.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.i
+.PHONY : algorithms/Filter.cc.i
+
+algorithms/Filter.s: algorithms/Filter.cc.s
+.PHONY : algorithms/Filter.s
+
+# target to generate assembly for a file
+algorithms/Filter.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Filter.cc.s
+.PHONY : algorithms/Filter.cc.s
+
+algorithms/Filter2d.o: algorithms/Filter2d.cc.o
+.PHONY : algorithms/Filter2d.o
+
+# target to build an object file
+algorithms/Filter2d.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.o
+.PHONY : algorithms/Filter2d.cc.o
+
+algorithms/Filter2d.i: algorithms/Filter2d.cc.i
+.PHONY : algorithms/Filter2d.i
+
+# target to preprocess a source file
+algorithms/Filter2d.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.i
+.PHONY : algorithms/Filter2d.cc.i
+
+algorithms/Filter2d.s: algorithms/Filter2d.cc.s
+.PHONY : algorithms/Filter2d.s
+
+# target to generate assembly for a file
+algorithms/Filter2d.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/Filter2d.cc.s
+.PHONY : algorithms/Filter2d.cc.s
+
+algorithms/ImgRegression.o: algorithms/ImgRegression.cc.o
+.PHONY : algorithms/ImgRegression.o
+
+# target to build an object file
+algorithms/ImgRegression.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.o
+.PHONY : algorithms/ImgRegression.cc.o
+
+algorithms/ImgRegression.i: algorithms/ImgRegression.cc.i
+.PHONY : algorithms/ImgRegression.i
+
+# target to preprocess a source file
+algorithms/ImgRegression.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.i
+.PHONY : algorithms/ImgRegression.cc.i
+
+algorithms/ImgRegression.s: algorithms/ImgRegression.cc.s
+.PHONY : algorithms/ImgRegression.s
+
+# target to generate assembly for a file
+algorithms/ImgRegression.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/ImgRegression.cc.s
+.PHONY : algorithms/ImgRegression.cc.s
+
+algorithms/svm.o: algorithms/svm.cpp.o
+.PHONY : algorithms/svm.o
+
+# target to build an object file
+algorithms/svm.cpp.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.o
+.PHONY : algorithms/svm.cpp.o
+
+algorithms/svm.i: algorithms/svm.cpp.i
+.PHONY : algorithms/svm.i
+
+# target to preprocess a source file
+algorithms/svm.cpp.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.i
+.PHONY : algorithms/svm.cpp.i
+
+algorithms/svm.s: algorithms/svm.cpp.s
+.PHONY : algorithms/svm.s
+
+# target to generate assembly for a file
+algorithms/svm.cpp.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/algorithms/svm.cpp.s
+.PHONY : algorithms/svm.cpp.s
+
+base/Vector2d.o: base/Vector2d.cc.o
+.PHONY : base/Vector2d.o
+
+# target to build an object file
+base/Vector2d.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/base/Vector2d.cc.o
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/base/Vector2d.cc.o
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.o
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.o
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.o
+.PHONY : base/Vector2d.cc.o
+
+base/Vector2d.i: base/Vector2d.cc.i
+.PHONY : base/Vector2d.i
+
+# target to preprocess a source file
+base/Vector2d.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/base/Vector2d.cc.i
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/base/Vector2d.cc.i
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.i
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.i
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.i
+.PHONY : base/Vector2d.cc.i
+
+base/Vector2d.s: base/Vector2d.cc.s
+.PHONY : base/Vector2d.s
+
+# target to generate assembly for a file
+base/Vector2d.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/algorithms.dir/build.make src/CMakeFiles/algorithms.dir/base/Vector2d.cc.s
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/base.dir/build.make src/CMakeFiles/base.dir/base/Vector2d.cc.s
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/base/Vector2d.cc.s
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/base/Vector2d.cc.s
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/base/Vector2d.cc.s
+.PHONY : base/Vector2d.cc.s
+
+fileclasses/FileReaderAscii.o: fileclasses/FileReaderAscii.cc.o
+.PHONY : fileclasses/FileReaderAscii.o
+
+# target to build an object file
+fileclasses/FileReaderAscii.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.o
+.PHONY : fileclasses/FileReaderAscii.cc.o
+
+fileclasses/FileReaderAscii.i: fileclasses/FileReaderAscii.cc.i
+.PHONY : fileclasses/FileReaderAscii.i
+
+# target to preprocess a source file
+fileclasses/FileReaderAscii.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.i
+.PHONY : fileclasses/FileReaderAscii.cc.i
+
+fileclasses/FileReaderAscii.s: fileclasses/FileReaderAscii.cc.s
+.PHONY : fileclasses/FileReaderAscii.s
+
+# target to generate assembly for a file
+fileclasses/FileReaderAscii.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/fileClasses.dir/build.make src/CMakeFiles/fileClasses.dir/fileclasses/FileReaderAscii.cc.s
+.PHONY : fileclasses/FileReaderAscii.cc.s
+
+imageclasses/ImgRasterGdal.o: imageclasses/ImgRasterGdal.cc.o
+.PHONY : imageclasses/ImgRasterGdal.o
+
+# target to build an object file
+imageclasses/ImgRasterGdal.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.o
+.PHONY : imageclasses/ImgRasterGdal.cc.o
+
+imageclasses/ImgRasterGdal.i: imageclasses/ImgRasterGdal.cc.i
+.PHONY : imageclasses/ImgRasterGdal.i
+
+# target to preprocess a source file
+imageclasses/ImgRasterGdal.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.i
+.PHONY : imageclasses/ImgRasterGdal.cc.i
+
+imageclasses/ImgRasterGdal.s: imageclasses/ImgRasterGdal.cc.s
+.PHONY : imageclasses/ImgRasterGdal.s
+
+# target to generate assembly for a file
+imageclasses/ImgRasterGdal.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgRasterGdal.cc.s
+.PHONY : imageclasses/ImgRasterGdal.cc.s
+
+imageclasses/ImgReaderGdal.o: imageclasses/ImgReaderGdal.cc.o
+.PHONY : imageclasses/ImgReaderGdal.o
+
+# target to build an object file
+imageclasses/ImgReaderGdal.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.o
+.PHONY : imageclasses/ImgReaderGdal.cc.o
+
+imageclasses/ImgReaderGdal.i: imageclasses/ImgReaderGdal.cc.i
+.PHONY : imageclasses/ImgReaderGdal.i
+
+# target to preprocess a source file
+imageclasses/ImgReaderGdal.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.i
+.PHONY : imageclasses/ImgReaderGdal.cc.i
+
+imageclasses/ImgReaderGdal.s: imageclasses/ImgReaderGdal.cc.s
+.PHONY : imageclasses/ImgReaderGdal.s
+
+# target to generate assembly for a file
+imageclasses/ImgReaderGdal.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderGdal.cc.s
+.PHONY : imageclasses/ImgReaderGdal.cc.s
+
+imageclasses/ImgReaderOgr.o: imageclasses/ImgReaderOgr.cc.o
+.PHONY : imageclasses/ImgReaderOgr.o
+
+# target to build an object file
+imageclasses/ImgReaderOgr.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.o
+.PHONY : imageclasses/ImgReaderOgr.cc.o
+
+imageclasses/ImgReaderOgr.i: imageclasses/ImgReaderOgr.cc.i
+.PHONY : imageclasses/ImgReaderOgr.i
+
+# target to preprocess a source file
+imageclasses/ImgReaderOgr.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.i
+.PHONY : imageclasses/ImgReaderOgr.cc.i
+
+imageclasses/ImgReaderOgr.s: imageclasses/ImgReaderOgr.cc.s
+.PHONY : imageclasses/ImgReaderOgr.s
+
+# target to generate assembly for a file
+imageclasses/ImgReaderOgr.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgReaderOgr.cc.s
+.PHONY : imageclasses/ImgReaderOgr.cc.s
+
+imageclasses/ImgUpdaterGdal.o: imageclasses/ImgUpdaterGdal.cc.o
+.PHONY : imageclasses/ImgUpdaterGdal.o
+
+# target to build an object file
+imageclasses/ImgUpdaterGdal.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.o
+.PHONY : imageclasses/ImgUpdaterGdal.cc.o
+
+imageclasses/ImgUpdaterGdal.i: imageclasses/ImgUpdaterGdal.cc.i
+.PHONY : imageclasses/ImgUpdaterGdal.i
+
+# target to preprocess a source file
+imageclasses/ImgUpdaterGdal.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.i
+.PHONY : imageclasses/ImgUpdaterGdal.cc.i
+
+imageclasses/ImgUpdaterGdal.s: imageclasses/ImgUpdaterGdal.cc.s
+.PHONY : imageclasses/ImgUpdaterGdal.s
+
+# target to generate assembly for a file
+imageclasses/ImgUpdaterGdal.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgUpdaterGdal.cc.s
+.PHONY : imageclasses/ImgUpdaterGdal.cc.s
+
+imageclasses/ImgWriterGdal.o: imageclasses/ImgWriterGdal.cc.o
+.PHONY : imageclasses/ImgWriterGdal.o
+
+# target to build an object file
+imageclasses/ImgWriterGdal.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.o
+.PHONY : imageclasses/ImgWriterGdal.cc.o
+
+imageclasses/ImgWriterGdal.i: imageclasses/ImgWriterGdal.cc.i
+.PHONY : imageclasses/ImgWriterGdal.i
+
+# target to preprocess a source file
+imageclasses/ImgWriterGdal.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.i
+.PHONY : imageclasses/ImgWriterGdal.cc.i
+
+imageclasses/ImgWriterGdal.s: imageclasses/ImgWriterGdal.cc.s
+.PHONY : imageclasses/ImgWriterGdal.s
+
+# target to generate assembly for a file
+imageclasses/ImgWriterGdal.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterGdal.cc.s
+.PHONY : imageclasses/ImgWriterGdal.cc.s
+
+imageclasses/ImgWriterOgr.o: imageclasses/ImgWriterOgr.cc.o
+.PHONY : imageclasses/ImgWriterOgr.o
+
+# target to build an object file
+imageclasses/ImgWriterOgr.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.o
+.PHONY : imageclasses/ImgWriterOgr.cc.o
+
+imageclasses/ImgWriterOgr.i: imageclasses/ImgWriterOgr.cc.i
+.PHONY : imageclasses/ImgWriterOgr.i
+
+# target to preprocess a source file
+imageclasses/ImgWriterOgr.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.i
+.PHONY : imageclasses/ImgWriterOgr.cc.i
+
+imageclasses/ImgWriterOgr.s: imageclasses/ImgWriterOgr.cc.s
+.PHONY : imageclasses/ImgWriterOgr.s
+
+# target to generate assembly for a file
+imageclasses/ImgWriterOgr.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/imageClasses.dir/build.make src/CMakeFiles/imageClasses.dir/imageclasses/ImgWriterOgr.cc.s
+.PHONY : imageclasses/ImgWriterOgr.cc.s
+
+lasclasses/FileReaderLas.o: lasclasses/FileReaderLas.cc.o
+.PHONY : lasclasses/FileReaderLas.o
+
+# target to build an object file
+lasclasses/FileReaderLas.cc.o:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.o
+.PHONY : lasclasses/FileReaderLas.cc.o
+
+lasclasses/FileReaderLas.i: lasclasses/FileReaderLas.cc.i
+.PHONY : lasclasses/FileReaderLas.i
+
+# target to preprocess a source file
+lasclasses/FileReaderLas.cc.i:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.i
+.PHONY : lasclasses/FileReaderLas.cc.i
+
+lasclasses/FileReaderLas.s: lasclasses/FileReaderLas.cc.s
+.PHONY : lasclasses/FileReaderLas.s
+
+# target to generate assembly for a file
+lasclasses/FileReaderLas.cc.s:
+	cd /home/kempenep/pktools-2.6.7/build && $(MAKE) -f src/CMakeFiles/lasClasses.dir/build.make src/CMakeFiles/lasClasses.dir/lasclasses/FileReaderLas.cc.s
+.PHONY : lasclasses/FileReaderLas.cc.s
+
+# Help Target
+help:
+	@echo "The following are some of the valid targets for this Makefile:"
+	@echo "... all (the default if no target is provided)"
+	@echo "... clean"
+	@echo "... depend"
+	@echo "... algorithms"
+	@echo "... base"
+	@echo "... edit_cache"
+	@echo "... fileClasses"
+	@echo "... imageClasses"
+	@echo "... install"
+	@echo "... install/local"
+	@echo "... install/strip"
+	@echo "... lasClasses"
+	@echo "... list_install_components"
+	@echo "... package"
+	@echo "... package_source"
+	@echo "... rebuild_cache"
+	@echo "... algorithms/ConfusionMatrix.o"
+	@echo "... algorithms/ConfusionMatrix.i"
+	@echo "... algorithms/ConfusionMatrix.s"
+	@echo "... algorithms/CostFactorySVM.o"
+	@echo "... algorithms/CostFactorySVM.i"
+	@echo "... algorithms/CostFactorySVM.s"
+	@echo "... algorithms/Egcs.o"
+	@echo "... algorithms/Egcs.i"
+	@echo "... algorithms/Egcs.s"
+	@echo "... algorithms/Filter.o"
+	@echo "... algorithms/Filter.i"
+	@echo "... algorithms/Filter.s"
+	@echo "... algorithms/Filter2d.o"
+	@echo "... algorithms/Filter2d.i"
+	@echo "... algorithms/Filter2d.s"
+	@echo "... algorithms/ImgRegression.o"
+	@echo "... algorithms/ImgRegression.i"
+	@echo "... algorithms/ImgRegression.s"
+	@echo "... algorithms/svm.o"
+	@echo "... algorithms/svm.i"
+	@echo "... algorithms/svm.s"
+	@echo "... base/Vector2d.o"
+	@echo "... base/Vector2d.i"
+	@echo "... base/Vector2d.s"
+	@echo "... fileclasses/FileReaderAscii.o"
+	@echo "... fileclasses/FileReaderAscii.i"
+	@echo "... fileclasses/FileReaderAscii.s"
+	@echo "... imageclasses/ImgRasterGdal.o"
+	@echo "... imageclasses/ImgRasterGdal.i"
+	@echo "... imageclasses/ImgRasterGdal.s"
+	@echo "... imageclasses/ImgReaderGdal.o"
+	@echo "... imageclasses/ImgReaderGdal.i"
+	@echo "... imageclasses/ImgReaderGdal.s"
+	@echo "... imageclasses/ImgReaderOgr.o"
+	@echo "... imageclasses/ImgReaderOgr.i"
+	@echo "... imageclasses/ImgReaderOgr.s"
+	@echo "... imageclasses/ImgUpdaterGdal.o"
+	@echo "... imageclasses/ImgUpdaterGdal.i"
+	@echo "... imageclasses/ImgUpdaterGdal.s"
+	@echo "... imageclasses/ImgWriterGdal.o"
+	@echo "... imageclasses/ImgWriterGdal.i"
+	@echo "... imageclasses/ImgWriterGdal.s"
+	@echo "... imageclasses/ImgWriterOgr.o"
+	@echo "... imageclasses/ImgWriterOgr.i"
+	@echo "... imageclasses/ImgWriterOgr.s"
+	@echo "... lasclasses/FileReaderLas.o"
+	@echo "... lasclasses/FileReaderLas.i"
+	@echo "... lasclasses/FileReaderLas.s"
+.PHONY : help
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+	cd /home/kempenep/pktools-2.6.7/build && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
+
diff --git a/build/src/cmake_install.cmake b/build/src/cmake_install.cmake
new file mode 100644
index 0000000..16a7069
--- /dev/null
+++ b/build/src/cmake_install.cmake
@@ -0,0 +1,243 @@
+# Install script for directory: /home/kempenep/pktools-2.6.7/src
+
+# Set the install prefix
+if(NOT DEFINED CMAKE_INSTALL_PREFIX)
+  set(CMAKE_INSTALL_PREFIX "/usr/local")
+endif()
+string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+
+# Set the install configuration name.
+if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
+  if(BUILD_TYPE)
+    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
+           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
+  else()
+    set(CMAKE_INSTALL_CONFIG_NAME "RELEASE")
+  endif()
+  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
+endif()
+
+# Set the component getting installed.
+if(NOT CMAKE_INSTALL_COMPONENT)
+  if(COMPONENT)
+    message(STATUS "Install component: \"${COMPONENT}\"")
+    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
+  else()
+    set(CMAKE_INSTALL_COMPONENT)
+  endif()
+endif()
+
+# Install shared libraries without execute permission?
+if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
+  set(CMAKE_INSTALL_SO_NO_EXE "1")
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libbase.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libbase.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libbase.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      file(RPATH_CHECK
+           FILE "${file}"
+           RPATH "")
+    endif()
+  endforeach()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
+    "/home/kempenep/pktools-2.6.7/build/src/libbase.so.1.6.1"
+    "/home/kempenep/pktools-2.6.7/build/src/libbase.so.1"
+    "/home/kempenep/pktools-2.6.7/build/src/libbase.so"
+    )
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libbase.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libbase.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libbase.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      if(CMAKE_INSTALL_DO_STRIP)
+        execute_process(COMMAND "/usr/bin/strip" "${file}")
+      endif()
+    endif()
+  endforeach()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libimageClasses.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libimageClasses.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libimageClasses.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      file(RPATH_CHECK
+           FILE "${file}"
+           RPATH "")
+    endif()
+  endforeach()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
+    "/home/kempenep/pktools-2.6.7/build/src/libimageClasses.so.1.6.1"
+    "/home/kempenep/pktools-2.6.7/build/src/libimageClasses.so.1"
+    "/home/kempenep/pktools-2.6.7/build/src/libimageClasses.so"
+    )
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libimageClasses.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libimageClasses.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libimageClasses.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      if(CMAKE_INSTALL_DO_STRIP)
+        execute_process(COMMAND "/usr/bin/strip" "${file}")
+      endif()
+    endif()
+  endforeach()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libalgorithms.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libalgorithms.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libalgorithms.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      file(RPATH_CHECK
+           FILE "${file}"
+           RPATH "")
+    endif()
+  endforeach()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
+    "/home/kempenep/pktools-2.6.7/build/src/libalgorithms.so.1.6.1"
+    "/home/kempenep/pktools-2.6.7/build/src/libalgorithms.so.1"
+    "/home/kempenep/pktools-2.6.7/build/src/libalgorithms.so"
+    )
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libalgorithms.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libalgorithms.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libalgorithms.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      file(RPATH_REMOVE
+           FILE "${file}")
+      if(CMAKE_INSTALL_DO_STRIP)
+        execute_process(COMMAND "/usr/bin/strip" "${file}")
+      endif()
+    endif()
+  endforeach()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libfileClasses.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libfileClasses.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libfileClasses.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      file(RPATH_CHECK
+           FILE "${file}"
+           RPATH "")
+    endif()
+  endforeach()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
+    "/home/kempenep/pktools-2.6.7/build/src/libfileClasses.so.1.6.1"
+    "/home/kempenep/pktools-2.6.7/build/src/libfileClasses.so.1"
+    "/home/kempenep/pktools-2.6.7/build/src/libfileClasses.so"
+    )
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libfileClasses.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libfileClasses.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libfileClasses.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      file(RPATH_REMOVE
+           FILE "${file}")
+      if(CMAKE_INSTALL_DO_STRIP)
+        execute_process(COMMAND "/usr/bin/strip" "${file}")
+      endif()
+    endif()
+  endforeach()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/pktools/base" TYPE FILE FILES
+    "/home/kempenep/pktools-2.6.7/src/base/IndexValue.h"
+    "/home/kempenep/pktools-2.6.7/src/base/Optionpk.h"
+    "/home/kempenep/pktools-2.6.7/src/base/PosValue.h"
+    "/home/kempenep/pktools-2.6.7/src/base/Vector2d.h"
+    "/home/kempenep/pktools-2.6.7/src/base/Vector2d.cc"
+    )
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/pktools/imageclasses" TYPE FILE FILES
+    "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgRasterGdal.h"
+    "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderGdal.h"
+    "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgReaderOgr.h"
+    "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterGdal.h"
+    "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgWriterOgr.h"
+    "/home/kempenep/pktools-2.6.7/src/imageclasses/ImgUpdaterGdal.h"
+    )
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/pktools/algorithms" TYPE FILE FILES
+    "/home/kempenep/pktools-2.6.7/src/algorithms/ConfusionMatrix.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/CostFactory.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/CostFactorySVM.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/Egcs.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/FeatureSelector.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/Filter.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/Filter2d.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/ImgRegression.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/StatFactory.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/myfann_cpp.h"
+    "/home/kempenep/pktools-2.6.7/src/algorithms/svm.h"
+    )
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/pktools/fileclasses" TYPE FILE FILES "/home/kempenep/pktools-2.6.7/src/fileclasses/FileReaderAscii.h")
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/liblasClasses.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/liblasClasses.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/liblasClasses.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      file(RPATH_CHECK
+           FILE "${file}"
+           RPATH "")
+    endif()
+  endforeach()
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES
+    "/home/kempenep/pktools-2.6.7/build/src/liblasClasses.so.1.6.1"
+    "/home/kempenep/pktools-2.6.7/build/src/liblasClasses.so.1"
+    "/home/kempenep/pktools-2.6.7/build/src/liblasClasses.so"
+    )
+  foreach(file
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/liblasClasses.so.1.6.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/liblasClasses.so.1"
+      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/liblasClasses.so"
+      )
+    if(EXISTS "${file}" AND
+       NOT IS_SYMLINK "${file}")
+      if(CMAKE_INSTALL_DO_STRIP)
+        execute_process(COMMAND "/usr/bin/strip" "${file}")
+      endif()
+    endif()
+  endforeach()
+endif()
+
+if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
+  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include/pktools/lasclasses" TYPE FILE FILES "/home/kempenep/pktools-2.6.7/src/lasclasses/FileReaderLas.h")
+endif()
+
diff --git a/doc/apps.dox b/doc/apps.dox
index b620db3..c7221c8 100644
--- a/doc/apps.dox
+++ b/doc/apps.dox
@@ -1,5 +1,6 @@
 \section available_tools Available tools
 - \ref pkann  classify raster image using Artificial Neural Network
+- \ref pkannogr  classify vector dataset using Artificial Neural Network
 - \ref pkascii2img  program to create raster image based on ascii file
 - \ref pkascii2ogr  program to create vector points or polygons from text file
 - \ref pkcomposite  program to mosaic and composite geo-referenced images
@@ -10,12 +11,11 @@
 - \ref pkdumpimg  program to dump image content to ascii or std out
 - \ref pkdumpogr  dump ogr file to text file or standard output
 - \ref pkegcs  Utility for raster files in European Grid Coordinate System
-- \ref pkextract  extract pixel values from raster image from a (vector or raster) sample
 - \ref pkextractimg  extract pixel values from raster image using a raster sample
 - \ref pkextractogr  extract pixel values from raster image from a (vector or raster) sample
 - \ref pkfillnodata  program to fill holes in raster image
-- \ref pkfilterascii  program to filter data in an ASCII file
 - \ref pkfilter  program to filter raster images
+- \ref pkfilterascii  program to filter data in an ASCII file
 - \ref pkfilterdem  Filter digital elevation model raster datasets
 - \ref pkfsann  feature selection for artificial neural network classifier pkann
 - \ref pkfssvm  feature selection for support vector machine classifier pksvm
@@ -26,11 +26,13 @@
 - \ref pkoptsvm  program to optimize parameters for support vector machine classifier pksvm
 - \ref pkpolygonize  program to make vector file from raster image
 - \ref pkreclass  program to replace pixel values in raster image
+- \ref pkreclassogr  program to replace field values of attributes in vector dataset
 - \ref pkregann  regression with artificial neural network (multi-layer perceptron)
 - \ref pksetmask  program to apply mask image (set invalid values) to raster image
 - \ref pksieve  program to sieve filter raster image
-- \ref pkstatascii  program to calculate basic statistics from text file
 - \ref pkstat  program to calculate basic statistics from raster dataset
+- \ref pkstatascii  program to calculate basic statistics from text file
 - \ref pkstatogr  program to calculate basic statistics from vector file
 - \ref pkstatprofile  program to calculate statistics in temporal or spectral profile
 - \ref pksvm  classify raster image using Support Vector Machine
+- \ref pksvmogr  classify vector dataset using Support Vector Machine
diff --git a/doc/createappsdox.sh b/doc/createappsdox.sh
index 6cbd81b..e6fa291 100755
--- a/doc/createappsdox.sh
+++ b/doc/createappsdox.sh
@@ -77,4 +77,4 @@ echo "Savannah repository for homepage can only be maintained via cvs"
 #cvs commit -m "update of repository homepage"
 #rm -r ~/tmp/pktools
 echo "ftp to downloads"
-#sftp kempenep at download.savannah.gnu.org:/releases/pktools
+#scp PKTOOLS-2.6.7.tar.gz kempenep at download.savannah.gnu.org:/releases/pktools
diff --git a/doc/doxygen_sqlite3.db b/doc/doxygen_sqlite3.db
new file mode 100644
index 0000000..608e7bc
Binary files /dev/null and b/doc/doxygen_sqlite3.db differ
diff --git a/doc/examples_pkextract.dox b/doc/examples_pkextract.dox
index 2397f84..9aafed3 100644
--- a/doc/examples_pkextract.dox
+++ b/doc/examples_pkextract.dox
@@ -1,52 +1,52 @@
-\section examples_pkextract Examples of pkextract
+\section examples_pkextract Examples of pkextractogr and pkextractimg
 
 \subsection example_pkextract_vector Using vector samples
 
 Extract all points for all layers read in points.sqlite from input.tif. Create a new point vector dataset named extracted.sqlite, where each point will contain an attribute for the individual input bands in input.tif. Notice that the default vector format is Spatialite (.sqlite).
 
 \code
-pkextract -i input.tif -s points.sqlite -o extracted.sqlite
+pkextractogr -i input.tif -s points.sqlite -o extracted.sqlite
 \endcode
 
 Same example as above, but only extract the points for the layer in points.sqlite named "valid"
 
 \code
-pkextract -i input.tif -s points.sqlite -ln valid -o extracted.sqlite
+pkextractogr -i input.tif -s points.sqlite -ln valid -o extracted.sqlite
 \endcode
 
 Extract points and write output in ESRI Shapefile format
 
 \code
-pkextract -i input.tif -s points.shp -f "ESRI Shapefile" -o extracted.shp
+pkextractogr -i input.tif -s points.shp -f "ESRI Shapefile" -o extracted.shp
 \endcode
 
 Extract the standard deviation for each input band in a 3 by 3 window, centered around the points in the sample vector dataset points.sqlite. The output vector dataset will contain polygon features defined by the buffered points (3x3 window). Use the option -circ to define a circular buffer.
 
 \code
-pkextract -i input.tif -s points.sqlite -o extracted.sqlite -r stdev -buf 3 -polygon
+pkextractogr -i input.tif -s points.sqlite -o extracted.sqlite -r stdev -buf 3 -polygon
 \endcode
 
 Extract all pixels from input.tif covered by the polygons in locations.sqlite. Each polygon can thus result in multiple point features with attributes for each input band. Write the extracted points to a point vector dataset training.sqlite.
 
 \code
-pkextract -i input.tif -s polygons.sqlite -o training.sqlite -r point
+pkextractogr -i input.tif -s polygons.sqlite -o training.sqlite -r point
 \endcode
 
 Extract the first band from input.tif at the centroids of the polygons in vector dataset polygons.sqlite. Assign the extracted point value to a new attribute of the polygon and write to the vector dataset extracted.sqlite.
 
 \code
-pkextract -i input.tif -b 0 -s polygons.sqlite -r centroid -o extracted.sqlite -polygon  
+pkextractogr -i input.tif -b 0 -s polygons.sqlite -r centroid -o extracted.sqlite -polygon  
 \endcode
 Extract the mean values for the second band in input.tif covered by each polygon in polygons.sqlite. The mean values are written to a copy of the polygons in output vector dataset extracted.sqlite
 
 \code
-pkextract -i input.tif -b 1 -s polygons.sqlite -r mean -o extracted.sqlite -polygon  
+pkextractogr -i input.tif -b 1 -s polygons.sqlite -r mean -o extracted.sqlite -polygon  
 \endcode
 
 Extract the majority class in each polygon for the input land cover map. The land cover map contains five valid classes, labeled 1-5. Other class values (e.g., labeled as 0) are not taken into account in the voting.
 
 \code
-pkextract -i landcover.tif -s polygons.sqlite -r maxvote -o majority.sqlite -polygon -c 1 -c 2 -c 3 -c 4 -c 5
+pkextractogr -i landcover.tif -s polygons.sqlite -r maxvote -o majority.sqlite -polygon -c 1 -c 2 -c 3 -c 4 -c 5
 \endcode
 
 \subsection example_pkextract_random Using random and grid samples
@@ -54,13 +54,13 @@ pkextract -i landcover.tif -s polygons.sqlite -r maxvote -o majority.sqlite -pol
 Extract 100 sample units following a simple random sampling design. For each sample unit, the median value is extracted from the input raster dataset in a window of 3 by 3 pixels and written to an attribute of the output vector dataset. The output vector dataset contains polygon features defined by the windows centered at the random selected sample units.
 
 \code
-pkextract -i input.tif -o random.sqlite -rand 100 -r median -buf 3 -polygon
+pkextractogr -i input.tif -o random.sqlite -rand 100 -r median -buf 3 -polygon
 \endcode
 
 Extract points following a systematic grid with grid cell size of 100 m. Discard pixels that have a value 0 in the input raster dataset.
 
 \code
-pkextract -i input.tif -o systematic.sqlite -grid 100 -srcnodata 0
+pkextractogr -i input.tif -o systematic.sqlite -grid 100 -srcnodata 0
 \endcode
 
 \subsection example_pkextract_raster Using raster samples
@@ -68,12 +68,12 @@ pkextract -i input.tif -o systematic.sqlite -grid 100 -srcnodata 0
 Typical use where pixels are extracted based on a land cover map (sample.tif). Extract all bands for a random sample of 10 percent of the pixels in the land cover map sample.tif where the land cover classes are either 1,2 or 3 (class values). Write output to the point vector dataset extracted.sqlite.
 
 \code
-pkextract -i input.tif -s sample.tif -o extracted.sqlite -t 10 -c 1 -c 2 -c 3
+pkextractimg -i input.tif -s sample.tif -o extracted.sqlite -t 10 -c 1 -c 2 -c 3
 \endcode
 
 Extract all bands for the first 5000 pixels encountered in sample.tif where pixels have a value equal to 1. Write output to point vector dataset extracted.sqlite.
 
 \code
-pkextract -i input.tif -s sample.tif -o extracted.sqlite -t -5000 -c 1
+pkextractimg -i input.tif -s sample.tif -o extracted.sqlite -t -5000 -c 1
 \endcode
 
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d98e6cd..ac6663b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,39 +40,39 @@ set(ALGOR_CC
 	${ALGOR_SRC_DIR}/ImgRegression.cc
 	${ALGOR_SRC_DIR}/svm.cpp
 	)
-	
+
 set(FILECLASS_H
-	${FILECLASS_SRC_DIR}/FileReaderAscii.h 
+	${FILECLASS_SRC_DIR}/FileReaderAscii.h
 	)
 
 set(FILECLASS_CC
-	${FILECLASS_SRC_DIR}/FileReaderAscii.cc 
+	${FILECLASS_SRC_DIR}/FileReaderAscii.cc
 	)
-	
+
 set(IMGCLASS_H
-	${IMGCLASS_SRC_DIR}/ImgRasterGdal.h 
-	${IMGCLASS_SRC_DIR}/ImgReaderGdal.h 
-	${IMGCLASS_SRC_DIR}/ImgReaderOgr.h 
-	${IMGCLASS_SRC_DIR}/ImgWriterGdal.h 
-	${IMGCLASS_SRC_DIR}/ImgWriterOgr.h 
-	${IMGCLASS_SRC_DIR}/ImgUpdaterGdal.h 
+	${IMGCLASS_SRC_DIR}/ImgRasterGdal.h
+	${IMGCLASS_SRC_DIR}/ImgReaderGdal.h
+	${IMGCLASS_SRC_DIR}/ImgReaderOgr.h
+	${IMGCLASS_SRC_DIR}/ImgWriterGdal.h
+	${IMGCLASS_SRC_DIR}/ImgWriterOgr.h
+	${IMGCLASS_SRC_DIR}/ImgUpdaterGdal.h
 	)
 
 set(IMGCLASS_CC
 	${IMGCLASS_SRC_DIR}/ImgRasterGdal.cc
 	${IMGCLASS_SRC_DIR}/ImgReaderGdal.cc
 	${IMGCLASS_SRC_DIR}/ImgReaderOgr.cc
-	${IMGCLASS_SRC_DIR}/ImgWriterGdal.cc 
+	${IMGCLASS_SRC_DIR}/ImgWriterGdal.cc
 	${IMGCLASS_SRC_DIR}/ImgWriterOgr.cc
-	${IMGCLASS_SRC_DIR}/ImgUpdaterGdal.cc 
+	${IMGCLASS_SRC_DIR}/ImgUpdaterGdal.cc
 	)
-	
+
 set(LASCLASS_H
-	${LASCLASS_SRC_DIR}/FileReaderLas.h 
+	${LASCLASS_SRC_DIR}/FileReaderLas.h
 	)
 
 set(LASCLASS_CC
-	${LASCLASS_SRC_DIR}/FileReaderLas.cc 
+	${LASCLASS_SRC_DIR}/FileReaderLas.cc
 	)
 
 ###############################################################################
@@ -115,39 +115,39 @@ endif(BUILD_WITH_LIBLAS)
 # Set target properties
 SET_TARGET_PROPERTIES(${PKTOOLS_BASE_LIB_NAME}
 PROPERTIES
-        SOVERSION ${PKTOOLS_BASE_VERSION}
+        SOVERSION ${PKTOOLS_BASE_SOVERSION}
         VERSION ${PKTOOLS_BASE_VERSION}
 )
 
 SET_TARGET_PROPERTIES(${PKTOOLS_IMAGECLASSES_LIB_NAME}
 PROPERTIES
-        SOVERSION ${PKTOOLS_IMAGECLASSES_VERSION}
+        SOVERSION ${PKTOOLS_IMAGECLASSES_SOVERSION}
         VERSION ${PKTOOLS_IMAGECLASSES_VERSION}
 )
 
 SET_TARGET_PROPERTIES(${PKTOOLS_ALGORITHMS_LIB_NAME}
 PROPERTIES
-        SOVERSION ${PKTOOLS_ALGORITHMS_VERSION}
+        SOVERSION ${PKTOOLS_ALGORITHMS_SOVERSION}
         VERSION ${PKTOOLS_ALGORITHMS_VERSION}
 )
 
 SET_TARGET_PROPERTIES(${PKTOOLS_FILECLASSES_LIB_NAME}
 PROPERTIES
-        SOVERSION ${PKTOOLS_FILECLASSES_VERSION}
+        SOVERSION ${PKTOOLS_FILECLASSES_SOVERSION}
         VERSION ${PKTOOLS_FILECLASSES_VERSION}
 )
 
 if (BUILD_WITH_LIBLAS)
 	SET_TARGET_PROPERTIES(${PKTOOLS_LASCLASSES_LIB_NAME}
 	PROPERTIES
-        SOVERSION ${PKTOOLS_LASCLASSES_VERSION}
+        SOVERSION ${PKTOOLS_LASCLASSES_SOVERSION}
         VERSION ${PKTOOLS_LASCLASSES_VERSION}
 	)
 endif(BUILD_WITH_LIBLAS)
 ###############################################################################
 
 ###############################################################################
-# Installation 
+# Installation
 install (TARGETS ${PKTOOLS_BASE_LIB_NAME} ${PKTOOLS_IMAGECLASSES_LIB_NAME} ${PKTOOLS_ALGORITHMS_LIB_NAME} ${PKTOOLS_FILECLASSES_LIB_NAME} DESTINATION lib)
 
 install (FILES ${BASE_H} DESTINATION ${PROJECT_INCLUDE_DIR}/base)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt.orig
similarity index 100%
copy from src/CMakeLists.txt
copy to src/CMakeLists.txt.orig
diff --git a/src/CMakeLists.txt.rej b/src/CMakeLists.txt.rej
new file mode 100644
index 0000000..33f9eee
--- /dev/null
+++ b/src/CMakeLists.txt.rej
@@ -0,0 +1,38 @@
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -43,25 +43,35 @@ set (PKTOOLS_PACKAGE_BUGREPORT "kempenep
+ set (PKTOOLS_PACKAGE "pktools")
+ set (PKTOOLS_COPYRIGHT_YEAR 2016)
+ 
++set (PKTOOLS_BASE_VERSION_MAJOR 1)
++set (PKTOOLS_BASE_VERSION_MINOR 6)
++set (PKTOOLS_BASE_VERSION_PATCH 0)
++set (PKTOOLS_BASE_VERSION "${PKTOOLS_BASE_VERSION_MAJOR}.${PKTOOLS_BASE_VERSION_MINOR}.${PKTOOLS_BASE_VERSION_PATCH}")
++set (PKTOOLS_BASE_SOVERSION 1)
++
+ set (PKTOOLS_ALGORITHMS_VERSION_MAJOR 1)
+ set (PKTOOLS_ALGORITHMS_VERSION_MINOR 6)
+ set (PKTOOLS_ALGORITHMS_VERSION_PATCH 0)
+ set (PKTOOLS_ALGORITHMS_VERSION "${PKTOOLS_ALGORITHMS_VERSION_MAJOR}.${PKTOOLS_ALGORITHMS_VERSION_MINOR}.${PKTOOLS_ALGORITHMS_VERSION_PATCH}")
++set (PKTOOLS_ALGORITHMS_SOVERSION 1)
+ 
+ set (PKTOOLS_FILECLASSES_VERSION_MAJOR 1)
+ set (PKTOOLS_FILECLASSES_VERSION_MINOR 6)
+ set (PKTOOLS_FILECLASSES_VERSION_PATCH 0)
+ set (PKTOOLS_FILECLASSES_VERSION "${PKTOOLS_FILECLASSES_VERSION_MAJOR}.${PKTOOLS_FILECLASSES_VERSION_MINOR}.${PKTOOLS_FILECLASSES_VERSION_PATCH}")
++set (PKTOOLS_FILECLASSES_SOVERSION 1)
+ 
+ set (PKTOOLS_IMAGECLASSES_VERSION_MAJOR 1)
+ set (PKTOOLS_IMAGECLASSES_VERSION_MINOR 6)
+ set (PKTOOLS_IMAGECLASSES_VERSION_PATCH 0)
+ set (PKTOOLS_IMAGECLASSES_VERSION "${PKTOOLS_IMAGECLASSES_VERSION_MAJOR}.${PKTOOLS_IMAGECLASSES_VERSION_MINOR}.${PKTOOLS_IMAGECLASSES_VERSION_PATCH}")
++set (PKTOOLS_IMAGECLASSES_SOVERSION 1)
+ 
+ set (PKTOOLS_LASCLASSES_VERSION_MAJOR 1)
+ set (PKTOOLS_LASCLASSES_VERSION_MINOR 6)
+ set (PKTOOLS_LASCLASSES_VERSION_PATCH 0)
+ set (PKTOOLS_LASCLASSES_VERSION "${PKTOOLS_LASCLASSES_VERSION_MAJOR}.${PKTOOLS_LASCLASSES_VERSION_MINOR}.${PKTOOLS_LASCLASSES_VERSION_PATCH}")
++set (PKTOOLS_LASCLASSES_SOVERSION 1)
+ 
+ # Name of C++ library
+ set(PKTOOLS_BASE_LIB_NAME base)
diff --git a/src/apps/pkann.cc b/src/apps/pkann.cc
index f84557d..bab0d6f 100644
--- a/src/apps/pkann.cc
+++ b/src/apps/pkann.cc
@@ -736,15 +736,8 @@ int main(int argc, char *argv[])
     GDALProgressFunc pfnProgress=GDALTermProgress;
     float progress=0;
   //-------------------------------- open image file ------------------------------------
-  bool inputIsRaster=false;
+  bool inputIsRaster=true;
   ImgReaderOgr imgReaderOgr;
-  try{
-    imgReaderOgr.open(input_opt[0]);
-    imgReaderOgr.close();
-  }
-  catch(string errorString){
-    inputIsRaster=true;
-  }
   if(inputIsRaster){
   // if(input_opt[0].find(".shp")==string::npos){
     ImgReaderGdal testImage;
@@ -1171,178 +1164,6 @@ int main(int argc, char *argv[])
       classImageBag.close();
     classImageOut.close();
   }
-  else{//classify vector file
-    cm.clearResults();
-    //notice that fields have already been set by readDataImageOgr (taking into account appropriate bands)
-    for(int ivalidation=0;ivalidation<input_opt.size();++ivalidation){
-      if(output_opt.size())
-        assert(output_opt.size()==input_opt.size());
-      if(verbose_opt[0])
-        cout << "opening img reader " << input_opt[ivalidation] << endl;
-      imgReaderOgr.open(input_opt[ivalidation]);
-      ImgWriterOgr imgWriterOgr;
-
-      if(output_opt.size()){
-	if(verbose_opt[0])
-	  std::cout << "opening img writer and copying fields from img reader" << output_opt[ivalidation] << std::endl;
-	imgWriterOgr.open(output_opt[ivalidation],imgReaderOgr);
-      }
-      if(verbose_opt[0])
-	cout << "number of layers in input ogr file: " << imgReaderOgr.getLayerCount() << endl;
-      for(int ilayer=0;ilayer<imgReaderOgr.getLayerCount();++ilayer){
-	if(verbose_opt[0])
-	  cout << "processing input layer " << ilayer << endl;
-	if(output_opt.size()){
-	  if(verbose_opt[0])
-	    std::cout << "creating field class" << std::endl;
-	  if(classValueMap.size())
-	    imgWriterOgr.createField("class",OFTInteger,ilayer);
-	  else
-	    imgWriterOgr.createField("class",OFTString,ilayer);
-	}
-	unsigned int nFeatures=imgReaderOgr.getFeatureCount(ilayer);
-	unsigned int ifeature=0;
-	progress=0;
-	pfnProgress(progress,pszMessage,pProgressArg);
-	OGRFeature *poFeature;
-	while( (poFeature = imgReaderOgr.getLayer(ilayer)->GetNextFeature()) != NULL ){
-	  if(verbose_opt[0]>1)
-	    cout << "feature " << ifeature << endl;
-	  if( poFeature == NULL ){
-	    cout << "Warning: could not read feature " << ifeature << " in layer " << imgReaderOgr.getLayerName(ilayer) << endl;
-	    continue;
-	  }
-	  OGRFeature *poDstFeature = NULL;
-	  if(output_opt.size()){
-	    poDstFeature=imgWriterOgr.createFeature(ilayer);
-	    if( poDstFeature->SetFrom( poFeature, TRUE ) != OGRERR_NONE ){
-	      CPLError( CE_Failure, CPLE_AppDefined,
-			"Unable to translate feature %d from layer %s.\n",
-			poFeature->GetFID(), imgWriterOgr.getLayerName(ilayer).c_str() );
-	      OGRFeature::DestroyFeature( poFeature );
-	      OGRFeature::DestroyFeature( poDstFeature );
-	    }
-	  }
-	  vector<float> validationPixel;
-	  vector<float> validationFeature;
-        
-	  imgReaderOgr.readData(validationPixel,OFTReal,fields,poFeature,ilayer);
-	  assert(validationPixel.size()==nband);
-	  vector<float> probOut(nclass);//posterior prob for each class
-	  for(int iclass=0;iclass<nclass;++iclass)
-	    probOut[iclass]=0;
-	  for(int ibag=0;ibag<nbag;++ibag){
-	    for(int iband=0;iband<nband;++iband){
-	      validationFeature.push_back((validationPixel[iband]-offset[ibag][iband])/scale[ibag][iband]);
-	      if(verbose_opt[0]==2)
-		std:: cout << " " << validationFeature.back();
-	    }
-	    if(verbose_opt[0]==2)
-	      std::cout << std:: endl;
-	    vector<float> result(nclass);
-	    result=net[ibag].run(validationFeature);
-
-	    if(verbose_opt[0]>1){
-	      for(int iclass=0;iclass<result.size();++iclass)
-		std::cout << result[iclass] << " ";
-	      std::cout << std::endl;
-	    }
-	    //calculate posterior prob of bag 
-	    for(int iclass=0;iclass<nclass;++iclass){
-	      result[iclass]=(result[iclass]+1.0)/2.0;//bring back to scale [0,1]
-	      switch(comb_opt[0]){
-	      default:
-	      case(0)://sum rule
-		probOut[iclass]+=result[iclass]*priors[iclass];//add probabilities for each bag
-              break;
-	      case(1)://product rule
-		probOut[iclass]*=pow(static_cast<float>(priors[iclass]),static_cast<float>(1.0-nbag)/nbag)*result[iclass];//multiply probabilities for each bag
-		break;
-	      case(2)://max rule
-		if(priors[iclass]*result[iclass]>probOut[iclass])
-		  probOut[iclass]=priors[iclass]*result[iclass];
-		break;
-	      }
-	    }
-	  }//for ibag
-	  //search for max class prob
-	  float maxBag=0;
-	  float normBag=0;
-	  string classOut="Unclassified";
-	  for(int iclass=0;iclass<nclass;++iclass){
-	    if(verbose_opt[0]>1)
-	      std::cout << probOut[iclass] << " ";
-	    if(probOut[iclass]>maxBag){
-	      maxBag=probOut[iclass];
-	      classOut=nameVector[iclass];
-	    }
-	  }
-	  //look for class name
-	  if(verbose_opt[0]>1){
-	    if(classValueMap.size())
-	      std::cout << "->" << classValueMap[classOut] << std::endl;
-	    else	    
-	      std::cout << "->" << classOut << std::endl;
-	  }
-	  if(output_opt.size()){
-	    if(classValueMap.size())
-	      poDstFeature->SetField("class",classValueMap[classOut]);
-	    else	    
-	      poDstFeature->SetField("class",classOut.c_str());
-	    poDstFeature->SetFID( poFeature->GetFID() );
-	  }
-	  int labelIndex=poFeature->GetFieldIndex(label_opt[0].c_str());
-	  if(labelIndex>=0){
-	    string classRef=poFeature->GetFieldAsString(labelIndex);
-	    if(classRef!="0"){
-	      if(classValueMap.size())
-		cm.incrementResult(type2string<short>(classValueMap[classRef]),type2string<short>(classValueMap[classOut]),1);
-	      else
-		cm.incrementResult(classRef,classOut,1);
-	    }
-	  }
-	  CPLErrorReset();
-	  if(output_opt.size()){
-	    if(imgWriterOgr.createFeature(poDstFeature,ilayer) != OGRERR_NONE){
-	      CPLError( CE_Failure, CPLE_AppDefined,
-			"Unable to translate feature %d from layer %s.\n",
-			poFeature->GetFID(), imgWriterOgr.getLayerName(ilayer).c_str() );
-	      OGRFeature::DestroyFeature( poDstFeature );
-	      OGRFeature::DestroyFeature( poDstFeature );
-	    }
-	  }
-	  ++ifeature;
-	  if(!verbose_opt[0]){
-	    progress=static_cast<float>(ifeature+1.0)/nFeatures;
-	    pfnProgress(progress,pszMessage,pProgressArg);
-	  }
-	  OGRFeature::DestroyFeature( poFeature );
-	  OGRFeature::DestroyFeature( poDstFeature );
-	}//get next feature
-      }//next layer
-      imgReaderOgr.close();
-      if(output_opt.size())
-      imgWriterOgr.close();
-    }
-    if(cm.nReference()){
-      std::cout << cm << std::endl;
-      // cout << "class #samples userAcc prodAcc" << endl;
-      // double se95_ua=0;
-      // double se95_pa=0;
-      // double se95_oa=0;
-      // double dua=0;
-      // double dpa=0;
-      // double doa=0;
-      // for(short iclass=0;iclass<cm.nClasses();++iclass){
-      // 	dua=cm.ua_pct(cm.getClass(iclass),&se95_ua);
-      // 	dpa=cm.pa_pct(cm.getClass(iclass),&se95_pa);
-      // 	cout << cm.getClass(iclass) << " " << cm.nReference(cm.getClass(iclass)) << " " << dua << " (" << se95_ua << ")" << " " << dpa << " (" << se95_pa << ")" << endl;
-      // }
-      // std::cout << "Kappa: " << cm.kappa() << std::endl;
-      // doa=cm.oa_pct(&se95_oa);
-      // std::cout << "Overall Accuracy: " << doa << " (" << se95_oa << ")"  << std::endl;
-    }
-  }
   try{
     if(active_opt.size())
       activeWriter.close();
diff --git a/src/apps/pkannogr.cc b/src/apps/pkannogr.cc
new file mode 100644
index 0000000..cebf5c1
--- /dev/null
+++ b/src/apps/pkannogr.cc
@@ -0,0 +1,916 @@
+/**********************************************************************
+pkannogr.cc: classify vector dataset using Artificial Neural Network
+Copyright (C) 2008-2017 Pieter Kempeneers
+
+This file is part of pktools
+
+pktools is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+pktools is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with pktools.  If not, see <http://www.gnu.org/licenses/>.
+***********************************************************************/
+#include <stdlib.h>
+#include <vector>
+#include <map>
+#include <algorithm>
+#include "imageclasses/ImgReaderGdal.h"
+#include "imageclasses/ImgWriterGdal.h"
+#include "imageclasses/ImgReaderOgr.h"
+#include "imageclasses/ImgWriterOgr.h"
+#include "base/Optionpk.h"
+#include "base/PosValue.h"
+#include "algorithms/ConfusionMatrix.h"
+#include "floatfann.h"
+#include "algorithms/myfann_cpp.h"
+
+/******************************************************************************/
+/*! \page pkannogr pkannogr
+  classify vector dataset using Artificial Neural Network
+  ## SYNOPSIS
+
+  <code>
+  Usage: pkannogr -t training [-i input -o output] [-cv value]
+  </code>
+
+  <code>
+
+
+  Options: [-tln layer]* [-c name -r value]* [-of GDALformat|-f OGRformat] [-co NAME=VALUE]* [-ct filename] [-label attribute] [-prior value]* [-nn number]* [-m filename ] [-nodata value]
+
+  Advanced options:
+  [-b band] [-sband band -eband band]* [-bal size]* [-min] [-bag value] [-bs value] [-comb rule] [-cb filename] [-pim priorimage] [--offset value] [--scale value] [--connection 0|1] [-w weights]* [--learning rate] [--maxit number]
+  </code>
+
+  \section pkannogr_description Description
+
+  The utility pkannogr implements an artificial neural network (ANN) to solve a supervised classification problem. The implementation is based on the open source C++ library <a href="http://leenissen.dk/fann/wp/">fann</a>). Both raster and vector files are supported as input. The output will contain the classification result, either in raster or vector format, corresponding to the format of the input. A training sample must be provided as an OGR vector dataset that contains the class lab [...]
+
+  \section pkannogr_options Options
+  - use either `-short` or `--long` options (both `--long=value` and `--long value` are supported)
+  - short option `-h` shows basic options only, long option `--help` shows all options
+  |short|long|type|default|description|
+  |-----|----|----|-------|-----------|
+  | i      | input                | std::string |       |input image |
+  | t      | training             | std::string |       |training vector file. A single vector file contains all training features (must be set as: B0, B1, B2,...) for all classes (class numbers identified by label option). Use multiple training files for bootstrap aggregation (alternative to the bag and bsize options, where a random subset is taken from a single training file) |
+  | tln    | tln                  | std::string |       |training layer name(s) |
+  | label  | label                | std::string | label |identifier for class label in training vector file. |
+  | bal    | balance              | unsigned int | 0     |balance the input data to this number of samples for each class |
+  | min    | min                  | int  | 0     |if number of training pixels is less then min, do not take this class into account (0: consider all classes) |
+  | b      | band                 | short |       |band index (starting from 0, either use band option or use start to end) |
+  | sband  | startband            | unsigned short |      |Start band sequence number |
+  | eband  | endband              | unsigned short |      |End band sequence number   |
+  |        | offset               | double | 0     |offset value for each spectral band input features: refl[band]=(DN[band]-offset[band])/scale[band] |
+  | scale  | scale                | double | 0     |scale value for each spectral band input features: refl=(DN[band]-offset[band])/scale[band] (use 0 if scale min and max in each band to -1.0 and 1.0) |
+  | a      | aggreg               | unsigned short | 1     |how to combine aggregated classifiers, see also rc option (1: sum rule, 2: max rule). |
+  | prior  | prior                | double | 0     |prior probabilities for each class (e.g., -p 0.3 -p 0.3 -p 0.2 ) |
+  | pim    | priorimg             | std::string |       |prior probability image (multi-band img with band for each class |
+  | cv     | cv                   | unsigned short | 0     |n-fold cross validation mode |
+  | cmf    | cmf                  | std::string | ascii |Format for confusion matrix (ascii or latex) |
+  | nn     | nneuron              | unsigned int | 5     |number of neurons in hidden layers in neural network (multiple hidden layers are set by defining multiple number of neurons: -n 15 -n 1, default is one hidden layer with 5 neurons) |
+  |        | connection           | float | 1     |connection reate (default: 1.0 for a fully connected network) |
+  | w      | weights              | float | 0     |weights for neural network. Apply to fully connected network only, starting from first input neuron to last output neuron, including the bias neurons (last neuron in each but last layer) |
+  | l      | learning             | float | 0.7   |learning rate (default: 0.7) |
+  |        | maxit                | unsigned int | 500   |number of maximum iterations (epoch) (default: 500) |
+  | comb   | comb                 | unsigned short | 0     |how to combine bootstrap aggregation classifiers (0: sum rule, 1: product rule, 2: max rule). Also used to aggregate classes with rc option. Default is sum rule (0) |
+  | bag    | bag                  | unsigned short | 1     |Number of bootstrap aggregations (default is no bagging: 1) |
+  | bs     | bsize                | int  | 100   |Percentage of features used from available training features for each bootstrap aggregation (one size for all classes, or a different size for each class respectively |
+  | cb     | classbag             | std::string |       |output for each individual bootstrap aggregation (default is blank) |
+  | m      | mask                 | std::string |       |Only classify within specified mask (vector or raster). |
+  | nodata | nodata               | unsigned short | 0     |nodata value to put where image is masked as nodata |
+  | o      | output               | std::string |       |output classification image |
+  | ot     | otype                | std::string |       |Data type for output image ({Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64}). Empty string: inherit type from input image |
+  | ct     | ct                   | std::string |       |colour table in ASCII format having 5 columns: id R G B ALFA (0: transparent, 255: solid) |
+  | co     | co                   | std::string |       |Creation option for output file. Multiple options can be specified. |
+  | f      | f                    | std::string | SQLite |Output ogr format for active training sample |
+  | na     | nactive              | unsigned int | 1     |number of active training points |
+  | c      | class                | std::string |       |list of class names. |
+  | r      | reclass              | short |       |list of class values (use same order as in class opt). |
+
+  Usage: pkannogr -t training [-i input -o output] [-cv value]
+
+
+  Examples
+  ========
+**/
+
+using namespace std;
+
+int main(int argc, char *argv[])
+{
+  vector<double> priors;
+
+  //--------------------------- command line options ------------------------------------
+  Optionpk<string> input_opt("i", "input", "input image");
+  Optionpk<string> training_opt("t", "training", "training vector file. A single vector file contains all training features (must be set as: B0, B1, B2,...) for all classes (class numbers identified by label option). Use multiple training files for bootstrap aggregation (alternative to the bag and bsize options, where a random subset is taken from a single training file)");
+  Optionpk<string> tlayer_opt("tln", "tln", "training layer name(s)");
+  Optionpk<string> label_opt("label", "label", "identifier for class label in training vector file.","label");
+  Optionpk<unsigned int> balance_opt("bal", "balance", "balance the input data to this number of samples for each class", 0);
+  Optionpk<bool> random_opt("random", "random", "in case of balance, randomize input data", true,2);
+  Optionpk<int> minSize_opt("min", "min", "if number of training pixels is less then min, do not take this class into account (0: consider all classes)", 0);
+  Optionpk<unsigned short> band_opt("b", "band", "band index (starting from 0, either use band option or use start to end)");
+  Optionpk<unsigned short> bstart_opt("sband", "startband", "Start band sequence number");
+  Optionpk<unsigned short> bend_opt("eband", "endband", "End band sequence number");
+  Optionpk<double> offset_opt("offset", "offset", "offset value for each spectral band input features: refl[band]=(DN[band]-offset[band])/scale[band]", 0.0);
+  Optionpk<double> scale_opt("scale", "scale", "scale value for each spectral band input features: refl=(DN[band]-offset[band])/scale[band] (use 0 if scale min and max in each band to -1.0 and 1.0)", 0.0);
+  Optionpk<unsigned short> aggreg_opt("a", "aggreg", "how to combine aggregated classifiers, see also rc option (1: sum rule, 2: max rule).",1);
+  Optionpk<double> priors_opt("prior", "prior", "prior probabilities for each class (e.g., -p 0.3 -p 0.3 -p 0.2 )", 0.0);
+  Optionpk<string> priorimg_opt("pim", "priorimg", "prior probability image (multi-band img with band for each class","",2);
+  Optionpk<unsigned short> cv_opt("cv", "cv", "n-fold cross validation mode",0);
+  Optionpk<string> cmformat_opt("cmf","cmf","Format for confusion matrix (ascii or latex)","ascii");
+  Optionpk<unsigned int> nneuron_opt("nn", "nneuron", "number of neurons in hidden layers in neural network (multiple hidden layers are set by defining multiple number of neurons: -n 15 -n 1, default is one hidden layer with 5 neurons)", 5);
+  Optionpk<float> connection_opt("\0", "connection", "connection reate (default: 1.0 for a fully connected network)", 1.0);
+  Optionpk<float> learning_opt("l", "learning", "learning rate (default: 0.7)", 0.7);
+  Optionpk<float> weights_opt("w", "weights", "weights for neural network. Apply to fully connected network only, starting from first input neuron to last output neuron, including the bias neurons (last neuron in each but last layer)", 0.0);
+  Optionpk<unsigned int> maxit_opt("\0", "maxit", "number of maximum iterations (epoch) (default: 500)", 500);
+  Optionpk<unsigned short> comb_opt("comb", "comb", "how to combine bootstrap aggregation classifiers (0: sum rule, 1: product rule, 2: max rule). Also used to aggregate classes with rc option. Default is sum rule (0)",0);
+  Optionpk<unsigned short> bag_opt("bag", "bag", "Number of bootstrap aggregations (default is no bagging: 1)", 1);
+  Optionpk<int> bagSize_opt("bs", "bsize", "Percentage of features used from available training features for each bootstrap aggregation (one size for all classes, or a different size for each class respectively", 100);
+  Optionpk<string> classBag_opt("cb", "classbag", "output for each individual bootstrap aggregation (default is blank)");
+  Optionpk<string> mask_opt("m", "mask", "Only classify within specified mask (vector or raster).");
+  Optionpk<unsigned short> nodata_opt("nodata", "nodata", "nodata value to put where image is masked as nodata", 0);
+  Optionpk<string> output_opt("o", "output", "output classification image");
+  Optionpk<string>  otype_opt("ot", "otype", "Data type for output image ({Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64}). Empty string: inherit type from input image");
+  Optionpk<string> option_opt("co", "co", "Creation option for output file. Multiple options can be specified.");
+  Optionpk<string> colorTable_opt("ct", "ct", "colour table in ASCII format having 5 columns: id R G B ALFA (0: transparent, 255: solid)");
+  Optionpk<string> entropy_opt("entropy", "entropy", "entropy image (measure for uncertainty of classifier output","",2);
+  Optionpk<string> active_opt("active", "active", "ogr output for active training sample.","",2);
+  Optionpk<string> ogrformat_opt("f", "f", "Output ogr format for active training sample","SQLite");
+  Optionpk<unsigned int> nactive_opt("na", "nactive", "number of active training points",1);
+  Optionpk<string> classname_opt("c", "class", "list of class names.");
+  Optionpk<short> classvalue_opt("r", "reclass", "list of class values (use same order as in class opt).");
+  Optionpk<short> verbose_opt("v", "verbose", "set to: 0 (results only), 1 (confusion matrix), 2 (debug)",0,2);
+
+  option_opt.setHide(1);
+  band_opt.setHide(1);
+  bstart_opt.setHide(1);
+  bend_opt.setHide(1);
+  balance_opt.setHide(1);
+  minSize_opt.setHide(1);
+  bag_opt.setHide(1);
+  bagSize_opt.setHide(1);
+  comb_opt.setHide(1);
+  classBag_opt.setHide(1);
+  minSize_opt.setHide(1);
+  priorimg_opt.setHide(1);
+  minSize_opt.setHide(1);
+  offset_opt.setHide(1);
+  scale_opt.setHide(1);
+  connection_opt.setHide(1);
+  weights_opt.setHide(1);
+  maxit_opt.setHide(1);
+  learning_opt.setHide(1);
+
+  verbose_opt.setHide(2);
+
+  bool doProcess;//stop process when program was invoked with help option (-h --help)
+  try{
+    doProcess=input_opt.retrieveOption(argc,argv);
+    training_opt.retrieveOption(argc,argv);
+    tlayer_opt.retrieveOption(argc,argv);
+    label_opt.retrieveOption(argc,argv);
+    balance_opt.retrieveOption(argc,argv);
+    random_opt.retrieveOption(argc,argv);
+    minSize_opt.retrieveOption(argc,argv);
+    band_opt.retrieveOption(argc,argv);
+    bstart_opt.retrieveOption(argc,argv);
+    bend_opt.retrieveOption(argc,argv);
+    offset_opt.retrieveOption(argc,argv);
+    scale_opt.retrieveOption(argc,argv);
+    aggreg_opt.retrieveOption(argc,argv);
+    priors_opt.retrieveOption(argc,argv);
+    priorimg_opt.retrieveOption(argc,argv);
+    cv_opt.retrieveOption(argc,argv);
+    cmformat_opt.retrieveOption(argc,argv);
+    nneuron_opt.retrieveOption(argc,argv);
+    connection_opt.retrieveOption(argc,argv);
+    weights_opt.retrieveOption(argc,argv);
+    learning_opt.retrieveOption(argc,argv);
+    maxit_opt.retrieveOption(argc,argv);
+    comb_opt.retrieveOption(argc,argv);
+    bag_opt.retrieveOption(argc,argv);
+    bagSize_opt.retrieveOption(argc,argv);
+    classBag_opt.retrieveOption(argc,argv);
+    mask_opt.retrieveOption(argc,argv);
+    nodata_opt.retrieveOption(argc,argv);
+    output_opt.retrieveOption(argc,argv);
+    otype_opt.retrieveOption(argc,argv);
+    colorTable_opt.retrieveOption(argc,argv);
+    option_opt.retrieveOption(argc,argv);
+    entropy_opt.retrieveOption(argc,argv);
+    active_opt.retrieveOption(argc,argv);
+    ogrformat_opt.retrieveOption(argc,argv);
+    nactive_opt.retrieveOption(argc,argv);
+    classname_opt.retrieveOption(argc,argv);
+    classvalue_opt.retrieveOption(argc,argv);
+    verbose_opt.retrieveOption(argc,argv);
+  }
+  catch(string predefinedString){
+    std::cout << predefinedString << std::endl;
+    exit(0);
+  }
+  if(!doProcess){
+    cout << endl;
+    cout << "Usage: pkannogr -t training [-i input -o output] [-cv value]" << endl;
+    cout << endl;
+    cout << "short option -h shows basic options only, use long option --help to show all options" << endl;
+    exit(0);//help was invoked, stop processing
+  }
+
+  if(entropy_opt[0]=="")
+    entropy_opt.clear();
+  if(active_opt[0]=="")
+    active_opt.clear();
+  if(priorimg_opt[0]=="")
+    priorimg_opt.clear();
+
+  if(verbose_opt[0]>=1){
+    if(input_opt.size())
+      cout << "image filename: " << input_opt[0] << endl;
+    if(mask_opt.size())
+      cout << "mask filename: " << mask_opt[0] << endl;
+    if(training_opt.size()){
+      cout << "training vector file: " << endl;
+      for(int ifile=0;ifile<training_opt.size();++ifile)
+        cout << training_opt[ifile] << endl;
+    }
+    else
+      cerr << "no training file set!" << endl;
+    cout << "verbose: " << verbose_opt[0] << endl;
+  }
+  unsigned short nbag=(training_opt.size()>1)?training_opt.size():bag_opt[0];
+  if(verbose_opt[0]>=1)
+    cout << "number of bootstrap aggregations: " << nbag << endl;
+
+  ImgReaderOgr extentReader;
+  OGRLayer  *readLayer;
+
+  double ulx=0;
+  double uly=0;
+  double lrx=0;
+  double lry=0;
+
+  bool maskIsVector=false;
+  if(mask_opt.size()){
+    try{
+      extentReader.open(mask_opt[0]);
+      maskIsVector=true;
+      readLayer = extentReader.getDataSource()->GetLayer(0);
+      if(!(extentReader.getExtent(ulx,uly,lrx,lry))){
+        cerr << "Error: could not get extent from " << mask_opt[0] << endl;
+        exit(1);
+      }
+    }
+    catch(string errorString){
+      maskIsVector=false;
+    }
+  }
+
+  ImgWriterOgr activeWriter;
+  if(active_opt.size()){
+    ImgReaderOgr trainingReader(training_opt[0]);
+    activeWriter.open(active_opt[0],ogrformat_opt[0]);
+    activeWriter.createLayer(active_opt[0],trainingReader.getProjection(),wkbPoint,NULL);
+    activeWriter.copyFields(trainingReader);
+  }
+  vector<PosValue> activePoints(nactive_opt[0]);
+  for(int iactive=0;iactive<activePoints.size();++iactive){
+    activePoints[iactive].value=1.0;
+    activePoints[iactive].posx=0.0;
+    activePoints[iactive].posy=0.0;
+  }
+
+  unsigned int totalSamples=0;
+  unsigned int nactive=0;
+  vector<FANN::neural_net> net(nbag);//the neural network
+
+  unsigned int nclass=0;
+  int nband=0;
+  int startBand=2;//first two bands represent X and Y pos
+
+  if(priors_opt.size()>1){//priors from argument list
+    priors.resize(priors_opt.size());
+    double normPrior=0;
+    for(int iclass=0;iclass<priors_opt.size();++iclass){
+      priors[iclass]=priors_opt[iclass];
+      normPrior+=priors[iclass];
+    }
+    //normalize
+    for(int iclass=0;iclass<priors_opt.size();++iclass)
+      priors[iclass]/=normPrior;
+  }
+
+  //convert start and end band options to vector of band indexes
+  try{
+    if(bstart_opt.size()){
+      if(bend_opt.size()!=bstart_opt.size()){
+        string errorstring="Error: options for start and end band indexes must be provided as pairs, missing end band";
+        throw(errorstring);
+      }
+      band_opt.clear();
+      for(int ipair=0;ipair<bstart_opt.size();++ipair){
+        if(bend_opt[ipair]<=bstart_opt[ipair]){
+          string errorstring="Error: index for end band must be smaller then start band";
+          throw(errorstring);
+        }
+        for(int iband=bstart_opt[ipair];iband<=bend_opt[ipair];++iband)
+          band_opt.push_back(iband);
+      }
+    }
+  }
+  catch(string error){
+    cerr << error << std::endl;
+    exit(1);
+  }
+  //sort bands
+  if(band_opt.size())
+    std::sort(band_opt.begin(),band_opt.end());
+
+  map<string,short> classValueMap;
+  vector<std::string> nameVector;
+  if(classname_opt.size()){
+    assert(classname_opt.size()==classvalue_opt.size());
+    for(int iclass=0;iclass<classname_opt.size();++iclass)
+      classValueMap[classname_opt[iclass]]=classvalue_opt[iclass];
+  }
+  //----------------------------------- Training -------------------------------
+  confusionmatrix::ConfusionMatrix cm;
+  vector< vector<double> > offset(nbag);
+  vector< vector<double> > scale(nbag);
+  map<string,Vector2d<float> > trainingMap;
+  vector< Vector2d<float> > trainingPixels;//[class][sample][band]
+  vector<string> fields;
+  for(int ibag=0;ibag<nbag;++ibag){
+    //organize training data
+    if(ibag<training_opt.size()){//if bag contains new training pixels
+      trainingMap.clear();
+      trainingPixels.clear();
+      if(verbose_opt[0]>=1)
+        cout << "reading imageVector file " << training_opt[0] << endl;
+      try{
+        ImgReaderOgr trainingReaderBag(training_opt[ibag]);
+        if(band_opt.size())
+          totalSamples=trainingReaderBag.readDataImageOgr(trainingMap,fields,band_opt,label_opt[0],tlayer_opt);
+        else
+          totalSamples=trainingReaderBag.readDataImageOgr(trainingMap,fields,0,0,label_opt[0],tlayer_opt);
+        if(trainingMap.size()<2){
+          string errorstring="Error: could not read at least two classes from training file, did you provide class labels in training sample (see option label)?";
+          throw(errorstring);
+        }
+        trainingReaderBag.close();
+      }
+      catch(string error){
+        cerr << error << std::endl;
+        exit(1);
+      }
+      catch(...){
+        cerr << "error caught" << std::endl;
+        exit(1);
+      }
+      //delete class 0 ?
+      // if(verbose_opt[0]>=1)
+      //   std::cout << "erasing class 0 from training set (" << trainingMap[0].size() << " from " << totalSamples << ") samples" << std::endl;
+      // totalSamples-=trainingMap[0].size();
+      // trainingMap.erase(0);
+      //convert map to vector
+      if(verbose_opt[0]>1)
+        std::cout << "training pixels: " << std::endl;
+      map<string,Vector2d<float> >::iterator mapit=trainingMap.begin();
+      while(mapit!=trainingMap.end()){
+        //delete small classes
+        if((mapit->second).size()<minSize_opt[0]){
+          trainingMap.erase(mapit);
+          continue;
+        }
+        trainingPixels.push_back(mapit->second);
+        if(verbose_opt[0]>1)
+          std::cout << mapit->first << ": " << (mapit->second).size() << " samples" << std::endl;
+        ++mapit;
+      }
+      if(!ibag){
+        nclass=trainingPixels.size();
+        if(classname_opt.size())
+          assert(nclass==classname_opt.size());
+        nband=(training_opt.size())?trainingPixels[0][0].size()-2:trainingPixels[0][0].size();//X and Y
+      }
+      else{
+        assert(nclass==trainingPixels.size());
+        assert(nband==(training_opt.size())?trainingPixels[0][0].size()-2:trainingPixels[0][0].size());
+      }
+
+      //do not remove outliers here: could easily be obtained through ogr2ogr -where 'B2<110' output.shp input.shp
+      //balance training data
+      if(balance_opt[0]>0){
+        while(balance_opt.size()<nclass)
+          balance_opt.push_back(balance_opt.back());
+        if(random_opt[0])
+          srand(time(NULL));
+        totalSamples=0;
+        for(int iclass=0;iclass<nclass;++iclass){
+          if(trainingPixels[iclass].size()>balance_opt[iclass]){
+            while(trainingPixels[iclass].size()>balance_opt[iclass]){
+              int index=rand()%trainingPixels[iclass].size();
+              trainingPixels[iclass].erase(trainingPixels[iclass].begin()+index);
+            }
+          }
+          else{
+            int oldsize=trainingPixels[iclass].size();
+            for(int isample=trainingPixels[iclass].size();isample<balance_opt[iclass];++isample){
+              int index = rand()%oldsize;
+              trainingPixels[iclass].push_back(trainingPixels[iclass][index]);
+            }
+          }
+          totalSamples+=trainingPixels[iclass].size();
+        }
+      }
+
+      //set scale and offset
+      offset[ibag].resize(nband);
+      scale[ibag].resize(nband);
+      if(offset_opt.size()>1)
+        assert(offset_opt.size()==nband);
+      if(scale_opt.size()>1)
+        assert(scale_opt.size()==nband);
+      for(int iband=0;iband<nband;++iband){
+        if(verbose_opt[0]>=1)
+          cout << "scaling for band" << iband << endl;
+        offset[ibag][iband]=(offset_opt.size()==1)?offset_opt[0]:offset_opt[iband];
+        scale[ibag][iband]=(scale_opt.size()==1)?scale_opt[0]:scale_opt[iband];
+        //search for min and maximum
+        if(scale[ibag][iband]<=0){
+          float theMin=trainingPixels[0][0][iband+startBand];
+          float theMax=trainingPixels[0][0][iband+startBand];
+          for(int iclass=0;iclass<nclass;++iclass){
+            for(int isample=0;isample<trainingPixels[iclass].size();++isample){
+              if(theMin>trainingPixels[iclass][isample][iband+startBand])
+                theMin=trainingPixels[iclass][isample][iband+startBand];
+              if(theMax<trainingPixels[iclass][isample][iband+startBand])
+                theMax=trainingPixels[iclass][isample][iband+startBand];
+            }
+          }
+          offset[ibag][iband]=theMin+(theMax-theMin)/2.0;
+          scale[ibag][iband]=(theMax-theMin)/2.0;
+          if(verbose_opt[0]>=1){
+            std::cout << "Extreme image values for band " << iband << ": [" << theMin << "," << theMax << "]" << std::endl;
+            std::cout << "Using offset, scale: " << offset[ibag][iband] << ", " << scale[ibag][iband] << std::endl;
+            std::cout << "scaled values for band " << iband << ": [" << (theMin-offset[ibag][iband])/scale[ibag][iband] << "," << (theMax-offset[ibag][iband])/scale[ibag][iband] << "]" << std::endl;
+          }
+        }
+      }
+    }
+    else{//use same offset and scale
+      offset[ibag].resize(nband);
+      scale[ibag].resize(nband);
+      for(int iband=0;iband<nband;++iband){
+        offset[ibag][iband]=offset[0][iband];
+        scale[ibag][iband]=scale[0][iband];
+      }
+    }
+
+    if(!ibag){
+      if(priors_opt.size()==1){//default: equal priors for each class
+        priors.resize(nclass);
+        for(int iclass=0;iclass<nclass;++iclass)
+          priors[iclass]=1.0/nclass;
+      }
+      assert(priors_opt.size()==1||priors_opt.size()==nclass);
+
+      //set bagsize for each class if not done already via command line
+      while(bagSize_opt.size()<nclass)
+        bagSize_opt.push_back(bagSize_opt.back());
+
+      if(verbose_opt[0]>=1){
+        std::cout << "number of bands: " << nband << std::endl;
+        std::cout << "number of classes: " << nclass << std::endl;
+        std::cout << "priors:";
+        if(priorimg_opt.empty()){
+          for(int iclass=0;iclass<nclass;++iclass)
+            std::cout << " " << priors[iclass];
+          std::cout << std::endl;
+        }
+      }
+      map<string,Vector2d<float> >::iterator mapit=trainingMap.begin();
+      bool doSort=true;
+      while(mapit!=trainingMap.end()){
+        nameVector.push_back(mapit->first);
+        if(classValueMap.size()){
+          //check if name in training is covered by classname_opt (values can not be 0)
+          if(classValueMap[mapit->first]>0){
+            if(cm.getClassIndex(type2string<short>(classValueMap[mapit->first]))<0)
+              cm.pushBackClassName(type2string<short>(classValueMap[mapit->first]),doSort);
+          }
+          else{
+            std::cerr << "Error: names in classname option are not complete, please check names in training vector and make sure classvalue is > 0" << std::endl;
+            exit(1);
+          }
+        }
+        else
+          cm.pushBackClassName(mapit->first,doSort);
+        ++mapit;
+      }
+      if(classname_opt.empty()){
+        //std::cerr << "Warning: no class name and value pair provided for all " << nclass << " classes, using string2type<int> instead!" << std::endl;
+        for(int iclass=0;iclass<nclass;++iclass){
+          if(verbose_opt[0])
+            std::cout << iclass << " " << cm.getClass(iclass) << " -> " << string2type<short>(cm.getClass(iclass)) << std::endl;
+          classValueMap[cm.getClass(iclass)]=string2type<short>(cm.getClass(iclass));
+        }
+      }
+      if(priors_opt.size()==nameVector.size()){
+        std::cerr << "Warning: please check if priors are provided in correct order!!!" << std::endl;
+        for(int iclass=0;iclass<nameVector.size();++iclass)
+          std::cerr << nameVector[iclass] << " " << priors_opt[iclass] << std::endl;
+      }
+    }//if(!ibag)
+
+    //Calculate features of training set
+    vector< Vector2d<float> > trainingFeatures(nclass);
+    for(int iclass=0;iclass<nclass;++iclass){
+      int nctraining=0;
+      if(verbose_opt[0]>=1)
+        cout << "calculating features for class " << iclass << endl;
+      if(random_opt[0])
+        srand(time(NULL));
+      nctraining=(bagSize_opt[iclass]<100)? trainingPixels[iclass].size()/100.0*bagSize_opt[iclass] : trainingPixels[iclass].size();//bagSize_opt[iclass] given in % of training size
+      if(nctraining<=0)
+        nctraining=1;
+      assert(nctraining<=trainingPixels[iclass].size());
+      int index=0;
+      if(bagSize_opt[iclass]<100)
+        random_shuffle(trainingPixels[iclass].begin(),trainingPixels[iclass].end());
+
+      trainingFeatures[iclass].resize(nctraining);
+      for(int isample=0;isample<nctraining;++isample){
+        //scale pixel values according to scale and offset!!!
+        for(int iband=0;iband<nband;++iband){
+          float value=trainingPixels[iclass][isample][iband+startBand];
+          trainingFeatures[iclass][isample].push_back((value-offset[ibag][iband])/scale[ibag][iband]);
+        }
+      }
+      assert(trainingFeatures[iclass].size()==nctraining);
+    }
+
+    unsigned int nFeatures=trainingFeatures[0][0].size();
+    unsigned int ntraining=0;
+    for(int iclass=0;iclass<nclass;++iclass)
+      ntraining+=trainingFeatures[iclass].size();
+
+    const unsigned int num_layers = nneuron_opt.size()+2;
+    const float desired_error = 0.0003;
+    const unsigned int iterations_between_reports = (verbose_opt[0])? maxit_opt[0]+1:0;
+    if(verbose_opt[0]>=1){
+      cout << "number of features: " << nFeatures << endl;
+      cout << "creating artificial neural network with " << nneuron_opt.size() << " hidden layer, having " << endl;
+      for(int ilayer=0;ilayer<nneuron_opt.size();++ilayer)
+        cout << nneuron_opt[ilayer] << " ";
+      cout << "neurons" << endl;
+      cout << "connection_opt[0]: " << connection_opt[0] << std::endl;
+      cout << "num_layers: " << num_layers << std::endl;
+      cout << "nFeatures: " << nFeatures << std::endl;
+      cout << "nneuron_opt[0]: " << nneuron_opt[0] << std::endl;
+      cout << "number of classes (nclass): " << nclass << std::endl;
+    }
+    switch(num_layers){
+    case(3):{
+      // net[ibag].create_sparse(connection_opt[0],num_layers, nFeatures, nneuron_opt[0], nclass);//replace all create_sparse with create_sparse_array due to bug in FANN!
+      unsigned int layers[3];
+      layers[0]=nFeatures;
+      layers[1]=nneuron_opt[0];
+      layers[2]=nclass;
+      net[ibag].create_sparse_array(connection_opt[0],num_layers,layers);
+      break;
+    }
+    case(4):{
+      unsigned int layers[4];
+      layers[0]=nFeatures;
+      layers[1]=nneuron_opt[0];
+      layers[2]=nneuron_opt[1];
+      layers[3]=nclass;
+      // layers.push_back(nFeatures);
+      // for(int ihidden=0;ihidden<nneuron_opt.size();++ihidden)
+      //  layers.push_back(nneuron_opt[ihidden]);
+      // layers.push_back(nclass);
+      net[ibag].create_sparse_array(connection_opt[0],num_layers,layers);
+      break;
+    }
+    default:
+      cerr << "Only 1 or 2 hidden layers are supported!" << endl;
+      exit(1);
+      break;
+    }
+    if(verbose_opt[0]>=1)
+      cout << "network created" << endl;
+
+    net[ibag].set_learning_rate(learning_opt[0]);
+
+    //   net.set_activation_steepness_hidden(1.0);
+    //   net.set_activation_steepness_output(1.0);
+
+    net[ibag].set_activation_function_hidden(FANN::SIGMOID_SYMMETRIC_STEPWISE);
+    net[ibag].set_activation_function_output(FANN::SIGMOID_SYMMETRIC_STEPWISE);
+
+    // Set additional properties such as the training algorithm
+    //   net.set_training_algorithm(FANN::TRAIN_QUICKPROP);
+
+    // Output network type and parameters
+    if(verbose_opt[0]>=1){
+      cout << endl << "Network Type                         :  ";
+      switch (net[ibag].get_network_type())
+        {
+        case FANN::LAYER:
+          cout << "LAYER" << endl;
+          break;
+        case FANN::SHORTCUT:
+          cout << "SHORTCUT" << endl;
+          break;
+        default:
+          cout << "UNKNOWN" << endl;
+          break;
+        }
+      net[ibag].print_parameters();
+    }
+
+    if(cv_opt[0]>1){
+      if(verbose_opt[0])
+        std::cout << "cross validation" << std::endl;
+      vector<unsigned short> referenceVector;
+      vector<unsigned short> outputVector;
+      float rmse=net[ibag].cross_validation(trainingFeatures,
+                                            ntraining,
+                                            cv_opt[0],
+                                            maxit_opt[0],
+                                            desired_error,
+                                            referenceVector,
+                                            outputVector,
+                                            verbose_opt[0]);
+      map<string,Vector2d<float> >::iterator mapit=trainingMap.begin();
+      for(int isample=0;isample<referenceVector.size();++isample){
+        string refClassName=nameVector[referenceVector[isample]];
+        string className=nameVector[outputVector[isample]];
+        if(classValueMap.size())
+          cm.incrementResult(type2string<short>(classValueMap[refClassName]),type2string<short>(classValueMap[className]),1.0/nbag);
+        else
+          cm.incrementResult(cm.getClass(referenceVector[isample]),cm.getClass(outputVector[isample]),1.0/nbag);
+      }
+    }
+
+    if(verbose_opt[0]>=1)
+      cout << endl << "Set training data" << endl;
+
+    if(verbose_opt[0]>=1)
+      cout << endl << "Training network" << endl;
+
+    if(verbose_opt[0]>=1){
+      cout << "Max Epochs " << setw(8) << maxit_opt[0] << ". "
+           << "Desired Error: " << left << desired_error << right << endl;
+    }
+    if(weights_opt.size()==net[ibag].get_total_connections()){//no new training needed (same training sample)
+      vector<fann_connection> convector;
+      net[ibag].get_connection_array(convector);
+      for(int i_connection=0;i_connection<net[ibag].get_total_connections();++i_connection)
+        convector[i_connection].weight=weights_opt[i_connection];
+      net[ibag].set_weight_array(convector);
+    }
+    else{
+      bool initWeights=true;
+      net[ibag].train_on_data(trainingFeatures,ntraining,initWeights, maxit_opt[0],
+                              iterations_between_reports, desired_error);
+    }
+
+
+    if(verbose_opt[0]>=2){
+      net[ibag].print_connections();
+      vector<fann_connection> convector;
+      net[ibag].get_connection_array(convector);
+      for(int i_connection=0;i_connection<net[ibag].get_total_connections();++i_connection)
+        cout << "connection " << i_connection << ": " << convector[i_connection].weight << endl;
+
+    }
+  }//for ibag
+  if(cv_opt[0]>1){
+    assert(cm.nReference());
+    cm.setFormat(cmformat_opt[0]);
+    cm.reportSE95(false);
+    std::cout << cm << std::endl;
+    cout << "class #samples userAcc prodAcc" << endl;
+    double se95_ua=0;
+    double se95_pa=0;
+    double se95_oa=0;
+    double dua=0;
+    double dpa=0;
+    double doa=0;
+    for(int iclass=0;iclass<cm.nClasses();++iclass){
+      dua=cm.ua_pct(cm.getClass(iclass),&se95_ua);
+      dpa=cm.pa_pct(cm.getClass(iclass),&se95_pa);
+      cout << cm.getClass(iclass) << " " << cm.nReference(cm.getClass(iclass)) << " " << dua << " (" << se95_ua << ")" << " " << dpa << " (" << se95_pa << ")" << endl;
+    }
+    std::cout << "Kappa: " << cm.kappa() << std::endl;
+    doa=cm.oa_pct(&se95_oa);
+    std::cout << "Overall Accuracy: " << doa << " (" << se95_oa << ")"  << std::endl;
+  }
+  //--------------------------------- end of training -----------------------------------
+  if(input_opt.empty())
+    exit(0);
+
+  const char* pszMessage;
+  void* pProgressArg=NULL;
+  GDALProgressFunc pfnProgress=GDALTermProgress;
+  float progress=0;
+  //-------------------------------- open image file ------------------------------------
+  bool inputIsRaster=false;
+  ImgReaderOgr imgReaderOgr;
+  try{
+    imgReaderOgr.open(input_opt[0]);
+    imgReaderOgr.close();
+  }
+  catch(string errorString){
+    inputIsRaster=true;
+  }
+  if(!inputIsRaster){//classify vector file
+    cm.clearResults();
+    //notice that fields have already been set by readDataImageOgr (taking into account appropriate bands)
+    for(int ivalidation=0;ivalidation<input_opt.size();++ivalidation){
+      if(output_opt.size())
+        assert(output_opt.size()==input_opt.size());
+      if(verbose_opt[0])
+        cout << "opening img reader " << input_opt[ivalidation] << endl;
+      imgReaderOgr.open(input_opt[ivalidation]);
+      ImgWriterOgr imgWriterOgr;
+
+      if(output_opt.size()){
+        if(verbose_opt[0])
+          std::cout << "opening img writer and copying fields from img reader" << output_opt[ivalidation] << std::endl;
+        imgWriterOgr.open(output_opt[ivalidation],imgReaderOgr);
+      }
+      if(verbose_opt[0])
+        cout << "number of layers in input ogr file: " << imgReaderOgr.getLayerCount() << endl;
+      for(int ilayer=0;ilayer<imgReaderOgr.getLayerCount();++ilayer){
+        if(verbose_opt[0])
+          cout << "processing input layer " << ilayer << endl;
+        if(output_opt.size()){
+          if(verbose_opt[0])
+            std::cout << "creating field class" << std::endl;
+          if(classValueMap.size())
+            imgWriterOgr.createField("class",OFTInteger,ilayer);
+          else
+            imgWriterOgr.createField("class",OFTString,ilayer);
+        }
+        unsigned int nFeatures=imgReaderOgr.getFeatureCount(ilayer);
+        unsigned int ifeature=0;
+        progress=0;
+        pfnProgress(progress,pszMessage,pProgressArg);
+        OGRFeature *poFeature;
+        while( (poFeature = imgReaderOgr.getLayer(ilayer)->GetNextFeature()) != NULL ){
+          if(verbose_opt[0]>1)
+            cout << "feature " << ifeature << endl;
+          if( poFeature == NULL ){
+            cout << "Warning: could not read feature " << ifeature << " in layer " << imgReaderOgr.getLayerName(ilayer) << endl;
+            continue;
+          }
+          OGRFeature *poDstFeature = NULL;
+          if(output_opt.size()){
+            poDstFeature=imgWriterOgr.createFeature(ilayer);
+            if( poDstFeature->SetFrom( poFeature, TRUE ) != OGRERR_NONE ){
+              CPLError( CE_Failure, CPLE_AppDefined,
+                        "Unable to translate feature %d from layer %s.\n",
+                        poFeature->GetFID(), imgWriterOgr.getLayerName(ilayer).c_str() );
+              OGRFeature::DestroyFeature( poFeature );
+              OGRFeature::DestroyFeature( poDstFeature );
+            }
+          }
+          vector<float> validationPixel;
+          vector<float> validationFeature;
+
+          imgReaderOgr.readData(validationPixel,OFTReal,fields,poFeature,ilayer);
+          assert(validationPixel.size()==nband);
+          vector<float> probOut(nclass);//posterior prob for each class
+          for(int iclass=0;iclass<nclass;++iclass)
+            probOut[iclass]=0;
+          for(int ibag=0;ibag<nbag;++ibag){
+            for(int iband=0;iband<nband;++iband){
+              validationFeature.push_back((validationPixel[iband]-offset[ibag][iband])/scale[ibag][iband]);
+              if(verbose_opt[0]==2)
+                std:: cout << " " << validationFeature.back();
+            }
+            if(verbose_opt[0]==2)
+              std::cout << std:: endl;
+            vector<float> result(nclass);
+            result=net[ibag].run(validationFeature);
+
+            if(verbose_opt[0]>1){
+              for(int iclass=0;iclass<result.size();++iclass)
+                std::cout << result[iclass] << " ";
+              std::cout << std::endl;
+            }
+            //calculate posterior prob of bag
+            for(int iclass=0;iclass<nclass;++iclass){
+              result[iclass]=(result[iclass]+1.0)/2.0;//bring back to scale [0,1]
+              switch(comb_opt[0]){
+              default:
+              case(0)://sum rule
+                probOut[iclass]+=result[iclass]*priors[iclass];//add probabilities for each bag
+              break;
+              case(1)://product rule
+                probOut[iclass]*=pow(static_cast<float>(priors[iclass]),static_cast<float>(1.0-nbag)/nbag)*result[iclass];//multiply probabilities for each bag
+                break;
+              case(2)://max rule
+                if(priors[iclass]*result[iclass]>probOut[iclass])
+                  probOut[iclass]=priors[iclass]*result[iclass];
+                break;
+              }
+            }
+          }//for ibag
+          //search for max class prob
+          float maxBag=0;
+          float normBag=0;
+          string classOut="Unclassified";
+          for(int iclass=0;iclass<nclass;++iclass){
+            if(verbose_opt[0]>1)
+              std::cout << probOut[iclass] << " ";
+            if(probOut[iclass]>maxBag){
+              maxBag=probOut[iclass];
+              classOut=nameVector[iclass];
+            }
+          }
+          //look for class name
+          if(verbose_opt[0]>1){
+            if(classValueMap.size())
+              std::cout << "->" << classValueMap[classOut] << std::endl;
+            else
+              std::cout << "->" << classOut << std::endl;
+          }
+          if(output_opt.size()){
+            if(classValueMap.size())
+              poDstFeature->SetField("class",classValueMap[classOut]);
+            else
+              poDstFeature->SetField("class",classOut.c_str());
+            poDstFeature->SetFID( poFeature->GetFID() );
+          }
+          int labelIndex=poFeature->GetFieldIndex(label_opt[0].c_str());
+          if(labelIndex>=0){
+            string classRef=poFeature->GetFieldAsString(labelIndex);
+            if(classRef!="0"){
+              if(classValueMap.size())
+                cm.incrementResult(type2string<short>(classValueMap[classRef]),type2string<short>(classValueMap[classOut]),1);
+              else
+                cm.incrementResult(classRef,classOut,1);
+            }
+          }
+          CPLErrorReset();
+          if(output_opt.size()){
+            if(imgWriterOgr.createFeature(poDstFeature,ilayer) != OGRERR_NONE){
+              CPLError( CE_Failure, CPLE_AppDefined,
+                        "Unable to translate feature %d from layer %s.\n",
+                        poFeature->GetFID(), imgWriterOgr.getLayerName(ilayer).c_str() );
+              OGRFeature::DestroyFeature( poDstFeature );
+              OGRFeature::DestroyFeature( poDstFeature );
+            }
+          }
+          ++ifeature;
+          if(!verbose_opt[0]){
+            progress=static_cast<float>(ifeature+1.0)/nFeatures;
+            pfnProgress(progress,pszMessage,pProgressArg);
+          }
+          OGRFeature::DestroyFeature( poFeature );
+          OGRFeature::DestroyFeature( poDstFeature );
+        }//get next feature
+      }//next layer
+      imgReaderOgr.close();
+      if(output_opt.size())
+        imgWriterOgr.close();
+    }
+    if(cm.nReference()){
+      std::cout << cm << std::endl;
+      // cout << "class #samples userAcc prodAcc" << endl;
+      // double se95_ua=0;
+      // double se95_pa=0;
+      // double se95_oa=0;
+      // double dua=0;
+      // double dpa=0;
+      // double doa=0;
+      // for(short iclass=0;iclass<cm.nClasses();++iclass){
+      //  dua=cm.ua_pct(cm.getClass(iclass),&se95_ua);
+      //  dpa=cm.pa_pct(cm.getClass(iclass),&se95_pa);
+      //  cout << cm.getClass(iclass) << " " << cm.nReference(cm.getClass(iclass)) << " " << dua << " (" << se95_ua << ")" << " " << dpa << " (" << se95_pa << ")" << endl;
+      // }
+      // std::cout << "Kappa: " << cm.kappa() << std::endl;
+      // doa=cm.oa_pct(&se95_oa);
+      // std::cout << "Overall Accuracy: " << doa << " (" << se95_oa << ")"  << std::endl;
+    }
+  }
+  try{
+    if(active_opt.size())
+      activeWriter.close();
+  }
+  catch(string errorString){
+    std::cerr << "Error: errorString" << std::endl;
+  }
+  return 0;
+}
diff --git a/src/apps/pkcomposite.cc b/src/apps/pkcomposite.cc
index aabc105..4dcc156 100644
--- a/src/apps/pkcomposite.cc
+++ b/src/apps/pkcomposite.cc
@@ -97,7 +97,7 @@ pkcomposite -i input1.tif -i input2.tif -o minimum.tif -cr minallbands
  | dy     | dy                   | double |       |Output resolution in y (in meter) (empty: keep original resolution) | 
  | e      | extent               | std::string |       |get boundary from extent from polygons in vector file | 
  | cut      | crop_to_cutline    | bool | false |Crop the extent of the target dataset to the extent of the cutline | 
- | eo       | eo                 | std::string |       |special extent options controlling rasterization: ATTRIBUTE|CHUNKYSIZE|ALL_TOUCHED|BURN_VALUE_FROM|MERGE_ALG, e.g., -eo ATTRIBUTE=fieldname |
+ | eo       | eo                 | std::string |       |special extent options controlling rasterization: ATTRIBUTE or CHUNKYSIZE or ALL_TOUCHED or BURN_VALUE_FROM or MERGE_ALG, e.g., -eo ATTRIBUTE=fieldname |
  | m      | mask                 | std::string |       |Use the first band of the specified file as a validity mask (0 is nodata) | 
  | msknodata | msknodata            | float | 0     |Mask value not to consider for composite
  | mskband | mskband              | short | 0     |Mask band to read (0 indexed) | 
diff --git a/src/apps/pkcomposite_app.cc~ b/src/apps/pkcomposite_app.cc~
deleted file mode 100644
index 8f2f7de..0000000
--- a/src/apps/pkcomposite_app.cc~
+++ /dev/null
@@ -1,271 +0,0 @@
-/**********************************************************************
-pkcomposite.cc: program to mosaic and composite geo-referenced images
-Copyright (C) 2008-2014 Pieter Kempeneers
-
-This file is part of pktools
-
-pktools is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-pktools is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with pktools.  If not, see <http://www.gnu.org/licenses/>.
-***********************************************************************/
-#include <algorithm>
-#include <vector>
-#include <iostream>
-#include <string>
-#include "imageclasses/ImgReaderGdal.h"
-#include "imageclasses/ImgWriterGdal.h"
-#include "imageclasses/ImgReaderOgr.h"
-#include "base/Vector2d.h"
-#include "base/Optionpk.h"
-#include "algorithms/StatFactory.h"
-#include "AppFactory.h"
-/******************************************************************************/
-/*! \page pkcomposite pkcomposite
-
- program to mosaic and composite geo-referenced images
-## SYNOPSIS
-
-<code>
-  Usage: pkcomposite -i input [-i input]* -o output
-</code>
-
-<code>
-
-  Options: [-b band]* [-dx xres] [-dy yres] [-e vector] [-ulx ULX -uly ULY -lrx LRX -lry LRY] [-cr rule] [-cb band] [-srcnodata value] [-bndnodata band] [-min value] [-max value] [-dstnodata value] [-r resampling_method] [-ot {Byte / Int16 / UInt16 / UInt32 / Int32 / Float32 / Float64 / CInt16 / CInt32 / CFloat32 / CFloat64}] [-of format] [-co NAME=VALUE]* [-a_srs epsg:number]
-
-  Advanced options:
-       [-file] [-w weight]* [-c class]* [-ct colortable] [-d description] [-align]
-</code>
-
-\section pkcomposite_description Description
-
-The utility pkcomposite can be used to \em mosaic and \em composite multiple (georeferenced) raster datasets. A mosaic can merge images with different geographical extents into a single larger image. Compositing resolves the overlapping pixels according to some rule (e.g, the median of all overlapping pixels). This utility is complementary to GDAL, which currently does not support a composite step. Input datasets can have different bounding boxes and spatial resolutionsresolution.
-
-\anchor pkcomposite_rules 
-composite rule | composite output
-------------- | -------------
-overwrite | Overwrite overlapping pixels: the latter input image on the command line overrules the previous image
-maxndvi | Create a maximum NDVI (normalized difference vegetation index) composite from multi-band input images. Use option -cb  to set the indexes of the red and near infrared bands respectively (e.g., -cb 0 -cb 1)
-maxband | Select the pixel with a maximum value in the band specified by option -cb
-minband | Select the pixel with a minimum value in the band specified by option -cb
-mean | Calculate the mean (average) of overlapping pixels
-stdev | Calculate the standard deviation of overlapping pixels
-median | Calculate the median of overlapping pixels
-mode | Select the mode of overlapping pixels (maximum voting): use for Byte images only
-sum | Calculate the arithmetic sum of overlapping pixels
-maxallbands | For each individual band, assign the maximum value found in all overlapping pixels. Unlike maxband, output band values cannot be attributed to a single (date) pixel in the input time series
-minallbands | For each individual band, assign the minimum value found in all overlapping pixels. Unlike minband, output band values cannot be attributed to a single (date) pixel in the input time series
-
-Example: Calculate the maximum NDVI composite of two multispectral input images (e.g., red is band 0 and near infrared is band 1)
-
-\code
-pkcomposite -i input1.tif -i input2.tif -o output.tif -cr maxndvi -cb 0 -cb 1
-\endcode
-
-Example: Calculate the minimum nadir composite of two input images, where the forth band (b=3) contains the view zenith angle
-
-\code
-pkcomposite -i input1.tif -i input2.tif -o minzenith.tif -cr minband -cb 3
-\endcode
-
-Example: Calculate the minimum of two input images in all bands
-
-\code
-pkcomposite -i input1.tif -i input2.tif -o minimum.tif -cr minallbands
-\endcode
-
-
-\section pkcomposite_options Options
- - use either `-short` or `--long` options (both `--long=value` and `--long value` are supported)
- - short option `-h` shows basic options only, long option `--help` shows all options
-
-|short|long|type|default|description|
-|-----|----|----|-------|-----------|
- | i      | input                | std::string |       |Input image file(s). If input contains multiple images, a multi-band output is created | 
- | o      | output               | std::string |       |Output image file | 
- | b      | band                 | int  |       |band index(es) to crop (leave empty if all bands must be retained) | 
- | dx     | dx                   | double |       |Output resolution in x (in meter) (empty: keep original resolution) | 
- | dy     | dy                   | double |       |Output resolution in y (in meter) (empty: keep original resolution) | 
- | e      | extent               | std::string |       |get boundary from extent from polygons in vector file | 
- | cut      | crop_to_cutline    | bool | false |Crop the extent of the target dataset to the extent of the cutline | 
- | eo       | eo                 | std::string |       |special extent options controlling rasterization: ATTRIBUTE|CHUNKYSIZE|ALL_TOUCHED|BURN_VALUE_FROM|MERGE_ALG, e.g., -eo ATTRIBUTE=fieldname |
- | m      | mask                 | std::string |       |Use the first band of the specified file as a validity mask (0 is nodata) | 
- | msknodata | msknodata            | float | 0     |Mask value not to consider for composite
- | mskband | mskband              | short | 0     |Mask band to read (0 indexed) | 
- | ulx    | ulx                  | double | 0     |Upper left x value bounding box | 
- | uly    | uly                  | double | 0     |Upper left y value bounding box | 
- | lrx    | lrx                  | double | 0     |Lower right x value bounding box | 
- | lry    | lry                  | double | 0     |Lower right y value bounding box | 
- | cr     | crule                | std::string | overwrite |Composite rule (overwrite, maxndvi, maxband, minband, mean, mode (only for byte images), median, sum, maxallbands, minallbands, stdev | 
- | cb     | cband                | int  | 0     |band index used for the composite rule (e.g., for ndvi, use --cband=0 --cband=1 with 0 and 1 indices for red and nir band respectively | 
- | srcnodata | srcnodata            | double |       |invalid value(s) for input raster dataset | 
- | bndnodata | bndnodata            | int  | 0     |Band(s) in input image to check if pixel is valid (used for srcnodata, min and max options) | 
- | min    | min                  | double |       |flag values smaller or equal to this value as invalid. | 
- | max    | max                  | double |       |flag values larger or equal to this value as invalid. | 
- | dstnodata | dstnodata            | double | 0     |nodata value to put in output raster dataset if not valid or out of bounds. | 
- | r      | resampling-method    | std::string | near  |Resampling method (near: nearest neighbor, bilinear: bi-linear interpolation). | 
- | ot     | otype                | std::string |       |Data type for output image ({Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64}). Empty string: inherit type from input image | 
- | of     | oformat              | std::string | GTiff |Output image format (see also gdal_translate).| 
- | co     | co                   | std::string |       |Creation option for output file. Multiple options can be specified. | 
- | a_srs  | a_srs                | std::string |       |Override the spatial reference for the output file (leave blank to copy from input file, use epsg:3035 to use European projection and force to European grid | 
- | file   | file                 | short | 0     |write number of observations (1) or sequence nr of selected file (2) for each pixels as additional layer in composite | 
- | w      | weight               | short | 1     |Weights (type: short) for the composite, use one weight for each input file in same order as input files are provided). Use value 1 for equal weights. | 
- | c      | class                | short | 0     |classes for multi-band output image: each band represents the number of observations for one specific class. Use value 0 for no multi-band output image. | 
- | ct     | ct                   | std::string |       |color table file with 5 columns: id R G B ALFA (0: transparent, 255: solid) | 
- | align  | align                | bool  |       |Align output bounding box to first input image | 
- | scale  | scale                | double |       |output=scale*input+offset | 
- | off    | offset               | double |       |output=scale*input+offset | 
- | mem    | mem                  | unsigned long int | 1000 |Buffer size (in MB) to read image data blocks in memory | 
- | d      | description          | std::string |       |Set image description | 
-
-Examples
-========
-Some examples how to use pkcomposite can be found \ref examples_pkcomposite "here"
-
-FAQ
-===
-Frequently asked questions on pkcomposite can be found \ref faq_pkcomposite "here
-**/
-
-namespace crule{
-  enum CRULE_TYPE {overwrite=0, maxndvi=1, maxband=2, minband=3, validband=4, mean=5, mode=6, median=7,sum=8,minallbands=9,maxallbands=10,stdev=11};
-}
-
-using namespace std;
-
-int main(int argc, char *argv[])
-{
-  Optionpk<string>  input_opt("i", "input", "Input image file(s). If input contains multiple images, a multi-band output is created");
-  Optionpk<string>  output_opt("o", "output", "Output image file");
-  Optionpk<int>  band_opt("b", "band", "band index(es) to crop (leave empty if all bands must be retained)");
-  Optionpk<double>  dx_opt("dx", "dx", "Output resolution in x (in meter) (empty: keep original resolution)");
-  Optionpk<double>  dy_opt("dy", "dy", "Output resolution in y (in meter) (empty: keep original resolution)");
-  Optionpk<string>  extent_opt("e", "extent", "get boundary from extent from polygons in vector file");
-  Optionpk<bool> cut_opt("cut", "crop_to_cutline", "Crop the extent of the target dataset to the extent of the cutline.",false);
-  Optionpk<string> eoption_opt("eo","eo", "special extent options controlling rasterization: ATTRIBUTE|CHUNKYSIZE|ALL_TOUCHED|BURN_VALUE_FROM|MERGE_ALG, e.g., -eo ATTRIBUTE=fieldname");
-  Optionpk<string> mask_opt("m", "mask", "Use the first band of the specified file as a validity mask (0 is nodata).");
-  Optionpk<float> msknodata_opt("msknodata", "msknodata", "Mask value not to consider for composite.", 0);
-  Optionpk<short> mskband_opt("mskband", "mskband", "Mask band to read (0 indexed)", 0);
-  Optionpk<double>  ulx_opt("ulx", "ulx", "Upper left x value bounding box", 0.0);
-  Optionpk<double>  uly_opt("uly", "uly", "Upper left y value bounding box", 0.0);
-  Optionpk<double>  lrx_opt("lrx", "lrx", "Lower right x value bounding box", 0.0);
-  Optionpk<double>  lry_opt("lry", "lry", "Lower right y value bounding box", 0.0);
-  Optionpk<string> crule_opt("cr", "crule", "Composite rule (overwrite, maxndvi, maxband, minband, mean, mode (only for byte images), median, sum, maxallbands, minallbands, stdev", "overwrite");
-  Optionpk<int> ruleBand_opt("cb", "cband", "band index used for the composite rule (e.g., for ndvi, use --cband=0 --cband=1 with 0 and 1 indices for red and nir band respectively", 0);
-  Optionpk<double> srcnodata_opt("srcnodata", "srcnodata", "invalid value(s) for input raster dataset");
-  Optionpk<int> bndnodata_opt("bndnodata", "bndnodata", "Band(s) in input image to check if pixel is valid (used for srcnodata, min and max options)", 0);
-  Optionpk<double> minValue_opt("min", "min", "flag values smaller or equal to this value as invalid.");
-  Optionpk<double> maxValue_opt("max", "max", "flag values larger or equal to this value as invalid.");
-  Optionpk<double>  dstnodata_opt("dstnodata", "dstnodata", "nodata value to put in output raster dataset if not valid or out of bounds.", 0);
-  Optionpk<string>  resample_opt("r", "resampling-method", "Resampling method (near: nearest neighbor, bilinear: bi-linear interpolation).", "near");
-  Optionpk<string>  otype_opt("ot", "otype", "Data type for output image ({Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64}). Empty string: inherit type from input image", "");
-  Optionpk<string>  oformat_opt("of", "oformat", "Output image format (see also gdal_translate).","GTiff");
-  Optionpk<string> option_opt("co", "co", "Creation option for output file. Multiple options can be specified.");
-  Optionpk<string>  projection_opt("a_srs", "a_srs", "Override the spatial reference for the output file (leave blank to copy from input file, use epsg:3035 to use European projection and force to European grid");
-  Optionpk<short> file_opt("file", "file", "write number of observations (1) or sequence nr of selected file (2) for each pixels as additional layer in composite", 0);
-  Optionpk<short> weight_opt("w", "weight", "Weights (type: short) for the composite, use one weight for each input file in same order as input files are provided). Use value 1 for equal weights.", 1);
-  Optionpk<short> class_opt("c", "class", "classes for multi-band output image: each band represents the number of observations for one specific class. Use value 0 for no multi-band output image.", 0);
-  Optionpk<string>  colorTable_opt("ct", "ct", "color table file with 5 columns: id R G B ALFA (0: transparent, 255: solid)");
-  Optionpk<string>  description_opt("d", "description", "Set image description");
-  Optionpk<bool>  align_opt("align", "align", "Align output bounding box to input image",false);
-  Optionpk<double> scale_opt("scale", "scale", "output=scale*input+offset");
-  Optionpk<double> offset_opt("offset", "offset", "output=scale*input+offset");
-  Optionpk<unsigned long int>  memory_opt("mem", "mem", "Buffer size (in MB) to read image data blocks in memory",1000,1);
-  Optionpk<short>  verbose_opt("v", "verbose", "verbose", 0,2);
-
-  extent_opt.setHide(1);
-  cut_opt.setHide(1);
-  eoption_opt.setHide(1);
-  mask_opt.setHide(1);
-  msknodata_opt.setHide(1);
-  mskband_opt.setHide(1);
-  option_opt.setHide(1);
-  file_opt.setHide(1);
-  weight_opt.setHide(1);
-  class_opt.setHide(1);
-  colorTable_opt.setHide(1);
-  description_opt.setHide(1);
-  scale_opt.setHide(1);
-  offset_opt.setHide(1);
-  memory_opt.setHide(1);
-
-  bool doProcess;//stop process when program was invoked with help option (-h --help)
-  try{
-    doProcess=input_opt.retrieveOption(argc,argv);
-    output_opt.retrieveOption(argc,argv);
-    band_opt.retrieveOption(argc,argv);
-    dx_opt.retrieveOption(argc,argv);
-    dy_opt.retrieveOption(argc,argv);
-    extent_opt.retrieveOption(argc,argv);
-    cut_opt.retrieveOption(argc,argv);
-    eoption_opt.retrieveOption(argc,argv);
-    mask_opt.retrieveOption(argc,argv);
-    msknodata_opt.retrieveOption(argc,argv);
-    mskband_opt.retrieveOption(argc,argv);
-    ulx_opt.retrieveOption(argc,argv);
-    uly_opt.retrieveOption(argc,argv);
-    lrx_opt.retrieveOption(argc,argv);
-    lry_opt.retrieveOption(argc,argv);
-    crule_opt.retrieveOption(argc,argv);
-    ruleBand_opt.retrieveOption(argc,argv);
-    srcnodata_opt.retrieveOption(argc,argv);
-    bndnodata_opt.retrieveOption(argc,argv);
-    minValue_opt.retrieveOption(argc,argv);
-    maxValue_opt.retrieveOption(argc,argv);
-    dstnodata_opt.retrieveOption(argc,argv);
-    resample_opt.retrieveOption(argc,argv);
-    otype_opt.retrieveOption(argc,argv);
-    oformat_opt.retrieveOption(argc,argv);
-    option_opt.retrieveOption(argc,argv);
-    projection_opt.retrieveOption(argc,argv);
-    file_opt.retrieveOption(argc,argv);
-    weight_opt.retrieveOption(argc,argv);
-    class_opt.retrieveOption(argc,argv);
-    colorTable_opt.retrieveOption(argc,argv);
-    description_opt.retrieveOption(argc,argv);
-    align_opt.retrieveOption(argc,argv);
-    scale_opt.retrieveOption(argc,argv);
-    offset_opt.retrieveOption(argc,argv);
-    memory_opt.retrieveOption(argc,argv);
-    verbose_opt.retrieveOption(argc,argv);
-  }
-  catch(string predefinedString){
-    std::cout << predefinedString << std::endl;
-    exit(0);
-  }
-  if(!doProcess){
-    cout << endl;
-    cout << "Usage: pkcomposite -i input [-i input]* -o output" << endl;
-    cout << endl;
-    std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
-    exit(0);//help was invoked, stop processing
-  }
-  appfactory::AppFactory app(memory_opt[0]);
-  vector<ImgReaderGdal> imgVector(input_opt.size());
-  for(int ifile=0;ifile<input_opt.size();++ifile){
-    try{
-      imgReader[ifile].open(input_opt[ifile],GA_ReadOnly,memory_opt[0]);
-      // imgReader[ifile].open(input_opt[ifile],GA_ReadOnly);
-      for(int iband=0;iband<scale_opt.size();++iband)
-        imgReader[ifile].setScale(scale_opt[iband],iband);
-      for(int iband=0;iband<offset_opt.size();++iband)
-        imgReader[ifile].setOffset(offset_opt[iband],iband);
-    }
-    catch(string errorstring){
-      cerr << errorstring << " " << input_opt[ifile] << endl;
-    }
-  }
-  ImgWriterGdal imgWriter;//AppFactory has been instantiated with memory_opt so we can set mem in ImgWriter 
-  app.pkcomposite<(imgVector,imgWriter);
-  return 0;
-}
-  
diff --git a/src/apps/pkcrop.cc b/src/apps/pkcrop.cc
index 05d82ec..f1d3d35 100644
--- a/src/apps/pkcrop.cc
+++ b/src/apps/pkcrop.cc
@@ -74,7 +74,7 @@ The utility pkcrop can subset and stack raster images. In the spatial domain it
  | r      | resampling-method    | std::string | near  |Resampling method (near: nearest neighbor, bilinear: bi-linear interpolation). | 
  | e      | extent               | std::string |       |get boundary from extent from polygons in vector file | 
  | cut      | crop_to_cutline    | bool | false |Crop the extent of the target dataset to the extent of the cutline | 
- | eo       | eo                 | std::string |       |special extent options controlling rasterization: ATTRIBUTE|CHUNKYSIZE|ALL_TOUCHED|BURN_VALUE_FROM|MERGE_ALG, e.g., -eo ATTRIBUTE=fieldname |
+ | eo       | eo                 | std::string |       |special extent options controlling rasterization: ATTRIBUTE or CHUNKYSIZE or ALL_TOUCHED or BURN_VALUE_FROM or MERGE_ALG, e.g., -eo ATTRIBUTE=fieldname |
  | m      | mask                 | std::string |       |Use the specified file as a validity mask (0 is nodata) | 
  | msknodata | msknodata            | float | 0     |Mask value not to consider for crop
  | mskband | mskband              | short | 0     |Mask band to read (0 indexed) | 
diff --git a/src/apps/pkextract.cc b/src/apps/pkextract.cc
deleted file mode 100644
index a404698..0000000
--- a/src/apps/pkextract.cc
+++ /dev/null
@@ -1,2553 +0,0 @@
-/**********************************************************************
-pkextract.cc: extract pixel values from raster image from a (vector or raster) sample
-Copyright (C) 2008-2014 Pieter Kempeneers
-
-This file is part of pktools
-
-pktools is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
-
-pktools is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with pktools.  If not, see <http://www.gnu.org/licenses/>.
-***********************************************************************/
-#include <assert.h>
-#include <math.h>
-#include <stdlib.h>
-#include <sstream>
-#include <string>
-#include <algorithm>
-#include <ctime>
-#include <vector>
-#include "imageclasses/ImgReaderGdal.h"
-#include "imageclasses/ImgWriterOgr.h"
-#include "base/Optionpk.h"
-#include "algorithms/StatFactory.h"
-
-#ifndef PI
-#define PI 3.1415926535897932384626433832795
-#endif
-
-/******************************************************************************/
-/*! \page pkextract pkextract
- extract pixel values from raster image from a (vector or raster) sample
-## SYNOPSIS
-
-<code>
-  Usage: pkextract -i input [-s sample | -rand number | -grid size] -o output
-</code>
-
-<code>
-
-  Options: [-ln layer]* [-c class]* [-t threshold]* [-f format] [-ft fieldType] [-lt labelType] [-polygon] [-b band]* [-r rule]
-
-  Advanced options:
-  [-sband band -eband band]* [-bndnodata band -srcnodata value]* [-tp threshold] [-test testSample] [-bn attribute] [-cn attribute] [-geo value] [-down value] [-buf value [-circ]]
-</code>
-
-\section pkextract_description Description
-
-The utility pkextract extracts pixel values from an input raster dataset, based on the locations you provide via a sample file. Alternatively, a random sample or systematic grid of points can also be extracted. The sample can be a vector file with points or polygons. In the case of polygons, you can either extract the values for all raster pixels that are covered by the polygons, or extract a single value for each polygon such as the centroid, mean, median, etc. As output, a new copy of  [...]
-
-Instead of a vector dataset, the sample can also be a raster dataset with categorical values. The typical use case is a land cover map that overlaps the input raster dataset. The utility then extracts pixels from the input raster for the respective land cover classes. To select a random subset of the sample raster dataset you can set the threshold option -t with a percentage value. 
-
-A typical usage of pkextract is to prepare a training sample for one of the classifiers implemented in pktools.
-
-\anchor pkextract_rules 
-
-Overview of the possible extraction rules:
-
-extraction rule | output features
---------------- | ---------------
-point | Extract all pixel values covered by the polygon (option -polygon not set) or extract a pixel on the surface option (-polygon set).
-centroid | Extract pixel value at the centroid of the polygon.
-mean | Extract average of all pixel values within the polygon.
-stdev | Extract standard deviation of all pixel values within the polygon.
-median | Extract median of all pixel values within the polygon.
-min | Extract minimum value of all pixels within the polygon.
-max | Extract maximum value of all pixels within the polygon.
-sum | Extract sum of the values of all pixels within the polygon.
-mode | Extract the mode of classes within the polygon (classes must be set with the option class).
-proportion | Extract proportion of class(es) within the polygon (classes must be set with the option class).
-count | Extract count of class(es) within the polygon (classes must be set with the option class).
-percentile | Extract percentile as defined by option perc (e.g, 95th percentile of values covered by polygon).
-
-\section pkextract_options Options
- - use either `-short` or `--long` options (both `--long=value` and `--long value` are supported)
- - short option `-h` shows basic options only, long option `--help` shows all options
-|short|long|type|default|description|
-|-----|----|----|-------|-----------|
- | i      | input                | std::string |       |Raster input dataset containing band information | 
- | s      | sample               | std::string |       |OGR vector dataset with features to be extracted from input data. Output will contain features with input band information included. Sample image can also be GDAL raster dataset. | 
- | ln     | ln                   | std::string |       |Layer name(s) in sample (leave empty to select all) | 
- | rand   | random               | unsigned int |       |Create simple random sample of points. Provide number of points to generate | 
- | grid   | grid                 | double |       |Create systematic grid of points. Provide cell grid size (in projected units, e.g,. m) | 
- | o      | output               | std::string |       |Output sample dataset | 
- | c      | class                | int  |       |Class(es) to extract from input sample image. Leave empty to extract all valid data pixels from sample dataset. Make sure to set classes if rule is set to mode, proportion or count | 
- | t      | threshold            | float | 100   |Probability threshold for selecting samples (randomly). Provide probability in percentage (>0) or absolute (<0). Use a single threshold per vector sample layer. If using raster land cover maps as a sample dataset, you can provide a threshold value for each class (e.g. -t 80 -t 60). Use value 100 to select all pixels for selected class(es) | 
- | perc   | perc                 | double | 95    |Percentile value used for rule percentile | 
- | f      | f                    | std::string | SQLite |Output sample dataset format | 
- | ft     | ftype                | std::string | Real  |Field type (only Real or Integer) | 
- | lt     | ltype                | std::string | Integer |Label type: In16 or String | 
- | polygon | polygon              | bool | false |Create OGRPolygon as geometry instead of OGRPoint. | 
- | b      | band                 | int  |       |Band index(es) to extract (0 based). Leave empty to use all bands | 
- | sband  | startband            | unsigned short |      |Start band sequence number | 
- | eband  | endband              | unsigned short |      |End band sequence number   | 
- | r      | rule                 | std::string | centroid |Rule how to report image information per feature (only for vector sample). point (value at each point or at centroid if polygon), centroid, mean, stdev, median, proportion, count, min, max, mode, sum, percentile. | 
- | bndnodata | bndnodata            | int  | 0     |Band(s) in input image to check if pixel is valid (used for srcnodata) | 
- | srcnodata | srcnodata            | double |       |Invalid value(s) for input image | 
- | tp     | thresholdPolygon     | float |       |(absolute) threshold for selecting samples in each polygon | 
- | test   | test                 | std::string |       |Test sample dataset (use this option in combination with threshold<100 to create a training (output) and test set | 
- | bn     | bname                | std::string | b     |For single band input data, this extra attribute name will correspond to the raster values. For multi-band input data, multiple attributes with this prefix will be added (e.g. b0, b1, b2, etc.) | 
- | cn     | cname                | std::string | label |Name of the class label in the output vector dataset | 
- | geo    | geo                  | short | 1     |Use geo coordinates (set to 0 to use image coordinates) | 
- | down   | down                 | short | 1     |Down sampling factor (for raster sample datasets only). Can be used to create grid points | 
- | buf    | buffer               | short |       |Buffer for calculating statistics for point features  | 
- | circ   | circular             | bool | false |Use a circular disc kernel buffer (for vector point sample datasets only, use in combination with buffer option) | 
-
-Usage: pkextract -i input [-s sample | -rand number | -grid size] -o output
-
-
-Examples
-========
-Some examples how to use pkextract can be found \ref examples_pkextract "here"
-**/
-
-namespace rule{
-  enum RULE_TYPE {point=0, mean=1, proportion=2, custom=3, min=4, max=5, mode=6, centroid=7, sum=8, median=9, stdev=10, percentile=11, count=12};
-}
-
-using namespace std;
-
-int main(int argc, char *argv[])
-{
-  Optionpk<string> image_opt("i", "input", "Raster input dataset containing band information");
-  Optionpk<string> sample_opt("s", "sample", "OGR vector dataset with features to be extracted from input data. Output will contain features with input band information included. Sample image can also be GDAL raster dataset.");
-  Optionpk<string> layer_opt("ln", "ln", "Layer name(s) in sample (leave empty to select all)");
-  Optionpk<unsigned int> random_opt("rand", "random", "Create simple random sample of points. Provide number of points to generate");
-  Optionpk<double> grid_opt("grid", "grid", "Create systematic grid of points. Provide cell grid size (in projected units, e.g,. m)");
-  Optionpk<string> output_opt("o", "output", "Output sample dataset");
-  Optionpk<int> class_opt("c", "class", "Class(es) to extract from input sample image. Leave empty to extract all valid data pixels from sample dataset. Make sure to set classes if rule is set to mode, proportion or count");
-  Optionpk<float> threshold_opt("t", "threshold", "Probability threshold for selecting samples (randomly). Provide probability in percentage (>0) or absolute (<0). Use a single threshold per vector sample layer. If using raster land cover maps as a sample dataset, you can provide a threshold value for each class (e.g. -t 80 -t 60). Use value 100 to select all pixels for selected class(es)", 100);
-  Optionpk<double> percentile_opt("perc","perc","Percentile value used for rule percentile",95);
-  Optionpk<string> ogrformat_opt("f", "f", "Output sample dataset format","SQLite");
-  Optionpk<string> ftype_opt("ft", "ftype", "Field type (only Real or Integer)", "Real");
-  Optionpk<string> ltype_opt("lt", "ltype", "Label type: In16 or String", "Integer");
-  Optionpk<bool> polygon_opt("polygon", "polygon", "Create OGRPolygon as geometry instead of OGRPoint.", false);
-  Optionpk<int> band_opt("b", "band", "Band index(es) to extract (0 based). Leave empty to use all bands");
-  Optionpk<unsigned short> bstart_opt("sband", "startband", "Start band sequence number"); 
-  Optionpk<unsigned short> bend_opt("eband", "endband", "End band sequence number"); 
-  Optionpk<string> rule_opt("r", "rule", "Rule how to report image information per feature (only for vector sample). point (value at each point or at centroid if polygon), centroid, mean, stdev, median, proportion, count, min, max, mode, sum, percentile.", "centroid");
-  Optionpk<double> srcnodata_opt("srcnodata", "srcnodata", "Invalid value(s) for input image");
-  Optionpk<int> bndnodata_opt("bndnodata", "bndnodata", "Band(s) in input image to check if pixel is valid (used for srcnodata)", 0);
-  Optionpk<float> polythreshold_opt("tp", "thresholdPolygon", "(absolute) threshold for selecting samples in each polygon");
-  Optionpk<string> test_opt("test", "test", "Test sample dataset (use this option in combination with threshold<100 to create a training (output) and test set");
-  Optionpk<string> fieldname_opt("bn", "bname", "For single band input data, this extra attribute name will correspond to the raster values. For multi-band input data, multiple attributes with this prefix will be added (e.g. b0, b1, b2, etc.)", "b");
-  Optionpk<string> label_opt("cn", "cname", "Name of the class label in the output vector dataset", "label");
-  Optionpk<short> geo_opt("geo", "geo", "Use geo coordinates (set to 0 to use image coordinates)", 1);
-  Optionpk<short> down_opt("down", "down", "Down sampling factor (for raster sample datasets only).", 1);
-  Optionpk<short> buffer_opt("buf", "buffer", "Buffer for calculating statistics for point features ");
-  Optionpk<bool> disc_opt("circ", "circular", "Use a circular disc kernel buffer (for vector point sample datasets only, use in combination with buffer option)", false);
-  Optionpk<short> verbose_opt("v", "verbose", "Verbose mode if > 0", 0,2);
-
-  bstart_opt.setHide(1);
-  bend_opt.setHide(1);
-  bndnodata_opt.setHide(1);
-  srcnodata_opt.setHide(1);
-  polythreshold_opt.setHide(1);
-  percentile_opt.setHide(1);
-  test_opt.setHide(1);
-  fieldname_opt.setHide(1);
-  label_opt.setHide(1);
-  geo_opt.setHide(1);
-  down_opt.setHide(1);
-  buffer_opt.setHide(1);
-  disc_opt.setHide(1);
-
-  bool doProcess;//stop process when program was invoked with help option (-h --help)
-  try{
-    doProcess=image_opt.retrieveOption(argc,argv);
-    sample_opt.retrieveOption(argc,argv);
-    layer_opt.retrieveOption(argc,argv);
-    random_opt.retrieveOption(argc,argv);
-    grid_opt.retrieveOption(argc,argv);
-    output_opt.retrieveOption(argc,argv);
-    class_opt.retrieveOption(argc,argv);
-    threshold_opt.retrieveOption(argc,argv);
-    percentile_opt.retrieveOption(argc,argv);
-    ogrformat_opt.retrieveOption(argc,argv);
-    ftype_opt.retrieveOption(argc,argv);
-    ltype_opt.retrieveOption(argc,argv);
-    polygon_opt.retrieveOption(argc,argv);
-    band_opt.retrieveOption(argc,argv);
-    bstart_opt.retrieveOption(argc,argv);
-    bend_opt.retrieveOption(argc,argv);
-    rule_opt.retrieveOption(argc,argv);
-    bndnodata_opt.retrieveOption(argc,argv);
-    srcnodata_opt.retrieveOption(argc,argv);
-    polythreshold_opt.retrieveOption(argc,argv);
-    test_opt.retrieveOption(argc,argv);
-    fieldname_opt.retrieveOption(argc,argv);
-    label_opt.retrieveOption(argc,argv);
-    geo_opt.retrieveOption(argc,argv);
-    down_opt.retrieveOption(argc,argv);
-    buffer_opt.retrieveOption(argc,argv);
-    disc_opt.retrieveOption(argc,argv);
-    // rbox_opt.retrieveOption(argc,argv);
-    // cbox_opt.retrieveOption(argc,argv);
-    verbose_opt.retrieveOption(argc,argv);
-  }
-  catch(string predefinedString){
-    std::cout << predefinedString << std::endl;
-    exit(0);
-  }
-  if(!doProcess){
-    cout << endl;
-    cout << "Usage: pkextract -i input [-s sample | -rand number | -grid size] -o output" << endl;
-    cout << endl;
-    std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
-    exit(0);//help was invoked, stop processing
-  }
-
-  std::map<std::string, rule::RULE_TYPE> ruleMap;
-  //initialize ruleMap
-  ruleMap["point"]=rule::point;
-  ruleMap["centroid"]=rule::centroid;
-  ruleMap["mean"]=rule::mean;
-  ruleMap["stdev"]=rule::stdev;
-  ruleMap["median"]=rule::median;
-  ruleMap["proportion"]=rule::proportion;
-  ruleMap["count"]=rule::count;
-  ruleMap["min"]=rule::min;
-  ruleMap["max"]=rule::max;
-  ruleMap["custom"]=rule::custom;
-  ruleMap["mode"]=rule::mode;
-  ruleMap["sum"]=rule::sum;
-  ruleMap["percentile"]=rule::percentile;
-
-  if(srcnodata_opt.size()){
-    while(srcnodata_opt.size()<bndnodata_opt.size())
-      srcnodata_opt.push_back(srcnodata_opt[0]);
-  }
-
-  if(verbose_opt[0])
-    std::cout << class_opt << std::endl;
-  statfactory::StatFactory stat;
-  stat.setNoDataValues(srcnodata_opt);
-  Vector2d<unsigned int> posdata;
-  unsigned long int nsample=0;
-  unsigned long int ntotalvalid=0;
-  unsigned long int ntotalinvalid=0;
-  vector<unsigned long int> nvalid(class_opt.size());
-  vector<unsigned long int> ninvalid(class_opt.size());
-  for(int it=0;it<nvalid.size();++it){
-    nvalid[it]=0;
-    ninvalid[it]=0;
-  }
-
-  ImgReaderGdal imgReader;
-  if(image_opt.empty()){
-    std::cerr << "No image dataset provided (use option -i). Use --help for help information";
-      exit(0);
-  }
-  if(output_opt.empty()){
-    std::cerr << "No output dataset provided (use option -o). Use --help for help information";
-      exit(0);
-  }
-  try{
-    imgReader.open(image_opt[0]);
-  }
-  catch(std::string errorstring){
-    std::cout << errorstring << std::endl;
-    exit(0);
-  }
-
-  //convert start and end band options to vector of band indexes
-  try{
-    if(bstart_opt.size()){
-      if(bend_opt.size()!=bstart_opt.size()){
-	string errorstring="Error: options for start and end band indexes must be provided as pairs, missing end band";
-	throw(errorstring);
-      }
-      band_opt.clear();
-      for(int ipair=0;ipair<bstart_opt.size();++ipair){
-	if(bend_opt[ipair]<=bstart_opt[ipair]){
-	  string errorstring="Error: index for end band must be smaller then start band";
-	  throw(errorstring);
-	}
-	for(int iband=bstart_opt[ipair];iband<=bend_opt[ipair];++iband)
-	  band_opt.push_back(iband);
-      }
-    }
-  }
-  catch(string error){
-    cerr << error << std::endl;
-    exit(1);
-  }
-  
-  int nband=(band_opt.size()) ? band_opt.size() : imgReader.nrOfBand();
-
-  if(fieldname_opt.size()<nband){
-    std::string bandString=fieldname_opt[0];
-    fieldname_opt.clear();
-    fieldname_opt.resize(nband);
-    for(int iband=0;iband<nband;++iband){
-      int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-      ostringstream fs;
-      fs << bandString << theBand;
-      fieldname_opt[iband]=fs.str();
-    }
-  }
-
-  if(verbose_opt[0])
-    std::cout << fieldname_opt << std::endl;
-  
-  if(verbose_opt[0]>1)
-    std::cout << "Number of bands in input image: " << imgReader.nrOfBand() << std::endl;
-
-  OGRFieldType fieldType;
-  OGRFieldType labelType;
-  int ogr_typecount=11;//hard coded for now!
-  if(verbose_opt[0]>1)
-    std::cout << "field and label types can be: ";
-  for(int iType = 0; iType < ogr_typecount; ++iType){
-    if(verbose_opt[0]>1)
-      std::cout << " " << OGRFieldDefn::GetFieldTypeName((OGRFieldType)iType);
-    if( OGRFieldDefn::GetFieldTypeName((OGRFieldType)iType) != NULL
-        && EQUAL(OGRFieldDefn::GetFieldTypeName((OGRFieldType)iType),
-                 ftype_opt[0].c_str()))
-      fieldType=(OGRFieldType) iType;
-    if( OGRFieldDefn::GetFieldTypeName((OGRFieldType)iType) != NULL
-        && EQUAL(OGRFieldDefn::GetFieldTypeName((OGRFieldType)iType),
-                 ltype_opt[0].c_str()))
-      labelType=(OGRFieldType) iType;
-  }
-  switch( fieldType ){
-  case OFTInteger:
-  case OFTReal:
-  case OFTRealList:
-  case OFTString:
-    if(verbose_opt[0]>1)
-      std::cout << std::endl << "field type is: " << OGRFieldDefn::GetFieldTypeName(fieldType) << std::endl;
-    break;
-  default:
-    cerr << "field type " << OGRFieldDefn::GetFieldTypeName(fieldType) << " not supported" << std::endl;
-    exit(0);
-    break;
-  }
-  switch( labelType ){
-  case OFTInteger:
-  case OFTReal:
-  case OFTRealList:
-  case OFTString:
-    if(verbose_opt[0]>1)
-      std::cout << std::endl << "label type is: " << OGRFieldDefn::GetFieldTypeName(labelType) << std::endl;
-    break;
-  default:
-    cerr << "label type " << OGRFieldDefn::GetFieldTypeName(labelType) << " not supported" << std::endl;
-    exit(0);
-    break;
-  }
-  
-  const char* pszMessage;
-  void* pProgressArg=NULL;
-  GDALProgressFunc pfnProgress=GDALTermProgress;
-  double progress=0;
-  srand(time(NULL));
-
-  bool sampleIsRaster=false;
-  bool sampleIsVirtual=false;
-
-  ImgReaderOgr sampleReaderOgr;
-  ImgWriterOgr sampleWriterOgr;
-
-  if(sample_opt.size()){
-    try{
-      sampleReaderOgr.open(sample_opt[0]);
-    }
-    catch(string errorString){
-      sampleIsRaster=true;
-    }
-  }
-  else{
-    try{
-      sampleWriterOgr.open("/vsimem/virtual",ogrformat_opt[0]);
-    }
-    catch(string errorString){
-      cerr << errorString << endl;
-    }
-    char     **papszOptions=NULL;
-    sampleWriterOgr.createLayer("points", imgReader.getProjection(), wkbPoint, papszOptions);
-    sampleIsVirtual=true;
-
-    // string fieldName="label";
-    // string fieldValue="class";
-    // sampleWriterOgr.createField(fieldName,OFTString);
-    if(random_opt.size()){
-      //create simple random sampling within boundary
-      OGRPoint pt;
-      double ulx,uly,lrx,lry;
-      imgReader.getBoundingBox(ulx,uly,lrx,lry);
-      for(unsigned int ipoint=1;ipoint<=random_opt[0];++ipoint){
-	OGRFeature *pointFeature;
-	pointFeature=sampleWriterOgr.createFeature();
-	// pointFeature->SetField(fieldName.c_str(),fieldValue.c_str());
-	double theX=ulx+static_cast<double>(rand())/(RAND_MAX)*(lrx-ulx);
-	double theY=uly-static_cast<double>(rand())/(RAND_MAX)*(uly-lry);
-	pt.setX(theX);
-	pt.setY(theY);
-	pointFeature->SetGeometry( &pt ); 
-	if(sampleWriterOgr.createFeature(pointFeature) != OGRERR_NONE ){
-	  cerr << "Failed to create feature in vector dataset" << endl;
-	  exit( 1 );
-	}
-	OGRFeature::DestroyFeature(pointFeature);
-      }
-    }
-    else if(grid_opt.size()){
-      //create systematic grid of points 
-      OGRPoint pt;
-      double ulx,uly,lrx,lry;
-      imgReader.getBoundingBox(ulx,uly,lrx,lry);
-      unsigned int ipoint=0;
-      for(double theY=uly-grid_opt[0]/2;theY>lry;theY-=grid_opt[0]){
-	for(double theX=ulx+grid_opt[0]/2;theX<lrx;theX+=grid_opt[0]){
-	  if(verbose_opt[0]>1)
-	    cout << "position: " << theX << " " << theY << endl;
-	  OGRFeature *pointFeature;
-	  pointFeature=sampleWriterOgr.createFeature();
-	  // pointFeature->SetField(fieldName.c_str(),fieldValue.c_str());
-	  pt.setX(theX);
-	  pt.setY(theY);
-	  pointFeature->SetGeometry( &pt ); 
-	  if(sampleWriterOgr.createFeature(pointFeature) != OGRERR_NONE ){
-	    cerr << "Failed to create feature in vector dataset" << endl;
-	    exit( 1 );
-	  }
-	  OGRFeature::DestroyFeature(pointFeature);
-	}
-      }
-    }
-    else{
-      std::cerr << "No sample dataset provided (use option -s). Use --help for help information";
-      exit(0);
-    }
-    try{
-      sampleWriterOgr.close();
-      sampleReaderOgr.open("/vsimem/virtual");
-    }
-    catch(string errorString){
-      cerr << errorString << endl;
-    }
-  }
-
-  if(sampleIsRaster){
-    if(class_opt.empty()){
-      // std::cout << "Warning: no classes selected, if a classes must be extracted, set to -1 for all classes using option -c -1" << std::endl;
-      ImgReaderGdal classReader;
-      ImgWriterOgr ogrWriter;
-      assert(sample_opt.size());
-      classReader.open(sample_opt[0]);
-      // vector<int> classBuffer(classReader.nrOfCol());
-      vector<double> classBuffer(classReader.nrOfCol());
-      Vector2d<double> imgBuffer(nband);//[band][col]
-      vector<double> sample(2+nband);//x,y,band values
-      Vector2d<double> writeBuffer;
-      // vector<int> writeBufferClass;
-      vector<double> writeBufferClass;
-      vector<int> selectedClass;
-      Vector2d<double> selectedBuffer;
-      double oldimgrow=-1;
-      int irow=0;
-      int icol=0;
-      if(verbose_opt[0]>1)
-        std::cout << "extracting sample from image..." << std::endl;
-      progress=0;
-      pfnProgress(progress,pszMessage,pProgressArg);
-      for(irow=0;irow<classReader.nrOfRow();++irow){
-        if(irow%down_opt[0])
-          continue;
-        // classReader.readData(classBuffer,GDT_Int32,irow);
-        classReader.readData(classBuffer,GDT_Float64,irow);
-        double x,y;//geo coordinates
-        double iimg,jimg;//image coordinates in img image
-        for(icol=0;icol<classReader.nrOfCol();++icol){
-          if(icol%down_opt[0])
-            continue;
-          // int theClass=0;
-          double theClass=classBuffer[icol];
-          // int processClass=-1;
-          int processClass=0;
-          // if(class_opt[0]<0){//process every class except 0
-          //   if(classBuffer[icol]){
-          //     processClass=0;
-          //     theClass=classBuffer[icol];
-          //   }
-          // }
-          // else{
-          //   for(int iclass=0;iclass<class_opt.size();++iclass){
-          //     if(classBuffer[icol]==class_opt[iclass]){
-          //       processClass=iclass;
-          //       theClass=class_opt[iclass];
-          //     }
-          //   }
-          // }
-          // if(processClass>=0){
-          bool valid=true;
-          if(valid){
-            if(geo_opt[0]){
-              classReader.image2geo(icol,irow,x,y);
-              sample[0]=x;
-              sample[1]=y;
-              if(verbose_opt[0]>1){
-                std::cout.precision(12);
-                std::cout << theClass << " " << x << " " << y << std::endl;
-              }
-              //find col in img
-              imgReader.geo2image(x,y,iimg,jimg);
-              //nearest neighbour
-              jimg=static_cast<int>(jimg);
-              iimg=static_cast<int>(iimg);
-              if(static_cast<int>(iimg)<0||static_cast<int>(iimg)>=imgReader.nrOfCol())
-                continue;
-            }
-            else{
-              iimg=icol;
-              jimg=irow;
-              sample[0]=iimg;
-              sample[1]=jimg;
-            }
-            if(static_cast<int>(jimg)<0||static_cast<int>(jimg)>=imgReader.nrOfRow())
-              continue;
-
-            bool valid=true;
-
-            if(static_cast<int>(jimg)!=static_cast<int>(oldimgrow)){
-              assert(imgBuffer.size()==nband);
-              for(int iband=0;iband<nband;++iband){
-		int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-                imgReader.readData(imgBuffer[iband],GDT_Float64,static_cast<int>(jimg),theBand);
-                assert(imgBuffer[iband].size()==imgReader.nrOfCol());
-		if(srcnodata_opt.size()){
-		  vector<int>::const_iterator bndit=bndnodata_opt.begin();
-		  vector<double>::const_iterator srcit=srcnodata_opt.begin();
-		  while(bndit!=bndnodata_opt.end()&&srcit!=srcnodata_opt.end()){
-		    if((*bndit==theBand)&&(*srcit==imgBuffer[iband][static_cast<int>(iimg)])){
-		      valid=false;
-		      break;
-		    }
-		    else{
-		      ++bndit;
-		      ++srcit;
-		    }
-		  }
-		}
-	      }
-              oldimgrow=jimg;
-	    }
-
-            if(valid){
-              for(int iband=0;iband<imgBuffer.size();++iband){
-                if(imgBuffer[iband].size()!=imgReader.nrOfCol()){
-                  std::cout << "Error in band " << iband << ": " << imgBuffer[iband].size() << "!=" << imgReader.nrOfCol() << std::endl;
-                  assert(imgBuffer[iband].size()==imgReader.nrOfCol());
-                }
-                sample[iband+2]=imgBuffer[iband][static_cast<int>(iimg)];
-              }
-              float theThreshold=(threshold_opt.size()>1)?threshold_opt[processClass]:threshold_opt[0];
-              if(theThreshold>0){//percentual value
-                double p=static_cast<double>(rand())/(RAND_MAX);
-                p*=100.0;
-                if(p>theThreshold)
-		  continue;//do not select for now, go to next column
-              }
-              else if(nvalid.size()>processClass){//absolute value
-                if(nvalid[processClass]>=-theThreshold)
-                  continue;//do not select any more pixels for this class, go to next column to search for other classes
-              }
-	      writeBuffer.push_back(sample);
-	      writeBufferClass.push_back(theClass);
-	      ++ntotalvalid;
-              if(nvalid.size()>processClass)
-                ++(nvalid[processClass]);
-	    }
-            else{
-              ++ntotalinvalid;
-              if(ninvalid.size()>processClass)
-                ++(ninvalid[processClass]);
-            }
-          }//processClass
-        }//icol
-        progress=static_cast<float>(irow+1.0)/classReader.nrOfRow();
-        pfnProgress(progress,pszMessage,pProgressArg);
-      }//irow
-      progress=100;
-      pfnProgress(progress,pszMessage,pProgressArg);
-      if(writeBuffer.size()>0){
-        assert(ntotalvalid==writeBuffer.size());
-        if(verbose_opt[0]>0)
-          std::cout << "creating image sample writer " << output_opt[0] << " with " << writeBuffer.size() << " samples (" << ntotalinvalid << " invalid)" << std::endl;
-        ogrWriter.open(output_opt[0],ogrformat_opt[0]);
-        char     **papszOptions=NULL;
-        ostringstream slayer;
-        slayer << "training data";
-        std::string layername=slayer.str();
-        ogrWriter.createLayer(layername, imgReader.getProjection(), wkbPoint, papszOptions);
-        std::string fieldname="fid";//number of the point
-        ogrWriter.createField(fieldname,OFTInteger);
-        map<std::string,double> pointAttributes;
-        ogrWriter.createField(label_opt[0],labelType);
-        for(int iband=0;iband<nband;++iband){
-	  int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-          ogrWriter.createField(fieldname_opt[iband],fieldType);
-        }
-        std::cout << "writing sample to " << output_opt[0] << "..." << std::endl;
-        progress=0;
-        pfnProgress(progress,pszMessage,pProgressArg);
-        for(int isample=0;isample<writeBuffer.size();++isample){
-          if(verbose_opt[0]>1)
-            std::cout << "writing sample " << isample << std::endl;
-          pointAttributes[label_opt[0]]=writeBufferClass[isample];
-          for(int iband=0;iband<writeBuffer[0].size()-2;++iband){
-	    int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-            // ostringstream fs;
-            // if(nband==1)
-            //   fs << fieldname_opt[0];
-            // else
-            //   fs << fieldname_opt[0] << theBand;
-            // pointAttributes[fs.str()]=writeBuffer[isample][iband+2];
-            pointAttributes[fieldname_opt[iband]]=writeBuffer[isample][iband+2];
-          }
-          if(verbose_opt[0]>1)
-            std::cout << "all bands written" << std::endl;
-          ogrWriter.addPoint(writeBuffer[isample][0],writeBuffer[isample][1],pointAttributes,fieldname,isample);
-          progress=static_cast<float>(isample+1.0)/writeBuffer.size();
-          pfnProgress(progress,pszMessage,pProgressArg);
-        }
-        ogrWriter.close();
-      }
-      else{
-        std::cout << "No data found for any class " << std::endl;
-      }
-      classReader.close();
-      nsample=writeBuffer.size();
-      if(verbose_opt[0])
-        std::cout << "total number of samples written: " << nsample << std::endl;
-    }
-    else{//class_opt.size()!=0
-      assert(class_opt[0]);
-      //   if(class_opt[0]){
-      assert(threshold_opt.size()==1||threshold_opt.size()==class_opt.size());
-      ImgReaderGdal classReader;
-      ImgWriterOgr ogrWriter;
-      if(verbose_opt[0]>1){
-        std::cout << "reading position from sample dataset " << std::endl;
-        std::cout << "class thresholds: " << std::endl;
-        for(int iclass=0;iclass<class_opt.size();++iclass){
-          if(threshold_opt.size()>1)
-            std::cout << class_opt[iclass] << ": " << threshold_opt[iclass] << std::endl;
-          else
-            std::cout << class_opt[iclass] << ": " << threshold_opt[0] << std::endl;
-        }
-      }
-      classReader.open(sample_opt[0]);
-      vector<int> classBuffer(classReader.nrOfCol());
-      // vector<double> classBuffer(classReader.nrOfCol());
-      Vector2d<double> imgBuffer(nband);//[band][col]
-      vector<double> sample(2+nband);//x,y,band values
-      Vector2d<double> writeBuffer;
-      vector<int> writeBufferClass;
-      // vector<double> writeBufferClass;
-      vector<int> selectedClass;
-      Vector2d<double> selectedBuffer;
-      double oldimgrow=-1;
-      int irow=0;
-      int icol=0;
-      if(verbose_opt[0]>1)
-        std::cout << "extracting sample from image..." << std::endl;
-      progress=0;
-      pfnProgress(progress,pszMessage,pProgressArg);
-      for(irow=0;irow<classReader.nrOfRow();++irow){
-        if(irow%down_opt[0])
-          continue;
-        classReader.readData(classBuffer,GDT_Int32,irow);
-        // classReader.readData(classBuffer,GDT_Float64,irow);
-        double x,y;//geo coordinates
-        double iimg,jimg;//image coordinates in img image
-        for(icol=0;icol<classReader.nrOfCol();++icol){
-          if(icol%down_opt[0])
-            continue;
-          int theClass=0;
-          // double theClass=0;
-          int processClass=-1;
-          if(class_opt.empty()){//process every class
-            if(classBuffer[icol]){
-              processClass=0;
-              theClass=classBuffer[icol];
-            }
-          }
-          else{
-            for(int iclass=0;iclass<class_opt.size();++iclass){
-              if(classBuffer[icol]==class_opt[iclass]){
-                processClass=iclass;
-                theClass=class_opt[iclass];
-              }
-            }
-          }
-          if(processClass>=0){
-            //         if(classBuffer[icol]==class_opt[0]){
-            if(geo_opt[0]){
-              classReader.image2geo(icol,irow,x,y);
-              sample[0]=x;
-              sample[1]=y;
-              if(verbose_opt[0]>1){
-                std::cout.precision(12);
-                std::cout << theClass << " " << x << " " << y << std::endl;
-              }
-              //find col in img
-              imgReader.geo2image(x,y,iimg,jimg);
-              //nearest neighbour
-              jimg=static_cast<int>(jimg);
-              iimg=static_cast<int>(iimg);
-              if(static_cast<int>(iimg)<0||static_cast<int>(iimg)>=imgReader.nrOfCol())
-                continue;
-            }
-            else{
-              iimg=icol;
-              jimg=irow;
-              sample[0]=iimg;
-              sample[1]=jimg;
-            }
-            if(static_cast<int>(jimg)<0||static_cast<int>(jimg)>=imgReader.nrOfRow())
-              continue;
-
-            bool valid=true;
-
-            if(static_cast<int>(jimg)!=static_cast<int>(oldimgrow)){
-              assert(imgBuffer.size()==nband);
-              for(int iband=0;iband<nband;++iband){
-		int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-                imgReader.readData(imgBuffer[iband],GDT_Float64,static_cast<int>(jimg),theBand);
-                assert(imgBuffer[iband].size()==imgReader.nrOfCol());
-
-		if(srcnodata_opt.size()){
-		  vector<int>::const_iterator bndit=bndnodata_opt.begin();
-		  vector<double>::const_iterator srcit=srcnodata_opt.begin();
-		  while(bndit!=bndnodata_opt.end()&&srcit!=srcnodata_opt.end()){
-		    if((*bndit==theBand)&&(*srcit==imgBuffer[iband][static_cast<int>(iimg)])){
-		      valid=false;
-		      break;
-		    }
-		    else{
-		      ++bndit;
-		      ++srcit;
-		    }
-		  }
-		}
-              }
-              oldimgrow=jimg;
-            }
-            if(valid){
-              for(int iband=0;iband<imgBuffer.size();++iband){
-                if(imgBuffer[iband].size()!=imgReader.nrOfCol()){
-                  std::cout << "Error in band " << iband << ": " << imgBuffer[iband].size() << "!=" << imgReader.nrOfCol() << std::endl;
-                  assert(imgBuffer[iband].size()==imgReader.nrOfCol());
-                }
-                sample[iband+2]=imgBuffer[iband][static_cast<int>(iimg)];
-              }
-              float theThreshold=(threshold_opt.size()>1)?threshold_opt[processClass]:threshold_opt[0];
-              if(theThreshold>0){//percentual value
-                double p=static_cast<double>(rand())/(RAND_MAX);
-                p*=100.0;
-                if(p>theThreshold)
-                  continue;//do not select for now, go to next column
-              }
-              else if(nvalid.size()>processClass){//absolute value
-                if(nvalid[processClass]>=-theThreshold)
-                  continue;//do not select any more pixels for this class, go to next column to search for other classes
-              }
-              writeBuffer.push_back(sample);
-              //             writeBufferClass.push_back(class_opt[processClass]);
-              writeBufferClass.push_back(theClass);
-              ++ntotalvalid;
-              if(nvalid.size()>processClass)
-                ++(nvalid[processClass]);
-            }
-            else{
-              ++ntotalinvalid;
-              if(ninvalid.size()>processClass)
-                ++(ninvalid[processClass]);
-            }
-          }//processClass
-        }//icol
-        progress=static_cast<float>(irow+1.0)/classReader.nrOfRow();
-        pfnProgress(progress,pszMessage,pProgressArg);
-      }//irow
-      if(writeBuffer.size()>0){
-        assert(ntotalvalid==writeBuffer.size());
-        if(verbose_opt[0]>0)
-          std::cout << "creating image sample writer " << output_opt[0] << " with " << writeBuffer.size() << " samples (" << ntotalinvalid << " invalid)" << std::endl;
-        ogrWriter.open(output_opt[0],ogrformat_opt[0]);
-        char     **papszOptions=NULL;
-        ostringstream slayer;
-        slayer << "training data";
-        std::string layername=slayer.str();
-        ogrWriter.createLayer(layername, imgReader.getProjection(), wkbPoint, papszOptions);
-        std::string fieldname="fid";//number of the point
-        ogrWriter.createField(fieldname,OFTInteger);
-        map<std::string,double> pointAttributes;
-        //         ogrWriter.createField(label_opt[0],OFTInteger);
-        ogrWriter.createField(label_opt[0],labelType);
-        for(int iband=0;iband<nband;++iband){
-	  int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-          // ostringstream fs;
-          // if(nband==1)
-          //   fs << fieldname_opt[0];
-          // else
-          //   fs << fieldname_opt[0] << theBand;
-          // ogrWriter.createField(fs.str(),fieldType);
-          ogrWriter.createField(fieldname_opt[iband],fieldType);
-        }
-        pfnProgress(progress,pszMessage,pProgressArg);
-        std::cout << "writing sample to " << output_opt[0] << "..." << std::endl;
-        progress=0;
-        pfnProgress(progress,pszMessage,pProgressArg);
-        for(int isample=0;isample<writeBuffer.size();++isample){
-          pointAttributes[label_opt[0]]=writeBufferClass[isample];
-          for(int iband=0;iband<writeBuffer[0].size()-2;++iband){
-	    int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-            // ostringstream fs;
-            // if(nband==1)
-            //   fs << fieldname_opt[0];
-            // else
-            //   fs << fieldname_opt[0] << theBand;
-            // pointAttributes[fs.str()]=writeBuffer[isample][iband+2];
-            pointAttributes[fieldname_opt[iband]]=writeBuffer[isample][iband+2];
-          }
-          ogrWriter.addPoint(writeBuffer[isample][0],writeBuffer[isample][1],pointAttributes,fieldname,isample);
-          progress=static_cast<float>(isample+1.0)/writeBuffer.size();
-          pfnProgress(progress,pszMessage,pProgressArg);
-        }
-        ogrWriter.close();
-      }
-      else{
-        std::cout << "No data found for any class " << std::endl;
-      }
-      classReader.close();
-      nsample=writeBuffer.size();
-      if(verbose_opt[0]){
-        std::cout << "total number of samples written: " << nsample << std::endl;
-        if(nvalid.size()==class_opt.size()){
-          for(int iclass=0;iclass<class_opt.size();++iclass)
-            std::cout << "class " << class_opt[iclass] << " has " << nvalid[iclass] << " samples" << std::endl;
-        }
-      }
-    }
-  }
-  else{//vector dataset
-    if(verbose_opt[0]>1)
-      std::cout << "creating image sample writer " << output_opt[0] << std::endl;
-    ImgWriterOgr ogrWriter;
-    ImgWriterOgr ogrTestWriter;
-    double e_ulx;
-    double e_uly;
-    double e_lrx;
-    double e_lry;
-    try{
-      sampleReaderOgr.getExtent(e_ulx,e_uly,e_lrx,e_lry);
-      bool hasCoverage=((e_ulx < imgReader.getLrx())&&(e_lrx > imgReader.getUlx())&&(e_lry < imgReader.getUly())&&(e_uly > imgReader.getLry()));
-      if(!hasCoverage){
-	ostringstream ess;
-	ess << "No coverage in " << image_opt[0] << " for any layer in " << sample_opt[0] << endl;
-	throw(ess.str());
-      }
-      ogrWriter.open(output_opt[0],ogrformat_opt[0]);
-      if(test_opt.size()){
-	if(verbose_opt[0]>1)
-	  std::cout << "creating image test writer " << test_opt[0] << std::endl;
-	ogrTestWriter.open(test_opt[0],ogrformat_opt[0]);
-      }
-
-      //if class_opt not set, get number of classes from input image for these rules
-      switch(ruleMap[rule_opt[0]]){
-      case(rule::proportion):
-      case(rule::count):
-      case(rule::custom):
-      case(rule::mode):{
-	if(class_opt.empty()){
-	  int theBand=0;
-	  double minValue=0;
-	  double maxValue=0;
-	  if(band_opt.size())
-	    theBand=band_opt[0];
-	  imgReader.getMinMax(minValue,maxValue,theBand);
-	  int nclass=maxValue-minValue+1;
-	  if(nclass<0&&nclass<256){
-	    string errorString="Could not automatically define classes, please set class option";
-	    throw(errorString);
-	  }
-	  for(int iclass=minValue;iclass<=maxValue;++iclass)
-	    class_opt.push_back(iclass);
-	}
-	break;
-      }
-      }
-    }
-    catch(string errorString){
-      cerr << errorString << endl;
-      exit(1);
-    }
-    
-    //support multiple layers
-    int nlayerRead=sampleReaderOgr.getDataSource()->GetLayerCount();
-    int ilayerWrite=0;
-    unsigned long int ntotalvalid=0;
-
-    if(verbose_opt[0])
-      std::cout << "number of layers: " << nlayerRead << endl;
-
-    for(int ilayer=0;ilayer<nlayerRead;++ilayer){
-      OGRLayer *readLayer=sampleReaderOgr.getLayer(ilayer);
-      string currentLayername=readLayer->GetName();
-      int layerIndex=ilayer;
-      if(layer_opt.size()){
-	vector<string>::const_iterator it=find(layer_opt.begin(),layer_opt.end(),currentLayername);
-	if(it==layer_opt.end())
-	  continue;
-	else
-	  layerIndex=it-layer_opt.begin();
-      }
-      sampleReaderOgr.getExtent(e_ulx,e_uly,e_lrx,e_lry,ilayer);
-      bool hasCoverage=((e_ulx < imgReader.getLrx())&&(e_lrx > imgReader.getUlx())&&(e_lry < imgReader.getUly())&&(e_uly > imgReader.getLry()));
-      if(!hasCoverage)
-	continue;
-      float theThreshold=(threshold_opt.size()==layer_opt.size())? threshold_opt[layerIndex]: threshold_opt[0];
-      cout << "processing layer " << currentLayername << endl;
-      
-      readLayer->ResetReading();
-      OGRLayer *writeLayer;
-      OGRLayer *writeTestLayer;
-
-      if(polygon_opt[0]){
-	if(verbose_opt[0])
-	  std::cout << "create polygons" << std::endl;
-	char **papszOptions=NULL;
-	writeLayer=ogrWriter.createLayer(readLayer->GetName(), imgReader.getProjection(), wkbPolygon, papszOptions);
-	if(test_opt.size())
-	  writeTestLayer=ogrTestWriter.createLayer(readLayer->GetName(), imgReader.getProjection(), wkbPolygon, papszOptions);
-      }
-      else{
-	if(verbose_opt[0])
-	  std::cout << "create points in layer " << readLayer->GetName() << std::endl;
-	char **papszOptions=NULL;
-
-	writeLayer=ogrWriter.createLayer(readLayer->GetName(), imgReader.getProjection(), wkbPoint, papszOptions);
-	if(test_opt.size()){
-	  char **papszOptions=NULL;
-	  writeTestLayer=ogrTestWriter.createLayer(readLayer->GetName(), imgReader.getProjection(), wkbPoint, papszOptions);
-	}
-      }
-      if(verbose_opt[0])
-	std::cout << "copy fields from layer " << ilayer << std::flush << std::endl;
-      ogrWriter.copyFields(sampleReaderOgr,ilayer,ilayerWrite);
-
-      if(test_opt.size()){
-	if(verbose_opt[0])
-	  std::cout << "copy fields test writer" << std::flush << std::endl;
-	ogrTestWriter.copyFields(sampleReaderOgr,ilayer,ilayerWrite);
-      }
-      // vector<std::string> fieldnames;
-      // if(verbose_opt[0])
-      // 	std::cout << "get fields" << std::flush << std::endl;
-      // sampleReaderOgr.getFields(fieldnames);
-      // assert(fieldnames.size()==ogrWriter.getFieldCount(ilayerWrite));
-      // map<std::string,double> pointAttributes;
-
-      if(class_opt.size()){
-	switch(ruleMap[rule_opt[0]]){
-	case(rule::proportion)://proportion for each class
-	case(rule::count):{//count for each class
-	  for(int iclass=0;iclass<class_opt.size();++iclass){
-	    ostringstream cs;
-	    cs << class_opt[iclass];
-	    ogrWriter.createField(cs.str(),fieldType,ilayerWrite);
-	  }
-	  break;
-	}
-	case(rule::custom):
-	case(rule::mode):
-	  ogrWriter.createField(label_opt[0],fieldType,ilayerWrite);
-	if(test_opt.size())
-	  ogrTestWriter.createField(label_opt[0],fieldType,ilayerWrite);
-	break;
-	}
-      }
-      else{
-	for(int iband=0;iband<nband;++iband){
-	  int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-	  ostringstream fs;
-	  fs << fieldname_opt[iband];
-	  if(verbose_opt[0]>1)
-	    std::cout << "creating field " << fs.str() << std::endl;
-
-	  ogrWriter.createField(fs.str(),fieldType,ilayerWrite);
-	  if(test_opt.size())
-	    ogrTestWriter.createField(fs.str(),fieldType,ilayerWrite);
-	}
-      }
-      OGRFeature *readFeature;
-      unsigned long int ifeature=0;
-      unsigned long int nfeatureLayer=sampleReaderOgr.getFeatureCount(ilayer);
-      unsigned long int ntotalvalidLayer=0;
-      progress=0;
-      pfnProgress(progress,pszMessage,pProgressArg);
-      while( (readFeature = readLayer->GetNextFeature()) != NULL ){
-	bool validFeature=false;
-	bool writeTest=false;//write this feature to test_opt[0] instead of output_opt
-	if(verbose_opt[0]>0)
-	  std::cout << "reading feature " << readFeature->GetFID() << std::endl;
-	if(theThreshold>0){//percentual value
-	  // if(!test_opt.size()&&ntotalvalid>threshold_opt[0]/100.0*nfeature)
-	  //   break;
-	  double p=static_cast<double>(rand())/(RAND_MAX);
-	  p*=100.0;
-	  if(p>theThreshold){
-	    if(test_opt.size())
-	      writeTest=true;
-	    else
-	      continue;//do not select for now, go to next feature
-	  }
-	}
-	else{//absolute value
-	  if(threshold_opt.size()==layer_opt.size()){
-	    if(ntotalvalidLayer>=-theThreshold){
-	      if(test_opt.size())
-		writeTest=true;
-	      else
-		continue;//do not select any more pixels, go to next column feature
-	    }
-	  }
-	  else{
-	    if(ntotalvalid>=-theThreshold){
-	      if(test_opt.size())
-		writeTest=true;
-	      else
-		continue;//do not select any more pixels, go to next column feature
-	    }
-	  }
-	}
-	if(verbose_opt[0]>0)
-	  std::cout << "processing feature " << readFeature->GetFID() << std::endl;
-	//get x and y from readFeature
-	double x,y;
-	OGRGeometry *poGeometry;
-	poGeometry = readFeature->GetGeometryRef();
-	assert(poGeometry!=NULL);
-	try{
-	  if(wkbFlatten(poGeometry->getGeometryType()) == wkbPoint ){
-
-	    if(!buffer_opt.size()){
-	      switch(ruleMap[rule_opt[0]]){
-	      case(rule::point):
-	      case(rule::centroid):
-		buffer_opt.push_back(1);//default
-	      break;
-	      default:
-		buffer_opt.push_back(3);//default
-	      }
-	    }
-
-	    if(verbose_opt[0]>1)
-	      std::cout << "boundary: " << buffer_opt[0] << std::endl;
-
-	    OGRPolygon writePolygon;
-	    OGRLinearRing writeRing;
-	    OGRPoint writeCentroidPoint;
-	    OGRFeature *writePolygonFeature;
-	    OGRFeature *writeCentroidFeature;
-
-	    OGRPoint *poPoint = (OGRPoint *) poGeometry;
-	    writeCentroidPoint=*poPoint;
-
-	    x=poPoint->getX();
-	    y=poPoint->getY();
-
-	    double i_centre,j_centre;
-	    if(geo_opt[0])
-	      imgReader.geo2image(x,y,i_centre,j_centre);
-	    else{
-	      i_centre=x;
-	      j_centre=y;
-	    }
-	    //nearest neighbour
-	    j_centre=static_cast<int>(j_centre);
-	    i_centre=static_cast<int>(i_centre);
-
-	    double uli=i_centre-buffer_opt[0]/2;
-	    double ulj=j_centre-buffer_opt[0]/2;
-	    double lri=i_centre+buffer_opt[0]/2;
-	    double lrj=j_centre+buffer_opt[0]/2;
-
-	    //nearest neighbour
-	    ulj=static_cast<int>(ulj);
-	    uli=static_cast<int>(uli);
-	    lrj=static_cast<int>(lrj);
-	    lri=static_cast<int>(lri);
-
-	    // if((polygon_opt[0]&&ruleMap[rule_opt[0]]==rule::point)||(ruleMap[rule_opt[0]]==rule::centroid)){
-	    //   uli=i_centre;
-	    //   ulj=j_centre;
-	    //   lri=i_centre;
-	    //   lrj=j_centre;
-	    // }
-
-	    //check if j is out of bounds
-	    if(static_cast<int>(ulj)<0||static_cast<int>(ulj)>=imgReader.nrOfRow())
-	      continue;
-	    //check if j is out of bounds
-	    if(static_cast<int>(uli)<0||static_cast<int>(lri)>=imgReader.nrOfCol())
-	      continue;
-
-	    OGRPoint ulPoint,urPoint,llPoint,lrPoint;
-	    double ulx,uly;
-	    double urx,ury;
-
-	    if(polygon_opt[0]){
-	      if(disc_opt[0]){
-		double gt[6];// { 444720, 30, 0, 3751320, 0, -30 };
-		double radius=buffer_opt[0]/2.0*sqrt(imgReader.getDeltaX()*imgReader.getDeltaY());
-		unsigned short nstep = 25;
-		for(int i=0;i<nstep;++i){
-		  OGRPoint aPoint;
-		  aPoint.setX(x+imgReader.getDeltaX()/2.0+radius*cos(2*PI*i/nstep));
-		  aPoint.setY(y-imgReader.getDeltaY()/2.0+radius*sin(2*PI*i/nstep));
-		  writeRing.addPoint(&aPoint);
-		}
-		writePolygon.addRing(&writeRing);
-		writePolygon.closeRings();
-	      }
-	      else{
-		double llx,lly;
-		double lrx,lry;
-		imgReader.image2geo(uli,ulj,ulx,uly);
-		imgReader.image2geo(lri,lrj,lrx,lry);
-		ulPoint.setX(ulx-imgReader.getDeltaX()/2.0);
-		ulPoint.setY(uly+imgReader.getDeltaY()/2.0);
-		lrPoint.setX(lrx+imgReader.getDeltaX()/2.0);
-		lrPoint.setY(lry-imgReader.getDeltaY()/2.0);
-		urPoint.setX(lrx+imgReader.getDeltaX()/2.0);
-		urPoint.setY(uly+imgReader.getDeltaY()/2.0);
-		llPoint.setX(ulx-imgReader.getDeltaX()/2.0);
-		llPoint.setY(lry-imgReader.getDeltaY()/2.0);
-
-		writeRing.addPoint(&ulPoint);
-		writeRing.addPoint(&urPoint);
-		writeRing.addPoint(&lrPoint);
-		writeRing.addPoint(&llPoint);
-		writePolygon.addRing(&writeRing);
-		writePolygon.closeRings();
-	      }
-	    }
-
-	    if((polygon_opt[0]&&ruleMap[rule_opt[0]]==rule::point)||(ruleMap[rule_opt[0]]==rule::centroid)){
-	      uli=i_centre;
-	      ulj=j_centre;
-	      lri=i_centre;
-	      lrj=j_centre;
-	    }
-
-	    int nPointWindow=0;//similar to nPointPolygon for polygons
-	    if(polygon_opt[0]){
-	      if(writeTest)
-		writePolygonFeature = OGRFeature::CreateFeature(writeTestLayer->GetLayerDefn());
-	      else
-		writePolygonFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn());
-	    }
-	    else if(ruleMap[rule_opt[0]]!=rule::point){
-	      if(writeTest)
-		writeCentroidFeature = OGRFeature::CreateFeature(writeTestLayer->GetLayerDefn());
-	      else
-		writeCentroidFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn());
-	    }
-	    Vector2d<double> windowValues;
-	    vector<double> windowClassValues;
-
-	    if(class_opt.size()){
-	      windowClassValues.resize(class_opt.size());
-	      //initialize
-	      for(int iclass=0;iclass<class_opt.size();++iclass)
-		windowClassValues[iclass]=0;
-	    }
-	    else
-	      windowValues.resize(nband);
-	    vector< Vector2d<double> > readValues(nband);
-	    for(int iband=0;iband<nband;++iband){
-	      int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-	      imgReader.readDataBlock(readValues[iband],GDT_Float64,uli,lri,ulj,lrj,theBand);
-	    }
-
-	    OGRPoint thePoint;
-	    for(int j=ulj;j<=lrj;++j){
-	      for(int i=uli;i<=lri;++i){
-		//check if within raster image
-		if(i<0||i>=imgReader.nrOfCol())
-		  continue;
-		if(j<0||j>=imgReader.nrOfRow())
-		  continue;
-		//no need to check if point is on surface
-		double theX=0;
-		double theY=0;
-		imgReader.image2geo(i,j,theX,theY);
-		thePoint.setX(theX);
-		thePoint.setY(theY);
-
-		if(disc_opt[0]&&buffer_opt[0]>1){
-		  double radius=buffer_opt[0]/2.0*sqrt(imgReader.getDeltaX()*imgReader.getDeltaY());
-		  if((theX-x)*(theX-x)+(theY-y)*(theY-y)>radius*radius)
-		    continue;
-		}
-		bool valid=true;
-
-		if(srcnodata_opt.size()){
-		  for(int vband=0;vband<bndnodata_opt.size();++vband){
-		    double value=((readValues[bndnodata_opt[vband]])[j-ulj])[i-uli];
-		    if(value==srcnodata_opt[vband]){
-		      valid=false;
-		      break;
-		    }
-		  }
-		}
-
-		if(!valid)
-		  continue;
-		else
-		  validFeature=true;
-
-		// writeRing.addPoint(&thePoint);//already done
-
-		++nPointWindow;
-		OGRFeature *writePointFeature;
-		if(!polygon_opt[0]){
-		  //create feature
-		  if(ruleMap[rule_opt[0]]==rule::point){//do not create in case of mean, stdev, median, sum or centroid (only create point at centroid)
-		    if(writeTest)
-		      writePointFeature = OGRFeature::CreateFeature(writeTestLayer->GetLayerDefn());
-		    else
-		      writePointFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn());
-		    if(verbose_opt[0]>1)
-		      std::cout << "copying fields from polygons " << std::endl;
-		    //Geometry of readFeature and writePointFeature are both wkbPoint
-		    //attributes AND geometry are copied with SetFrom
-		    //test
-		    // writePointFeature->SetGeometry(&thePoint);
-		    if(writePointFeature->SetFrom(readFeature)!= OGRERR_NONE)
-		      cerr << "writing feature failed" << std::endl;
-
-		    assert(wkbFlatten(writePointFeature->GetGeometryRef()->getGeometryType()) == wkbPoint);
-		    // OGRGeometry *updateGeometry;
-		    // updateGeometry = writePointFeature->GetGeometryRef();
-		    // OGRPoint *poPoint = (OGRPoint *) updateGeometry;
-		    if(verbose_opt[0]>1)
-		      std::cout << "write feature has " << writePointFeature->GetFieldCount() << " fields" << std::endl;
-		  }
-		}
-		if(class_opt.size()){
-		  short value=((readValues[0])[j-ulj])[i-uli];
-		  for(int iclass=0;iclass<class_opt.size();++iclass){
-		    if(value==class_opt[iclass])
-		      windowClassValues[iclass]+=1;
-		  }
-		}
-		else{
-		  for(int iband=0;iband<nband;++iband){
-		    int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-		    assert(j-ulj>=0);
-		    assert(j-ulj<readValues[iband].size());
-		    assert(i-uli>=0);
-		    assert(i-uli<((readValues[iband])[j-ulj]).size());
-		    double value=((readValues[iband])[j-ulj])[i-uli];
-		    // imgReader.readData(value,GDT_Float64,i,j,theBand);
-		    if(verbose_opt[0]>1)
-		      std::cout << ": " << value << std::endl;
-		    if(polygon_opt[0]||ruleMap[rule_opt[0]]!=rule::point){
-		      windowValues[iband].push_back(value);
-		    }
-		    else{
-		      try{
-			if(verbose_opt[0]>1)
-			  std::cout << "set field " << fieldname_opt[iband] << " to " << value << std::endl;
-			switch( fieldType ){
-			case OFTInteger:
-			case OFTReal:
-			  writePointFeature->SetField(fieldname_opt[iband].c_str(),value);
-			  break;
-			case OFTString:
-			  writePointFeature->SetField(fieldname_opt[iband].c_str(),type2string<double>(value).c_str());
-			  break;
-			default://not supported
-			  std::string errorString="field type not supported";
-			  throw(errorString);
-			  break;
-			}
-		      }
-		      catch(std::string e){
-			std::cout << e << std::endl;
-			exit(1);
-		      }
-		    }//else
-		  }//iband
-		}//else (class_opt.size())
-		if(!polygon_opt[0]){
-		  if(ruleMap[rule_opt[0]]==rule::point){//do not create in case of mean or median value (only at centroid)
-		    //write feature
-		    if(verbose_opt[0]>1)
-		      std::cout << "creating point feature" << std::endl;
-		    if(writeTest){
-		      if(writeTestLayer->CreateFeature( writePointFeature ) != OGRERR_NONE ){
-			std::string errorString="Failed to create feature in test ogr vector dataset";
-			throw(errorString);
-		      }
-		    }
-		    else{
-		      if(writeLayer->CreateFeature( writePointFeature ) != OGRERR_NONE ){
-			std::string errorString="Failed to create feature in ogr vector dataset";
-			throw(errorString);
-		      }
-		    }
- 		    //destroy feature
-		    OGRFeature::DestroyFeature( writePointFeature );
-		    ++ntotalvalid;
-		    ++ntotalvalidLayer;
-		  }
-		}
-	      }
-	    }
-	    if(polygon_opt[0]||ruleMap[rule_opt[0]]!=rule::point){
-	      //do not create if no points found within polygon
-	      if(!nPointWindow){
-		if(verbose_opt[0])
-		  cout << "no points found in window, continuing" << endl;
-		continue;
-	      }
-	      //add ring to polygon
-	      if(polygon_opt[0]){
-		// writePolygon.addRing(&writeRing);//already done
-		// writePolygon.closeRings();//already done
-		//write geometry of writePolygon
-		//test
-		// writePolygonFeature->SetGeometry(&writePolygon);
-		if(writePolygonFeature->SetFrom(readFeature)!= OGRERR_NONE)
-		  cerr << "writing feature failed" << std::endl;
-		//test
-		writePolygonFeature->SetGeometry(&writePolygon);
-		assert(wkbFlatten(writePolygonFeature->GetGeometryRef()->getGeometryType()) == wkbPolygon);
-
-		if(verbose_opt[0]>1)
-		  std::cout << "copying new fields write polygon " << std::endl;
-		if(verbose_opt[0]>1)
-		  std::cout << "write feature has " << writePolygonFeature->GetFieldCount() << " fields" << std::endl;
-		//write polygon feature
-	      }
-	      else{//write value of polygon to centroid point
-		//create feature
-		if(verbose_opt[0]>1)
-		  std::cout << "copying fields from polygons " << std::endl;
-		//test
-		//Geometry of readFeature and writeCentroidFeature are both wkbPoint
-		//attributes AND geometry are copied with SetFrom
-		// writeCentroidFeature->SetGeometry(&writeCentroidPoint);
-		if(writeCentroidFeature->SetFrom(readFeature)!= OGRERR_NONE)
-		  cerr << "writing feature failed" << std::endl;
-		assert(wkbFlatten(writeCentroidFeature->GetGeometryRef()->getGeometryType()) == wkbPoint);
-		//test
-		// OGRGeometry *updateGeometry;
-		// updateGeometry = writeCentroidFeature->GetGeometryRef();
-		// assert(wkbFlatten(updateGeometry->getGeometryType()) == wkbPoint );
-		if(verbose_opt[0]>1)
-		  std::cout << "write feature has " << writeCentroidFeature->GetFieldCount() << " fields" << std::endl;
-	      }
-	      if(class_opt.empty()){
-		if(ruleMap[rule_opt[0]]==rule::point){//value at centroid of polygon
-		  if(verbose_opt[0])
-		    std::cout << "number of points in window: " << nPointWindow << std::endl;
-		  for(int index=0;index<windowValues.size();++index){
-		    //test
-		    if(windowValues[index].size()!=1){
-		      cerr << "Error: windowValues[index].size()=" << windowValues[index].size() << endl;
-		      assert(windowValues[index].size()==1);
-		    }
-		    double theValue=windowValues[index].back();
-
-		    if(verbose_opt[0])
-		      std::cout << "number of points in window: " << nPointWindow << std::endl;
-		    int theBand=(band_opt.size()) ? band_opt[index] : index;
-
-		    try{
-		      if(verbose_opt[0]>1)
-			std::cout << "set field " << fieldname_opt[index] << " to " << theValue << std::endl;
-		      switch( fieldType ){
-		      case OFTInteger:
-		      case OFTReal:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			break;
-		      case OFTString:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			break;
-		      default://not supported
-			std::string errorString="field type not supported";
-			throw(errorString);
-			break;
-		      }
-		    }
-		    catch(std::string e){
-		      std::cout << e << std::endl;
-		      exit(1);
-		    }
-		  }
-		}
-		else{//ruleMap[rule_opt[0]] is not rule::point
-		  double theValue=0;
-		  for(int index=0;index<windowValues.size();++index){
-		    try{
-		      if(ruleMap[rule_opt[0]]==rule::mean)
-			theValue=stat.mean(windowValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::stdev)
-			theValue=sqrt(stat.var(windowValues[index]));
-		      else if(ruleMap[rule_opt[0]]==rule::median)
-			theValue=stat.median(windowValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::percentile)
-			theValue=stat.percentile(windowValues[index],windowValues[index].begin(),windowValues[index].end(),percentile_opt[0]);
-		      else if(ruleMap[rule_opt[0]]==rule::sum)
-			theValue=stat.sum(windowValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::max)
-			theValue=stat.mymax(windowValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::min)
-			theValue=stat.mymin(windowValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::centroid){
-			if(verbose_opt[0])
-			  std::cout << "number of points in polygon: " << nPointWindow << std::endl;
-			assert(nPointWindow<=1);
-			assert(nPointWindow==windowValues[index].size());
-			theValue=windowValues[index].back();
-		      }
-		      else{
-			std::string errorString="rule not supported";
-			throw(errorString);
-		      }
-		      if(verbose_opt[0]>1)
-			std::cout << "set field " << fieldname_opt[index] << " to " << theValue << std::endl;
-		      switch( fieldType ){
-		      case OFTInteger:
-		      case OFTReal:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			break;
-		      case OFTString:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			break;
-		      default://not supported
-			std::string errorString="field type not supported";
-			throw(errorString);
-			break;
-		      }
-		    }
-		    catch(std::string e){
-		      std::cout << e << std::endl;
-		      exit(1);
-		    }
-		  }
-		}
-	      }
-	      else{//class_opt is set
-		if(ruleMap[rule_opt[0]]==rule::proportion||ruleMap[rule_opt[0]]==rule::count){
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointWindow << std::endl;
-		  if(ruleMap[rule_opt[0]]==rule::proportion)
-		    stat.normalize_pct(windowClassValues);
-		  for(int index=0;index<windowClassValues.size();++index){
-		    double theValue=windowClassValues[index];
-		    ostringstream fs;
-		    fs << class_opt[index];
-		    if(polygon_opt[0])
-		      writePolygonFeature->SetField(fs.str().c_str(),static_cast<int>(theValue));
-		    else
-		      writeCentroidFeature->SetField(fs.str().c_str(),static_cast<int>(theValue));
-		  }
-		}
-		else if(ruleMap[rule_opt[0]]==rule::custom){
-		  assert(polygon_opt[0]);//not implemented for points
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointWindow << std::endl;
-		  stat.normalize_pct(windowClassValues);
-		  assert(windowClassValues.size()==2);//11:broadleaved, 12:coniferous
-		  if(windowClassValues[0]>=75)//broadleaved
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(11));
-		  else if(windowClassValues[1]>=75)//coniferous
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(12));
-		  else if(windowClassValues[0]>25&&windowClassValues[1]>25)//mixed
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(13));
-		  else{
-		    if(verbose_opt[0]){
-		      std::cout << "No valid value in windowClassValues..." << std::endl;
-		      for(int index=0;index<windowClassValues.size();++index){
-			double theValue=windowClassValues[index];
-			std::cout << theValue << " ";
-		      }
-		      std::cout << std::endl;
-		    }
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(20));
-		  }
-		}
-		else if(ruleMap[rule_opt[0]]==rule::mode){
-		  //maximum votes in polygon
-		  if(verbose_opt[0])
-		    std::cout << "number of points in window: " << nPointWindow << std::endl;
-		  //search for class with maximum votes
-		  int maxClass=stat.mymin(class_opt);
-		  vector<double>::iterator maxit;
-		  maxit=stat.mymax(windowClassValues,windowClassValues.begin(),windowClassValues.end());
-		  int maxIndex=distance(windowClassValues.begin(),maxit);
-		  maxClass=class_opt[maxIndex];
-		  if(verbose_opt[0]>0)
-		    std::cout << "maxClass: " << maxClass << std::endl;
-		  if(polygon_opt[0])
-		    writePolygonFeature->SetField(label_opt[0].c_str(),maxClass);
-		  else
-		    writeCentroidFeature->SetField(label_opt[0].c_str(),maxClass);
-		}
-	      }
-	      if(polygon_opt[0]){
-		if(verbose_opt[0]>1)
-		  std::cout << "creating polygon feature" << std::endl;
-		if(writeTest){
-		  if(writeTestLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create polygon feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		else{
-		  if(writeLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create polygon feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		OGRFeature::DestroyFeature( writePolygonFeature );
-		++ntotalvalid;
-		++ntotalvalidLayer;
-	      }
-	      else{
-		if(verbose_opt[0]>1)
-		  std::cout << "creating point feature in centroid" << std::endl;
-		if(writeTest){
-		  if(writeTestLayer->CreateFeature( writeCentroidFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create point feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		else{
-		  //test
-		  assert(validFeature);
-		  if(writeLayer->CreateFeature( writeCentroidFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create point feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		OGRFeature::DestroyFeature( writeCentroidFeature );
-		++ntotalvalid;
-		++ntotalvalidLayer;
-	      }
-	    }
-	  }//if wkbPoint
-	  else if(wkbFlatten(poGeometry->getGeometryType()) == wkbPolygon){
-            
-	    OGRPolygon readPolygon = *((OGRPolygon *) poGeometry);
-	    OGRPolygon writePolygon;
-	    OGRLinearRing writeRing;
-	    OGRPoint writeCentroidPoint;
-	    OGRFeature *writePolygonFeature;
-	    OGRFeature *writeCentroidFeature;
-
-	    readPolygon.closeRings();
-
-	    if(verbose_opt[0]>1)
-	      std::cout << "get point on polygon" << std::endl;
-	    if(ruleMap[rule_opt[0]]==rule::centroid)
-	      readPolygon.Centroid(&writeCentroidPoint);
-	    else if(readPolygon.PointOnSurface(&writeCentroidPoint)!=OGRERR_NONE){
-	      // cerr << "function PointOnSurface failed, trying centroid instead" << endl;
-	      readPolygon.Centroid(&writeCentroidPoint);
-	    }
-	    double ulx,uly,lrx,lry;
-	    double uli,ulj,lri,lrj;
-	    if((polygon_opt[0]&&ruleMap[rule_opt[0]]==rule::point)||(ruleMap[rule_opt[0]]==rule::centroid)){
-	      ulx=writeCentroidPoint.getX();
-	      uly=writeCentroidPoint.getY();
-	      lrx=ulx;
-	      lry=uly;
-	    }
-	    else{
-	      //get envelope
-	      if(verbose_opt[0])
-		std::cout << "reading envelope for polygon " << ifeature << std::endl;
-	      OGREnvelope* psEnvelope=new OGREnvelope();
-	      readPolygon.getEnvelope(psEnvelope);
-	      ulx=psEnvelope->MinX;
-	      uly=psEnvelope->MaxY;
-	      lrx=psEnvelope->MaxX;
-	      lry=psEnvelope->MinY;
-	      delete psEnvelope;
-	    }
-	    if(geo_opt[0]){
-	      imgReader.geo2image(ulx,uly,uli,ulj);
-	      imgReader.geo2image(lrx,lry,lri,lrj);
-	    }
-	    else{
-	      uli=ulx;
-	      ulj=uly;
-	      lri=lrx;
-	      lrj=lry;
-	    }
-	    //nearest neighbour
-	    ulj=static_cast<int>(ulj);
-	    uli=static_cast<int>(uli);
-	    lrj=static_cast<int>(lrj);
-	    lri=static_cast<int>(lri);
-	    //iterate through all pixels
-	    if(verbose_opt[0]>1)
-	      std::cout << "bounding box for polygon feature " << ifeature << ": " << uli << " " << ulj << " " << lri << " " << lrj << std::endl;
-
-	    if(uli<0)
-	      uli=0;
-	    if(lri<0)
-	      lri=0;
-	    if(uli>=imgReader.nrOfCol())
-	      uli=imgReader.nrOfCol()-1;
-	    if(lri>=imgReader.nrOfCol())
-	      lri=imgReader.nrOfCol()-1;
-	    if(ulj<0)
-	      ulj=0;
-	    if(lrj<0)
-	      lrj=0;
-	    if(ulj>=imgReader.nrOfRow())
-	      ulj=imgReader.nrOfRow()-1;
-	    if(lrj>=imgReader.nrOfRow())
-	      lrj=imgReader.nrOfRow()-1;
-	    // if(uli<0||lri>=imgReader.nrOfCol()||ulj<0||lrj>=imgReader.nrOfRow())
-	    //   continue;
-
-	    int nPointPolygon=0;
-
-	    if(polygon_opt[0]){
-	      if(writeTest)
-		writePolygonFeature = OGRFeature::CreateFeature(writeTestLayer->GetLayerDefn());
-	      else
-		writePolygonFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn());
-	    }
-	    else if(ruleMap[rule_opt[0]]!=rule::point){
-	      if(writeTest)
-		writeCentroidFeature = OGRFeature::CreateFeature(writeTestLayer->GetLayerDefn());
-	      else
-		writeCentroidFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn());
-	    }
-	    // vector<double> polyValues;
-	    Vector2d<double> polyValues;
-	    vector<double> polyClassValues;
-	    
-	    if(class_opt.size()){
-
-	      polyClassValues.resize(class_opt.size());
-	      //initialize
-	      for(int iclass=0;iclass<class_opt.size();++iclass)
-		polyClassValues[iclass]=0;
-	    }
-	    else
-	      polyValues.resize(nband);
-	    vector< Vector2d<double> > readValues(nband);
-	    for(int iband=0;iband<nband;++iband){
-	      int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-	      imgReader.readDataBlock(readValues[iband],GDT_Float64,uli,lri,ulj,lrj,theBand);
-	    }
-
-	    OGRPoint thePoint;
-	    for(int j=ulj;j<=lrj;++j){
-	      for(int i=uli;i<=lri;++i){
-		//check if within raster image
-		if(i<0||i>=imgReader.nrOfCol())
-		  continue;
-		if(j<0||j>=imgReader.nrOfRow())
-		  continue;
-		//check if point is on surface
-		double theX=0;
-		double theY=0;
-		imgReader.image2geo(i,j,theX,theY);
-		thePoint.setX(theX);
-		thePoint.setY(theY);
-		if(ruleMap[rule_opt[0]]!=rule::centroid&&!readPolygon.Contains(&thePoint))
-		  continue;
-
-		bool valid=true;
-
-		if(srcnodata_opt.size()){
-		  for(int vband=0;vband<bndnodata_opt.size();++vband){
-		    double value=((readValues[bndnodata_opt[vband]])[j-ulj])[i-uli];
-		    if(value==srcnodata_opt[vband]){
-		      valid=false;
-		      break;
-		    }
-		  }
-		}
-
-		if(!valid)
-		  continue;
-		else
-		  validFeature=true;
-
-		writeRing.addPoint(&thePoint);//todo: check if I need to add all interior points to ring or do I need to check if point is on ring first?
-		// if(writeRing.isPointOnRingBoundary(&thePoint))
-		//    writeRing.addPoint(&thePoint);
-		if(verbose_opt[0]>1)
-		  std::cout << "point is on surface:" << thePoint.getX() << "," << thePoint.getY() << std::endl;
-		++nPointPolygon;
-
-		if(polythreshold_opt.size())
-		  if(nPointPolygon>polythreshold_opt[0])
-		    continue;
-		// throw(nPointPolygon);
-		OGRFeature *writePointFeature;
-		if(!polygon_opt[0]){
-		  //create feature
-		  if(ruleMap[rule_opt[0]]==rule::point){//do not create in case of mean, stdev, median, sum or centroid (only create point at centroid)
-		    if(writeTest)
-		      writePointFeature = OGRFeature::CreateFeature(writeTestLayer->GetLayerDefn());
-		    else
-		      writePointFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn());
-		    if(verbose_opt[0]>1)
-		      std::cout << "copying fields from polygons " << std::endl;
-		    if(writePointFeature->SetFrom(readFeature)!= OGRERR_NONE)
-		      cerr << "writing feature failed" << std::endl;
-		    if(verbose_opt[0]>1)
-		      std::cout << "set geometry as point " << std::endl;
-		    //test
-		    writePointFeature->SetGeometry(&thePoint);
-		    assert(wkbFlatten(writePointFeature->GetGeometryRef()->getGeometryType()) == wkbPoint);
-		    // OGRGeometry *updateGeometry;
-		    // updateGeometry = writePointFeature->GetGeometryRef();
-		    // OGRPoint *poPoint = (OGRPoint *) updateGeometry;
-		    if(verbose_opt[0]>1)
-		      std::cout << "write feature has " << writePointFeature->GetFieldCount() << " fields" << std::endl;
-		  }
-		}
-		if(class_opt.size()){
-		  short value=((readValues[0])[j-ulj])[i-uli];
-		  for(int iclass=0;iclass<class_opt.size();++iclass){
-		    if(value==class_opt[iclass])
-		      polyClassValues[iclass]+=1;
-		  }
-		}
-		else{
-		  for(int iband=0;iband<nband;++iband){
-		    double value=((readValues[iband])[j-ulj])[i-uli];
-		    if(verbose_opt[0]>1)
-		      std::cout << ": " << value << std::endl;
-		    if(polygon_opt[0]||ruleMap[rule_opt[0]]!=rule::point)
-		      polyValues[iband].push_back(value);
-		    else{
-		      if(verbose_opt[0]>1)
-			std::cout << "set field " << fieldname_opt[iband] << " to " << value << std::endl;
-		      switch( fieldType ){
-		      case OFTInteger:
-		      case OFTReal:
-			writePointFeature->SetField(fieldname_opt[iband].c_str(),value);
-			break;
-		      case OFTString:
-			writePointFeature->SetField(fieldname_opt[iband].c_str(),type2string<double>(value).c_str());
-			break;
-		      default://not supported
-			assert(0);
-			break;
-		      }
-		    }//else
-		  }//iband
-		}//else (class_opt.size())
-		if(!polygon_opt[0]){
-		  if(ruleMap[rule_opt[0]]==rule::point){//do not create in case of mean or median value (only at centroid)
-		    //write feature
-		    if(verbose_opt[0]>1)
-		      std::cout << "creating point feature" << std::endl;
-		    if(writeTest){
-		      if(writeTestLayer->CreateFeature( writePointFeature ) != OGRERR_NONE ){
-			std::string errorString="Failed to create feature in test ogr vector dataset";
-			throw(errorString);
-		      }
-		    }
-		    else{
-		      if(writeLayer->CreateFeature( writePointFeature ) != OGRERR_NONE ){
-			std::string errorString="Failed to create feature in ogr vector dataset";
-			throw(errorString);
-		      }
-		    }
-		    //destroy feature
-		    OGRFeature::DestroyFeature( writePointFeature );
-		    ++ntotalvalid;
-		    ++ntotalvalidLayer;
-		  }
-		}
-	      }
-	    }
-	    if(polygon_opt[0]||ruleMap[rule_opt[0]]!=rule::point){
-	      //do not create if no points found within polygon
-	      if(!nPointPolygon){
-		if(verbose_opt[0])
-		  cout << "no points found in polygon, continuing" << endl;
-		continue;
-	      }
-	      //add ring to polygon
-	      if(polygon_opt[0]){
-		writePolygon.addRing(&writeRing);
-		writePolygon.closeRings();
-		//write geometry of writePolygon
-		//test
-		//writePolygonFeature and readFeature are both of type wkbPolygon
-		// writePolygonFeature->SetGeometry(&writePolygon);
-		if(writePolygonFeature->SetFrom(readFeature)!= OGRERR_NONE)
-		  cerr << "writing feature failed" << std::endl;
-		if(verbose_opt[0]>1)
-		  std::cout << "copying new fields write polygon " << std::endl;
-		if(verbose_opt[0]>1)
-		  std::cout << "write feature has " << writePolygonFeature->GetFieldCount() << " fields" << std::endl;
-		//write polygon feature
-	      }
-	      else{//write value of polygon to centroid point
-		//create feature
-		if(verbose_opt[0]>1)
-		  std::cout << "copying fields from polygons " << std::endl;
-		if(writeCentroidFeature->SetFrom(readFeature)!= OGRERR_NONE)
-		  cerr << "writing feature failed" << std::endl;
-		writeCentroidFeature->SetGeometry(&writeCentroidPoint);
-		assert(wkbFlatten(writeCentroidFeature->GetGeometryRef()->getGeometryType()) == wkbPoint );
-		if(verbose_opt[0]>1)
-		  std::cout << "write feature has " << writeCentroidFeature->GetFieldCount() << " fields" << std::endl;
-	      }
-	      if(class_opt.empty()){
-		if(ruleMap[rule_opt[0]]==rule::point){//value at centroid of polygon
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		  for(int index=0;index<polyValues.size();++index){
-		    assert(polyValues[index].size()==1);
-		    double theValue=polyValues[index].back();
-
-		    if(verbose_opt[0])
-		      std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		    int theBand=(band_opt.size()) ? band_opt[index] : index;
-		    try{
-		      if(verbose_opt[0]>1)
-			std::cout << "set field " << fieldname_opt[index] << " to " << theValue << std::endl;
-		      switch( fieldType ){
-		      case OFTInteger:
-		      case OFTReal:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			break;
-		      case OFTString:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			break;
-		      default://not supported
-			std::string errorString="field type not supported";
-			throw(errorString);
-			break;
-		      }
-		    }
-		    catch(std::string e){
-		      std::cout << e << std::endl;
-		      exit(1);
-		    }
-		  }
-		}
-		else{//ruleMap[rule_opt[0]] is not rule::point
-		  double theValue=0;
-		  for(int index=0;index<polyValues.size();++index){
-		    try{
-		      if(ruleMap[rule_opt[0]]==rule::mean)
-			theValue=stat.mean(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::stdev)
-			theValue=sqrt(stat.var(polyValues[index]));
-		      else if(ruleMap[rule_opt[0]]==rule::median)
-			theValue=stat.median(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::percentile)
-			theValue=stat.percentile(polyValues[index],polyValues[index].begin(),polyValues[index].end(),percentile_opt[0]);
-		      else if(ruleMap[rule_opt[0]]==rule::sum)
-			theValue=stat.sum(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::max)
-			theValue=stat.mymax(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::min)
-			theValue=stat.mymin(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::centroid){
-			if(verbose_opt[0])
-			  std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-			assert(nPointPolygon<=1);
-			assert(nPointPolygon==polyValues[index].size());
-			theValue=polyValues[index].back();
-		      }
-		      else{
-			std::string errorString="rule not supported";
-			throw(errorString);
-		      }
-		      if(verbose_opt[0]>1)
-			std::cout << "set field " << fieldname_opt[index] << " to " << theValue << std::endl;
-		      switch( fieldType ){
-		      case OFTInteger:
-		      case OFTReal:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			break;
-		      case OFTString:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			break;
-		      default:
-			std::string errorString="field type not supported";
-			throw(errorString);
-			break;
-		      }
-		    }
-		    catch(std::string e){
-		      std::cout << e << std::endl;
-		      exit(1);
-		    }
-		  }
-		}
-	      }
-	      else{//class_opt is set
-		if(ruleMap[rule_opt[0]]==rule::proportion||ruleMap[rule_opt[0]]==rule::count){
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		  if(ruleMap[rule_opt[0]]==rule::proportion)
-		    stat.normalize_pct(polyClassValues);
-		  for(int index=0;index<polyClassValues.size();++index){
-		    double theValue=polyClassValues[index];
-		    ostringstream fs;
-		    fs << class_opt[index];
-		    if(polygon_opt[0])
-		      writePolygonFeature->SetField(fs.str().c_str(),static_cast<int>(theValue));
-		    else
-		      writeCentroidFeature->SetField(fs.str().c_str(),static_cast<int>(theValue));
-		  }
-		}
-		else if(ruleMap[rule_opt[0]]==rule::custom){
-		  assert(polygon_opt[0]);//not implemented for points
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		  stat.normalize_pct(polyClassValues);
-		  assert(polyClassValues.size()==2);//11:broadleaved, 12:coniferous
-		  if(polyClassValues[0]>=75)//broadleaved
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(11));
-		  else if(polyClassValues[1]>=75)//coniferous
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(12));
-		  else if(polyClassValues[0]>25&&polyClassValues[1]>25)//mixed
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(13));
-		  else{
-		    if(verbose_opt[0]){
-		      std::cout << "No valid value in polyClassValues..." << std::endl;
-		      for(int index=0;index<polyClassValues.size();++index){
-			double theValue=polyClassValues[index];
-			std::cout << theValue << " ";
-		      }
-		      std::cout << std::endl;
-		    }
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(20));
-		  }
-		}
-		else if(ruleMap[rule_opt[0]]==rule::mode){
-		  //maximum votes in polygon
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		  //search for class with maximum votes
-		  int maxClass=stat.mymin(class_opt);
-		  vector<double>::iterator maxit;
-		  maxit=stat.mymax(polyClassValues,polyClassValues.begin(),polyClassValues.end());
-		  int maxIndex=distance(polyClassValues.begin(),maxit);
-		  maxClass=class_opt[maxIndex];
-		  if(verbose_opt[0]>0)
-		    std::cout << "maxClass: " << maxClass << std::endl;
-		  if(polygon_opt[0])
-		    writePolygonFeature->SetField(label_opt[0].c_str(),maxClass);
-		  else
-		    writeCentroidFeature->SetField(label_opt[0].c_str(),maxClass);
-		}
-	      }
-	      if(polygon_opt[0]){
-		if(verbose_opt[0]>1)
-		  std::cout << "creating polygon feature" << std::endl;
-		if(writeTest){
-		  if(writeTestLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create polygon feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		else{
-		  if(writeLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create polygon feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		OGRFeature::DestroyFeature( writePolygonFeature );
-		++ntotalvalid;
-		++ntotalvalidLayer;
-	      }
-	      else{
-		if(verbose_opt[0]>1)
-		  std::cout << "creating point feature in centroid" << std::endl;
-		if(writeTest){
-		  if(writeTestLayer->CreateFeature( writeCentroidFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create point feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		else{
-		  //test
-		  assert(validFeature);
-		  if(writeLayer->CreateFeature( writeCentroidFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create point feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		OGRFeature::DestroyFeature( writeCentroidFeature );
-		++ntotalvalid;
-		++ntotalvalidLayer;
-	      }
-	    }
-	  }
-	  else if(wkbFlatten(poGeometry->getGeometryType()) == wkbMultiPolygon){//todo: try to use virtual OGRGeometry instead of OGRMultiPolygon and OGRPolygon
-	    OGRMultiPolygon readPolygon = *((OGRMultiPolygon *) poGeometry);
-	    OGRPolygon writePolygon;
-	    OGRLinearRing writeRing;
-	    OGRPoint writeCentroidPoint;
-	    OGRFeature *writePolygonFeature;
-	    OGRFeature *writeCentroidFeature;
-
-	    readPolygon.closeRings();
-
-	    if(verbose_opt[0]>1)
-	      std::cout << "get centroid point from polygon" << std::endl;
-	    readPolygon.Centroid(&writeCentroidPoint);
-
-	    double ulx,uly,lrx,lry;
-	    double uli,ulj,lri,lrj;
-	    if((polygon_opt[0]&&ruleMap[rule_opt[0]]==rule::point)||(ruleMap[rule_opt[0]]==rule::centroid)){
-	      ulx=writeCentroidPoint.getX();
-	      uly=writeCentroidPoint.getY();
-	      lrx=ulx;
-	      lry=uly;
-	    }
-	    else{
-	      //get envelope
-	      if(verbose_opt[0])
-		std::cout << "reading envelope for polygon " << ifeature << std::endl;
-	      OGREnvelope* psEnvelope=new OGREnvelope();
-	      readPolygon.getEnvelope(psEnvelope);
-	      ulx=psEnvelope->MinX;
-	      uly=psEnvelope->MaxY;
-	      lrx=psEnvelope->MaxX;
-	      lry=psEnvelope->MinY;
-	      delete psEnvelope;
-	    }
-	    // if(geo_opt[0]){
-	      imgReader.geo2image(ulx,uly,uli,ulj);
-	      imgReader.geo2image(lrx,lry,lri,lrj);
-	    // }
-	    // else{
-	    //   uli=ulx;
-	    //   ulj=uly;
-	    //   lri=lrx;
-	    //   lrj=lry;
-	    // }
-	    //nearest neighbour
-	    ulj=static_cast<int>(ulj);
-	    uli=static_cast<int>(uli);
-	    lrj=static_cast<int>(lrj);
-	    lri=static_cast<int>(lri);
-	    //iterate through all pixels
-	    if(verbose_opt[0]>1)
-	      std::cout << "bounding box for multipologon feature " << ifeature << ": " << uli << " " << ulj << " " << lri << " " << lrj << std::endl;
-
-	    if(uli<0)
-	      uli=0;
-	    if(lri<0)
-	      lri=0;
-	    if(uli>=imgReader.nrOfCol())
-	      uli=imgReader.nrOfCol()-1;
-	    if(lri>=imgReader.nrOfCol())
-	      lri=imgReader.nrOfCol()-1;
-	    if(ulj<0)
-	      ulj=0;
-	    if(lrj<0)
-	      lrj=0;
-	    if(ulj>=imgReader.nrOfRow())
-	      ulj=imgReader.nrOfRow()-1;
-	    if(lrj>=imgReader.nrOfRow())
-	      lrj=imgReader.nrOfRow()-1;
-	    // if(uli<0||lri>=imgReader.nrOfCol()||ulj<0||lrj>=imgReader.nrOfRow())
-	    //   continue;
-
-	    int nPointPolygon=0;
-	    if(polygon_opt[0]){
-	      if(writeTest)
-		writePolygonFeature = OGRFeature::CreateFeature(writeTestLayer->GetLayerDefn());
-	      else
-		writePolygonFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn());
-	    }
-	    else if(ruleMap[rule_opt[0]]!=rule::point){
-	      if(writeTest)
-		writeCentroidFeature = OGRFeature::CreateFeature(writeTestLayer->GetLayerDefn());
-	      else
-		writeCentroidFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn());
-	    }
-	    // vector<double> polyValues;
-	    Vector2d<double> polyValues;
-	    vector<double> polyClassValues;
-
-	    if(class_opt.size()){
-	      polyClassValues.resize(class_opt.size());
-	      //initialize
-	      for(int iclass=0;iclass<class_opt.size();++iclass)
-		polyClassValues[iclass]=0;
-	    }
-	    else
-	      polyValues.resize(nband);
-	    vector< Vector2d<double> > readValues(nband);
-	    for(int iband=0;iband<nband;++iband){
-	      int theBand=(band_opt.size()) ? band_opt[iband] : iband;
-	      imgReader.readDataBlock(readValues[iband],GDT_Float64,uli,lri,ulj,lrj,theBand);
-	    }
-
-	    OGRPoint thePoint;
-	    for(int j=ulj;j<=lrj;++j){
-	      for(int i=uli;i<=lri;++i){
-		//check if within raster image
-		if(i<0||i>=imgReader.nrOfCol())
-		  continue;
-		if(j<0||j>=imgReader.nrOfRow())
-		  continue;
-		//check if point is on surface
-		double theX=0;
-		double theY=0;
-		imgReader.image2geo(i,j,theX,theY);
-		thePoint.setX(theX);
-		thePoint.setY(theY);
-
-		if(ruleMap[rule_opt[0]]!=rule::centroid&&!readPolygon.Contains(&thePoint))
-		  continue;
-
-		bool valid=true;
-
-		if(srcnodata_opt.size()){
-		  for(int vband=0;vband<bndnodata_opt.size();++vband){
-		    double value=((readValues[bndnodata_opt[vband]])[j-ulj])[i-uli];
-		    if(value==srcnodata_opt[vband]){
-		      valid=false;
-		      break;
-		    }
-		  }
-		}
-
-		if(!valid)
-		  continue;
-		else
-		  validFeature=true;
-		
-		writeRing.addPoint(&thePoint);
-		// if(writeRing.isPointOnRingBoundary(&thePoint))
-		//    writeRing.addPoint(&thePoint);
-		if(verbose_opt[0]>1)
-		    std::cout << "point is on surface:" << thePoint.getX() << "," << thePoint.getY() << std::endl;
-		  ++nPointPolygon;
-
-		  if(polythreshold_opt.size())
-		    if(nPointPolygon>polythreshold_opt[0])
-		      continue;
-		  // throw(nPointPolygon);
-		  OGRFeature *writePointFeature;
-		  if(!polygon_opt[0]){
-		    //create feature
-		    if(ruleMap[rule_opt[0]]==rule::point){//do not create in case of mean, stdev, median or sum (only create point at centroid)
-		      if(writeTest)
-			writePointFeature = OGRFeature::CreateFeature(writeTestLayer->GetLayerDefn());
-		      else
-			writePointFeature = OGRFeature::CreateFeature(writeLayer->GetLayerDefn());
-		      if(verbose_opt[0]>1)
-			std::cout << "copying fields from polygons " << std::endl;
-		      if(writePointFeature->SetFrom(readFeature)!= OGRERR_NONE)
-			cerr << "writing feature failed" << std::endl;
-		      if(verbose_opt[0]>1)
-			std::cout << "set geometry as point " << std::endl;
-		      //test
-		      writePointFeature->SetGeometry(&thePoint);
-		      assert(wkbFlatten(writePointFeature->GetGeometryRef()->getGeometryType()) == wkbPoint);
-		      // OGRGeometry *updateGeometry;
-		      // updateGeometry = writePointFeature->GetGeometryRef();
-		      // OGRPoint *poPoint = (OGRPoint *) updateGeometry;
-		      if(verbose_opt[0]>1)
-			std::cout << "write feature has " << writePointFeature->GetFieldCount() << " fields" << std::endl;
-		    }
-		  }
-		  if(class_opt.size()){
-		    short value=((readValues[0])[j-ulj])[i-uli];
-		    for(int iclass=0;iclass<class_opt.size();++iclass){
-		      if(value==class_opt[iclass])
-			polyClassValues[iclass]+=1;
-		    }
-		  }
-		  else{
-		    for(int iband=0;iband<nband;++iband){
-		      double value=((readValues[iband])[j-ulj])[i-uli];
-		      if(verbose_opt[0]>1)
-			std::cout << ": " << value << std::endl;
-		      if(polygon_opt[0]||ruleMap[rule_opt[0]]!=rule::point)
-			polyValues[iband].push_back(value);
-		      else{
-			if(verbose_opt[0]>1)
-			  std::cout << "set field " << fieldname_opt[iband] << " to " << value << std::endl;
-			switch( fieldType ){
-			case OFTInteger:
-			case OFTReal:
-			  writePointFeature->SetField(fieldname_opt[iband].c_str(),value);
-			  break;
-			case OFTString:
-			  writePointFeature->SetField(fieldname_opt[iband].c_str(),type2string<double>(value).c_str());
-			  break;
-			default://not supported
-			  assert(0);
-			  break;
-			}
-		      }//else
-		    }//iband
-		  }//else (class_opt.size())
-		  if(!polygon_opt[0]){
-		    if(ruleMap[rule_opt[0]]==rule::point){//do not create in case of mean, stdev or median value (only at centroid)
-		      //write feature
-		      if(verbose_opt[0]>1)
-			std::cout << "creating point feature" << std::endl;
-		      if(writeTest){
-			if(writeTestLayer->CreateFeature( writePointFeature ) != OGRERR_NONE ){
-			  std::string errorString="Failed to create feature in ogr vector dataset";
-			  throw(errorString);
-			}
-		      }
-		      else{
-			if(writeLayer->CreateFeature( writePointFeature ) != OGRERR_NONE ){
-			  std::string errorString="Failed to create feature in ogr vector dataset";
-			  throw(errorString);
-			}
-		      }
-		      //destroy feature
-		      OGRFeature::DestroyFeature( writePointFeature );
-		    }
-		  }
-		  // ++isample;
-		  ++ntotalvalid;
-		  ++ntotalvalidLayer;
-	      }
-	    }
-	    if(!validFeature)
-	      continue;
-	    if(polygon_opt[0]||ruleMap[rule_opt[0]]!=rule::point){
-	      //do not create if no points found within polygon
-	      if(!nPointPolygon)
-		continue;
-	      //add ring to polygon
-	      if(polygon_opt[0]){
-		writePolygon.addRing(&writeRing);
-		writePolygon.closeRings();
-		//write geometry of writePolygon
-		//test
-		//writePolygon and readFeature are from geometry type wkbMultiPolygon
-		// writePolygonFeature->SetGeometry(&writePolygon);
-		if(writePolygonFeature->SetFrom(readFeature)!= OGRERR_NONE)
-		  cerr << "writing feature failed" << std::endl;
-		assert(writePolygonFeature->GetGeometryRef()->getGeometryType()==wkbMultiPolygon);
-		if(verbose_opt[0]>1)
-		  std::cout << "copying new fields write polygon " << std::endl;
-		if(verbose_opt[0]>1)
-		  std::cout << "write feature has " << writePolygonFeature->GetFieldCount() << " fields" << std::endl;
-		//write polygon feature
-	      }
-	      else{//write band information of polygon to centroid point
-		//create feature
-		if(verbose_opt[0]>1)
-		  std::cout << "copying fields from polygons " << std::endl;
-		if(writeCentroidFeature->SetFrom(readFeature)!= OGRERR_NONE)
-		  cerr << "writing feature failed" << std::endl;
-		writeCentroidFeature->SetGeometry(&writeCentroidPoint);
-		assert(wkbFlatten(writeCentroidFeature->GetGeometryRef()->getGeometryType()) == wkbPoint);
-		if(verbose_opt[0]>1)
-		  std::cout << "write feature has " << writeCentroidFeature->GetFieldCount() << " fields" << std::endl;
-	      }
-	      if(class_opt.empty()){
-		if(ruleMap[rule_opt[0]]==rule::point){//value at centroid of polygon
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		  for(int index=0;index<polyValues.size();++index){
-		    //test
-		    assert(polyValues[index].size()==1);
-		    double theValue=polyValues[index].back();
-		    if(verbose_opt[0])
-		      std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		    int theBand=(band_opt.size()) ? band_opt[index] : index;
-		    try{
-		      if(verbose_opt[0]>1)
-			std::cout << "set field " << fieldname_opt[index] << " to " << theValue << std::endl;
-		      switch( fieldType ){
-		      case OFTInteger:
-		      case OFTReal:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			break;
-		      case OFTString:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			break;
-		      default://not supported
-			std::string errorString="field type not supported";
-			throw(errorString);
-			break;
-		      }
-		    }
-		    catch(std::string e){
-		      std::cout << e << std::endl;
-		      exit(1);
-		    }
-		  }
-		}
-		else{//ruleMap[rule_opt[0]] is not rule::point
-		  double theValue=0;
-		  for(int index=0;index<polyValues.size();++index){
-		    try{
-		      if(ruleMap[rule_opt[0]]==rule::mean)
-			theValue=stat.mean(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::stdev)
-			theValue=sqrt(stat.var(polyValues[index]));
-		      else if(ruleMap[rule_opt[0]]==rule::median)
-			theValue=stat.median(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::percentile)
-			theValue=stat.percentile(polyValues[index],polyValues[index].begin(),polyValues[index].end(),percentile_opt[0]);
-		      else if(ruleMap[rule_opt[0]]==rule::sum)
-			theValue=stat.sum(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::max)
-			theValue=stat.mymax(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::min)
-			theValue=stat.mymin(polyValues[index]);
-		      else if(ruleMap[rule_opt[0]]==rule::centroid){
-			if(verbose_opt[0])
-			  std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-			assert(nPointPolygon<=1);
-			assert(nPointPolygon==polyValues[index].size());
-			theValue=polyValues[index].back();
-		      }
-		      else{
-			std::string errorString="rule not supported";
-			throw(errorString);
-		      }
-		      if(verbose_opt[0]>1)
-			std::cout << "set field " << fieldname_opt[index] << " to " << theValue << std::endl;
-		      switch( fieldType ){
-		      case OFTInteger:
-		      case OFTReal:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),theValue);
-			break;
-		      case OFTString:
-			if(polygon_opt[0])
-			  writePolygonFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			else
-			  writeCentroidFeature->SetField(fieldname_opt[index].c_str(),type2string<double>(theValue).c_str());
-			break;
-		      default://not supported
-			std::string errorString="field type not supported";
-			throw(errorString);
-			break;
-		      }
-		    }
-		    catch(std::string e){
-		      std::cout << e << std::endl;
-		      exit(1);
-		    }
-		  }
-		}
-	      }
-	      else{//class_opt is set
-		if(ruleMap[rule_opt[0]]==rule::proportion||ruleMap[rule_opt[0]]==rule::count){
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		  if(ruleMap[rule_opt[0]]==rule::proportion)
-		    stat.normalize_pct(polyClassValues);
-		  for(int index=0;index<polyClassValues.size();++index){
-		    double theValue=polyClassValues[index];
-		    ostringstream fs;
-		    fs << class_opt[index];
-		    if(polygon_opt[0])
-		      writePolygonFeature->SetField(fs.str().c_str(),static_cast<int>(theValue));
-		    else
-		      writeCentroidFeature->SetField(fs.str().c_str(),static_cast<int>(theValue));
-		  }
-		}
-		else if(ruleMap[rule_opt[0]]==rule::custom){
-		  assert(polygon_opt[0]);//not implemented for points
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		  stat.normalize_pct(polyClassValues);
-		  assert(polyClassValues.size()==2);//11:broadleaved, 12:coniferous
-		  if(polyClassValues[0]>=75)//broadleaved
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(11));
-		  else if(polyClassValues[1]>=75)//coniferous
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(12));
-		  else if(polyClassValues[0]>25&&polyClassValues[1]>25)//mixed
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(13));
-		  else{
-		    if(verbose_opt[0]){
-		      std::cout << "No valid value in polyClassValues..." << std::endl;
-		      for(int index=0;index<polyClassValues.size();++index){
-			double theValue=polyClassValues[index];
-			std::cout << theValue << " ";
-		      }
-		      std::cout << std::endl;
-		    }
-		    writePolygonFeature->SetField(label_opt[0].c_str(),static_cast<int>(20));
-		  }
-		}
-		else if(ruleMap[rule_opt[0]]==rule::mode){
-		  //maximum votes in polygon
-		  if(verbose_opt[0])
-		    std::cout << "number of points in polygon: " << nPointPolygon << std::endl;
-		  //search for class with maximum votes
-		  int maxClass=stat.mymin(class_opt);
-		  vector<double>::iterator maxit;
-		  maxit=stat.mymax(polyClassValues,polyClassValues.begin(),polyClassValues.end());
-		  int maxIndex=distance(polyClassValues.begin(),maxit);
-		  maxClass=class_opt[maxIndex];
-		  if(verbose_opt[0]>0)
-		    std::cout << "maxClass: " << maxClass << std::endl;
-		  if(polygon_opt[0])
-		    writePolygonFeature->SetField(label_opt[0].c_str(),maxClass);
-		  else
-		    writeCentroidFeature->SetField(label_opt[0].c_str(),maxClass);
-		}
-	      }
-
-	      if(polygon_opt[0]){
-		if(verbose_opt[0]>1)
-		  std::cout << "creating polygon feature" << std::endl;
-		if(writeTest){
-		  if(writeTestLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create polygon feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		else{
-		  if(writeLayer->CreateFeature( writePolygonFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create polygon feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		OGRFeature::DestroyFeature( writePolygonFeature );
-		++ntotalvalid;
-		++ntotalvalidLayer;
-	      }
-	      else{
-		if(verbose_opt[0]>1)
-		  std::cout << "creating point feature in centroid" << std::endl;
-		if(writeTest){
-		  if(writeTestLayer->CreateFeature( writeCentroidFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create point feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		else{
-		  //test
-		  assert(validFeature);
-		  if(writeLayer->CreateFeature( writeCentroidFeature ) != OGRERR_NONE ){
-		    std::string errorString="Failed to create point feature in ogr vector dataset";
-		    throw(errorString);
-		  }
-		}
-		OGRFeature::DestroyFeature( writeCentroidFeature );
-		++ntotalvalid;
-		++ntotalvalidLayer;
-	      }
-	    }
-	  }
-	  else{
-	    std::string test;
-	    test=poGeometry->getGeometryName();
-	    ostringstream oss;
-	    oss << "geometry " << test << " not supported";
-	    throw(oss.str());
-	  }
-	  ++ifeature;
-	  if(theThreshold>0){
-	    if(threshold_opt.size()==layer_opt.size())
-	      progress=(100.0/theThreshold)*static_cast<float>(ntotalvalidLayer)/nfeatureLayer;
-	    else
-	      progress=static_cast<float>(ntotalvalidLayer)/nfeatureLayer;
-	  }
- 	  else
-	    progress=static_cast<float>(ifeature+1)/(-theThreshold);
-	  pfnProgress(progress,pszMessage,pProgressArg);
-	}
-	catch(std::string e){
-	  std::cout << e << std::endl;
-	  continue;
-	}
-	catch(int npoint){
-	  if(verbose_opt[0])
-	    std::cout << "number of points read in polygon: " << npoint << std::endl;
-	  continue;
-	}
-      }//end of getNextFeature
-      // if(rbox_opt[0]>0||cbox_opt[0]>0)
-      //   boxWriter.close();
-      progress=1.0;
-      pfnProgress(progress,pszMessage,pProgressArg);
-      ++ilayerWrite;
-    }//for ilayer
-    sampleReaderOgr.close();
-    ogrWriter.close();
-    if(test_opt.size())
-      ogrTestWriter.close();
-  }//else (vector)
-  progress=1.0;
-  pfnProgress(progress,pszMessage,pProgressArg);
-  imgReader.close();
-}
-  
diff --git a/src/apps/pkextractimg.cc b/src/apps/pkextractimg.cc
index 7265474..16ce535 100644
--- a/src/apps/pkextractimg.cc
+++ b/src/apps/pkextractimg.cc
@@ -45,7 +45,7 @@ along with pktools.  If not, see <http://www.gnu.org/licenses/>.
 
 <code>
 
-  Options: [-c class]* [-t threshold]* [-f format] [-ft fieldType] [-lt labelType] [-b band]* [-r rule]
+  Options: [-c class]* [-t threshold]* [-f format] [-ft fieldType] [-lt labelType] [-b band]*
 
   Advanced options:
   [-sband band -eband band]* [-bndnodata band [-srcnodata value]*] [-bn attribute] [-cn attribute] [-down value]
@@ -55,10 +55,6 @@ along with pktools.  If not, see <http://www.gnu.org/licenses/>.
 
 The utility pkextractimg extracts pixel values from an input raster dataset, based on the locations you provide via a sample file. The sample should be a raster dataset with categorical (integer) values. The typical use case is a land cover map that overlaps the input raster dataset. The utility then extracts pixels from the input raster for the respective land cover classes. To select a random subset of the sample raster dataset you can set the threshold option -t with a percentage valu [...]
 
-\anchor pkextractimg_rules 
-
-Overview of the possible extraction rules:
-
 \section pkextractimg_options Options
  - use either `-short` or `--long` options (both `--long=value` and `--long value` are supported)
  - short option `-h` shows basic options only, long option `--help` shows all options
@@ -66,11 +62,8 @@ Overview of the possible extraction rules:
 |-----|----|----|-------|-----------|
  | i      | input                | std::string |       |Raster input dataset containing band information | 
  | s      | sample               | std::string |       |Raster dataset with categorical values to sample the input raster dataset. Output will contain features with input band information included | 
- | ln     | ln                   | std::string |       |Layer name(s) in sample (leave empty to select all) | 
- | rand   | random               | unsigned int |       |Create simple random sample of points. Provide number of points to generate | 
- | grid   | grid                 | double |       |Create systematic grid of points. Provide cell grid size (in projected units, e.g,. m) | 
  | o      | output               | std::string |       |Output sample dataset | 
- | c      | class                | int  |       |Class(es) to extract from input sample image. Leave empty to extract all valid data pixels from sample dataset. Make sure to set classes if rule is set to mode, proportion or count | 
+ | c      | class                | int  |       |Class(es) to extract from input sample image. Leave empty to extract all valid data pixels from sample dataset | 
  | t      | threshold            | float | 100   |Probability threshold for selecting samples (randomly). Provide probability in percentage (>0) or absolute (<0). You can provide a threshold value for each class (e.g. -t 80 -t 60). Use value 100 to select all pixels for selected class(es) | 
  | f      | f                    | std::string | SQLite |Output sample dataset format | 
  | ft     | ftype                | std::string | Real  |Field type (only Real or Integer) | 
@@ -84,12 +77,12 @@ Overview of the possible extraction rules:
  | cn     | cname                | std::string | label |Name of the class label in the output vector dataset | 
  | down   | down                 | short | 1     |Down sampling factor | 
 
-Usage: pkextractimg -i input [-s sample | -rand number | -grid size] -o output
+Usage: pkextractimg -i input [-s sample] -o output
 
 
 Examples
 ========
-Some examples how to use pkextractimg can be found \ref examples_pkextractimg "here"
+Some examples how to use pkextractimg can be found \ref examples_pkextract "here"
 **/
 
 using namespace std;
@@ -98,10 +91,8 @@ int main(int argc, char *argv[])
 {
   Optionpk<string> image_opt("i", "input", "Raster input dataset containing band information");
   Optionpk<string> sample_opt("s", "sample", "OGR vector dataset with features to be extracted from input data. Output will contain features with input band information included. Sample image can also be GDAL raster dataset.");
-  Optionpk<unsigned int> random_opt("rand", "random", "Create simple random sample of points. Provide number of points to generate");
-  Optionpk<double> grid_opt("grid", "grid", "Create systematic grid of points. Provide cell grid size (in projected units, e.g,. m)");
   Optionpk<string> output_opt("o", "output", "Output sample dataset");
-  Optionpk<int> class_opt("c", "class", "Class(es) to extract from input sample image. Leave empty to extract all valid data pixels from sample dataset. Make sure to set classes if rule is set to mode, proportion or count");
+  Optionpk<int> class_opt("c", "class", "Class(es) to extract from input sample image. Leave empty to extract all valid data pixels from sample dataset");
   Optionpk<float> threshold_opt("t", "threshold", "Probability threshold for selecting samples (randomly). Provide probability in percentage (>0) or absolute (<0). Use a single threshold per vector sample layer. If using raster land cover maps as a sample dataset, you can provide a threshold value for each class (e.g. -t 80 -t 60). Use value 100 to select all pixels for selected class(es)", 100);
   Optionpk<string> ogrformat_opt("f", "f", "Output sample dataset format","SQLite");
   Optionpk<string> ftype_opt("ft", "ftype", "Field type (only Real or Integer)", "Real");
@@ -128,8 +119,6 @@ int main(int argc, char *argv[])
   try{
     doProcess=image_opt.retrieveOption(argc,argv);
     sample_opt.retrieveOption(argc,argv);
-    random_opt.retrieveOption(argc,argv);
-    grid_opt.retrieveOption(argc,argv);
     output_opt.retrieveOption(argc,argv);
     class_opt.retrieveOption(argc,argv);
     threshold_opt.retrieveOption(argc,argv);
@@ -152,7 +141,7 @@ int main(int argc, char *argv[])
   }
   if(!doProcess){
     cout << endl;
-    cout << "Usage: pkextractimg -i input [-s sample | -rand number | -grid size] -o output" << endl;
+    cout << "Usage: pkextractimg -i input -s sample -o output" << endl;
     cout << endl;
     std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
     exit(0);//help was invoked, stop processing
diff --git a/src/apps/pkextractogr.cc b/src/apps/pkextractogr.cc
index 0ad1fa4..19af55a 100644
--- a/src/apps/pkextractogr.cc
+++ b/src/apps/pkextractogr.cc
@@ -1,6 +1,6 @@
 /**********************************************************************
 pkextractogr.cc: extract pixel values from raster image from a (vector or raster) sample
-Copyright (C) 2008-2016 Pieter Kempeneers
+Copyright (C) 2008-2017 Pieter Kempeneers
 
 This file is part of pktools
 
@@ -55,12 +55,14 @@ along with pktools.  If not, see <http://www.gnu.org/licenses/>.
 
 The utility pkextractogr extracts pixel values from an input raster dataset, based on the locations you provide via a sample file. Alternatively, a random sample or systematic grid of points can also be extracted. The sample can be a vector file with points or polygons. In the case of polygons, you can either extract the values for all raster pixels that are covered by the polygons, or extract a single value for each polygon such as the centroid, mean, median, etc. As output, a new copy  [...]
 
-A typical usage of pkextract is to prepare a training sample for one of the classifiers implemented in pktools.
+A typical usage of pkextractogr is to prepare a training sample for one of the classifiers implemented in pktools.
 
 \anchor pkextractogr_rules 
 
 Overview of the possible extraction rules:
 
+\section pkextractogr_rules Extraction rules:
+
 extraction rule | output features
 --------------- | ---------------
 point | extract a single pixel within the polygon or on each point feature
@@ -77,7 +79,7 @@ proportion | Extract proportion of class(es) within the polygon (classes must be
 count | Extract count of class(es) within the polygon (classes must be set with the option class).
 percentile | Extract percentile as defined by option perc (e.g, 95th percentile of values covered by polygon)
 
-\section pkextract_options Options
+\section pkextractogr_options Options
  - use either `-short` or `--long` options (both `--long=value` and `--long value` are supported)
  - short option `-h` shows basic options only, long option `--help` shows all options
 |short|long|type|default|description|
@@ -103,12 +105,12 @@ percentile | Extract percentile as defined by option perc (e.g, 95th percentile
  | buf    | buffer               | short | 0     |Buffer for calculating statistics for point features (in number of pixels)  | 
  | circ   | circular             | bool | false |Use a circular disc kernel buffer (for vector point sample datasets only, use in combination with buffer option) | 
 
-Usage: pkextract -i input [-s sample | -rand number | -grid size] -o output -r rule
+Usage: pkextractogr -i input [-s sample | -rand number | -grid size] -o output -r rule
 
 
 Examples
 ========
-Some examples how to use pkextract can be found \ref examples_pkextract "here"
+Some examples how to use pkextractogr can be found \ref examples_pkextract "here"
 **/
 
 namespace rule{
@@ -180,7 +182,7 @@ int main(int argc, char *argv[])
   }
   if(!doProcess){
     cout << endl;
-    cout << "Usage: pkextract -i input [-s sample | -rand number | -grid size] -o output" << endl;
+    cout << "Usage: pkextractogr -i input [-s sample | -rand number | -grid size] -o output" << endl;
     cout << endl;
     std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
     exit(0);//help was invoked, stop processing
diff --git a/src/apps/pkfilter.cc b/src/apps/pkfilter.cc
index 9134bfb..2b74415 100644
--- a/src/apps/pkfilter.cc
+++ b/src/apps/pkfilter.cc
@@ -39,7 +39,7 @@ along with pktools.  If not, see <http://www.gnu.org/licenses/>.
 ## SYNOPSIS
 
 <code>
-  Usage: pkfilter -i input -o ouptut [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]
+  Usage: pkfilter -i input -o output [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]
 </code>
 
 <code>
@@ -214,7 +214,7 @@ pkfilter -i lena.tif -o sobelx.tif -f sobelx -dx 5 -dy 5
  | ct     | ct                   | std::string |       |color table (file with 5 columns: id R G B ALFA (0: transparent, 255: solid). Use none to ommit color table | 
  | circ   | circular             | bool | false |circular disc kernel for dilation and erosion | 
 
-Usage: pkfilter -i input -o ouptut [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]
+Usage: pkfilter -i input -o output [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]
 
 
 Examples
@@ -343,7 +343,7 @@ int main(int argc,char **argv) {
   }
   if(!doProcess){
     cout << endl;
-    cout << "Usage: pkfilter -i input -o ouptut [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]" << endl;
+    cout << "Usage: pkfilter -i input -o output [-f filter | -perc value | -srf file [-srf file]* -win wavelength [-win wavelength]* | -wout wavelength -fwhm value [-wout wavelength -fwhm value]* -win wavelength [-win wavelength]*]" << endl;
     cout << endl;
     std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
     exit(0);//help was invoked, stop processing
diff --git a/src/apps/pklas2img.cc b/src/apps/pklas2img.cc
index 4ec7875..4968342 100644
--- a/src/apps/pklas2img.cc
+++ b/src/apps/pklas2img.cc
@@ -287,9 +287,7 @@ int main(int argc,char **argv) {
   gt[5]=-dy_opt[0];
   outputWriter.setGeoTransform(gt);
   if(projection_opt.size()){
-    string projectionString=outputWriter.setProjectionProj4(projection_opt[0]);
-    if(verbose_opt[0])
-      cout << "projection: " << projectionString << endl;
+    outputWriter.setProjectionProj4(projection_opt[0]);
   }
   if(!outputWriter.isGeoRef())
     cout << "Warning: output image " << output_opt[0] << " is not georeferenced!" << endl;
diff --git a/src/apps/pkreclass.cc b/src/apps/pkreclass.cc
index 8a268d4..35d65a4 100644
--- a/src/apps/pkreclass.cc
+++ b/src/apps/pkreclass.cc
@@ -47,7 +47,7 @@ along with pktools.  If not, see <http://www.gnu.org/licenses/>.
  | c      | class                | std::string |       |list of classes to reclass (in combination with reclass option) | 
  | r      | reclass              | std::string |       |list of recoded classes (in combination with class option) | 
  | ct     | ct                   | std::string |       |color table (file with 5 columns: id R G B ALFA (0: transparent, 255: solid) | 
- | o      | output               | std::string |       |Output mask file | 
+ | o      | output               | std::string |       |Output file | 
  | ot     | otype                | std::string |       |Data type for output image ({Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/CInt16/CInt32/CFloat32/CFloat64}). Empty string: inherit type from input image | 
  | of     | oformat              | std::string | GTiff |Output image format (see also gdal_translate)| 
  | b      | band                 | unsigned short | 0     |band index(es) to replace (other bands are copied to output) | 
@@ -160,65 +160,9 @@ int main(int argc, char *argv[])
     for(mit=codemapString.begin();mit!=codemapString.end();++mit)
       cout << (*mit).first << " " << (*mit).second << endl;
   }
-  bool refIsRaster=false;
+  bool refIsRaster=true;
   ImgReaderOgr ogrReader;
-  try{
-    ogrReader.open(input_opt[0]);
-  }
-  catch(string errorString){
-    refIsRaster=true;
-  }
-  // if(input_opt[0].find(".shp")!=string::npos){//shape file
-  if(!refIsRaster){
-    if(verbose_opt[0])
-      cout << "opening " << input_opt[0] << " for reading " << endl;
-    // ImgReaderOgr ogrReader(input_opt[0]);
-    if(verbose_opt[0])
-      cout << "opening " << output_opt[0] << " for writing " << endl;
-    ImgWriterOgr ogrWriter(output_opt[0],ogrReader);
-    if(verbose_opt[0])
-      cout << "copied layer from " << input_opt[0] << endl << flush;
-    OGRFeatureDefn *poFDefn = ogrWriter.getLayer()->GetLayerDefn();
-    //start reading features from the layer
-    if(verbose_opt[0])
-      cout << "reset reading" << endl;
-    ogrReader.getLayer()->ResetReading();
-    unsigned long int ifeature=0;
-    if(verbose_opt[0])
-      cout << "going through features" << endl << flush;
-    while(true){
-//     while( (poFeature = ogrWriter.getLayer()->GetNextFeature()) != NULL ){
-      OGRFeature *poFeature;
-      poFeature=ogrReader.getLayer()->GetNextFeature();
-      if(poFeature== NULL)
-        break;
-      OGRFeatureDefn *poFDefn = ogrWriter.getLayer()->GetLayerDefn();
-      string featurename;
-      for(int iField=0;iField<poFDefn->GetFieldCount();++iField){
-        OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField);
-        string fieldname=poFieldDefn->GetNameRef();
-        if(fieldname==fieldname_opt[0]){
-          string fromClass=poFeature->GetFieldAsString(iField);
-          string toClass=fromClass;
-          if(codemapString.find(fromClass)!=codemapString.end())
-            toClass=codemapString[fromClass];
-          poFeature->SetField(iField,toClass.c_str());
-          if(verbose_opt[0])
-            cout << "feature " << ifeature << ": " << fromClass << "->" << poFeature->GetFieldAsInteger(iField) << endl << flush;
-//             cout << "feature " << ifeature << ": " << fromClass << "->" << toClass << endl << flush;
-        }
-      }
-      //do not forget to actually write feature to file!!!
-      ogrWriter.createFeature(poFeature);
-      OGRFeature::DestroyFeature( poFeature );
-      ++ifeature;
-    }
-    if(verbose_opt[0])
-       cout << "replaced " << ifeature << " features" << endl;
-    ogrReader.close();
-    ogrWriter.close();
-  }
-  else{//image file
+  if(refIsRaster){//image file
     ImgReaderGdal inputReader;
     vector<ImgReaderGdal> maskReader(mask_opt.size()); 
     ImgWriterGdal outputWriter;
diff --git a/src/apps/pkreclassogr.cc b/src/apps/pkreclassogr.cc
new file mode 100644
index 0000000..39f8bc7
--- /dev/null
+++ b/src/apps/pkreclassogr.cc
@@ -0,0 +1,194 @@
+/**********************************************************************
+pkreclassogr.cc: program to replace field values of attributes in vector dataset
+Copyright (C) 2008-2017 Pieter Kempeneers
+
+This file is part of pktools
+
+pktools is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+pktools is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with pktools.  If not, see <http://www.gnu.org/licenses/>.
+***********************************************************************/
+#include <assert.h>
+#include <map>
+#include "base/Optionpk.h"
+#include "imageclasses/ImgReaderOgr.h"
+#include "imageclasses/ImgWriterOgr.h"
+#include "imageclasses/ImgReaderGdal.h"
+#include "imageclasses/ImgWriterGdal.h"
+
+/******************************************************************************/
+/*! \page pkreclassogr pkreclassogr
+  program to replace field values of attributes in vector dataset
+  ## SYNOPSIS
+
+  <code>
+  Usage: pkreclassogr -i input [-c from -r to]* -o output
+  </code>
+
+  \section pkreclassogr_options Options
+  - use either `-short` or `--long` options (both `--long=value` and `--long value` are supported)
+  - short option `-h` shows basic options only, long option `--help` shows all options
+  |short|long|type|default|description|
+  |-----|----|----|-------|-----------|
+  | i      | input                | std::string |       |Input vector dataset |
+  | nodata | nodata               | int  | 0     |nodata value to put in vector dataset if not valid (0) |
+  | code   | code                 | std::string |       |Recode text file (2 colums: from to) |
+  | c      | class                | std::string |       |list of classes to reclass (in combination with reclass option) |
+  | r      | reclass              | std::string |       |list of recoded classes (in combination with class option) |
+  | o      | output               | std::string |       |Output vector dataset |
+  | n      | fname                | std::string | label |field name of the shape file to be replaced |
+  | v      | verbose              | short | 0     |verbose |
+
+  Usage: pkreclassogr -i input [-c from -r to]* -o output
+
+
+  Examples
+  ========
+  Some examples how to use pkreclassogr can be found \ref examples_pkreclassogr "here"
+**/
+
+using namespace std;
+
+int main(int argc, char *argv[])
+{
+  Optionpk<string> input_opt("i", "input", "Input vector dataset");
+  Optionpk<string> output_opt("o", "output", "Output file");
+  Optionpk<int> nodata_opt("nodata", "nodata", "nodata value to put in vector dataset if not valid (0)", 0);
+  Optionpk<string> code_opt("code", "code", "Recode text file (2 colums: from to)");
+  Optionpk<string> class_opt("c", "class", "list of classes to reclass (in combination with reclass option)");
+  Optionpk<string> reclass_opt("r", "reclass", "list of recoded classes (in combination with class option)");
+  Optionpk<string> fieldname_opt("n", "fname", "field name of the shape file to be replaced", "label");
+  Optionpk<short> verbose_opt("v", "verbose", "verbose", 0);
+
+  bool doProcess;//stop process when program was invoked with help option (-h --help)
+  try{
+    doProcess=input_opt.retrieveOption(argc,argv);
+    nodata_opt.retrieveOption(argc,argv);
+    code_opt.retrieveOption(argc,argv);
+    class_opt.retrieveOption(argc,argv);
+    reclass_opt.retrieveOption(argc,argv);
+    output_opt.retrieveOption(argc,argv);
+    fieldname_opt.retrieveOption(argc,argv);
+    verbose_opt.retrieveOption(argc,argv);
+  }
+  catch(string predefinedString){
+    std::cout << predefinedString << std::endl;
+    exit(0);
+  }
+  if(!doProcess){
+    cout << endl;
+    cout << "Usage: pkreclassogr -i input [-c from -r to]* -o output" << endl;
+    cout << endl;
+    std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
+    exit(0);//help was invoked, stop processing
+  }
+
+  if(input_opt.empty()){
+    std::cerr << "No input file provided (use option -i). Use --help for help information" << std::endl;
+    exit(0);
+  }
+  if(output_opt.empty()){
+    std::cerr << "No output file provided (use option -o). Use --help for help information" << std::endl;
+    exit(0);
+  }
+
+  // vector<short> bandVector;
+  map<string,string> codemapString;//map with codes: codemapString[theKey(from)]=theValue(to)
+  map<double,double> codemap;//map with codes: codemap[theKey(from)]=theValue(to)
+  if(code_opt.size()){
+    if(verbose_opt[0])
+      cout << "opening code text file " << code_opt[0] << endl;
+    ifstream codefile;
+    codefile.open(code_opt[0].c_str());
+    string theKey;
+    string theValue;
+    while(codefile>>theKey){
+      codefile >> theValue;
+      codemapString[theKey]=theValue;
+      codemap[string2type<double>(theKey)]=string2type<double>(theValue);
+    }
+    codefile.close();
+  }
+  else{//use combination of class_opt and reclass_opt
+    assert(class_opt.size()==reclass_opt.size());
+    for(int iclass=0;iclass<class_opt.size();++iclass){
+      codemapString[class_opt[iclass]]=reclass_opt[iclass];
+      codemap[string2type<double>(class_opt[iclass])]=string2type<double>(reclass_opt[iclass]);
+    }
+  }
+  assert(codemapString.size());
+  assert(codemap.size());
+  //if verbose true, print the codes to screen
+  if(verbose_opt[0]){
+    map<string,string>::iterator mit;
+    cout << codemapString.size() << " codes used: " << endl;
+    for(mit=codemapString.begin();mit!=codemapString.end();++mit)
+      cout << (*mit).first << " " << (*mit).second << endl;
+  }
+  bool refIsRaster=false;
+  ImgReaderOgr ogrReader;
+  try{
+    ogrReader.open(input_opt[0]);
+  }
+  catch(string errorString){
+    refIsRaster=true;
+  }
+  if(!refIsRaster){
+    if(verbose_opt[0])
+      cout << "opening " << input_opt[0] << " for reading " << endl;
+    // ImgReaderOgr ogrReader(input_opt[0]);
+    if(verbose_opt[0])
+      cout << "opening " << output_opt[0] << " for writing " << endl;
+    ImgWriterOgr ogrWriter(output_opt[0],ogrReader);
+    if(verbose_opt[0])
+      cout << "copied layer from " << input_opt[0] << endl << flush;
+    OGRFeatureDefn *poFDefn = ogrWriter.getLayer()->GetLayerDefn();
+    //start reading features from the layer
+    if(verbose_opt[0])
+      cout << "reset reading" << endl;
+    ogrReader.getLayer()->ResetReading();
+    unsigned long int ifeature=0;
+    if(verbose_opt[0])
+      cout << "going through features" << endl << flush;
+    while(true){
+      //     while( (poFeature = ogrWriter.getLayer()->GetNextFeature()) != NULL ){
+      OGRFeature *poFeature;
+      poFeature=ogrReader.getLayer()->GetNextFeature();
+      if(poFeature== NULL)
+        break;
+      OGRFeatureDefn *poFDefn = ogrWriter.getLayer()->GetLayerDefn();
+      string featurename;
+      for(int iField=0;iField<poFDefn->GetFieldCount();++iField){
+        OGRFieldDefn *poFieldDefn = poFDefn->GetFieldDefn(iField);
+        string fieldname=poFieldDefn->GetNameRef();
+        if(fieldname==fieldname_opt[0]){
+          string fromClass=poFeature->GetFieldAsString(iField);
+          string toClass=fromClass;
+          if(codemapString.find(fromClass)!=codemapString.end())
+            toClass=codemapString[fromClass];
+          poFeature->SetField(iField,toClass.c_str());
+          if(verbose_opt[0])
+            cout << "feature " << ifeature << ": " << fromClass << "->" << poFeature->GetFieldAsInteger(iField) << endl << flush;
+          //             cout << "feature " << ifeature << ": " << fromClass << "->" << toClass << endl << flush;
+        }
+      }
+      //do not forget to actually write feature to file!!!
+      ogrWriter.createFeature(poFeature);
+      OGRFeature::DestroyFeature( poFeature );
+      ++ifeature;
+    }
+    if(verbose_opt[0])
+      cout << "replaced " << ifeature << " features" << endl;
+    ogrReader.close();
+    ogrWriter.close();
+  }
+}
diff --git a/src/apps/pkstatprofile.cc b/src/apps/pkstatprofile.cc
index b9e59e4..841dc3b 100644
--- a/src/apps/pkstatprofile.cc
+++ b/src/apps/pkstatprofile.cc
@@ -87,7 +87,7 @@ pkstatprofile -i modis_ndvi_2010.tif -o modis_stats_2010.tif -f min -f max
  |class | class | std::string | | class value(s) to use for mode, proportion |
  |nodata | nodata | double | | nodata value(s) |
 
-Usage: pkstatprofile -i input -o ouptut [-f function]*
+Usage: pkstatprofile -i input -o output [-f function]*
 
 **/
 
@@ -133,7 +133,7 @@ int main(int argc,char **argv) {
   }
   if(!doProcess){
     cout << endl;
-    cout << "Usage: pkstatprofile -i input -o ouptut [-function]*" << endl;
+    cout << "Usage: pkstatprofile -i input -o output [-function]*" << endl;
     cout << endl;
     std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
     exit(0);//help was invoked, stop processing
diff --git a/src/apps/pksvm.cc b/src/apps/pksvm.cc
index eb91aed..b632f46 100644
--- a/src/apps/pksvm.cc
+++ b/src/apps/pksvm.cc
@@ -1,6 +1,6 @@
 /**********************************************************************
 pksvm.cc: classify raster image using Support Vector Machine
-Copyright (C) 2008-2014 Pieter Kempeneers
+Copyright (C) 2008-2017 Pieter Kempeneers
 
 This file is part of pktools
 
@@ -751,15 +751,8 @@ int main(int argc, char *argv[])
   if(!verbose_opt[0])
     pfnProgress(progress,pszMessage,pProgressArg);
   //-------------------------------- open image file ------------------------------------
-  bool inputIsRaster=false;
+  bool inputIsRaster=true;
   ImgReaderOgr imgReaderOgr;
-  try{
-    imgReaderOgr.open(input_opt[0]);
-    imgReaderOgr.close();
-  }
-  catch(string errorString){
-    inputIsRaster=true;
-  }
   if(inputIsRaster){
     ImgReaderGdal testImage;
     try{
@@ -1194,201 +1187,6 @@ int main(int argc, char *argv[])
       classImageBag.close();
     classImageOut.close();
   }
-  else{//classify vector file
-    cm.clearResults();
-    //notice that fields have already been set by readDataImageOgr (taking into account appropriate bands)
-    for(int ivalidation=0;ivalidation<input_opt.size();++ivalidation){
-      if(output_opt.size())
-	assert(output_opt.size()==input_opt.size());
-      if(verbose_opt[0])
-        std::cout << "opening img reader " << input_opt[ivalidation] << std::endl;
-      imgReaderOgr.open(input_opt[ivalidation]);
-      ImgWriterOgr imgWriterOgr;
-
-      if(output_opt.size()){
-	if(verbose_opt[0])
-	  std::cout << "opening img writer and copying fields from img reader" << output_opt[ivalidation] << std::endl;
-	imgWriterOgr.open(output_opt[ivalidation],imgReaderOgr);
-      }
-      if(verbose_opt[0])
-	cout << "number of layers in input ogr file: " << imgReaderOgr.getLayerCount() << endl;
-      for(int ilayer=0;ilayer<imgReaderOgr.getLayerCount();++ilayer){
-	if(verbose_opt[0])
-	  cout << "processing input layer " << ilayer << endl;
-	if(output_opt.size()){
-	  if(verbose_opt[0])
-	    std::cout << "creating field class" << std::endl;
-	  if(classValueMap.size())
-	    imgWriterOgr.createField("class",OFTInteger,ilayer);
-	  else
-	    imgWriterOgr.createField("class",OFTString,ilayer);
-	}
-	unsigned int nFeatures=imgReaderOgr.getFeatureCount(ilayer);
-	unsigned int ifeature=0;
-	progress=0;
-	pfnProgress(progress,pszMessage,pProgressArg);
-	OGRFeature *poFeature;
-	while( (poFeature = imgReaderOgr.getLayer(ilayer)->GetNextFeature()) != NULL ){
-	  if(verbose_opt[0]>1)
-	    std::cout << "feature " << ifeature << std::endl;
-	  if( poFeature == NULL ){
-	      cout << "Warning: could not read feature " << ifeature << " in layer " << imgReaderOgr.getLayerName(ilayer) << endl;
-	      continue;
-	  }
-	  OGRFeature *poDstFeature = NULL;
-	  if(output_opt.size()){
-	    poDstFeature=imgWriterOgr.createFeature(ilayer);
-	    if( poDstFeature->SetFrom( poFeature, TRUE ) != OGRERR_NONE ){
-	      CPLError( CE_Failure, CPLE_AppDefined,
-			"Unable to translate feature %d from layer %s.\n",
-			poFeature->GetFID(), imgWriterOgr.getLayerName(ilayer).c_str() );
-	      OGRFeature::DestroyFeature( poFeature );
-	      OGRFeature::DestroyFeature( poDstFeature );
-	    }
-	  }
-	  vector<float> validationPixel;
-	  vector<float> validationFeature;
-        
-	  imgReaderOgr.readData(validationPixel,OFTReal,fields,poFeature,ilayer);
-	  assert(validationPixel.size()==nband);
-	  vector<float> probOut(nclass);//posterior prob for each class
-	  for(short iclass=0;iclass<nclass;++iclass)
-	    probOut[iclass]=0;
-	  for(int ibag=0;ibag<nbag;++ibag){
-	    for(int iband=0;iband<nband;++iband){
-	      validationFeature.push_back((validationPixel[iband]-offset[ibag][iband])/scale[ibag][iband]);
-	      if(verbose_opt[0]==2)
-		std::cout << " " << validationFeature.back();
-	    }
-	    if(verbose_opt[0]==2)
-	      std::cout << std::endl;
-	    vector<double> result(nclass);
-	    struct svm_node *x;
-	    x = (struct svm_node *) malloc((validationFeature.size()+1)*sizeof(struct svm_node));
-	    for(int i=0;i<validationFeature.size();++i){
-	      x[i].index=i+1;
-	      x[i].value=validationFeature[i];
-	    }
-
-	    x[validationFeature.size()].index=-1;//to end svm feature vector
-	    double predict_label=0;
-	    if(!prob_est_opt[0]){
-	      predict_label = svm_predict(svm[ibag],x);
-	      for(short iclass=0;iclass<nclass;++iclass){
-		if(iclass==static_cast<short>(predict_label))
-		  result[iclass]=1;
-		else
-		  result[iclass]=0;
-	      }
-	    }
-	    else{
-	      assert(svm_check_probability_model(svm[ibag]));
-	      predict_label = svm_predict_probability(svm[ibag],x,&(result[0]));
-	    }
-	    if(verbose_opt[0]>1){
-	      std::cout << "predict_label: " << predict_label << std::endl;
-	      for(int iclass=0;iclass<result.size();++iclass)
-		std::cout << result[iclass] << " ";
-	      std::cout << std::endl;
-	    }
-
-	    //calculate posterior prob of bag 
-	    for(short iclass=0;iclass<nclass;++iclass){
-	      switch(comb_opt[0]){
-	      default:
-	      case(0)://sum rule
-		probOut[iclass]+=result[iclass]*priors[iclass];//add probabilities for each bag
-	      break;
-	      case(1)://product rule
-		probOut[iclass]*=pow(static_cast<float>(priors[iclass]),static_cast<float>(1.0-nbag)/nbag)*result[iclass];//multiply probabilities for each bag
-		break;
-	      case(2)://max rule
-		if(priors[iclass]*result[iclass]>probOut[iclass])
-		  probOut[iclass]=priors[iclass]*result[iclass];
-		break;
-	      }
-	    }
-	    free(x);
-	  }//for ibag
-
-	  //search for max class prob
-	  float maxBag=0;
-	  float normBag=0;
-	  string classOut="Unclassified";
-	  for(short iclass=0;iclass<nclass;++iclass){
-	    if(verbose_opt[0]>1)
-	      std::cout << probOut[iclass] << " ";
-	    if(probOut[iclass]>maxBag){
-	      maxBag=probOut[iclass];
-	      classOut=nameVector[iclass];
-	    }
-	  }
-	  //look for class name
-	  if(verbose_opt[0]>1){
-	    if(classValueMap.size())
-	      std::cout << "->" << classValueMap[classOut] << std::endl;
-	    else	    
-	      std::cout << "->" << classOut << std::endl;
-	  }
-	  if(output_opt.size()){
-	    if(classValueMap.size())
-	      poDstFeature->SetField("class",classValueMap[classOut]);
-	    else	    
-	      poDstFeature->SetField("class",classOut.c_str());
-	    poDstFeature->SetFID( poFeature->GetFID() );
-	  }
-	  int labelIndex=poFeature->GetFieldIndex(label_opt[0].c_str());
-	  if(labelIndex>=0){
-	    string classRef=poFeature->GetFieldAsString(labelIndex);
-	    if(classRef!="0"){
-	      if(classValueMap.size())
-		cm.incrementResult(type2string<short>(classValueMap[classRef]),type2string<short>(classValueMap[classOut]),1);
-	      else
-		cm.incrementResult(classRef,classOut,1);
-	    }
-	  }
-	  CPLErrorReset();
-	  if(output_opt.size()){
-	    if(imgWriterOgr.createFeature(poDstFeature,ilayer) != OGRERR_NONE){
-	      CPLError( CE_Failure, CPLE_AppDefined,
-			"Unable to translate feature %d from layer %s.\n",
-			poFeature->GetFID(), imgWriterOgr.getLayerName(ilayer).c_str() );
-	      OGRFeature::DestroyFeature( poDstFeature );
-	      OGRFeature::DestroyFeature( poDstFeature );
-	    }
-	  }
-	  ++ifeature;
-	  if(!verbose_opt[0]){
-	    progress=static_cast<float>(ifeature+1.0)/nFeatures;
-	    pfnProgress(progress,pszMessage,pProgressArg);
-	  }
-	  OGRFeature::DestroyFeature( poFeature );
-	  OGRFeature::DestroyFeature( poDstFeature );
-	}//get next feature
-      }//next layer
-      imgReaderOgr.close();
-      if(output_opt.size())
-	imgWriterOgr.close();
-    }
-    if(cm.nReference()){
-      std::cout << cm << std::endl;
-      cout << "class #samples userAcc prodAcc" << endl;
-      double se95_ua=0;
-      double se95_pa=0;
-      double se95_oa=0;
-      double dua=0;
-      double dpa=0;
-      double doa=0;
-      for(short iclass=0;iclass<cm.nClasses();++iclass){
-	dua=cm.ua_pct(cm.getClass(iclass),&se95_ua);
-	dpa=cm.pa_pct(cm.getClass(iclass),&se95_pa);
-	cout << cm.getClass(iclass) << " " << cm.nReference(cm.getClass(iclass)) << " " << dua << " (" << se95_ua << ")" << " " << dpa << " (" << se95_pa << ")" << endl;
-      }
-      std::cout << "Kappa: " << cm.kappa() << std::endl;
-      doa=cm.oa(&se95_oa);
-      std::cout << "Overall Accuracy: " << 100*doa << " (" << 100*se95_oa << ")"  << std::endl;
-    }
-  }
   try{
     if(active_opt.size())
       activeWriter.close();
diff --git a/src/apps/pksvm.cc b/src/apps/pksvmogr.cc
similarity index 70%
copy from src/apps/pksvm.cc
copy to src/apps/pksvmogr.cc
index eb91aed..845ac98 100644
--- a/src/apps/pksvm.cc
+++ b/src/apps/pksvmogr.cc
@@ -1,6 +1,6 @@
 /**********************************************************************
-pksvm.cc: classify raster image using Support Vector Machine
-Copyright (C) 2008-2014 Pieter Kempeneers
+pksvmogr.cc: classify vector dataset using Support Vector Machine
+Copyright (C) 2008-2017 Pieter Kempeneers
 
 This file is part of pktools
 
@@ -34,41 +34,40 @@ along with pktools.  If not, see <http://www.gnu.org/licenses/>.
 #include <config.h>
 #endif
 /******************************************************************************/
-/*! \page pksvm pksvm
- classify raster image using Support Vector Machine
+/*! \page pksvmogr pksvmogr
+ classify vector dataset using Support Vector Machine
 ## SYNOPSIS
 
 <code>
-  Usage: pksvm -t training [-i input -o output] [-cv value]
+  Usage: pksvmogr -t training [-i input -o output] [-cv value]
 </code>
 
 <code>
 
-  Options: [-tln layer]* [-c name -r value]* [-of GDALformat|-f OGRformat] [-co NAME=VALUE]* [-ct filename] [-label attribute] [-prior value]* [-g gamma] [-cc cost] [-m filename [-msknodata value]*] [-nodata value]
+  Options: [-tln layer]* [-c name -r value]* [-of GDALformat|-f OGRformat] [-co NAME=VALUE]* [-ct filename] [-label attribute] [-prior value]* [-g gamma] [-cc cost] [-m filename ] [-nodata value]
 
   Advanced options:
-       [-b band] [-sband band -eband band]* [-bal size]* [-min] [-bag value] [-bs value] [-comb rule] [-cb filename] [-prob filename] [-pim priorimage] [--offset value] [--scale value] [-svmt type] [-kt type] [-kd value]  [-c0 value] [-nu value] [-eloss value] [-cache value] [-etol value] [-shrink]
+       [-b band] [-sband band -eband band]* [-bal size]* [-min] [-bag value] [-bs value] [-comb rule] [-cb filename] [-pim priorimage] [--offset value] [--scale value] [-svmt type] [-kt type] [-kd value]  [-c0 value] [-nu value] [-eloss value] [-cache value] [-etol value] [-shrink]
 </code>
 
-\section pksvm_description Description
+\section pksvmogr_description Description
 
-The utility pksvm implements a support vector machine (SVM) to solve a supervised classification problem. The implementation is based on the open source C++ library libSVM (http://www.csie.ntu.edu.tw/~cjlin/libsvm). 
+The utility pksvmogr implements a support vector machine (SVM) to solve a supervised classification problem. The implementation is based on the open source C++ library libSVM (http://www.csie.ntu.edu.tw/~cjlin/libsvm). 
 Both raster and vector files are supported as input. The output will contain the classification result, either in raster or vector format, corresponding to the format of the input. A training sample must be provided as an OGR vector dataset that contains the class labels and the features for each training point. The point locations are not considered in the training step. You can use the same training sample for classifying different images, provided the number of bands of the images are [...]
 
-\section pksvm_options Options
+\section pksvmogr_options Options
  - use either `-short` or `--long` options (both `--long=value` and `--long value` are supported)
  - short option `-h` shows basic options only, long option `--help` shows all options
 |short|long|type|default|description|
 |-----|----|----|-------|-----------|
  | t      | training             | std::string |       |Training vector file. A single vector file contains all training features (must be set as: b0, b1, b2,...) for all classes (class numbers identified by label option). Use multiple training files for bootstrap aggregation (alternative to the bag and bsize options, where a random subset is taken from a single training file) | 
- | i      | input                | std::string |       |input image | 
- | o      | output               | std::string |       |Output classification image | 
+ | i      | input                | std::string |       |input vector dataset | 
+ | o      | output               | std::string |       |Output classification vector dataset | 
  | cv     | cv                   | unsigned short | 0     |N-fold cross validation mode | 
  | cmf    | cmf                  | std::string | ascii |Format for confusion matrix (ascii or latex) | 
  | tln    | tln                  | std::string |       |Training layer name(s) | 
  | c      | class                | std::string |       |List of class names. | 
  | r      | reclass              | short |       |List of class values (use same order as in class opt). | 
- | of     | oformat              | std::string | GTiff |Output image format (see also gdal_translate).| 
  | f      | f                    | std::string | SQLite |Output ogr format for active training sample | 
  | co     | co                   | std::string |       |Creation option for output file. Multiple options can be specified. | 
  | ct     | ct                   | std::string |       |Color table in ASCII format having 5 columns: id R G B ALFA (0: transparent, 255: solid) | 
@@ -76,9 +75,8 @@ Both raster and vector files are supported as input. The output will contain the
  | prior  | prior                | double | 0     |Prior probabilities for each class (e.g., -p 0.3 -p 0.3 -p 0.2 ). Used for input only (ignored for cross validation) | 
  | g      | gamma                | float | 1     |Gamma in kernel function | 
  | cc     | ccost                | float | 1000  |The parameter C of C_SVC, epsilon_SVR, and nu_SVR | 
- | m      | mask                 | std::string |       |Only classify within specified mask (vector or raster). For raster mask, set nodata values with the option msknodata. | 
- | msknodata | msknodata            | short | 0     |Mask value(s) not to consider for classification. Values will be taken over in classification image. | 
- | nodata | nodata               | unsigned short | 0     |Nodata value to put where image is masked as nodata | 
+ | m      | mask                 | std::string |       |Only classify within specified mask (vector or raster). | 
+ | nodata | nodata               | unsigned short | 0     |Nodata value to put where vector dataset is masked as nodata | 
  | b      | band                 | short |       |Band index (starting from 0, either use band option or use start to end) | 
  | sband  | startband            | unsigned short |      |Start band sequence number | 
  | eband  | endband              | unsigned short |      |End band sequence number   | 
@@ -88,7 +86,6 @@ Both raster and vector files are supported as input. The output will contain the
  | bagsize | bagsize              | int  | 100   |Percentage of features used from available training features for each bootstrap aggregation (one size for all classes, or a different size for each class respectively | 
  | comb   | comb                 | unsigned short | 0     |How to combine bootstrap aggregation classifiers (0: sum rule, 1: product rule, 2: max rule). Also used to aggregate classes with rc option. | 
  | cb     | classbag             | std::string |       |Output for each individual bootstrap aggregation | 
- | prob   | prob                 | std::string |       |Probability image. | 
  | pim    | priorimg             | std::string |       |Prior probability image (multi-band img with band for each class | 
  | offset | offset               | double | 0     |Offset value for each spectral band input features: refl[band]=(DN[band]-offset[band])/scale[band] | 
  | scale  | scale                | double | 0     |Scale value for each spectral band input features: refl=(DN[band]-offset[band])/scale[band] (use 0 if scale min and max in each band to -1.0 and 1.0) | 
@@ -107,12 +104,11 @@ Both raster and vector files are supported as input. The output will contain the
  | na     | nactive              | unsigned int | 1     |Number of active training points | 
  | random | random               | bool | true  |Randomize training data for balancing and bagging | 
 
-Usage: pksvm -t training [-i input -o output] [-cv value]
+Usage: pksvmogr -t training [-i input -o output] [-cv value]
 
 
 Examples
 ========
-Some examples how to use pksvm can be found \ref examples_pksvm "here"
 **/
 
 namespace svm{
@@ -162,14 +158,11 @@ int main(int argc, char *argv[])
   Optionpk<unsigned short> bag_opt("bag", "bag", "Number of bootstrap aggregations", 1);
   Optionpk<int> bagSize_opt("bagsize", "bagsize", "Percentage of features used from available training features for each bootstrap aggregation (one size for all classes, or a different size for each class respectively", 100);
   Optionpk<string> classBag_opt("cb", "classbag", "Output for each individual bootstrap aggregation");
-  Optionpk<string> mask_opt("m", "mask", "Only classify within specified mask (vector or raster). For raster mask, set nodata values with the option msknodata.");
-  Optionpk<short> msknodata_opt("msknodata", "msknodata", "Mask value(s) not to consider for classification. Values will be taken over in classification image.", 0);
-  Optionpk<unsigned short> nodata_opt("nodata", "nodata", "Nodata value to put where image is masked as nodata", 0);
-  Optionpk<string> output_opt("o", "output", "Output classification image"); 
-  Optionpk<string>  oformat_opt("of", "oformat", "Output image format (see also gdal_translate).","GTiff");
+  Optionpk<string> mask_opt("m", "mask", "Only classify within specified mask (vector or raster).");
+  Optionpk<unsigned short> nodata_opt("nodata", "nodata", "Nodata value to put where vector dataset is masked as nodata", 0);
+  Optionpk<string> output_opt("o", "output", "Output vector dataset"); 
   Optionpk<string> option_opt("co", "co", "Creation option for output file. Multiple options can be specified.");
   Optionpk<string> colorTable_opt("ct", "ct", "Color table in ASCII format having 5 columns: id R G B ALFA (0: transparent, 255: solid)"); 
-  Optionpk<string> prob_opt("prob", "prob", "Probability image."); 
   Optionpk<string> entropy_opt("entropy", "entropy", "Entropy image (measure for uncertainty of classifier output","",2); 
   Optionpk<string> active_opt("active", "active", "Ogr output for active training sample.","",2); 
   Optionpk<string> ogrformat_opt("f", "f", "Output ogr format for active training sample","SQLite");
@@ -178,7 +171,6 @@ int main(int argc, char *argv[])
   Optionpk<short> classvalue_opt("r", "reclass", "List of class values (use same order as in class opt)."); 
   Optionpk<short> verbose_opt("v", "verbose", "Verbose level",0,2);
 
-  oformat_opt.setHide(1);
   option_opt.setHide(1);
   band_opt.setHide(1);
   bstart_opt.setHide(1);
@@ -189,7 +181,6 @@ int main(int argc, char *argv[])
   bagSize_opt.setHide(1);
   comb_opt.setHide(1);
   classBag_opt.setHide(1);
-  prob_opt.setHide(1);
   priorimg_opt.setHide(1);
   offset_opt.setHide(1);
   scale_opt.setHide(1);
@@ -220,7 +211,6 @@ int main(int argc, char *argv[])
     tlayer_opt.retrieveOption(argc,argv);
     classname_opt.retrieveOption(argc,argv);
     classvalue_opt.retrieveOption(argc,argv);
-    oformat_opt.retrieveOption(argc,argv);
     ogrformat_opt.retrieveOption(argc,argv);
     option_opt.retrieveOption(argc,argv);
     colorTable_opt.retrieveOption(argc,argv);
@@ -229,7 +219,6 @@ int main(int argc, char *argv[])
     gamma_opt.retrieveOption(argc,argv);
     ccost_opt.retrieveOption(argc,argv);
     mask_opt.retrieveOption(argc,argv);
-    msknodata_opt.retrieveOption(argc,argv);
     nodata_opt.retrieveOption(argc,argv);
     // Advanced options
     band_opt.retrieveOption(argc,argv);
@@ -241,7 +230,6 @@ int main(int argc, char *argv[])
     bagSize_opt.retrieveOption(argc,argv);
     comb_opt.retrieveOption(argc,argv);
     classBag_opt.retrieveOption(argc,argv);
-    prob_opt.retrieveOption(argc,argv);
     priorimg_opt.retrieveOption(argc,argv);
     offset_opt.retrieveOption(argc,argv);
     scale_opt.retrieveOption(argc,argv);
@@ -267,7 +255,7 @@ int main(int argc, char *argv[])
   }
   if(!doProcess){
     cout << endl;
-    cout << "Usage: pksvm -t training [-i input -o output] [-cv value]" << endl;
+    cout << "Usage: pksvmogr -t training [-i input -o output] [-cv value]" << endl;
     cout << endl;
     std::cout << "short option -h shows basic options only, use long option --help to show all options" << std::endl;
     exit(0);//help was invoked, stop processing
@@ -760,441 +748,7 @@ int main(int argc, char *argv[])
   catch(string errorString){
     inputIsRaster=true;
   }
-  if(inputIsRaster){
-    ImgReaderGdal testImage;
-    try{
-      if(verbose_opt[0]>=1)
-        std::cout << "opening image " << input_opt[0] << std::endl; 
-      testImage.open(input_opt[0]);
-    }
-    catch(string error){
-      cerr << error << std::endl;
-      exit(2);
-    }
-    ImgReaderGdal priorReader;
-    if(priorimg_opt.size()){
-      try{
-	if(verbose_opt[0]>=1)
-          std::cout << "opening prior image " << priorimg_opt[0] << std::endl;
-        priorReader.open(priorimg_opt[0]);
-        assert(priorReader.nrOfCol()==testImage.nrOfCol());
-        assert(priorReader.nrOfRow()==testImage.nrOfRow());
-      }
-      catch(string error){
-        cerr << error << std::endl;
-        exit(2);
-      }
-      catch(...){
-        cerr << "error caught" << std::endl;
-        exit(1);
-      }
-    }
-
-    int nrow=testImage.nrOfRow();
-    int ncol=testImage.nrOfCol();
-    if(option_opt.findSubstring("INTERLEAVE=")==option_opt.end()){
-      string theInterleave="INTERLEAVE=";
-      theInterleave+=testImage.getInterleave();
-      option_opt.push_back(theInterleave);
-    }
-    vector<char> classOut(ncol);//classified line for writing to image file
-
-    //   assert(nband==testImage.nrOfBand());
-    ImgWriterGdal classImageBag;
-    ImgWriterGdal classImageOut;
-    ImgWriterGdal probImage;
-    ImgWriterGdal entropyImage;
-
-    string imageType=testImage.getImageType();
-    if(oformat_opt.size())//default
-      imageType=oformat_opt[0];
-    try{
-      assert(output_opt.size());
-      if(verbose_opt[0]>=1)
-        std::cout << "opening class image for writing output " << output_opt[0] << std::endl;
-      if(classBag_opt.size()){
-        classImageBag.open(classBag_opt[0],ncol,nrow,nbag,GDT_Byte,imageType,option_opt);
-	classImageBag.GDALSetNoDataValue(nodata_opt[0]);
-        classImageBag.copyGeoTransform(testImage);
-        classImageBag.setProjection(testImage.getProjection());
-      }
-      classImageOut.open(output_opt[0],ncol,nrow,1,GDT_Byte,imageType,option_opt);
-      classImageOut.GDALSetNoDataValue(nodata_opt[0]);
-      classImageOut.copyGeoTransform(testImage);
-      classImageOut.setProjection(testImage.getProjection());
-      if(colorTable_opt.size())
-        classImageOut.setColorTable(colorTable_opt[0],0);
-      if(prob_opt.size()){
-        probImage.open(prob_opt[0],ncol,nrow,nclass,GDT_Byte,imageType,option_opt);
-	probImage.GDALSetNoDataValue(nodata_opt[0]);
-        probImage.copyGeoTransform(testImage);
-        probImage.setProjection(testImage.getProjection());
-      }
-      if(entropy_opt.size()){
-        entropyImage.open(entropy_opt[0],ncol,nrow,1,GDT_Byte,imageType,option_opt);
-	entropyImage.GDALSetNoDataValue(nodata_opt[0]);
-        entropyImage.copyGeoTransform(testImage);
-        entropyImage.setProjection(testImage.getProjection());
-      }
-    }
-    catch(string error){
-      cerr << error << std::endl;
-    }
-  
-    ImgWriterGdal maskWriter;
-
-    if(maskIsVector){
-      try{
-	maskWriter.open("/vsimem/mask.tif",ncol,nrow,1,GDT_Float32,imageType,option_opt);
-	maskWriter.GDALSetNoDataValue(nodata_opt[0]);
-        maskWriter.copyGeoTransform(testImage);
-        maskWriter.setProjection(testImage.getProjection());
-	vector<double> burnValues(1,1);//burn value is 1 (single band)
-	maskWriter.rasterizeOgr(extentReader,burnValues);
-	extentReader.close();
-	maskWriter.close();
-      }
-      catch(string error){
-        cerr << error << std::endl;
-        exit(2);
-      }
-      catch(...){
-        cerr << "error caught" << std::endl;
-        exit(1);
-      }
-      mask_opt.clear();
-      mask_opt.push_back("/vsimem/mask.tif");
-    }
-    ImgReaderGdal maskReader;
-    if(mask_opt.size()){
-      try{
-        if(verbose_opt[0]>=1)
-          std::cout << "opening mask image file " << mask_opt[0] << std::endl;
-        maskReader.open(mask_opt[0]);
-      }
-      catch(string error){
-        cerr << error << std::endl;
-        exit(2);
-      }
-      catch(...){
-        cerr << "error caught" << std::endl;
-        exit(1);
-      }
-    }
-
-    for(int iline=0;iline<nrow;++iline){
-      vector<float> buffer(ncol);
-      vector<short> lineMask;
-      Vector2d<float> linePrior;
-      if(priorimg_opt.size())
-	 linePrior.resize(nclass,ncol);//prior prob for each class
-      Vector2d<float> hpixel(ncol);
-      Vector2d<float> probOut(nclass,ncol);//posterior prob for each (internal) class
-      vector<float> entropy(ncol);
-      Vector2d<char> classBag;//classified line for writing to image file
-      if(classBag_opt.size())
-        classBag.resize(nbag,ncol);
-      try{
-        if(band_opt.size()){
-          for(int iband=0;iband<band_opt.size();++iband){
-            if(verbose_opt[0]==2)
-              std::cout << "reading band " << band_opt[iband] << std::endl;
-            assert(band_opt[iband]>=0);
-            assert(band_opt[iband]<testImage.nrOfBand());
-            testImage.readData(buffer,iline,band_opt[iband]);
-            for(int icol=0;icol<ncol;++icol)
-              hpixel[icol].push_back(buffer[icol]);
-          }
-        }
-        else{
-          for(int iband=0;iband<nband;++iband){
-            if(verbose_opt[0]==2)
-              std::cout << "reading band " << iband << std::endl;
-            assert(iband>=0);
-            assert(iband<testImage.nrOfBand());
-            testImage.readData(buffer,iline,iband);
-            for(int icol=0;icol<ncol;++icol)
-              hpixel[icol].push_back(buffer[icol]);
-          }
-        }
-      }
-      catch(string theError){
-        cerr << "Error reading " << input_opt[0] << ": " << theError << std::endl;
-        exit(3);
-      }
-      catch(...){
-        cerr << "error caught" << std::endl;
-        exit(3);
-      }
-      assert(nband==hpixel[0].size());
-      if(verbose_opt[0]>1)
-        std::cout << "used bands: " << nband << std::endl;
-      //read prior
-      if(priorimg_opt.size()){
-        try{
-	  for(short iclass=0;iclass<nclass;++iclass){
-	    if(verbose_opt.size()>1)
-	      std::cout << "Reading " << priorimg_opt[0] << " band " << iclass << " line " << iline << std::endl;
-	    priorReader.readData(linePrior[iclass],iline,iclass);
-	  }
-        }
-        catch(string theError){
-	  std::cerr << "Error reading " << priorimg_opt[0] << ": " << theError << std::endl;
-          exit(3);
-        }
-        catch(...){
-          cerr << "error caught" << std::endl;
-          exit(3);
-        }
-      }
-      double oldRowMask=-1;//keep track of row mask to optimize number of line readings
-      //process per pixel
-      for(int icol=0;icol<ncol;++icol){
-        assert(hpixel[icol].size()==nband);
-	bool doClassify=true;
-        bool masked=false;
-	double geox=0;
-	double geoy=0;
-        if(maskIsVector){
-	  doClassify=false;
-	  testImage.image2geo(icol,iline,geox,geoy);
-	  //check enveloppe first
-	  if(uly>=geoy&&lry<=geoy&&ulx<=geox&&lrx>=geox){
-	    doClassify=true;
-	  }
-	}
-        if(mask_opt.size()){
-	  //read mask
-	  double colMask=0;
-	  double rowMask=0;
-
-	  testImage.image2geo(icol,iline,geox,geoy);
-	  maskReader.geo2image(geox,geoy,colMask,rowMask);
-	  colMask=static_cast<int>(colMask);
-	  rowMask=static_cast<int>(rowMask);
-	  if(rowMask>=0&&rowMask<maskReader.nrOfRow()&&colMask>=0&&colMask<maskReader.nrOfCol()){
-	    if(static_cast<int>(rowMask)!=static_cast<int>(oldRowMask)){
-	      assert(rowMask>=0&&rowMask<maskReader.nrOfRow());
-	      try{
-		// maskReader.readData(lineMask[imask],GDT_Int32,static_cast<int>(rowMask));
-		maskReader.readData(lineMask,static_cast<int>(rowMask));
-	      }
-	      catch(string errorstring){
-		cerr << errorstring << endl;
-		exit(1);
-	      }
-	      catch(...){
-		cerr << "error caught" << std::endl;
-		exit(3);
-	      }
-	      oldRowMask=rowMask;
-	    }
-	    short theMask=0;
-	    for(short ivalue=0;ivalue<msknodata_opt.size();++ivalue){
-	      // if(msknodata_opt[ivalue]>=0){//values set in msknodata_opt are invalid
-		if(lineMask[colMask]==msknodata_opt[ivalue]){
-		  theMask=lineMask[colMask];
-		  masked=true;
-		  break;
-		}
-	      // }
-	      // else{//only values set in msknodata_opt are valid
-	      // 	if(lineMask[colMask]!=-msknodata_opt[ivalue]){
-	      // 	  theMask=lineMask[colMask];
-	      // 	  masked=true;
-	      // 	}
-	      // 	else{
-	      // 	  masked=false;
-	      // 	  break;
-	      // 	}
-	      // }
-	    }
-	    if(masked){
-	      if(classBag_opt.size())
-		for(int ibag=0;ibag<nbag;++ibag)
-		  classBag[ibag][icol]=theMask;
-	      classOut[icol]=theMask;
-	      continue;
-	    }
-	  }
-	  bool valid=false;
-	  for(int iband=0;iband<hpixel[icol].size();++iband){
-	    if(hpixel[icol][iband]){
-	      valid=true;
-	      break;
-	    }
-	  }
-	  if(!valid)
-	    doClassify=false;
-	}
-        for(short iclass=0;iclass<nclass;++iclass)
-          probOut[iclass][icol]=0;
-	if(!doClassify){
-	  if(classBag_opt.size())
-	    for(int ibag=0;ibag<nbag;++ibag)
-	      classBag[ibag][icol]=nodata_opt[0];
-	  classOut[icol]=nodata_opt[0];
-	  continue;//next column
-	}
-	if(verbose_opt[0]>1)
-	  std::cout << "begin classification " << std::endl;
-        //----------------------------------- classification -------------------
-        for(int ibag=0;ibag<nbag;++ibag){
-          vector<double> result(nclass);
-          struct svm_node *x;
-          x = (struct svm_node *) malloc((nband+1)*sizeof(struct svm_node));
-          for(int iband=0;iband<nband;++iband){
-            x[iband].index=iband+1;
-            x[iband].value=(hpixel[icol][iband]-offset[ibag][iband])/scale[ibag][iband];
-          }
-          x[nband].index=-1;//to end svm feature vector
-          double predict_label=0;
-          vector<float> prValues(nclass);
-          float maxP=0;
-          if(!prob_est_opt[0]){
-            predict_label = svm_predict(svm[ibag],x);
-            for(short iclass=0;iclass<nclass;++iclass){
-              if(iclass==static_cast<short>(predict_label))
-                result[iclass]=1;
-              else
-                result[iclass]=0;
-            }
-          }
-          else{
-            assert(svm_check_probability_model(svm[ibag]));
-            predict_label = svm_predict_probability(svm[ibag],x,&(result[0]));
-          }
-          //calculate posterior prob of bag 
-          if(classBag_opt.size()){
-            //search for max prob within bag
-            maxP=0;
-            classBag[ibag][icol]=0;
-          }
-	  double normPrior=0;
-	  if(priorimg_opt.size()){
-	    for(short iclass=0;iclass<nclass;++iclass)
-	      normPrior+=linePrior[iclass][icol];
-	  }
-          for(short iclass=0;iclass<nclass;++iclass){
-	    if(priorimg_opt.size())
-	      priors[iclass]=linePrior[iclass][icol]/normPrior;//todo: check if correct for all cases... (automatic classValueMap and manual input for names and values)
-            switch(comb_opt[0]){
-            default:
-            case(0)://sum rule
-              probOut[iclass][icol]+=result[iclass]*priors[iclass];//add probabilities for each bag
-               break;
-            case(1)://product rule
-              probOut[iclass][icol]*=pow(static_cast<float>(priors[iclass]),static_cast<float>(1.0-nbag)/nbag)*result[iclass];//multiply probabilities for each bag
-              break;
-            case(2)://max rule
-              if(priors[iclass]*result[iclass]>probOut[iclass][icol])
-                probOut[iclass][icol]=priors[iclass]*result[iclass];
-              break;
-            }
-            if(classBag_opt.size()){
-              //search for max prob within bag
-              // if(prValues[iclass]>maxP){
-              //   maxP=prValues[iclass];
-              //   classBag[ibag][icol]=iclass;
-              // }
-              if(result[iclass]>maxP){
-                maxP=result[iclass];
-                classBag[ibag][icol]=iclass;
-              }
-            }
-          }
-          free(x);
-        }//ibag
-
-        //search for max class prob
-        float maxBag1=0;//max probability
-        float maxBag2=0;//second max probability
-        float normBag=0;
-        for(short iclass=0;iclass<nclass;++iclass){
-          if(probOut[iclass][icol]>maxBag1){
-            maxBag1=probOut[iclass][icol];
-            classOut[icol]=classValueMap[nameVector[iclass]];
-          }
-	  else if(probOut[iclass][icol]>maxBag2)
-            maxBag2=probOut[iclass][icol];
-          normBag+=probOut[iclass][icol];
-        }
-        //normalize probOut and convert to percentage
-        entropy[icol]=0;
-        for(short iclass=0;iclass<nclass;++iclass){
-          float prv=probOut[iclass][icol];
-          prv/=normBag;
-          entropy[icol]-=prv*log(prv)/log(2.0);
-          prv*=100.0;
-            
-          probOut[iclass][icol]=static_cast<short>(prv+0.5);
-          // assert(classValueMap[nameVector[iclass]]<probOut.size());
-          // assert(classValueMap[nameVector[iclass]]>=0);
-          // probOut[classValueMap[nameVector[iclass]]][icol]=static_cast<short>(prv+0.5);
-        }
-        entropy[icol]/=log(static_cast<double>(nclass))/log(2.0);
-        entropy[icol]=static_cast<short>(100*entropy[icol]+0.5);
-	if(active_opt.size()){
-	  if(entropy[icol]>activePoints.back().value){
-	    activePoints.back().value=entropy[icol];//replace largest value (last)
-	    activePoints.back().posx=icol;
-	    activePoints.back().posy=iline;
-	    std::sort(activePoints.begin(),activePoints.end(),Decrease_PosValue());//sort in descending order (largest first, smallest last)
-	    if(verbose_opt[0])
-	      std::cout << activePoints.back().posx << " " << activePoints.back().posy << " " << activePoints.back().value << std::endl;
-	  }
-	}
-      }//icol
-      //----------------------------------- write output ------------------------------------------
-      if(classBag_opt.size())
-        for(int ibag=0;ibag<nbag;++ibag)
-          classImageBag.writeData(classBag[ibag],iline,ibag);
-      if(prob_opt.size()){
-        for(short iclass=0;iclass<nclass;++iclass)
-          probImage.writeData(probOut[iclass],iline,iclass);
-      }
-      if(entropy_opt.size()){
-        entropyImage.writeData(entropy,iline);
-      }
-      classImageOut.writeData(classOut,iline);
-      if(!verbose_opt[0]){
-        progress=static_cast<float>(iline+1.0)/classImageOut.nrOfRow();
-        pfnProgress(progress,pszMessage,pProgressArg);
-      }
-    }
-    //write active learning points
-    if(active_opt.size()){
-      for(int iactive=0;iactive<activePoints.size();++iactive){
-	std::map<string,double> pointMap;
-	for(int iband=0;iband<testImage.nrOfBand();++iband){
-	  double value;
-	  testImage.readData(value,static_cast<int>(activePoints[iactive].posx),static_cast<int>(activePoints[iactive].posy),iband);
-	  ostringstream fs;
-	  fs << "B" << iband;
-	  pointMap[fs.str()]=value;
-	}
-	pointMap[label_opt[0]]=0;
-	double x, y;
-	testImage.image2geo(activePoints[iactive].posx,activePoints[iactive].posy,x,y);
-        std::string fieldname="id";//number of the point
-	activeWriter.addPoint(x,y,pointMap,fieldname,++nactive);
-      }
-    }
-
-    testImage.close();
-    if(mask_opt.size())
-      maskReader.close();
-    if(priorimg_opt.size())
-      priorReader.close();
-    if(prob_opt.size())
-      probImage.close();
-    if(entropy_opt.size())
-      entropyImage.close();
-    if(classBag_opt.size())
-      classImageBag.close();
-    classImageOut.close();
-  }
-  else{//classify vector file
+  if(!inputIsRaster){//classify vector file
     cm.clearResults();
     //notice that fields have already been set by readDataImageOgr (taking into account appropriate bands)
     for(int ivalidation=0;ivalidation<input_opt.size();++ivalidation){

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git



More information about the Pkg-grass-devel mailing list