Commit 8fe5ea88 authored by Rashad Kanavath's avatar Rashad Kanavath

DOC: fix warnings from cookbook generation

parent a15dba6a
set(OUT_OF_SOURCE_BUILD FALSE)
if(NOT PROJECT_NAME)
......@@ -90,6 +89,7 @@ set(HTML_DIR ${CMAKE_CURRENT_BINARY_DIR}/html)
remove_and_make_directories(
${HTML_DIR}
${RST_BINARY_DIR}
${RST_BINARY_DIR}/Applications/
${HTML_DIR}
${LATEX_DIR}
${CMAKE_CURRENT_BINARY_DIR}/_static
......@@ -118,7 +118,6 @@ configure_file(${RST_SOURCE_DIR}/conf.py.in ${SPHINX_CONF_DIR}/conf.py @ONLY)
# I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
add_custom_target(generate_otbapps_rst
ALL
COMMAND ${SH_INTERP} ${CMAKE_CURRENT_BINARY_DIR}/RunApplicationsRstGenerator.sh
${RST_BINARY_DIR}
WORKING_DIRECTORY ${RST_BINARY_DIR}
......@@ -126,7 +125,6 @@ add_custom_target(generate_otbapps_rst
)
add_custom_target(CookBookHTML
ALL
COMMAND ${SPHINX_BUILD}
-b html
${RST_BINARY_DIR}
......@@ -148,7 +146,6 @@ add_custom_target(CookBookArchive
COMMENT "Creating archive for html CookBook")
add_custom_target(CookBookTexFromRST
ALL
COMMAND ${SPHINX_BUILD}
-b latex
${RST_BINARY_DIR}
......@@ -157,7 +154,7 @@ add_custom_target(CookBookArchive
-v
-c ${SPHINX_CONF_DIR}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
DEPENDS generate_otbapps_rst
DEPENDS CookBookHTML
COMMENT "Generating Tex files from rst"
VERBATIM)
......
......@@ -14,9 +14,10 @@ GIS/Image processing tools such as GDAL, GRASS GIS, OSSIM that can deal with num
Below code reads an input image using python pillow (PIL) and convert it to numpy array. This numpy array is
used an input to the application set *SetImageFromNumpyArray(...)* method.
The application used in this example is `ExtractROI <../Applications/app_ExtractROI.html>`_. After extracting
a small area the output image is taken as numpy array with *GetImageFromNumpyArray(...)* method
used an input to the application via *SetImageFromNumpyArray(...)* method.
The application used in this example is ExtractROI. After extracting
a small area the output image is taken as numpy array with *GetImageFromNumpyArray(...)* method thus avoid wiriting
output to a temporary file.
::
......
......@@ -333,9 +333,9 @@ model can’t be observed if the map projection is used. In order to
perform an ortho-rectification on this type of product, the map
projection has to be hidden from **Orfeo Toolbox** .
You can see if a product is an ortho-ready product by using tools such
as ``gdalinfo`` or `ReadImageInfo <../Applications/app_ReadImageInfo.html>`_, and check
if the product verifies the 2 following conditions :
You can see if a product is an ortho-ready product by using ``gdalinfo`` or
OTB ReadImageInfo application.
Check if your product verifies following two conditions :
- The product is in raw geometry : you should expect the presence of
RPC coefficients and a non-empty OSSIM keywordlist.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment