MERGPROJ

Merge two or more OrthoEngine projects


EnvironmentsPYTHON :: EASI :: MODELER
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Example

Back to top

Description


MERGPROJ merges existing OrthoEngine projects to form a single project.
Back to top

Parameters


Name Type Caption Length Value range
MOEPROJ String List of OrthoEngine project files to merge 0 - 192  
TFILE String Input text file 0 - 192  
MERGPRJ * String Output OrthoEngine project file name 1 - 192  
PREPEND String Add prefix to IDs 0 - 10 GCP, TP, BOTH, NONE, AT_SUBSETS
Default: BOTH
REPORT String Report mode 0 - 192 Quick links

* Required parameter
Back to top

Parameter descriptions

MOEPROJ

Lists the OrthoEngine project files to merge into a single project file. File names may be separated by commas, or defined using a wildcard, such as e:\data\ortho*.prj

TFILE

Specifies the name of the input text file containing the list of OrthoEngine project files to merge.

For example:

TFILE = "file.txt" 

where file.txt contains:

"c:\data\west_rhill.prj"
"c:\data\east_rhill.prj"
"c:\data\north_rhill.prj"
"c:\data\south_rhill.prj"

If no path is specified in the text file, the working directory is used.

Either MOEPROJ or TFILE must be specified, but not both. If MOEPROJ is specified, TFILE is ignored.

MERGPRJ

Specifies the name of the output merged OrthoEngine project file. If the file already exists, it is overwritten.

PREPEND

Specifies the type of automatic prefix to be added to the point IDs.

To prevent duplicating point IDs, the GCPs and TPs of the project files to be merged are prefixed with a sequential number. For example, if three OrthoEngine project files are to be merged, the GCPs and TPs are prefixed with "1_ " for the first file, "2_ " for the second, and "3_ " for the third. If the GCP IDs are already unique and stereo GCPs are to be included, only the IDs of the TPs are prefixed.

Supported values are:

REPORT

Specifies where to direct the generated report.

Available options are:

Back to top

Details

MERGPROJ merges existing OrthoEngine project files that have identical math model types, including projection and datum. For airphoto projects, the camera calibration data must be identical. Incompatible files are excluded from the merge.

Either MOEPROJ or TFILE must be specified for the program to run successfully, but not both. If MOEPROJ is specified, TFILE is ignored.

Note: All images in the specified OrthoEngine project file are processed, regardless of whether they are active or inactive.
Back to top

Example

This example merges the two OrthoEngine project files named 'airphoto_1.prj' and 'airphoto_2.prj' into a single project file named 'MergedProj.prj'.

EASI>MOEPROJ	=	"airphoto_1.prj,airphoto_2.prj"	! input project files
EASI>TFILE	=		! uses MOEPROJ to specify input files
EASI>MERGPROJ	=	"MergedProj.prj"	! output OrthoEngine project file
EASI>PREPEND	=		! Defaults to BOTH (adds prefix to TP and GCP IDs)
EASI>REPORT	=	"TERM"	! Uses the terminal as the default for printouts

EASI>R MERGPROJ

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.