How to create a Processing Options Template .tmpl File - PIX4Dmapper

Follow

This article describes the format of the .tmpl template file. This could be useful when there is a need to create a template file to automate processing using the command line.

 
Note: It is recommended to use the user interface as much as possible to create templates and to export them to a file.

.tmpl file format

The .tmpl file contains information about the processing options and which processing steps to run. The .tmpl file is written in XML format and has a formal definition by means of a XSD (XML Schema Document) file. The XSD file can be found in the installation directory in "resources/xsd/templates_*.xsd".

The name of the .tmpl file defines the template name that will be displayed in the software's User Interface.

The .tmpl file has the following structure

.tmpl 3.3 format summary
<?xml version="1.0" encoding="UTF-8"?>
<pix4dtmpl>
    <information>
        <info>
            <!--Contains user information about the template-->
        </info>
        <version>
            <!--Contains the software version defining the template format-->
        </version>
    </information>
    <initial>
        <!--Contains info about the processing options for step 1-->
    </initial>
    <dense>
        <!--Contains info about the processing options for step 2-->
    </dense>
    <ortho>
        <!--Contains info about the processing options for step 3 Orthomosaic and DSM-->
    </ortho>
    <index>
        <!--Contains info about the processing options for step 3 Index Calculator-->
    </index>
</pix4dtmpl>

 

.tmpl XML tags

The section below lists the XML tags used for each processing options.

 

1. Initial Processing

Processing options for step 1. Initial Processing. For more information: Menu Process > Processing Options... > 1. Initial Processing > General.

Run Step
Option XML Tag Value Type and Range Example
Run step 1. Initial Processing runStep Defines if step 1 should be run or not. Value can be:
  • true: run step 1
  • false: do not run step 1
<runStep>true</runStep>

 

General
Option XML Tag Value Type and Range Example
Keypoints Image Scale
Keypoint Image Scale keypointsImageScale Defines how the image scale for keypoint extraction is chosen. Value is given by a string. It can be:
  • Full: for Full
  • Rapid: for Rapid
  • Custom: for Custom
<keypointsImageScale>Full</keypointsImageScale>
Image Scale imageScale Used only if keypointsImageScale = Custom

Defines the image scale used for keypoint extraction.
  • If Keypoint Image Scale is Full or Rapid: the Image Scale value is automatically chosen.
  • If Keypoint Image Scale is Custom: the value can be:
    • 0.125: for 1/8 (eighth image size)
    • 0.25: for 1/4 (quarter image size)
    • 0.5: for 1/2 (half image size)
    • 1: for 1 (original image size)
    • 2: for 2 (double image size)
<imageScale>1</imageScale>
Quality Report
Generate Orthomosaic Preview in Quality Report generateOrthoInReport Defines if the orthomosaic preview should be generated for the Quality Report or not. Value can be:
  • true: generate orthomosaic preview
  • false: do not generate orthomosaic preview
<generateOrthoInReport>true</generateOrthoInReport>

 

Matching
Option XML Tag Value Type and Range Example
Matching Image Pairs
Matching Image Pairs matchStrategy Defines how to select the image pairs to match together. Value is given by a string. It can be:
  • AutoAerial: for Aerial Grid or Corridor
  • AutoOblique: for Free Flight or Terrestrial
  • Custom: for Custom
<matchStrategy>AutoAerial</matchStrategy>
Use Capture Time matchTimeNbNeighbours Used only if matchStrategy = Custom

Defines if the images pair should be matched according to capture time. Value can be:
  • 0: Do not use capture time
  • a positive integer n such that 0 ≤ n ≤ 50: Number of Successive Neighboring Images
<matchTimeNbNeighbours>2</matchTimeNbNeighbours>
Use Triangulation of Image Geolocation matchUseTriangulation Used only if matchStrategy = Custom

Defines if the image pairs should be matched by using a triangulation of the image geolocation. Value can be:
  • true: use triangulation
  • false: do not use triangulation
<matchUseTriangulation>true</matchUseTriangulation>
Use Distance matchRelativeDistanceImages Used only if matchStrategy = Custom

Defines if the image pairs should be matched according to the distance between them. Value can be:
  • a decimal number < 0: use Relative Distance Between Consecutive Images
  • a decimal number > 0: use absolute Distance Between Consecutive Images
  • a decimal number = 0: do not use distance
