User Tools

Site Tools


doc:pipeline:layer.createvector

Table of Contents

Layer.CreateVector

Documentation | Other Specifications | Pipeline | Layer.CreateVector

Command Layer.CreateVector creates an vector 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. Not implemented so far. Only in-memory layer is created.
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.
ShapeType Unknown Shape type supported by a layer. One of the followings: Unknown, Point, MultiPoint, Arc, Polygon.
DimensionType Unknown Dimension type supported by a layer One of the followings: Unknown, XY, XYZ, XYM, XYZM.

Samples

  Layer.CreateVector Result=$layer2 Name=my_layer CS=$layer1 Extent=$layer1
  Layer.CreateVector $layer2 CS=$cs1 Extent=$extent1 ShapeType=Point DimensionType=XYZ
2018/12/17 16:07