GRDPOL

Polygon coverage gridding


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

Back to top

Description


Convert polygons or arcs in vector segments to raster image or bitmap.
Back to top

Parameters


Name Type Caption Length Value range
FILV String Input vector file name 0 - 192  
DBVS* Integer Input vector segment(s) 1 - 16  
FILE* String Output file name 1 - 192  
DBOC Integer Output raster channel(s) 0 - 1  
FLDNME String Field name 0 - 192 Default: ATTRIBUTE
ALGO String Algorithm 0 - 8 POLYGON | EDGEFILL
Default: POLYGON
REPORT String Report mode 0 - 192 Quick links
MONITOR String Monitor mode 0 - 3 ON, OFF
Default: ON

* Required parameter
Back to top

Parameter descriptions

FILV

Specifies the name of the file containing the vector segments to be rasterized. If this parameter is not specified, it will be assumed to be the same as FILE.

DBVS

Specifies the vector segment(s) containing the vectors from which the raster image will be constructed.

FILE

Specifies the name of the PCIDSK image file to receive the rasterized output.

DBOC

Specifies the raster channel to receive the rasterized output image. If this parameter is not specified, an output bitmap segment is created.

FLDNME

Specifies the field name that contains the values used to grid the polygons or edges.

If this parameter is specified as ZCOORD, the actual z-coordinates of the first vertex of each vector shape are used. Field names are not case-sensitive, and they do not need to be specified in complete form. If more than one match exists, the first name is used.

If the specified attribute does not exist and it is not ZCOORD, the ShapeIDs of the vector shapes are used for gridding.

If ALGO is set to EDGEFILL, the attribute value is taken from the seed points.

Supported values are:

ALGO

Specifies the algorithm to use when converting polygons to rasters.

Supported values are:

REPORT

Specifies where to direct the generated report.

Available options are:

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

GRDPOL takes an input polygon segment or arcs in vector segments and converts all inside areas to a raster image.

Back to top

Example

Use GRDPOL to create raster polygon coverage based on polygons stored in segment 31 of the file 'irvine.pix'.

EASI>filv	=
EASI>dbvs	=	31
EASI>file	=	"irvine.pix"
EASI>dboc	=	8;
EASI>fldnme	=		! use default "ATTRIBUTE"
EASI>algo	=		! use default "POLYGON"

EASI>RUN GRDPOL

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