RAS2PTATT

Export selected raster points to vector format.


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

Back to top

Description


RAS2PTATT converts multiple raster channels to a vector file with attributes table.
Back to top

Parameters


ras2ptatt(fili, dbic, filref, dbic_ref, attname, filo, ftype, foptions, mapunits)

Name Type Caption Length Value range
FILI * str Database input file name 1 -    
DBIC List[int] Database Input Channel List 0 -    
FILREF str File containing reference layer 0 -    
DBIC_REF List[int] Database reference input channel 0 -    
ATTNAME str Attribute Name Format 0 -    
FILO * str Output vector points layer with its associated attribute table. 1 -    
FTYPE str Output file type 0 - 4 PIX|SHP
Default: PIX
FOPTIONS str Options for output format 0 - 64  
MAPUNITS str Projection map units 0 -    

* Required parameter
Back to top

Parameter descriptions

FILI

The name of the input PCIDSK (.pix) which contain the displacements or cumulative displacements corresponding to the time intervals bracketed by the temporally ordered acquisition dates.

Each input layer has following metadata tags:

DBIC

The input channel or channels to be exported.

If not specified, all channels are exported.

FILREF

This parameter specifies the name of the input file containing the bitmap, vector used to sample the input channels from FILI.

If not specified, all valid pixels in FILI are exported.

DBIC_REF

The bitmap or channel number of the reference file.

ATTNAME

FILO

Specifies the name of the GDB vector file that will contain the exported points.

Every PSC is represented as a 2D point with XY coordinates in the projection specified by MAPUNITS. The points have X and Y attributes and value attributes for each raster layer. The name of the value attribute is formed using the start and end acqusition dates of the corresponding layer.

FTYPE

Optionally specifies the output file format type, represented by a three- or four-letter code.

Supported file format codes include:

FOPTIONS

The options specific to the format to apply when creating the output file. With each, the default of no options is allowed (empty string).

For information about the available options for each supported format, see:

MAPUNITS

Specifies the projection string for the output points.

If not specified, the projection of FILI will be used.

Supported values are:
Back to top

Details

RAS2PTATT reads the stack of displacements for each acquisition time step, and exports a vector layer of points.

Back to top

Example

The following example exports a displacement at the non-overlapping acquisition intervals into the vector layer of point type.

from pci.ras2ptatt import ras2ptatt

fili = "PSI_Displacements.pix"
dbic = []
filref   = ""
dbic_ref = []
filo = "PSI_Displacements_Vec.pix"
ftype = ""
foptions = ""
mapunits = ""

ras2ptatt(fili, dbic, filref, dbic_ref, filo, ftype, foptions, mapunits)
        

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