From 65b447703649e2b43df62beb3274a9b8b74837bd Mon Sep 17 00:00:00 2001
From: Jordi Inglada <jordi.inglada@orfeo-toolbox.org>
Date: Thu, 29 Jun 2006 14:35:34 +0000
Subject: [PATCH] Exemple Metadata

---
 SoftwareGuide/Examples/CMakeLists.txt      |  1 +
 SoftwareGuide/Latex/DataRepresentation.tex |  7 ++---
 SoftwareGuide/Latex/Installation.tex       | 35 ++++++++++++++++++----
 3 files changed, 34 insertions(+), 9 deletions(-)

diff --git a/SoftwareGuide/Examples/CMakeLists.txt b/SoftwareGuide/Examples/CMakeLists.txt
index a0fdb2bba9..ce2f041bdd 100644
--- a/SoftwareGuide/Examples/CMakeLists.txt
+++ b/SoftwareGuide/Examples/CMakeLists.txt
@@ -176,6 +176,7 @@ SET( OTB_EXAMPLES_SRCS
   ${OTB_SOURCE_DIR}/Examples/IO/ComplexImageReadWrite.cxx
   ${OTB_SOURCE_DIR}/Examples/IO/MultibandImageReadWrite.cxx
   ${OTB_SOURCE_DIR}/Examples/IO/ExtractROI.cxx
+  ${OTB_SOURCE_DIR}/Examples/IO/MetadataExample.cxx  
   ${OTB_SOURCE_DIR}/Examples/Filtering/BinaryThresholdImageFilter.cxx
   ${OTB_SOURCE_DIR}/Examples/Filtering/ThresholdImageFilter.cxx
   ${OTB_SOURCE_DIR}/Examples/Filtering/CannyEdgeDetectionImageFilter.cxx
diff --git a/SoftwareGuide/Latex/DataRepresentation.tex b/SoftwareGuide/Latex/DataRepresentation.tex
index be10568b6e..7a968de9c2 100644
--- a/SoftwareGuide/Latex/DataRepresentation.tex
+++ b/SoftwareGuide/Latex/DataRepresentation.tex
@@ -49,10 +49,9 @@ a file.
 
 \input{Image4.tex}
 
-\subsection{Defining Other Image Attributes}
-\label{sec:DefiningOtherImageAttributes}
-\textbf{FIXME : add examples!!}
-%% Geographic projections, etc?
+\subsection{Accessing Image Metadata}
+\label{sec:AccessingImageMetadata}
+\input{MetadataExample}
 
 \subsection{RGB Images}
 
diff --git a/SoftwareGuide/Latex/Installation.tex b/SoftwareGuide/Latex/Installation.tex
index 8a1a340da3..a12350aa16 100644
--- a/SoftwareGuide/Latex/Installation.tex
+++ b/SoftwareGuide/Latex/Installation.tex
@@ -19,8 +19,8 @@ MS-Windows, Linux on Intel-compatible hardware, Solaris, Mac
 OSX, and Cygwin.  It is known to work with the following compilers:
 \textbf{FIXME}
 \begin{itemize}
-\item Visual Studio 6, .NET 2002, .NET 2003
-\item GCC 2.95.x, 2.96, 3.x
+\item Visual Studio 6%, .NET 2002, .NET 2003
+\item GCC 2.95.x, 2.96, 3.x, 4.x
 \end{itemize}
 
 Given the advanced usage of C++ features in the toolbox, some
@@ -28,6 +28,26 @@ compilers may have difficulties processing the code. If you are
 currently using an outdated compiler this may be an excellent excuse
 for upgrading this old piece of software!
 
+\section{External Libraries}
+
+The OTB depends on 3 libraries:
+\begin{itemize}
+  \item ITK: you have the choice between using OTB's internal version
+  of ITK or building your own ITK outside the OTB source tree. The
+  recommended choice is the first one. See next section for
+  details. If you choose to use an external version of ITK, go to
+  \url{http://www.itk.org} and follow the guidelines to download and
+  install ITK.
+  \item GDAL: The support of remote sensing imagery formats is ensured
+    through the use of the GDAL library. Please see
+\url{http://www.remotesensing.org/gdal/} for informations on how to
+download and install this library on your system.
+\item Fltk: this library is used for the visualization
+  functionnalities. See \url{http://www.fltk.org/} for details about
+  dowloading and installing Fltk. OTB has been tested with version 1.1.7.
+\end{itemize}
+
+
 \section{Configuring OTB}
 \label{sec:ConfiguringOTB}
 
@@ -130,9 +150,8 @@ testing option will considerably increase the build time.  It is not
 desirable to enable this option for a first build of the toolbox.
 
 An additional resource is available in the \code{OTB-Applications} module,
-which contains multiple applications incorporating GUIs and different levels
-of visualization.  However, due to the large number of applications and the
-fact that some of them rely on third party libraries, building this module
+which contains applications incorporating GUIs and different levels
+of visualization.  However, building this module
 should be postponed until you are familiar with the basic structure of the
 toolbox and the building process. 
 
@@ -162,6 +181,12 @@ the normal build process, about 600 small test programs will be compiled. This
 will verify that the basic components of OTB have been correctly built on your
 system.
 
+\subsubsection{Building ITK}
+
+The OTB installation procedure allows you to choose between building
+the OTB with an external version of ITK already present in your
+system. The choice is made by using the \code{OTB\_USE\_EXTERNAL\_ITK}
+CMake variable.
 
 \section{Getting Started With OTB }
 \label{sec:GettingStartedWithOTB}
-- 
GitLab