<matchRelativeDistanceImages>-1.5</matchRelativeDistanceImages>
Use Image Similarity matchImageSimilarityMaxPairs Used only if matchStrategy = Custom

Defines if the image pairs should be matched using image similarity. Value can be:
  • 0: Do not use image similarity
  • a positive integer n such that 0 ≤ n ≤ 100: Maximum Number of Pairs for Each Image Based on Similarity
<matchImageSimilarityMaxPairs>2</matchImageSimilarityMaxPairs>
Use MTPs matchMtpMaxImagePair Used only if matchStrategy = Custom

Defines if the image pairs should be matched using Manual Tie Points. Value can be:
  • 0: Do not use MTPs
  • a positive integer n such that 1 ≤ n ≤ 50: Maximum Number of Image Pairs per MTP
<matchMtpMaxImagePair>50</matchMtpMaxImagePair>
Use Time for Multiple Cameras matchTimeMultiCamera Used only if matchStrategy = Custom

Defines if time should be used to match images taken by different cameras. Value can be:
  • 0: Do not use time
  • 1: Use time
<matchTimeMultiCamera>0</matchTimeMultiCamera>
Matching Strategy
Use Geometrically Verified Matching geometricallyVerifiedMatching Defines if geometrically verified matching should be used. Value can be:
  • true: use geometrically verified matching
  • false: do not use geometrically verified matching
<geometricallyVerifiedMatching>false</geometricallyVerifiedMatching>

 

Calibration
Option XML Tag Value Type and Range Example
Targeted Number of Keypoints
Targeted Number of Keypoints keypointSelectionMethod Defines how to select the targeted number of keypoints to extract. Value can be:
  • Automatic
  • CustomNumber OfKeypoints  
<keypointSelectionMethod>CustomNumberOfkeypoints</keypointSelectionMethod>
Number of Keypoints numberOfKeypoints Used only if keypointSelectionMethod=CustomNumberOfkeypoints

Defines the number of targeted keypoints to extract. Value can be:
  • an integer n such that 100 ≤ n ≤ 1'000'000
<numberOfKeypoints>10000</numberOfKeypoints>
Calibration
Calibration Method calibrationMethod Defines which calibration method to use. Value can be:
  • Standard
  • Alternative
  • Accurate Geolocation and Orientation
<calibrationMethod>Standard</calibrationMethod>
Optimizer optimizerType Defines the optimizer type to use. Value can be:
  • Ceres
<optimizerType>Ceres</optimizerType>
Internal Parameters Optimization internalParamOptimization Defines how to optimize the internal camera parameters. Value can be:
  • None
  • Leading
  • All
  • All Prior
<internalParamOptimization>All</internalParamOptimization>
External Parameters Optimization externalParamOptimization Defines how to optimize the external camera parameters. Value can be:
  • None
  • Orientation
  • All
<externalParamOptimization>All</externalParamOptimization>
Rematch
Rematch rematchStrategy Defines how to choose whether to rematch the images or not. Value can be:
  • Auto: for Automatic
  • Custom: for Custom
<rematchStrategy>Auto</rematchStrategy>
Rematch rematch Used only if rematchStrategy = Custom

Defines if the images have to be rematched or not. Value can be:
  • true: rematch images
  • false: do not rematch images
<rematch>true</rematch>
Pre-processing
Sky Segmentation automaticSkyMasking Used only if the project consists of Parrot Bebop images.

Defines if masking the pixels that are covered by sky on the images is used.  Value can be:
  • true: masking is applied
  • false: masking is not applied
<automaticSkyMasking>true</automaticSkyMasking>
Export
Camera Internals and Externals, AAT, BBA exportCameraParamsAATBBA Defines if the optimized camera internals and externals should be exported to files. Value can be:
  • true: export to file
  • false: do not export to file
<exportCameraParamsAATBBA>true</exportCameraParamsAATBBA>
Undistorted Images exportUndistortedImages Defines if undistorted images should be generated. Value can be:
  • true: generate undistorted images
  • false: do not generate undistorted images
<exportUndistortedImages>false</exportUndistortedImages>

2. Point Cloud and Mesh

Processing options for step 2. Point Cloud and Mesh. For more information: Menu Process > Processing Options... > 2. Point Cloud and Mesh > Point Cloud.

