LINE2PNT

Convert a line layer to a point layer


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

Back to top

Description


LINE2PNT generates a point layer given an input line vector layer.
Back to top

Parameters


Name Type Caption Length Value range
FILI* String Input file name 1 - 192  
DBVS* Integer Input line layer 1 - 1  
FILO* String Output file name 1 - 192  
CONVMTHD String Conversion method 0 - 64 MIDPOINT | VERTICES | INTERVAL
Default: MIDPOINT
DBSD String Output point layer description 0 - 64  
FTYPE String Output file type 0 - 4 Default: PIX
FOPTIONS String Output file options 0 - 64  
MONITOR String Monitor mode 0 - 3 ON, OFF
Default: ON

* Required parameter
Back to top

Parameter descriptions

FILI

Specifies the name of the file containing the line layer to process.

DBVS

Specifies the input segment containing the lines for which a point segment will be constructed.

FILO

Specifies the output file name.

CONVMTHD

Specifies the conversion method to be used to create points.

Supported values are:

DBSD

Specifies up to 64-characters descriptor of the contents or origins of the vectors.

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 specifies an existing file, FTYPE should not be specified since the existing file will be updated and its type won't be changed.

Supported file format codes include: The default value is PIX.

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.

For PIX format, FOPTIONS defaults to BAND.

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

LINE2PNT is used to create a point layer from a line layer. The input segment must be a line; this includes topological arc layers. The points can be generated using different methods which controls where exactly points are created. The attributes are copied from the source line layer to the output point layer.

Back to top

Example

A point layer is built based on segment 28 in irvine.pix and saved to irvine.pix. The point segment will get a description of "Point Layer". The points are created by setting the CONVMTHD parameter to MIDPOINT.

EASI>FILI     = "irvine.pix"     ! input file
EASI>DBVS     = 28               ! input line layer
EASI>FILO     = "irvine.pix"     ! output file
EASI>CONVMTHD = "MIDPOINT"       ! conversion method
EASI>DBSD     = "Point Layer"    ! output segment description
EASI>FTYPE    = ""
EASI>FOPTIONS = ""

EASI>run line2pnt
			

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