User Tools

Site Tools


doc:pipeline:layer.createpixel

Table of Contents

Layer.CreatePixel

Documentation | Other Specifications | Pipeline | Layer.CreatePixel

Command Layer.CreatePixel creates a new pixel (image) layer.

Parameters

Name Required Default value Comment
Result + $layer2 Name of variable in pipeline environment.
Name If not specified, then the name will be assigned automatically.
Path If not specified, then the layer will be created in-memory only.
CS $layer1 Coordinate system read from a variable. Layer reference is allowed. If not specified, then CS will remain undefined.
Extent $layer1 Layer extent read from a variable. Layer reference is allowed. If not specified, then extent will be set to GisNoWorld value.
Width 1024 Layer width in pixels. Pixel layer reference is allowed. If not specified, then the width will be set to the default value.
Height 0 Layer height in pixels. Pixel layer reference is allowed. If not specified, then the height will be set to the default value.
PixelSize 0 Pixel layer resolution in Coordinate System units. If specified greater than zero, then Width and Height are omitted.

Samples

  Layer.CreatePixel Result=$layer2 Name=test1 CS=$layer1 Extent=$layer1 PixelSize=10
  Layer.CreatePixel $layer2 Name=new_pix CS=$layer1 Extent=$layer1 Width=$layer1
2020/02/24 15:11