Run Step
Option XML Tag Value Type and Range Example
Run step 2. Point Cloud and Mesh runStep Defines if step 2 should be run or not. Value can be:
  • true: run step 2
  • false: do not run step 2
<runStep>true</runStep>

 

Point Cloud
Option XML Tag Value Type and Range Example
Point Cloud Densification
Image Scale pclImageDownscaleFactor Defines the image scale used for densified point cloud. Value can be:
  • 0: for 1 (Originial image size, Slow)
  • 1: for 1/2 (Half image size, default)
  • 2: for 1/4 (Quarter image size, Fast)
  • 3: for 1/8 (Eighth image size, Tolerant)
<pclImageDownscaleFactor>1</pclImageDownscaleFactor>
Multiscale pclImageMultiscale Defines if multi image scales should be used for point cloud densification. Value can be:
  • true: do not use multiscale
  • false: use multiscale
<pclImageMultiscale>true</pclImageMultiscale>
Point Density pclDensity Defines which point density to obtain. Value can be:
  • High
  • Optimal
  • Low
<pclDensity>Optimal</pclDensity>
Minimum Number of Matches pclMinNoMatches Defines the minimum number of matches. Value can be and integer n such that 2 ≤ n ≤ 6 <pclMinNoMatches>3</pclMinNoMatches>
Export
LAS pclExportLAS Defines if the densified point cloud should be exported in LAS format. Value can be:
  • true: export densified point cloud in LAS format
  • false: do not export densified point cloud in LAS format
<pclExportLAS>true</pclExportLAS>
LAZ pclExportLAZ Defines if the densified point cloud should be exported in LAZ format. Value can be:
  • true: export densified point cloud in LAZ format
  • false: do not export densified point cloud in LAZ format
<pclExportLAZ>false</pclExportLAZ>
PLY pclExportPLY Defines if the densified point cloud should be exported in PLY format. Value can be:
  • true: export densified point cloud in PLY format
  • false: do not export densified point cloud in PLY format
<pclExportPLY>false</pclExportPLY>
XYZ pclExportXYZ Defines if the densified point cloud should be exported in XYZ format. Value can be:
  • true: export densified point cloud in XYZ format
  • false: do not export densified point cloud in XYZ format
<pclExportXYZ>false</pclExportXYZ>
XYZ Delimiter pclExportXYZDelim Defines the delimiter of the XYZ file. Value can be:
  • Space: for Space
  • Tab: for Tab
  • Comma: for Comma
  • Semicolon: for Semicolon
<pclExportXYZDelim>Space</pclExportXYZDelim>
Merge tiles pclExportMergeTiles If several tiles have been generated, defines if they should be merged into one single file. Value can be:
  • true: merge point cloud tiles into a single file
  • false: do not merge point cloud tiles into a single file
<pclExportMergeTiles>false</pclExportMergeTiles>

 

3D Textured Mesh
Option XML Tag Value Type and Range Example
Generation
Generate 3D Texture Mesh meshGenerate3dTexturedMesh Defines if the 3D Textured Mesh should be generated or not. Value can be:
  • true: generate 3D Textured Mesh
  • false: do not generate 3D Textured Mesh
<meshGenerate3dTexturedMesh>true</meshGenerate3dTexturedMesh>
Settings
Mesh Resolution meshResolution Defines the resolution of the mesh. Value can be:
  • High: for High Resolution
  • Medium: for Medium Resolution (default)
  • Low: for Low Resolution
  • Custom: for Custom
<meshResolution>Medium</meshResolution>
Maximum Octree Depth meshMaxOctreeDepth Defines the maximum depth of the octree used to create the mesh. Value can be:
  • positive integer n such that 5 ≤ n ≤ 20
<meshMaxOctreeDepth>12</meshMaxOctreeDepth>
Texture Size meshTextureSize Defines the mesh texture size. Value can be:
  • 256: for 256x256
  • 512: for 512x512
  • 1024: for 1024x1024
  • 2048: for 2048x2048
  • 4096: for 4096x4096
  • 8192: for 8192x8192
  • 16384: for 16384x16384
  • 32768: for 32768x32768
  • 65536: for 65536x65536
  • 131072: for 131072x131072
<meshTextureSize>8192</meshTextureSize>
Decimation Criteria meshDecimationCriteria Defines how to decimate the mesh after it has been created. Value can be:
  • Quantitative
  • Qualitative
