How to create a Processing Options Template .tmpl File

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 2.1 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: 202557759.

Run Step
OptionXML TagValue Type and RangeExample
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
OptionXML TagValue Type and RangeExample
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
OptionXML TagValue Type and RangeExample
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
OptionXML TagValue Type and RangeExample
Targeted Number of Keypoints
Targeted Number of Keypoints keypointSelector Defines how to select the tartgeted number of keypoints to extract. Value can be:
  • 0: for Automatic
  • 1: for Custom
<keypointSelector>0</keypointSelector>
Number of Keypoints keypointsToSelect Used only if keypointSelector = 1

Defines the number of targeted keypoints to extract. Value can be:
  • an integer n such that 100 ≤ n ≤ 1'000'000
<keypointsToSelect>10000</keypointsToSelect>
Calibration
Calibration Method calibrationMethod Defines which calibration method to use. Value can be:
  • 0: for Standard
  • 1: for Alternative
  • 2: for Accurate Geolocation and Orientation
<calibrationMethod>0</calibrationMethod>
Internal Parameters Optimization internalParamOptimization Defines how to optimize the internal camera parameters. Value can be:
  • 0: for None
  • 1: for Leading
  • 2: for All
  • 3: for All Prior
<internalParamOptimization>2</internalParamOptimization>
External Parameters Optimization externalParamOptimization Defines how to optimize the external camera parameters. Value can be:
  • 0: for None
  • 1: for Orientation
  • 4: for All
<externalParamOptimization>4</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>
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: 202557799.

Run Step
OptionXML TagValue Type and RangeExample
Run step 2. Initial Processing 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
OptionXML TagValue Type and RangeExample
Point Cloud Densification
Image Scale pclImageScale 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)
<pclImageScale>1</pclImageScale>
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:
  • 1: for High
  • 2: for Optimal
  • 4: for Low
<pclDensity>2</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>
XYZ Delimiter 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
OptionXML TagValue Type and RangeExample
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 Resolution: for High Resolution
  • Medium Resolution (default): for Medium Resolution (default)
  • Low Resolution: for Low Resolution
  • Custom: for Custom
<meshResolution>Medium Resolution (default)</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: for Quantitative
  • Qualitative: for 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: for Sensitive
  • Aggressive: for 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
OptionXML TagValue Type and RangeExample
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>
Point Cloud Classification (beta)
Classify Point Cloud into Terrain/Object Points pclTerrainClassf Defines if the point cloud should be classified. Value can be:
  • true: classify the point cloud
  • false: do not classify the point cloud
<pclTerrainClassf>false</pclTerrainClassf>
Minimum Object Length [m]

Minimum Object Length [ft]
pclTerrainClassfMinLength Defines the minimum object length. Value can be:
  • a positive decimal number n such that 0.1 ≤ n ≤ 10'000
<pclTerrainClassfMinLength>0.1</pclTerrainClassfMinLength>
Maximum Object Length [m]

Maximum Object Length [ft]
pclTerrainClassfMaxLength Defines the maximum object length. Value can be:
  • a positive decimal number n such that 0.1 ≤ n ≤ 10'000
<<pclTerrainClassfMaxLength>400</pclTerrainClassfMaxLength>value="400"/>
Minimum Object Height [m]

Minimum Object Height [ft]
pclTerrainClassfMinHeight Defines the minimum object height. Value can be:
  • a positive decimal number n such that 0.1 ≤ n ≤ 10'000
<pclTerrainClassfMinHeight>0.1</pclTerrainClassfMinHeight>
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>

 

Add-ons
OptionXML TagValue Type and RangeExample
Point Cloud Densification
Use Semi-Global Matching (payable add-on) addOnUseSGM Defines if Semi-Global Matching is used for point cloud classification or not. Value can be:
  • true: use Semi-Global Matching
  • false: do not use Semi-Global Matching
<addOnUseSGM>false</addOnUseSGM>
Optimize for 2.5D DSM addOnSGMOptimizeForDSM

Defines if the point cloud should be optimized for 2.5D DSM
Value can be:

  • true: optimize for 2.5D DSM
  • false: do not optimize for 2.5D DSM
<addOnSGMOptimizeForDSM>true</addOnSGMOptimizeForDSM>

 

3. DSM, Orthomosaic and Index

Processing options for step 3. DSM, Orthomosaic and Index. For more information: 202557769.

 

Run Step
OptionXML TagValue Type and RangeExample
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
OptionXML TagValue Type and RangeExample
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 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:
  • 0: for Smooth
  • 1: for Medium
  • 2: for Sharp
<dsmFilterSmoothingType>2</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:
  • 0: for Inverse Distance Weighting
  • 1: for Triangulation
<dsmMethod>0</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>
Mapbox Tiles mosaicMapbox Defines if the orthomosaic is generated in Mapbox Tiles format or not. Value can be:
  • true: generate orthomosaic Mapbox Tiles
  • false: do not generate orthomosaic Mapbox Tiles
<mosaicMapbox>false</mosaicMapbox>

 

Additional Outputs
OptionXML TagValue Type and RangeExample
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 ≤ n ≤ 1000
<gridDsmGridSpacing>100</gridDsmGridSpacing>
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
OptionXML TagValue Type and RangeExample
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 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
  • Warp: for Warp
<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?
0 out of 0 found this helpful


Powered by Zendesk