| Environments | PYTHON :: EASI |
| Quick links | Description :: Parameters :: Parameter descriptions :: Details :: Example |
| Back to top |
| Back to top |
| Name | Type | Caption | Length | Value range |
|---|---|---|---|---|
| FILI * | PCI_FILE | Input file name | 1 - 48 | |
| DBIV | Integer | Input vector segment | 0 - 1 | |
| ATTRLIST | String | Attribute name list | 0 - 192 | |
| ATTRFUNC | String | Attribute function list | 0 - 192 | |
| DISSOPT | String | Dissolve option | 0 - 8 | |
| FILO * | String | Output file name | 1 - 192 | |
| FTYPE | String | Output file type | 0 - 192 | Default: PIX |
| FOPTIONS | String | Output file options | 0 - 192 |
| Back to top |
FILI
Specifies the name of the GDB-supported file that contains the vector segment to process.
DBIV
Optionally specifies the input vector segment from FILI to process. If this parameter is not specified, the function automatically uses the first vector segment in the input file.
Most often, VDISSOLVE is performed on vector polygon segments to remove boundaries between polygons. This function can also be used to dissolve lines, in which case pseudo nodes can be removed. Points may also be processed, provided the dissolve options (DISSOPT) parameter is set to ALL, to create multi-part points.
ATTRLIST
Optionally specifies a list of fields that exist within the input vector segment.
For two shapes to be dissolved, all the fields specified in this list must have the same attribute value. If no fields are specified, the dissolving action will not be based on the attribute values at all.
Fields are specified as a comma-separated list of field names. Each field specified will also be part of the output segment.
ATTRFUNC
Optionally specifies a list of functions and the names of the fields to be aggregated.
When shapes are dissolved, this parameter specifies how to handle the existing attributes that you want transferred to the output segment. Fields specified in ATTRLIST should not be included in ATTRFUNC.
Functions are specified as a comma-separated list of one of the supported functions along with the name of the field on which to operate; for example, SUM(<numeric_field), MEAN(<numeric_field).
DISSOPT
Optionally specifies the dissolve options that control which shapes should be merged, based on the shape geometries. Shapes must meet the field requirements as specified in the Attribute Name List (ATTRLIST).
FILO
Specifies the name of the output file to receive the processed vector data.
If the specified file does not already exist, a new file is created using the the ouptut file type (FTYPE) and output file options (FOPTIONS) values. In this case, the output file will contain a single vector segment.
If the specified output file already exists, the specified file must be in a format that can be updated to accept the new vector segment. When writing to an existing file, do not specify the FTYPE and FOPTIONS parameters; otherwise, VDISSOLVE may error.
The input and output files may be the same, as long as FILI meets the criteria stated above.
FTYPE
Optionally specifies the output file format type, represented by a three- or four-letter code. The format type must be a GDB-recognized file type. If FILO specified an existing file, FTYPE should not be specified since that existing file will be updated and its type will not be changed.
For a complete list of GDB-recognized file types and their codes, see GDB file formats in the Technical Reference section of the CATALYST Professional Online Help.
FOPTIONS
Optionally specifies the file creation options to be applied when creating the output file. These are specific to the file format; in each case, the default of no options is allowed. FOPTIONS can be used to specify the compression schemes, file format subtypes, and other information.
Different options are available for different file types (see the FTYPE parameter). The options are described in GDB file formats, in the Technical Reference section of the CATALYST Professional Online Help.
| Back to top |
VDISSOLVE is a function for aggregating and generalizing vector data based on different criteria. In general, portions of the input vector data are grouped then dissolved together to make larger shapes. The spatial information of the vector data, controlled by DISSOPT, can be one criteria. The other criteria for identifying sets or groups are attribute values, specified by ATTRLIST. The ATTRLIST parameter lets you specify fields that must have the same values for shapes to be grouped together. The dissolve operation is said to be based on these fields similar to "Group By" in an SQL query.
Each group of shapes will result in one shape in the output segment. When polygons are grouped, any internal boundaries are removed to form larger polygons. When lines are grouped, any lines that share a pseudo-node are combined to form longer lines. When points are grouped, their geometries cannot physically be combined, but the output will consist of multi-part points.
After the grouping is done, the remaining attributes can be manipulated through the ATTRFUNC parameter. This lets you specify which statistics to compute for attributes that are the basis of the dissolve operation. For example, if you want to dissolve county polygons to form statewide information and you have a field named POPULATION, you may want to determine the total population for each state by summing all counties being dissolved.
| Back to top |
Dissolve a U.S.A. counties layer into a U.S.A. state layer.
EASI>FILI = "usCounties.shp" EASI>DBIV = EASI>ATTRLIST = "STATE_NAME" EASI>ATTRFUNC = "SUM(POP1990), MEAN(POP90_SQMI), COUNT" EASI>DISSOPT = "" EASI>FILO = "usStates.shp" EASI>FTYPE = "SHP" EASI>FOPTIONS = "" EASI>r VDISSOLVE
© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.