<meshDecimationCriteria>Quantitative</meshDecimationCriteria>
Maximum Number of Triangles meshMaxTriangles Used when meshDecimationCriteria is Quantitative. Defines the maximum number of triangles for the mesh. Value can be:
  • positive integer n such that 100 < n < 20'000'000
<meshMaxTriangles>1000000</meshMaxTriangles>
Strategy meshDecimationStrategy Used when meshDecimationCriteria is Qualitative. Defines which qualitative strategy to use to decimate the mesh. Value can be:
  • Sensitive
  • Aggressive
<meshDecimationStrategy>Sensitive</meshDecimationStrategy>
Use Color Balancing for Texture meshTextureColorBalancing Defines if color balancing should be used for the texture of the mesh. Value can be:
  • true: use color balancing
  • false: do not use color balancing
<meshTextureColorBalancing>false</meshTextureColorBalancing>
Export
PLY meshExportPLY Defines if the 3D textured mesh should be exported in PLY format. Value can be:
  • true: export 3D textured mesh in PLY format
  • false: do not export 3D textured mesh in PLY format
<meshExportPLY>false</meshExportPLY>
FBX meshExportFBX Defines if the 3D textured mesh should be exported in FBX format. Value can be:
  • true: export 3D textured mesh in FBX format
  • false: do not export 3D textured mesh in FBX format
<meshExportFBX>false</meshExportFBX>
AutoCAD DXF meshExportDXF Defines if the 3D textured mesh should be exported in AutoCAD DXF format. Value can be:
  • true: export 3D textured mesh in AutoCAD DXF format
  • false: do not export 3D textured mesh in AutoCAD DXF format
<meshExportDXF>false</meshExportDXF>
OBJ meshExportOBJ Defines if the 3D textured mesh should be exported in OBJ format. Value can be:
  • true: export 3D textured mesh in OBJ format
  • false: do not export 3D textured mesh in OBJ format
<meshExportOBJ>true</meshExportOBJ>
Tiled Texture meshExportTiledOBJ Defines if the 3D textured mesh should be exported in OBJ format with tiled texture. Value can be:
  • true: export 3D textured mesh in OBJ format with tiled texture
  • false: do not export 3D textured mesh in OBJ format with tiled texture
<meshExportTiledOBJ>false</meshExportTiledOBJ>
3D PDF meshExportPDF3D Defines if the 3D textured mesh should be exported in 3D PDF format. Value can be:
  • true: export 3D textured mesh in 3D PDF format
  • false: do not export 3D textured mesh in 3D PDF format
<meshExportPDF3D>false</meshExportPDF3D>
3D PDF Logo meshExportPDF3DLogoPath Defines if a logo should be displayed on the 3D PDF. Value can be:
  • "": no logo is displayed
  • "<path_to_logo>: logo given by the path is displayed
<meshExportPDF3DLogoPath></meshExportPDF3DLogoPath>

 

Advanced
Option XML Tag Value Type and Range Example
Point Cloud Densification
Matching Window Size pclWindowSize Defines the window size used for point cloud densification. Value can be:
  • 7: for 7x7
  • 9: for 9x9
<pclWindowSize>7</pclWindowSize>
Image Groups
Point Cloud pclImageGroups Defines which image groups to densify.
  • <pclImageGroups/>: no group is densified
  • <group name="group_name">: add a tag with the Image Group name for each image group to densify
<pclImageGroups>
<group name="group1"/>
</pclImageGroups>
Mesh Geometry meshGeometryImageGroups Defines which image groups to densify.
  • <meshGeometryImageGroups/>: no group is densified
  • <group name="group_name">: add a tag with the Image Group name for each image group to use for the triangle mesh generation
<meshGeometryImageGroups>
<group name="group1"/>
</meshGeometryImageGroups>
Mesh Texture meshTextureImageGroups Defines which image groups to densify.
  • <meshTextureImageGroups/>: no group is densified
  • <group name="group_name">: add a tag with the Image Group name for each image group to use for the texture generation
<meshTextureImageGroups>
<group name="group1"/>
</meshTextureImageGroups>
Point Cloud Filters
Use Processing Area pclUseProcessingArea Defines if the processing area (if defined) should be used or not. Value can be:
  • true: use the processing area (if defined)
  • false: do not use the processing area
