OESETACC

Sets the GCP/TP/EO accuracy inside an OrthoEngine project file.


EnvironmentsPYTHON :: EASI
Quick linksDescription :: Parameters :: Parameter descriptions :: Return Value :: Details :: Example

Back to top

Description


OESETACC sets new accuracy values for tie points (TP), ground control points (GCP) and exterior orientation (airphoto only) in a CATALYST Professional OrthoEngine project file.
Back to top

Parameters


oesetacc(oeproji, oeprojo, pnttype, placc, geoxyacc, geozacc, xyzerr, opkerr, accopt)

Name Type Caption Length Value range
OEPROJI * str Input OrthoEngine project file 1 -    
OEPROJO * str Output OrthoEngine project file 1 -    
PNTTYPE str Point type: GCP/TP/BOTH 0 -   GCP | TP | BOTH
PLACC List[float] Pixel and line accuracy values 0 - 2  
GEOXYACC List[float] Geocoded XY accuracy values 0 - 2  
GEOZACC List[float] Geocoded Z accuracy values 0 - 1  
XYZERR List[float] EO XYZ error 0 - 3  
OPKERR List[float] EO orientation error 0 - 3  
ACCOPT str Options for new accuracy 0 -    

* Required parameter
Back to top

Parameter descriptions

OEPROJI

The path and file name of the OrthoEngine project file (*.prj) containing the points you want to change the accuracy value.

OEPROJO

The path and file name of the output OrthoEngine project file to which to write the new accuracy of TPs, GCPs or both and exterior orientation (airphoto only).

You can specify your input project as your output project; however, by doings so, the input file will be overwritten with the new information.

PNTTYPE

Specifies which point type to set the new accuracy. Valid values are GCP, TP or BOTH.

PLACC

The new pixel and line accuray values. If only one value is specified, it will apply the same value to both pixel and line accuracy values.

GEOXYACC

The new geocoded X and Y accuray values. If only one value is specified, it will apply the same value to both geocoded X and Y accuracy value.

GEOZACC

The new geocoded Z accuray value.

XYZERR

This option is for airphoto only. It allows the user to set the exterior orientation position (XYZ) errors.

OPKERR

This option is for airphoto only. It allows the user to set the exterior orientation angle (omega, phi and kappa) errors.

ACCOPT

Accuracy option for future use.

Back to top

Return Value

Returns: Execution status

Type:  PCI_INT

The return value is 0. This function returns only if it executes successfully; otherwise, it throws an exception.

Back to top

Details

OESETACC sets new accuracy values for TPs, GCPs and exterior orientation (for airphoto only) in an OrthoEngine project file.

Back to top

Example

In the following example, set new accuracy values for both TPs and GCPs.

from pci.oesetacc import oesetacc

oeproji = "airphoto_model.prj"
oeprojo = "airphoto_model_new_acc.prj"
pnttype = "both"
placc   = [0.5, 0.5]
geoxyacc  = [0.5, 0.5]
geozacc = [0.5]
xyzerr = []
opkerr = []
accopt = ""

oesetacc (oeproji, oeprojo, pnttype, placc, geoxyacc, geozacc, xyzerr, opkerr, accopt)

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