| Environments | PYTHON :: EASI :: MODELER |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Example |
| Back to top |
| Back to top |
thmrovr(fili, filo, dbic, dbib, dboc, omethod)
| Name | Type | Caption | Length | Value range |
|---|---|---|---|---|
| FILI * | str | Input file name | 1 - | |
| FILO | str | Output file name | 0 - | |
| DBIC * | List[int] | Input raster channels | 2 - | |
| DBIB | List[int] | Input bitmap mask segment | 0 - 1 | |
| DBOC | List[int] | Output thematic raster channel | 0 - 1 | |
| OMETHOD | str | Overlay method | 0 - 12 | UNION | INTERSECTION Default: UNION |
| Back to top |
FILI
Specifies the input PCIDSK file that contains the thematic rasters to overlay. All input thematic rasters must have the same projection/datum and pixel size.
FILO
Specifies the name of the PCIDSK image file to receive the output thematic raster, which is a combination of all of the input channels.
DBIC
Specifies the channels of thematic raster data to combine. At least two input raster channels must be specified.
All input thematic rasters must have the same projection/datum and pixel size.
DBIB
Specifies the segment that contains the input area mask, which indicates the area to process. Only the area under the bitmap will be processed. The bitmap must have the same projection/datum and pixel size as the input thematic rasters.
DBOC
Specifies the channel to receive the output thematic raster, which is a combination of all of the input channels.
OMETHOD
Specifies the method to use for the overlay processing.
| Back to top |
For example, if you overlay a shape on an area of 'No_Data', the UNION option will output the shape while the INTERSECTION option will not because 'No_Data'is not a valid shape and there is no intersection of shapes.
The output thematic raster gets a new area calculated for the new resultant overlay.
| Back to top |
The following example produces a new output thematic raster in "output.pix", based on the two input thematic rasters in irvine.pix.
from pci.thmrovr import thmrovr fili = "irvine.pix" # input file filo = "output.pix" # output file will be created dbic = [6,7] # input thematic raster channels dbib = [] # no bitmap mask dboc = [] omethod = "" # default, "UNION" thmrovr( fili, filo, dbic, dbib, dboc, omethod )
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.