Field-Map Scripting

4.2.5.1 GisLayerReference

GisLayerReference property


Prototype:

property GisLayerReference: TFieldMapLayerWrapper;

Description:

The GisLayerReference property returns a reference to the parent GIS layer. read GetGisLayerReference

Syntax:


variable := Layer.GisLayerReference;



Part

Description


variable

A variable declared as an instance of the TFieldMapLayerScriptWrapper class


Layer

A reference to a Field-Map layer as defined in Field-Map Project Manager

Return value:

an object wrapper for the parent GIS layer



Example:

var

IDParentPolygon :integer;


begin

IDParentPolygon := Mensuration.GisLayerReference['ID'];

//        ...

end.



See also:

GisLayerReference; ShapeRecordCount; GetParentPolygonArea_m2; FindIntersectingPolygons; GetIntersectingPolygonAreas; FindContainedPointsOrCentroids; FindLinesIntersectingPolygon; FindClosestLine; FindPolygonContainingPoint; FindPolygonContainingPointByCoords; AddPoint; AddLine; AddPolygon; AddCentroid; AddPolygonWithCentroid; AddCircularPolygonWithCentroid; SplitMultiPolygon; DeletePoint; DeleteLine; DeletePolygon; DeletePolygonsKeepCentroidsAndAttributes; SaveShapesToBlobs; UpdateSymbolAndLabelInShapefiles; CreatePointsAlongLine; RefreshMap; RefreshMapRectangle; ZoomAndSelect; ZoomAndSelectEntity; SelectEntities; ZoomToLayerExtent; MeasureLineLength_m; MeasurePolygonArea_m2; GetLineCoordinates; GetPolygonCoordinates; GisEntityExists; GetCombinedPolygonsCoordinates; SelectLine