Field-Map Scripting

4.2.5.4 FindIntersectingPolygons

FindIntersectingPolygons function


Prototype:

function FindIntersectingPolygons(const SearchPolygonLayerName: string; const SearchPolygonID: integer): TIntegerListWrapper;

Description:

The FindIntersectingPolygons function can be used with polygonal layers. It finds all polygons of one layer intersecting with the specified polygon of the same or another layer.

Syntax:


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



Part

Description


variable

A variable declared as an instance of TIntegerListWrapper


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 list of IDs of the captured polygons

Note:

For Field-Map ver. 14 this function returns a string attribute containing IDs of captured polygons delimited with the "|" sign



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