This is an old revision of the document!
Documentation | Other Specifications | Pipeline | Layer.CreateGrid
Command Layer.CreateGrid
creates a new grid layer.
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. |
Layer.CreateGrid Result=$layer2 Name=test1 CS=$layer1 Extent=$layer1 PixelSize=10 Layer.CreateGrid $layer2 Name=new_grid CS=$layer1 Extent=$layer1 Width=$layer1