GENFOOTPRINTS

Create footprints from images


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

Back to top

Description


GENFOOTPRINTS processes a collection of geospatial data and produces vector footprints representing the extents for each file.
Back to top

Parameters


Name Type Caption Length Value range
MFILE * String Input file name, folder, or text file 1 - 192  
FILO * String Output file name 1 - 192  
MONITOR String Monitor mode 0 - 3 ON, OFF
Default: ON

* Required parameter
Back to top

Parameter descriptions

MFILE

The name of an image file, a folder, or a text file of images to process. If necessary, you can use a wildcard (*) in the string.

All of the source images must be compatible with one another; that is, they must have the same projection, channel structure, bit depth, and approximately the same resolution.

You can specify any of the following options for this parameter:
If you reference a text file, the following general rules apply:

FILO

The name of the output file to which to write the footprints. The output file contains one vector segment of all polygon footprints for the input files.

The file must not already exist; otherwise, processing stops, and an error message is displayed.

The following two attributes are added to the vector layer created in the footprints file:

MONITOR

The program progress can be monitored by printing the percentage of processing completed. A system parameter, MONITOR, controls this activity.

Available options are:

Back to top

Details

GENFOOTPRINTS determines the four corners of an input image based on the file georeferencing. The four corners are used to generate a polygon, which is essentially the footprint of the file, for each input image. The output polygons are stored in one vector segment in the output file.

For GENFOOTPRINTS to generate footprints, the input data must be reprojectable to LONG/LAT.
Note: PIXEL georeferencing is not supported.

The output file must not exist already. If so, prcoessing stops, and an error message is displayed.

Back to top

Example

In this example, GENFOOTPRINTS is run on a set of images to generate polygon footprints of the input data. To determine the area and perimeter statistics for each footprint, you can run VECAREA.

EASI>mfile	=	"imagery"	         ! location of source images
EASI>filo	=	"footprints.pix"	  ! output file name
EASI>run GENFOOTPRINTS

EASI>file	=	"footprints.pix"
EASI>dbvs	=	2	
EASI>run VECAREA			
			
			

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