<pclUseProcessingArea>true</pclUseProcessingArea>
Use Annotations pclUseAnnotations Defines if the annotations (if existing) should be used or not. Value can be:
  • true: use annotations (if existing)
  • false: do not use annotations
<pclUseAnnotations>true</pclUseAnnotations>
Limit Camera Depth Automatically pclLimitDepthAutomatically Defines if the camera depth should be automatically limited. Value can be:
  • true: limit camera depth
  • false: do not limit camera depth
<pclLimitDepthAutomatically>false</pclLimitDepthAutomatically>
3D Textured Mesh Settings
Sample Density Divider meshSampleDensityDivider Defines the value for the sample density divider. Value can be:
  • a positive integers n such that 1 ≤ n ≤ 5
<meshSampleDensityDivider>1</meshSampleDensityDivider>
LOD Generation
OSGB lodExportOSGB Defines if the LOD should be exported in OSGB or not. Value can be:
  • true: export LOD in OSGB
  • false: do not export LOD in OSGB
<lodExportOSGB>true</lodExportOSGB>
SLPK lodExportSLPK Defines if the LOD should be exported in SLPK or not. Value can be:
  • true: export LOD in SLPK
  • false: do not export LOD in SLPK
<lodExportSLPK>true</lodExportSLPK>
Number of level of details lodLevelCount Defines the number of levels of detail to be generated. Value can be:
  • a positive integers n such that 1 ≤ n ≤ 7
<lodLevelCount>4</lodLevelCount>
Texture quality lodTextureQuality Defines the resolution of the texture for the LOD. Value can be:
  • 0: for 512x512
  • 1: for 1024x1024
  • 2: for 4096x4096
<lodTextureQuality>512</lodTextureQuality>

 

3. DSM, Orthomosaic and Index

Processing options for step 3. DSM, Orthomosaic and Index. For more information: Menu Process > Processing Options... > 3. DSM, Orthomosaic and Index > DSM and Orthomosaic.

 

Run Step
Option XML Tag Value Type and Range Example
Run step 3. DSM, Orthomosaic and Index runStep Defines if step 3 should be run or not. Value can be:
  • true: run step 3
  • false: do not run step 3
<runStep>true</runStep>

 

DSM and Orthomosaic
Option XML Tag Value Type and Range Example
Resolution
Automatic orthoResolution Defines if the DSM and orthomosaic resolution is selected automatically as multiple of the GSD. Value can be:
  • negative integer < 0: multiple of the GSD. For example "-2" will use 2xGSD
<orthoResolution value="-2"/>
Custom [cm] orthoResolution Defines if the DSM and orthomosaic resolution is a user defined custom value. Value can be:
  • positive decimal number > 0
<orthoResolution value="20"/>
DSM Filter
Use Noise Filtering dsmFilterUseNoiseFilter Defines if the noise filtering is used to generate the DSM. Value can be:
  • true: use noise filtering
  • false: do not use noise filtering
<dsmFilterUseNoiseFilter>true</dsmFilterUseNoiseFilter>
Use Surface Smoothing dsmFilterUseSmoothing Defines if the surface smoothing is used to generate the DSM. Value can be:
  • true: use surface smoothing
  • false: do not use surface smoothing
<dsmFilterUseSmoothing>true</dsmFilterUseSmoothing>
Type dsmFilterSmoothingType Defines the surface smoothing type. Value can be:
  • Smooth
  • Medium
  • Sharp
<dsmFilterSmoothingType>Sharp</dsmFilterSmoothingType>
Raster DSM
GeoTIFF dsmTIFF Defines if the DSM is generated in GeoTIFF format or not. Value can be:
  • true: generate the DSM GeoTIFF
  • false: do not generate the DSM GeoTIFF
<dsmTIFF>true</dsmTIFF>
Method dsmMethod Defines which method is used to generate the DSM. Value can be:
  • InverseDistanceWeighting
  • Triangulation
<dsmMethod>InverseDistanceWeighting</dsmMethod>
Merge Tiles dsmTIFFMergeTiles Defines if the DSM GeoTIFF tiles should be merged into one file or not. Value can be:
  • true: merge tiles
  • false: do not merge tiles
<dsmTIFFMergeTiles>true</dsmTIFFMergeTiles>
Orthomosaic
GeoTIFF mosaicTIFF Defines if the orthomosaic is generated in GeoTIFF format or not. Value can be:
  • true: generate orthomosaic GeoTIFF
  • false: do not generate orthomosaic GeoTIFF
