POLY2BIT

Converts polygons to a bitmap


EnvironmentsPYTHON :: EASI :: MODELER
Batch ModeYes
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Related

Back to top

Description


POLY2BIT converts a polygon layer to a bitmap layer. All input polygons are assigned a pixel value of 1 in the output bitmap.
Back to top

Parameters


Name Type Length Value range
Input: Input polygon layer * Vector port 1 - 1  
InputArea: Input georeferencing segment GEO port 0 - 1  
OutputBitmap: Output file name * Bitmap port 1 -    
Output X pixel size Real 0 - 1024 0.0000000001 -
Output Y pixel size Real 0 - 1024 0.0000000001 -
Use current selection (Focus only) Boolean 0 - 1 TRUE | FALSE
Default: FALSE

* Required parameter
Back to top

Parameter descriptions

Input: Input polygon layer

Specifies the input segment containing the polygon vectors from which the bitmap layer will be created. The input vector layer can either be whole polygons or topological polygons.

InputArea: Input georeferencing segment

Optionally specifies the georeferencing segment used to set the projection, geographic extents, and the size (pixels/lines) of the output bitmap layer. If this parameter is not specified, the georeferencing information from the original input segment is used when creating the output bitmap.

OutputBitmap: Output file name

Specifies the name of the file to which the new bitmap layer will be saved.

Output X pixel size

Specifies the X pixel size (in meters) for the output bitmap file.

This parameter is not required and will be disabled if georeferencing is specified from the input port.

Output Y pixel size

Specifies the Y pixel size (in meters) for the output bitmap file.

This parameter is not required and will be disabled if georeferencing is specified from the input port.

Use current selection (Focus only)

Allows you to restrict processing to only the selected shapes from the current view in CATALYST Professional Focus. The default value is FALSE so all shapes are processed.

Note: This parameter is available only through the Focus Algorithm Librarian.
Back to top

Details

POLY2BIT accepts an input polygon layer (either a whole polygon or topological) and converts all inside areas to a bitmap layer. All of the polygons are represented as 1s in the output bitmap.

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