AutomationAPI UserGuide
AutomationAPI UserGuide
API
Trimble eCognition Suite
for Windows operating system
Version 10.3.0
Revision 1.0
November 2022
7,574,053 B2; US 7,146,380; US 7,467,159 B; US
Trimble Documentation 7,873,223; US 7,801,361 B2.
eCognition 10.3 SDK
Automation API Acknowledgments
Imprint and Version Portions of this product are based in part on third-
Document Version 10.3.0 party software components.
Copyright © 2022 Trimble Germany GmbH. All eCognition Developer © 2022 Trimble Germany
rights reserved. This document may be copied and GmbH, Arnulfstrasse 126, 80636 Munich, Germany.
printed only in accordance with the terms of the All rights reserved. © 2022 Trimble Documentation,
Frame License Agreement for End Users of the Munich, Germany.
related eCognition software.
Published by: Last updated: November 29, 2022
Trimble Germany GmbH, Arnulfstrasse 126,
D-80636 Munich, Germany
Phone: +49–89–8905–710;
Fax: +49–89–8905–71411
Web: eCognition.com
Dear User,
Thank you for using eCognition software. We
appreciate being of service to you with image
analysis solutions. At Trimble we constantly strive
to improve our products. We therefore appreciate
all comments and suggestions for improvements
concerning our software, training, and
documentation. Feel free to contact us via the web
form on support.ecognition.com. Thank you.
Legal Notes
Trimble® and eCognition® are registered
trademarks of Trimble Germany GmbH in Germany
and other countries. All other product names,
company names, and brand names mentioned in
this document may be trademark properties of
their respective holders.
Protected by patents EP0858051; WO0145033;
WO2004036337; US 6,832,002; US 7,437,004; US
Contents
1 Overview SDK - Automation API 1
1.1 Related Reference 1
1.2 Requirements for the SDK 1
5 Background Information 35
5.1 Coordinate Systems Used in eCognition Software 35
5.1.1 Pixel Coordinate System 35
5.1.2 User Coordinate System 36
eCognition Documentation | i
5.1.3 Internal Pixel Coordinate System 37
5.1.4 Conversions of Feature Values 37
7 Acknowledgments 41
eCognition Documentation | ii
1
Overview SDK - Automation API
The Automation API (application programming interfaces) is a component of the eCognition Developer
software development kit (SDK). The Automation API can be used for automation of Trimble software and
orchestrating the different processes.
This Automation API User Guide provides general instruction about the automation of Trimble software:
l Local automation of the Analysis Engine Software via the AMIEngine Interface. This allows you to
embed the Analysis Engine Software into other software.
l Remote Processing via SOAP Interface. This enables you to provide functionality that can be, for
instance, used in a script, in order to automate eCognition Server®.
eCognition Documentation | 1
2
Installation and Setup
This API is a component of the eCognition Software Development Kit (SDK). The SDK installation is an
optional part of the eCognition 10.3 installation.
If the SDK is not yet installed on your machine, rerun the eCognition Developer installation. During the
installation sequence on the Choose Components dialog box, you have to select the SDK checkbox only.
2.1 Compatibility
Any application that uses the SDK will need to be recompiled or rebuilt when every SDK upgrade.
eCognition Documentation | 2
3
Introduction to Local Automation
3.1 Relevant Files for Local Automation
Below are listed the files included in the eCognition Developer installation that are relevant to use of the
Automation API for local automation.
Go to the folder SDK, which is installed in the eCognition 10.3 installation directory. The default path is
C:\Program Files\Trimble\eCognition Developer [Version Number]\SDK
3.1.4 Samples
l .\Automation\Samples\AMI\SampleAMIEngine
eCognition Documentation | 3
3 Introduction to Local Automation
This is possible through a simple class interface which provides links into the Analysis Engine Software, and
opens up the functionality to do image analysis with the Analysis Engine Software.
3.2.2 Dependencies
eCognition software need not be running for your application to function. However, as your application has
a number of dependencies to the eCognition software, your custom application should reside in the same
directory as the engine.dll.
In the case where this is not possible, here is a list of dependencies that must be carried with your
application.
Binaries
Below is a list of the DLLs usually found in the bin directory of the eCognition software. These are required
to be at the same path as your custom application.
l VDI.dll
l sqlite3.dll
l regex.dll
l RDI.dll
l ProdCnfg.dll
eCognition Documentation | 4
3 Introduction to Local Automation
l Engine.dll
l DBase.dll
l DataIO.dll
l BDI.dll
l ADI.dll
l AddinMngr.dll
eCognition Documentation | 5
3 Introduction to Local Automation
Includes
Our sample uses standard C++ and should compile and run on all environments supported by eCognition.
Here aside from including our own headers, we have to include windows.h if we are building on windows.
We manage this with a simple pre-processor command.
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff
#include <windows.h>
#endif//WIN32
#include "AMIEngine.h"
#include "DBase/DASCIIFile.h"
#include "DataIO/Project.h"
#include "DataIO/ImgLayer.h"
#include "DataIO/GeoInfo.h"
#include "DataIO/ExportTmpl.h"
As we need the contents of the rule file – which is a standard XML format ASCII file – we can use the
provided DASCIIFile class to simplify the file access work for us. Here we simply assign the file name to an
object created on the stack. Our DASCIIFile guarantees that our File Handle and memory allocation are
cleaned up after the object is removed from the stack – at the end of the main function scope.
Then, before we can do any work with the Analysis Engine Software, we need to create it. This is done
simply by creating an AMIEngine object, and calling its Create function.
// set the filename and path of the rule set we are using DASCIIFile
RuleFile(sRlst);
eCognition Documentation | 6
3 Introduction to Local Automation
Once we have our Analysis Engine Software Software object instantiated and created, we can setup the
work we want it to do. The work being done is done within a project. First we have to setup this project for
use. That is, we need to add the images to be analyzed to the project, and if we are exporting data, we
need to set the export specification. This is done through the RuleFile.
// creating Project
Project project;
project.AddImgLayerReadData(sImg, sErr);
if (!sErr.IsEmpty())
{
printf("Failed to read image layers: %s", sErr);
return -1;
}
// disable geo information, then set unit to pixels
{
Project::ChldItr layer(&project, DataIO::IMG_LAYER);
for_all(layer)
{
ImgLayer* imgLayer = static_cast<ImgLayer*>(*layer);
// setting geo info to 0
imgLayer->ChngGeoInfo().SetGeoOff(0,0);
imgLayer->ChngGeoInfo().SetGeoRes(1);
imgLayer->ChngGeoInfo().SetGeoSrc(GeoInfo::USER);
}
}
// setting geo info to 0
project.ChngGeoInfo().SetGeoOff(0,0);
project.ChngGeoInfo().SetGeoRes(1);
project.ChngGeoInfo().SetGeoSrc(GeoInfo::USER);
eCognition Documentation | 7
3 Introduction to Local Automation
We already have a project in which to do the work, and we have a rule set that tells the Analysis Engine
Software what work to do. Next, we need to give all the work to the Analysis Engine Software.
Our DASCIIFile as a casting operator for char* so we can later simply pass the file through to those
functions requiring the content of the file.
Now there is nothing left to do besides start the action. Tell the Analysis Engine Software to start analyzing.
The function returns when the job is finished.
// starting analysis
printf("Starting image analysis...\n");
if (!ami.Analyze())
{
printf("Error during analysis: %s", ami.GetErrorMsg(true));
return -1;
}
eCognition Documentation | 8
4
Introduction to Remote Automation
This chapter discusses the remote automation of processes in the eCognition Server® via the eCognition
SOAP protocol interface.
Provided are the DIACmdClient.exe, the DIACmdEngine.exe and DIAMkWksp tools. While these are not a
programming interface, but command line tools, they do utilize the SOAP protocol interface to provide
functionality that can be, for instance, used in a script, in order to automate eCognition Server®.
4.1.4 Samples
l .\Automation\Samples\DSoap
eCognition Documentation | 9
4 Introduction to Remote Automation
The DIA Command Line Client is designed to submit analysis jobs to the DIA Job Scheduler and to monitor
the submitted jobs. A job is represented by a list of projects stored in a workspace file. The workspace files
can be created using DIA Command Line Client. The workspace file can also point to a rule set file that it will
be used for the analysis of the projects. However, you have the ability to provide a different rule set file for
an image analysis.
When you start up the DIA Command Line Client a list of commands and their definitions is displayed:
DIA Command Line Client.
Usage: DIACmdClient action [options]
workspace_file [ruleset_file] [scene_name]
or: DIACmdClient action [options] -db user[:pwd]@storage
workspace_id [ruleset_id]
actions:
eCognition Documentation | 10
4 Introduction to Remote Automation
options:
-p - analyse tiles only
-top - analyse top scenes only
-u url - use specified URL to access the Job Scheduler
-t sec - maximum wait time for the Job Scheduler to start up
-run name - specifies the run name
-fsr - force submit even if other runs are not finished yet
-pkg name - specifies package to use on the Grid
-scn file - submit only scenes listed in the given file
-ro - read only; do not modify the workspace
-db - open workspace from Data Management storage
-auth url - use specified URL to access the Authentication Server
For example, when you only want to submit an image analysis job you need to use the (s) command. The
DIA Command Line Client will perform the command and when the submission is completed the control
returns to you, whereas when you want to submit and monitor the job (sw) or just monitor it (w) then
the command is blocked until the job is finished.
When a job is monitored, it is identified in the Job Scheduler using the workspace GUID stored in the
workspace file. When several jobs are submitted from the same workspace, then only the last job is
monitored.
The (-t sec) command displays on the screen the maximum waiting time (in seconds) for the DIA Job
Scheduler to start up. This is useful when for instance DIA Job Scheduler is started in the background and
then immediately the DIA Command Line Client is started from the same batch script. DIA Job Scheduler
needs some time for initialization and connecting to the license server. The (-ro) option leaves the
content of the workspace unchanged. Otherwise new operation (“Analyze”) with current user name and
time stamp is added to the operation history and new versions for all submitted project are created. Also if
(w) command is used then the resulting status after analysis is stored in the workspace.
The (-db) option allows to open workspace from Data Management storage instead of a file. In this case
also the rule set is taken from the storage, consequently IDs should be used instead of file names. The user
name and password are checked in the Authentication Server, which can be specified by using the (-
auth) option. Otherwise the default Authentication Server URL is taken from the configuration file.
eCognition Documentation | 11
4 Introduction to Remote Automation
The (-fsr) option forces the processing of a job even if other jobs are running. If (-fsr) is not
included, submitting an action from the command line, while another run is being processed, will return the
−2 error code.
If you want to change the delimiter, which are used in exported .csv files, you can do this by using the XML
node ahead in the eCognition.cfg file stored in the config folder.
The eCognition.cfg file stored in the config folder is the configuration file used by the DIA Command Line
Client.
<eCognition config-ver="2.0" >
<general>
<key name="temp path" string="" />
<key name="license check timeout" integer="60" />
<key name="default server configuration" string="eCognition"/>
</general>
<logging>
<key comment="0 means no logging, any greater value is time in milliseconds to
check for new loaded modules" integer="0" name="log loaded modules"></key>
</logging>
<storage>
<key name="authentication server" string="http://localhost:4002/" />
</storage>
<ODBC>
<key name="oracle dsn" string="Definiens Oracle" />
</ODBC>
<CSV-settings>
<key name="decimal separator" string="." />
<key name="column delimiter" string=";" />
</CSV-settings>
<default-config>
<plugins>
<key string="eCognition Basic Process Algorithms v0.1" name="plugin1"></key>
<key string="eCognition Internal Process Algorithms v0.1" name="plugin2"></key>
<key string="eCognition Thematic Layer Algorithms v0.1" name="plugin3"></key>
<key string="eCognition Basic Features v0.1" name="plugin4"></key>
<key string="eCognition Vector Features v0.1" name="plugin5"></key>
<key string="eCognition Internal Export Process Algorithms v0.1"
name="plugin6"></key>
</plugins>
</eCognition>
Starting with version 7.0, all submitted jobs contain configuration requirement information. You cannot set
this information with command options, for this purposes you should use the eCognition.cfg file:
l The entry default server configuration contains server product name. The default value is eCognition.
That means, all server products with name starting with eCognition (for example ,
eCognitionEarthServer) comply to this requirement. If there are several configurations installed that
comply to this requirement, configuration server will pick up one of them, but you cannot be sure
which one. Thus, if you want a job to run on a specific configuration you should supply the full product
eCognition Documentation | 12
4 Introduction to Remote Automation
name
l The entry plugins allow you to add some specific plug-in requirements as the presence of a special
plug-in. If you add a record to the plug in list, the configuration server searches for a configuration with
the plug-in. If the service could not find such configuration the job will fail
l The entry authentication server contains the URL of the authentication server.
Example 1
Example 2
eCognition Documentation | 13
4 Introduction to Remote Automation
[Wed Sep 28 15:31:51 2005] : New Project: failed: 0 s: Error accessing image
data: File '\Home\Exp\image_pw.tif' not found or not accessible / lcn001 /
2696 / 5.0.3 Build 367
[Wed Sep 28 15:31:52 2005] : Total: failed: 0 s
In addition eCognition offers the DIACmdEngine.exe which is the command-line interface for the engine
(C:\src\ecognition\bin\Win64>DIACmdEngine).
The following command-line parameters are available:
- analyze image file:
DIACmdEngine image=path1 [image=pathN..] [thematic=pathN] ruleset=path
[options]
- analyze image imported using scene file list (multiple scenes within single run):
DIACmdEngine image-dir=path scene-xml=path ruleset=path [options]
- where:
image=path - path to raster or point cloud data file
(.tif, .asc, ...).
thematic=path - path to thematic data file (.shp, gdb, ...).
ruleset=path - path to rule set file (.dcp).
import-dir=path - root directory for image/thematic data
files.
import-connector=name - name of the predefined import connector or
custom import connector (.xml).
eCognition Documentation | 14
4 Introduction to Remote Automation
- options:
param:nameN=valueN - parameter to the rule set, where
nameN is name of scene variable and
valueN - value of the scene variable. There can be arbitrary amount
of params.
DIA Workspace File Creator is designed to simplify creating workspace files. It can be used to automatically
import all image files from specified folder recursively into the workspace. DIA Workspace File Creator is a
command line tool and it has the following syntax:
eCognition Documentation | 15
4 Introduction to Remote Automation
Attribute Description
wksp_file Output workspace (.dpj) file to be created
Optional folder which will be search recursively for image
input_fldr
files
Optional name of import template to be used; if not given
import_tmplt_name then default template is used; import templates are defined
in Default.scm configuration file
Optional path to the file containing an export template to be
export_tmplt_file
saved the new workspace file
add_tmplt_fldr Optional folder containing import template files to be used
Example 3
To open the Rule Set Mode portal from the command line, use:
"C:\Program Files\Trimble\eCognition Developer 10.3\bin\DIAClient.exe"
/product "eCognition Developer" /portal "Rule Set Mode"
In this example, the new workspace file myWksp.dpj will be created. The folder \\srvr\imgs\myImgs\ will be
scanned recursively and all image files found in it will be imported to the workspace; one file per scene.
Additionally the export template found in the myOldWksp.dpj file will be added to the new workspace.
DIAMkWksp myWksp.dpj \\srvr\imgs\myImgs\ "Generic – one file per scene"
myOldWksp.dpj
The description of the input data (Input Data Specification), starting with Definiens product line version 7.0,
is kept in the workspace file in an SQLite3 database format. The workspace file (.dpj) is saved by Definiens
GUI client. But it can also be created and edited manually or using for instance Perl script, in XML format of
Definiens product line 5.0. When opened in GUI client 7.0 or later, it will be automatically converted to the
SQLite3 database format. Here is the example of a workspace file containing one folder with one project
with two image layers in XML format:
<data-inst name="myWorkspace" scheme="High Content Analysis" guid=
"74D6C48C-C708-4CC1-A66A-3368987A8C26">
<data-inst name="myFolder" type="Folder">
<data-inst name="myProject" type="Project" oper-id="1" ver="1"
status="1" scene-id="1">
<data-inst name="Layer 1" type="Image Layer" file="D:\Home\Exp\
image.frm" channel="0" raster-data-type="1">
<geo-info lower-left-x="0." lower-left-y="0." resolution="1."
source="0" size-x="640" size-y="640" />
</data-inst>
eCognition Documentation | 16
4 Introduction to Remote Automation
The workspace is organized in a hierarchical structure of data objects. Each data object is represented as
data-inst node. The types of data objects are defined in the Default.scm schema configuration file. The
parent (top root) object is the workspace itself. The following attributes have to be provided:
Attribute Description
name Workspace name.
Name of the scheme. It has to match the scheme defined in the Default.scm
scheme
configuration file.
guid Global unique identifier of the workspace.
The workspace can contain folders or projects. The workspace includes also an export-tmpl node and an
oper-history node, which is the list of operations performed on the workspace. Each operation is
represented by operation node containing the following attributes:
Attribute Description
0 means Create
type 1 means Edit
2 means Analyze.
Timestamp when the operation was performed (number of seconds since
time
01.01.1970).
user Name of the user who performed the operation.
The folder can contain projects or other folders. The folder node has two attributes:
Attribute Description
name Folder name.
It usually equals Folder. More instances of data types exist and can be used for
type
grouping. These data types are defined in the Default.scm schema configuration file.
eCognition Documentation | 17
4 Introduction to Remote Automation
Attribute Description
name Project name.
type It usually equals Project.
scene-id Scene/project identifier, it has to be unique within the workspace file.
ver Project version, it can always be 1, if we don’t want to keep history of changes.
One-based index of the operation which created this project in the oper-history
opder-id
node.
status Status of the project, 1 means Created.
The project consists of image layers. It also includes a geo-info node with geocoding information for the
entire scene. The geo-info node has the following attributes:
Attribute Description
lower-left-x, lower-left-y Coordinates of the lower left corner in units.
resolution Unit to pixel ratio, so 1 means that unit = pixel.
size-x, size-y Size of the image in pixels.
0 means no geo-coding
source 1 means geo-coding retrieved from data file
2 means geo-coding edited by user.
The image layers have their own geo info node which can be used to align the layers towards each other.
The image layer node requires the following attributes:
Attribute Description
name Image layer name.
type It has to be equal Image Layer.
file Path to the file containing image data.
channel Zero-based index of the channel in the file to be used.
Data-type of the pixels in the image:
1: unsigned 8-bit
2: unsigned 16-bit
raster-data-type 4: signed 16-bit
8: unsigned 32-bit
16: signed 32-bit
32: floating point 32-bit
eCognition Documentation | 18
4 Introduction to Remote Automation
The Export Specification List defines exported data from a project. It is simply a list of exported items. Each
item has a name, type, driver code and path.
Example of export specification in XML code:
<export-spec>
<item name="ProjectFile" type="Scene" driver="DPR" path="\\ourSrvr\
Projects\myWksp\dpr\myProject.v2.dpr" />
<item name="MyStatsA" type="Table" driver="CSV"
path="\\ourSrvr\Projects\
myWksp\results\MyStatsA\myProject.v2.csv" />
<item name="ProtocolExport" type="Path"
path="\\ourSrvr\Projects\myWksp\ results\ProtocolExport\myProject.v2\"
/>
</export-spec
The item name is used as an identifier for connecting the item with the rule set. So it means that the rule
set has to use the same item name. There are two special item names: ProjectFile and ProtocolExport. The
ProjectFile item name, which is not used in a rule set, identifies the binary project file, containing image
object data and classification results, and it can also be used by the engine as an input for the next analysis.
The ProtocolExport item name is used to define the output folder for deprecated protocol operations. All
protocol operations used in the rule set will store any exported files in the folder defined by this export
item.
The item type and driver code define the format of exported item. Currently supported (type, driver) pairs
are:
Attribute Description
("Scene","DPR") Complete binary project file containing image objects and the rule set.
("Scene","DPR_MIN") Minimized binary project file without the rule set and unused classes.
("Table","CSV") Comma separated values text file.
("Table","ODBC") Database accessed via ODBC driver.
("Raster","TIF") Tagged image files.
("Raster","JPG") JPEG JFIF files.
("Raster","JP2") JPEG 2000 files.
("Raster","PNG") Portable network graphics.
("Raster","BMP") Windows or OS/2 Bitmaps.
("Raster","PIX") PCIDSK.
("Raster","ASC") ESRI ASCII GRID files.
("Raster","IMG") Erdas Imagine Images.
eCognition Documentation | 19
4 Introduction to Remote Automation
The item path is the complete path with the file name, where the exported data should be stored. The
exception is the ProtocolExport item. In this case only the folder should be given. There are two more item
attributes for the ODBC driver: insert and select. Also the path has a little bit different meaning.
The Export Template enables definition of the Export Specifications for all projects in the workspace in
general form. It can be achieved by using special variables which are substituted with proper values for
particular projects.
Example of export template in XML code:
<export-tmpl>
<item name="ProjectFile" type="Scene" driver="DPR" path= "
{:Workspc.Dir}\
dpr\{:Project.Name}.v{:Project.Ver}.dpr" />
<item name="MyStatsA" type="Table" driver="CSV" ext="csv" path=
"{:Workspc.Dir}\results\{:Item.Name}\{:Project.Name}.v
{:Project.Ver}.{:Ext}" />
<item name="ProtocolExport" type="Path" path= "{:Workspc.Dir}\results\
{:Item.Name}\{:Project.Name}.v{:Project.Ver}\" />
</export-tmpl>
Shortcut Description
"{:ActionLib.Dir}" Directory of the action library (if any)
"{:Application.Dir}" Directory of the loaded application/portal (if any)
Path of the directory with "das" files, specific for
"{:ArcSDE.Connect.Dir}"
ArcSDE database connection
"{:Desktop.Dir}" Desktop directory (windows only)
File format extension for an item's driver, e.g. for
"{:Ext}" algorithms that have an export driver specified -
like TIF, GeoTiff and Shape
"{:ImgLayer(n).Dir}" Directory of the input image layer n
"{:ImgLayer(n).FileName}" File name of the input image layer n
"{:ImgLayer(n).Path}" Path of the input image layer n
eCognition Documentation | 20
4 Introduction to Remote Automation
The export item in the export template has an additional attribute, ext, which will be substituted under the
{:Ext} variable.
The ODBC driver in the export item enables the to export of statistical data into database and loading it
back for viewing in DIA Command Line Client.
Example of using ODBC driver in the export template:
<export-tmpl>
<item name="MyStatsB" type="Table" driver="ODBC" path="DSN=MS
Access Database;DBQ={:Workspc.Dir}\DIA.mdb" insert="INSERT INTO
statistics VALUES (%scene_id%,%scene_ver%,%feature%,%value%)"
select="SELECT * FROM statistics_cross_view" />
</export-tmpl>
The path attribute in the export item using ODBC driver contains the ODBC Connect String. In the example
above, the Connect String uses the default ODBC Data Source for accessing Microsoft Access database files.
The insert attribute defines an SQL statement to be used for inserting a statistical value into the database.
The statement contains special variables which will be substituted with proper values while exporting the
data. The special variables are:
eCognition Documentation | 21
4 Introduction to Remote Automation
Attribute Description
%scene_id% ID of the scene.
%scene_ver% Scene state version number.
%feature% Name of the exported statistical feature.
%value% Value of the exported statistical feature.
When exported feature has multiple values per scene, this variable will be
%row%
incremented.
The select attribute defines an SQL statement to be used for selecting the results from the database. The
returned record-set should have some layout as exported CSV files. In the example above it is cross query
from the statistics table.
eCognition Documentation | 22
4 Introduction to Remote Automation
eCognition Documentation | 23
4 Introduction to Remote Automation
eCognition Documentation | 24
4 Introduction to Remote Automation
system $command;
$command = "c:\\bin\\DIACmdClient.exe
-s $output\\myWorkspace2.dpj ruleset2.dcp"; # analyze with RuleSet2
print "$command\n";
system $command;
eCognition Documentation | 25
4 Introduction to Remote Automation
The vJobs array is a member of js__JobList, which is the base for js__UserJob. Each element of
vJobs can be either js__UserJob or js__JobList, because both of them derive from js__
JobBase. In this way the user can build nested lists of jobs which form a tree structure.
The js__UserJob describes a single scene to be analyzed. It has mScene member which describes the
input and mExportSpec member which describes the output. It also has eTask member which should be
set to EAnalyse. See “Automation API Reference” HTML Help for details.
The js__JobList has EOrderType member. It can be set to either EParallel or ESerial.
ESerial means that the list of jobs should be executed in a sequence and EParallel means the list of
jobs can be executed simultaneously.
The js__JobBase has another important member which is strRuleSet. It contains the rule set in XML
form to be used for analysis of a job. In case of job list, the rule set should be applied to all elements of the
list which have empty rule sets. So it means that the rule set can be empty and in this case the rule set from
“parent” job will be derived.
Starting with version 7.0 all submitted jobs contain configuration requirement information. This
information can be set with oCnfg member of js__UserJob class object. oCnfg member is an object
of class js__JobConfig. The class is intended for providing job configuration information. The class has
strConfig member that contains required server product name and versions. Normally you fill it with a
string like eCognition.10.3.0.last which says that the job has to be executed on a server product with the
name starting with eCognition version 10.3.0 of the last installed build.
Other members of the class are optional and intended for advanced users:
l vPlugins member (optional) contains a list of specific plugins required for the job execution.
l vRDIDrivers member (optional) contains a list of specific rdi drivers required for the job execution.
l vLicenses member (optional) contains a list of licenses consumed by the job.
Monitoring a Job
The js__RequestStatusInfo() service method can be used to monitor a job. The job is identified by
wkspGUID and jobID.
Theoretically, it would be enough to provide the jobID, because it is unique in the Job Scheduler, however
due to security reasons it is necessary to provide wkspGUID, the same that was used to submit the job.
The service method returns an array of js__StatusInfo messages via a vector output parameter. If
since is greater than 1, then it represents a timestamp. For each scene (job node if we see the job structure
as a tree), that has changed its status after the given timestamp. The first member of the array (index is 0)
contains some information about the Job Scheduler and normally should not be of interest for you.
js__StatusInfo is added to the returned array. This allows the retrieval of the status only of scenes
that recently changed. This reduces network load when pooling information about scenes (sub-jobs) from
jobs containing significant amount of them. The js__StatusInfo contains a status (waiting, processing,
done, etc.) of a job or a job list. In case of a single job, the scene id can be found in iSceneID member. The
js__StatusInfo also contains submitting, starting, finishing timestamps and additionally the
timestamp of fetching the status by the service method, which can be then used for the since parameter
eCognition Documentation | 26
4 Introduction to Remote Automation
for subsequent calls to js__RequestStatusInfo(). If a job has failed,then some failure description
can be found in strRemarks member.
Cancel a Job
To cancel a job the js__CancelJob() service method has to be used. The job is identified by
wkspGUID and jobID.
Like in case of monitoring a job, the wkspGUID is used for security reasons. If only analysis of particular
scenes is to be cancelled, then the list of scene ids has to be provided in the last input array parameter:
sceneIDs.
Includes
#include <sys/stat.h>
#include "soap/DiaJS.nsmap"
#include "soap/soapClient.cpp"
#pragma warning( push, 0 )
#include "soap/jsSrvcC.cpp"
#include "soap/stdsoap2.cpp"
#pragma warning( pop )
#include "soap/jsSrvcDiaJSProxy.h"
using namespace jsSrvc;
Helper Functions
const char *GetFullPath(const char* szPath)
{
static char szBuffer[_MAX_PATH];
if(bLocal)
{
char* pPart = NULL;
GetFullPathName(szPath,_MAX_PATH,szBuffer,&pPart);
return szBuffer;
}
else
{
return szPath;
}
}
eCognition Documentation | 27
4 Introduction to Remote Automation
//-------------------------------------------------------------
// add a scene to the job
//-------------------------------------------------------------
{
js__Job* scene = new js__Job;
scene->eTask = EAnalyse;
scene->mScene.iID = "1";
scene->mScene.iVer = 1;
scene->mScene.strName = "test scene 1";
scene->mScene.strFilePath = "";
scene->mScene.dPxlRes = 1;
scene->mScene.dXPos = 0;
scene->mScene.dYPos = 0;
scene->mScene.iSrc = 0;
scene->mScene.iSizeX = 890;
scene->mScene.iSizeY = 600;
scene->mScene.iCSType = 0;
scene->mScene.iUnit = 1;
eCognition Documentation | 28
4 Introduction to Remote Automation
//-----------------------------------------------------
// image layers
//-----------------------------------------------------
js__ImgLayer layer;
layer.dPxlRes = 1;
layer.dXPos = 0;
layer.dYPos = 0;
layer.iSrc = 0;
layer.iSizeX = 890;
layer.iSizeY = 600;
layer.iCSType = 0;
layer.iNoDataType = 0;
layer.dNoDataVal = 0;
layer.iDataType = 1;
//-----------------------------------------------------
// image layer 1
//-----------------------------------------------------
layer.strAlias = "Layer 1";
layer.strFilePath = GetFullPath(szLayer1ImgPath);
layer.iIndx = 0;
scene->mScene.vImgLayers.AddTail(layer);
//-----------------------------------------------------
// image layer 2
//-----------------------------------------------------
layer.strAlias = "Layer 2";
layer.strFilePath = GetFullPath(szLayer1ImgPath);
layer.iIndx = 1;
scene->mScene.vImgLayers.AddTail(layer);
//-----------------------------------------------------
// export spec
//-----------------------------------------------------
js__ExportItem expitem;
expitem.strName = "MyStats1";
expitem.strPath = GetFullPath(szExpItem1);
expitem.strDriver = "CSV";
expitem.iType = 1; /* TABLE */
scene->mExportSpec.vExportItems.AddTail(expitem);
expitem.strName = "ProjectFile";
expitem.strPath = GetFullPath(szExpItem2);
expitem.strDriver = "DPR";
expitem.iType = 0; /* PROJECT */
scene->mExportSpec.vExportItems.AddTail(expitem);
//-----------------------------------------------------
// add the scene
//-----------------------------------------------------
eCognition Documentation | 29
4 Introduction to Remote Automation
userjob.vJobs.AddTail(scene);
}
userjob.oCnfg.strConfig = "eCognition.10.3.0.last";
//-----------------------------------------------------
// add a scene to the job
//-----------------------------------------------------
{
js__Job* scene = new js__Job;
scene->eTask = EAnalyse;
scene->mScene.iID = "2";
scene->mScene.iVer = 1;
scene->mScene.strName = "test scene 2";
scene->mScene.strFilePath = "";
scene->mScene.dPxlRes = 1;
scene->mScene.dXPos = 0;
scene->mScene.dYPos = 0;
scene->mScene.iSrc = 0;
scene->mScene.iSizeX = 890;
scene->mScene.iSizeY = 600;
scene->mScene.iCSType = 0;
scene->mScene.iUnit = 1;
//-----------------------------------------------------
// image layers
//-----------------------------------------------------
js__ImgLayer layer;
layer.dPxlRes = 1;
layer.dXPos = 0;
layer.dYPos = 0;
layer.iSrc = 0;
layer.iSizeX = 890;
layer.iSizeY = 600;
layer.iCSType = 0;
layer.iNoDataType = 0;
layer.dNoDataVal = 0;
layer.iDataType = 1;
//-----------------------------------------------------
// image layer 1
//-----------------------------------------------------
layer.strAlias = "Layer 1";
layer.strFilePath = GetFullPath(szLayer2ImgPath);
layer.iIndx = 0;
scene->mScene.vImgLayers.AddTail(layer);
//-----------------------------------------------------
// image layer 2
//-----------------------------------------------------
layer.strAlias = "Layer 2";
eCognition Documentation | 30
4 Introduction to Remote Automation
layer.strFilePath = GetFullPath(szLayer2ImgPath);
layer.iIndx = 1;
scene->mScene.vImgLayers.AddTail(layer);
//-----------------------------------------------------
// export spec
//-----------------------------------------------------
js__ExportItem expitem;
expitem.strName = "MyStats1";
expitem.strPath = GetFullPath(szExpItem1);
expitem.strDriver = "CSV";
expitem.iType = 1; /* TABLE */
scene->mExportSpec.vExportItems.AddTail(expitem);
expitem.strName = "ProjectFile";
expitem.strPath = GetFullPath(szExpItem3);
expitem.strDriver = "DPR";
expitem.iType = 0; /* PROJECT */
scene->mExportSpec.vExportItems.AddTail(expitem);
// add the scene
userjob.vJobs.AddTail(scene);
}
userjob.oCnfg.strConfig = "eCognition.10.3.0.last";
//-------------------------------------------------------------
// submit the job
//-------------------------------------------------------------
DiaJS proxy;
proxy.endpoint = szServer; // set URL
int job_id;
if(proxy.js__SubmitJob(&userjob, job_id) != SOAP_OK)
{
fprintf(stderr,"Can't submit job to %s."
" Make sure JobScheduler is running.", szServer);
exit(-1);
}
return 0;
}
Monitoring a Job
This example project for Monitoring a Job submitted to the eCognition Server® can be found in the Samples
folder.
The code is provided here below for your convenience to cross check against the instructions how to build a
SOAP application.
Includes
#include <assert.h>
#define ASSERT assert
#include "soap/jsSrvc.nsmap"
eCognition Documentation | 31
4 Introduction to Remote Automation
#include "soap/jsSrvcClient.cpp"
#pragma warning( push, 0 )
#include "soap/jsSrvcC.cpp"
#include "soap/stdsoap2.cpp"
#pragma warning( pop )
#include "soap/jsSrvcDiaJSProxy.h"
using namespace jsSrvc;
Helper Functions
// --------------------------------------------------------------
// GetElapsedTime
// --------------------------------------------------------------
// --------------------------------------------------------------
// Sample data
// --------------------------------------------------------------
const char* szServer = "http://localhost:8184"; // server url
char* guid = "81B9641D-6671-4979-9224-F1E4AC4AD553";
int GetElapsedTime(js__StatusInfo& s)
{
if(s.timeStop) {
// job stopped; return total processing time
return s.timeStart? int(s.timeStop - s.timeStart) : 0;
}
if(s.timeStart) {
// job started; return current processing time
return int(time(NULL) - s.timeStart);
}
// job is still waiting; return waiting time
return int(time(NULL) - s.timeSubmit);
}
// --------------------------------------------------------------
// GetStatusString
// --------------------------------------------------------------
const char* GetStatusString(js__StatusInfo& s)
{
switch(s.eStatus)
{
case EWaiting: return "waiting";
case EWorking: return "processing";
case EJobDone: return "done";
case EJobFailed: return "failed";
case ETimeout: return "timeout";
case ECrashed: return "crashed";
case ECancelled: return "cancelled";
};
return NULL;
}
eCognition Documentation | 32
4 Introduction to Remote Automation
//---------------------------------------------------------------
// get maximum job id
//---------------------------------------------------------------
SVector<int> ids;
if(ids.IsEmpty())
{
fprintf(stderr,"There is no jobs in the Job Scheduler"
" for the given workspace");
exit(-1);
}
//---------------------------------------------------------------
// request overall status
//---------------------------------------------------------------
SVector<js__StatusInfo> infos;
if (proxy.js__RequestStatusInfo(guid, ids.Last(), 0, infos) !=
SOAP_OK || infos.GetSize() <= 1)
{
fprintf(stderr,"Can't monitor the job");
exit(-1);
}
js__StatusInfo overall = infos[1];
//---------------------------------------------------------------
// wait a bit
//---------------------------------------------------------------
Sleep(1100);
//---------------------------------------------------------------
// request detailed statuses
//---------------------------------------------------------------
infos.clear();
if(proxy.js__RequestStatusInfo (guid,
ids.Last(),
last_status_time,
infos) != SOAP_OK)
{
fprintf(stderr,"Can't monitor the job");
exit(-1);
}
if(infos.IsEmpty())
{
eCognition Documentation | 33
4 Introduction to Remote Automation
//-------------------------------------------------------
// detail statuses are empty; show the overall status
//-------------------------------------------------------
if (overall.eStatus == EWaiting || overall.eStatus ==
EWorking)
{
continue;
}
//------------------------------------------------
// job finished
//------------------------------------------------
printf ("Total: %s: %d s\n", GetStatusString(overall),
GetElapsedTime(overall));
break;
}
last_status_time = infos[0].timeStatus;
//--------------------------------------------------------
// go thru all detailed statuses and print them
//--------------------------------------------------------
if(infos[i].eStatus == EWorking)
{
printf("Scene (ID=%d): %s: : %s\n",
infos[i].iSceneID, GetStatusString(infos[i]),
(const char*)infos[i].strRemarks);
} else
{
printf("Scene (ID=%d): %s: %d s: %s\n",
infos[i].iSceneID, GetStatusString(infos[i]),
GetElapsedTime(infos[i]),
(const char*)infos[i].strRemarks);
}
}
}
}
return 0;
}
eCognition Documentation | 34
5
Background Information
5.1 Coordinate Systems Used in eCognition Software
eCognition software uses three coordinate systems:
l The pixel coordinate system is used for identifying pixel positions within a map
l The user coordinate system allows the use of geocoding information within a map
l The internal pixel coordinate system is used only for internal calculations by the Analysis Engine
software.
eCognition Documentation | 35
5 Background Information
The origin of the coordinate system is at the bottom-left corner of the image . The coordinate
defines the position of the bottom-left corner of the pixel within the user coordinate system.
eCognition Documentation | 36
5 Background Information
eCognition Documentation | 37
5 Background Information
(Where is pixel size in units, is the unit factor and the dimension.)
eCognition Documentation | 38
6
Use Case Sample and
Troubleshooting
6.1 Use Case Samples
6.1.1 Send a Process Task to eCognition Servers
This example can be found in the Samples folder. Use the command line tools to operate the server
environment either manually or from a script.
eCognition Documentation | 39
6 Use Case Sample and Troubleshooting
eCognition Documentation | 40
7
Acknowledgments
Portions of this product are based on third-party software components. Trimble is required to include the
following text, related to software and distributions. The most recent version of this document can be
found in the installation folder of eCognition (C:\Program Files\Trimble\eCognition Developer
10.3\bin\third-party-acknowledgements.txt).
Snappy
Version 1.0.5
Copyright (c) 2005 Google Inc.
https://github.com/google/snappy
License: Snappy License
CPPREST
Versions 2.9.1 and 2.10.6
Copyright (c) 2019 Microsoft Corporation
https://github.com/microsoft/cpprestsdk
License: MIT License
eCognition Documentation | 41
7 Acknowledgments
GLEW
Version 2.1.0
Copyright (c) 2002-2007, Milan Ikits Copyright (c) 2002-2007, Marcelo E. Magallon
Copyright (c) 2002, Lev Povalahev
http://glew.sourceforge.net/
License: BSD License and MIT License
Geogram
Version 1.3.9
Copyright (c) 2012-2014 Bruno Levy
http://alice.loria.fr/software/geogram/doc/html/geogram_license.html
License: BSD License
LASZIP
Version 3.1.0 and 3.4.3
Copyright(c) 2007-2017, Martin Isenburg
https://laszip.org/
License: LGPL
DEVIL
Version 1.7.8
Copyright (c) Project Contributors 2019
http://openil.sourceforge.net/
License: LGPL 2.1
Nanoflann
Versions 1.3.0 and 1.4.2
Copyright 2008-2009 Marius Muja Copyright
Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
eCognition Documentation | 42
7 Acknowledgments
Ifcplusplus
Version 1.1
Copyright 2010-2015 Fabian Gerold
https://github.com/ifcquery/ifcplusplus
License: MIT License
Boost
Version 1.79
Copyright Beman Dawes, Daniel Frey, David Abrahams, 2003-2004.
Copyright Rene Rivera 2004-2005.
https://boost.org
License: Boost Software License, Version 1.0
Crypto++
Version 7.0.0
Compilation Copyright (c) 1995-2018 by Wei Dai. All rights reserved.
https://cryptopp.com
License: Boost Software License, Version 1.0
DejaVu
Version 2.30
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is trademark of Bitstream,
Inc.
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
eCognition Documentation | 43
7 Acknowledgments
https://dejavu-fonts.github.io/
License: DejaVu Fonts — License
File-geodatabase (FileGDB)
Version 1.5.1
Copyright 2017 Esri
https://github.com/Esri/file-geodatabase-api
License: Apache License 2.0
PGR Ladybug
Version 2.12.3
Copyright © 2017 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
http://www.ptgrey.com
License: PGR Ladybug® SDK License
Ffmpeg codec
Version N-78758-g5156578
Copyright © 2000-2016 FFmpeg Project
https://ffmpeg.org
License: LGPL 2.1+
Freetype
Version 2.9
http://www.freetype.org
Copyright 1996-2002, 2006 by David Turner, Robert Wilhelm, and Werner Lemberg
License: The FreeType Project LICENSE
GDAL
Version 3.2.3
https://gdal.org
© 1998-2022 Frank Warmerdam, Even Rouault, and others
License: GDAL License (https://gdal.org/license.html)
GeoGram
eCognition Documentation | 44
7 Acknowledgments
Version 1.3.9
https://github.com/BrunoLevy/geogram
Copyright (c) 2012-2014, Bruno Levy All rights reserved.
License: BSD 3-Clause "New" or "Revised" License
Graphic gems
Version 1.0
"Graphics Gems" (editor, Andrew S. Glassner, published by
Academic Press, Cambridge, MA, 1990, ISBN 0-12-286165-5, 833 pgs.).
License: Graphic gems license
Graphic gems
Version 1.0
"Graphics Gems" (editor, Andrew S. Glassner, published by
Academic Press, Cambridge, MA, 1990, ISBN 0-12-286165-5, 833 pgs.).
License: Graphic gems license
gSOAP
Version 2.7.9
https://www.genivia.com/dev.html
Copyright (C) 2000-2005 Robert A. van Engelen, Genivia, Inc. All Rights Reserved.
License: gSOAP Public Open Source License (Version 1.3a)
Info-Zip
Version 1.01e
http://www.info-zip.org
Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
License: Info-Zip license (BSD-based)
eCognition Documentation | 45
7 Acknowledgments
Jasper
Version 2.0.14
https://github.com/jasper-software/jasper
Copyright (c) 2001-2016 Michael David Adams
Copyright (c) 1999-2000 Image Power, Inc.
Copyright (c) 1999-2000 The University of British Columbia
License: JasPer License Version 2.0
LASZip
Version 3.1.0
https://laszip.org/
Copyright (c) 2007-2017, Martin Isenburg, rapidlasso - fast tools to catch reality
License: LGPL 2.1
libGeoTiff
Version 1.2.5
https://github.com/OSGeo/libgeotiff
Copyright (c) 1995 Niles D. Ritter
Copyright (c) 1999, Frank Warmerdam
License: libgeotiff license
Libjpeg
Version 9b, 17-Jan-2016
http://libjpeg.sourceforge.net/
Copyright (C) 1991-2016, Thomas G. Lane, Guido Vollbeding.
License: Libjpeg License
Libpng
Version 1.6.37
http://www.libpng.org/pub/png/libpng.html
Copyright (c) 1995-2019 The PNG Reference Library Authors.
Copyright (c) 2018-2019 Cosmin Truta.
Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
Copyright (c) 1996-1997 Andreas Dilger.
eCognition Documentation | 46
7 Acknowledgments
Libpng
Version 1.6.37
http://www.libpng.org/pub/png/libpng.html
Copyright (c) 1995-2019 The PNG Reference Library Authors.
Copyright (c) 2018-2019 Cosmin Truta.
Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
Copyright (c) 1996-1997 Andreas Dilger.
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
License: PNG Reference Library License version 2
Mesa 3-D
Version 7.0
https://www.mesa3d.org/
Copyright (c) 2015 The Android Open Source Project
License: Apache 2.0
MrSid DSDK
Version 9.5.4
Copyright (c) 2010 - 2017 Celartem Inc. d.b.a. LizardTech.
LizardTech Computer Software License Agreement for MrSID Decode SDKs
License: LizardTech Computer Software License Agreement for MrSID Decode SDKs
NSIS
Version 3.6.1.0
https://nsis.sourceforge.io/
Copyright (c) 1999-2020 Contributors
License: Common Public License version 1.0
eCognition Documentation | 47
7 Acknowledgments
License: Modified BSD License, the Mesa 3-D License (MIT) and the Khronos License (MIT).
Pybind11
Version 2.9.2
https://github.com/pybind/pybind11
Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>, All rights reserved.
License: pybind free license
OpenMP
Version 5.0 (part of IPP)
https://www.openmp.org/
Copyright (c) 2005-2014 Intel Corporation. All rights reserved.
License: Intel Simplified Software License (Version January 2018)
Shapelib
Version 1.92 (part of GDAL)
https://gdal.org
Copyright (c) Frank Warmerdam
License: GDAL License (https://gdal.org/license.html)
SQLite
Version 3.3.03.3.0
https://www.sqlite.org/
Copyright: Public Domain
License: doesn’t require a license
TensorFlow
Version 2.5
https://www.tensorflow.org/
Copyright (c) Google Inc., Yuan Tang <terrytangyuan@gmail.com>, Arm Ltd
License: Apache 2 License
Tesseract library
Version 5.1.0
eCognition Documentation | 48
7 Acknowledgments
https://github.com/tesseract-ocr/tesseract
Copyright (c) Tesseract authors
License: Apache 2 License
wkhtmltopdf executable
version: 0.12.3.2
https://wkhtmltopdf.org/
Copyright (c) 2010-2014 wkhtmltopdf authors
License: LGPL v3
Python
Version: 3.9.12
https://www.python.org/
Copyright (c) 2001-2022. Python Software Foundation
License: Python Software Foundation Version 2
pip
Version: 22.0.4
https://pip.pypa.io/en/stable/
Copyright (c) 2008-present The pip developers
License: MIT License
eCognition Documentation | 49
7 Acknowledgments
eCognition Documentation | 50
7 Acknowledgments
eCognition Documentation | 51