<mosaicTIFF>true</mosaicTIFF>
Merge Tiles mosaicTIFFMergeTiles Defines if the orthomosaic GeoTIFF tiles should be merged into one file or not. Value can be:
  • true: merge tiles
  • false: do not merge tiles
<mosaicTIFFMergeTiles>true</mosaicTIFFMergeTiles>
GeoTIFF without Transparency mosaicTIFFNoTransparency Defines if the orthomosaic without transparent backgroud should be generated or not. Value can be:
  • true: generated orthomosaic without transparency
  • false: do not generate orthomosaic without transparency
<mosaicTIFFNoTransparency>false</mosaicTIFFNoTransparency>
Google Maps Tiles and KML mosaicKML Defines if the orthomosaic is generated in Google Maps Tiles and KML format or not. Value can be:
  • true: generate orthomosaic in Google Maps Tiles and KML format
  • false: do not generate orthomosaic in Google Maps Tiles and KML format
<mosaicKML>false</mosaicKML>

 

Additional Outputs
Option XML Tag Value Type and Range Example
Grid DSM
XYZ gridDsmXYZ Defines if the Grid DSM should be generated in XYZ format or not. Value can be:
  • true: generate Grid DSM in XYZ format
  • false: do not generate Grid DSM in XYZ format
<gridDsmXYZ>false</gridDsmXYZ>
XYZ Delimiter gridDsmXYZDelim Defines the delimiter of the XYZ file. Value can be:
  • Space: for Space
  • Tab: for Tab
  • Comma: for Comma
  • Semicolon: for Semicolon
<gridDsmXYZDelim>Space</gridDsmXYZDelim>
LAS gridDsmLAS Defines if the Grid DSM should be generated in LAS format or not. Value can be:
  • true: generate Grid DSM in LAS format
  • false: do not generate Grid DSM in LAS format
<gridDsmLAS>false</gridDsmLAS>
LAZ gridDsmLAZ Defines if the Grid DSM should be generated in LAZ format or not. Value can be:
  • true: generate Grid DSM in LAZ format
  • false: do not generate Grid DSM in LAZ format
<gridDsmLAZ>false</gridDsmLAZ>
Grid Spacing [cm] gridDsmGridSpacing Defines the Grid Spacing for the Grid DSM. Value can be:
  • a positive integer n such that 1 r≤ n ≤ 1000
<gridDsmGridSpacing>100</gridDsmGridSpacing>
Raster DTM
GeoTIFF dtmTIFF Defines if the raster DTM should be generated in GeoTIFF format or not. Value can be:
  • true: generate the raster DTM in GeoTIFF format
  • false: do not generate the raster DTM in GeoTIFF format
<dtmTIFF>true</dtmTIFF>
Merge DTM tiles dtmTIFFMergeTiles Defines if the DTM GeoTIFF tiles should be merged into one file or not. Value can be:
  • true: merge tiles
  • false: not merge tiles
<dtmTIFFMergeTiles>true</dtmTIFFMergeTiles>
Raster DTM Resolution
Automatic dtmResolution Defines if the DTM resolution is selected automatically as multiple of the GSD. Value can be:
  • negative integer < 5: multiple of the GSD. For example "-5" will use 5xGSD
<dtmResolution>-5</dtmResolution>
Custom [cm] dtmResolution Defines if the DTM resolution is a user defined custom value. Value can be:
  • positive decimal number > 5 and <10000
<dtmResolution>25</dtmResolution>
Contour Lines
SHP contourSHP Defines if the contour lines should be generated in SHP format. Value can be:
  • true: generate contours in SHP format
  • false: do not generate contours in SHP format
<contourSHP>false</contourSHP>
PDF contourPDF Defines if the contour lines should be generated in PDF format. Value can be:
  • true: generate contours in PDF format
  • false: do not generate contours in PDF format
<contourPDF>false</contourPDF>
AutoCAD DXF contourDXF Defines if the contour lines should be generated in AutoCAD DXF format. Value can be:
  • true: generate contours in AutoCAD DXF format
  • false: do not generate contours in AutoCAD DXF format
<contourDXF>false</contourDXF>
Contour Base [m]

Contour Base [ft]
contourBase Defines the value for the contour base. Value can be:
  • a positive decimal number n such that 0 ≤ n ≤  10'000
