User Tools

Site Tools


Table of Contents


Documentation | Other Specifications | Pipeline | Layer.AddField

Command Layer.AddField Adds a new field.

For more information please visit TGIS_LayerVector.AddField method.


Name Required Default value Comment
Layer + $layer1 Layer for which field will be added.
Name + NewField Name of field to be added
Type Number Type of field. One of the followings: String, Number, Float, Boolean, Date
Width 6 Integer width of field.
Decimal 0 Integer decimal places.


  Layer.AddField Layer=$layer1 Name=City Type=String Width=100
  Layer.AddField Layer=$layer1 Name=Area Type=Number Width=9 Decimal=2
2018/12/19 09:29

Page Tools