Field-Map Scripting

4.2.5.5 GetIntersectingPolygonAreas

GetIntersectingPolygonAreas function


Prototype:

function GetIntersectingPolygonAreas(const SearchPolygonLayerName: string; const SearchPolygonID: integer): TMultivariantListWrapper;

Description:

The GetIntersectingPolygonsAreas is the extended version of FindIntersectingPolygons. This function returns list of IDs of polygons overlayed by selected polygon together with the area of overlay.  

Syntax:


variable := Layer.GetIntercectingPolygonsAreas(SearchPolygonLayerName, SearchPolygonID);



Part

Description


variable

A variable declared as an instance of TMultivariantListWrapper


Layer

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


SearchPolygonLayerName

A reference to a polygonal layer where the object for which intersecting polygons should be found is located


SearchPolygonID

An identification of a reference polygons for which intersecting polygons should be found

Return value:

a multivariate list of IDs of intersecting polygons (1st column) with areas of overlay (2nd column)

Note:

For Field-Map ver. 14 this function returns a string attribute containing IDs of intersecting lines with specific areas delimited with the "|" sign (e.g., 123=23.4|34=0.01)



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