<contourBase>0</contourBase>
Elevation Interval[m]

Elevation Interval[ft]
contourElevationInterval Defines the value for the contour elevation. Value can be:
  • a positive decimal number n such that 0.001 ≤ n ≤  10'000
<contourElevationInterval>10</contourElevationInterval>
Resolution [cm] contourResolution Defines the resolution of the contour lines. Value can be:
  • a positive decimal number  n such that 0.001 ≤ n ≤  10'000
<contourResolution>100</contourResolution>
Minimum Line Size [vertices] contourMinLineSize Defines the minimum number of vertices per line. Value can be:
  • a positive integer n such that 4 ≤ n ≤  1000
<contourMinLineSize>20</contourMinLineSize>

 

Index Calculator
Option XML Tag Value Type and Range Example
Resolution
Automatic indexResolution Defines if the index resolution is selected automatically as multiple of the GSD. Value can be:
  • negative integer < 0: multiple of the GSD. For example "-2" will use 2xGSD
<indexResolution>-1</indexResolution>
Custom [cm] indexResolution Defines if the index resolution is a user defined custom value. Value can be:
  • positive decimal number > 0
<indexResolution>0</indexResolution>
Downsampling Method indexDownsamplingMethod Defines which downsampling method to use to generate the reflectance map at the given resolution from the 1 GSD reflectance map. Value can be:
  • Gauss: for Gauss
  • Median: for Median
  • 75%Quantile: for 75%Quantile
  • Average: for Average
  • Min: for Min
  • Max: for Max
<indexDownsamplingMethod>Gauss</indexDownsamplingMethod>
Reflectance Map
GeoTIFF indexReflectance Defines if the reflectance map should be generated in GeoTIFF format or not. Value can be:
  • true: generate the reflectance map in GeoTIFF format.
  • false: do not generate the reflectance map in GeoTIFF format.
<indexReflectance>false</indexReflectance>
Merge Tiles indexReflectanceMergeTiles Defines if the reflectance map GeoTIFF tiles should be merged into one file or not. Value can be:
  • true: merge tiles
  • false: do not merge tiles
<indexReflectanceMergeTiles>false</indexReflectanceMergeTiles>
Indices
Indices indices Defines the list of indices to generate. Each index is defined as follows:
<index name="index_name" enabled="generate_index">
where:
  • index_name: name of the index, either a pre-defined or user-defined index
  • generate_index: can be:
    • true: generate index
    • false: do not generate index
<indices>
<index name="red" enabled="true"/>
<index name="green" enabled="true"/>
<index name="blue" enabled="false"/>
<index name="grayscale" enabled="false"/>
</indices>
Export
Index Values as Point Shapefiles (SHP) indexExportPointSHP Defines if the values of the selected indices should be generated as point shapefile. Value can be:
  • true: generate point shapefile
  • false: do not generate point shapefile
<indexExportPointSHP>false</indexExportPointSHP>
Index Values as Point Shapefiles (SHP)
Grid Size [cm/grid]
indexExportPointSHPGridSize Defines the grid size for the point shapefile. Value can be:
  • a positive decimal number n such that 1 ≤ n ≤ 10'000
<indexExportPointSHPGridSize>200</indexExportPointSHPGridSize>
Index Values and Rates as Polygon Shapefile (SHP) indexExportPolygonSHP Defines if the values of the selected indices should be generated as polygon shapefile. Value can be:
  • true: generate polygon shapefile
  • false: do not generate polygon shapefile
<indexExportPolygonSHP>false</indexExportPolygonSHP>
Index Values and Rates as Polygon Shapefile (SHP)
Grid Size [cm/grid]
indexExportPolygonSHPGridSize Defines the grid size for the polygon shapefile. Value can be:
  • a positive decimal number n such that 1 ≤ n ≤ 10'000
<indexExportPolygonSHPGridSize>400</indexExportPolygonSHPGridSize>

 

Was this article helpful?
4 out of 4 found this helpful

Article feedback (for troubleshooting, post here instead)

2 comments

  • Tentao Takaaio

    How to create my own processing template?

  • Avatar
    Beata (Pix4D)

    Hi Tentao,

    Please have a look at our article on how to create a User Processing Options Template.

    I think our description which you will find there will dispel your doubts.

    Best!

Article is closed for comments.