Field-Map Scripting

4.2.5.35 GetPolygonCoordinates

GetPolygonCoordinates function


Prototype:

function GetPolygonCoordinates ( const ID : integer; out XY : string) : boolean;

Description:

GetPolygonCoordinates function outputs string expression defining the topology of polygon.

Syntax (1):

variable := Layer.GetPolygonCoordinates (ID, XY);

Syntax (2):

Layer.GetPolygonCoordinates (ID, XY);


Part

Description


variable

A variable declared as a boolean



Layer

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


ID

ID of polygon to output its coordinates


XY

String output variable.

Return value:

true/false for syntax no. 1.



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