TransferAttributeValuesFromPolygonsToPointsOrCentroids function
Prototype: |
function TransferAttributeValuesFromPolygonsToPointsOrCentroids (const TargetPointOrPolygonLayerName: string; const TargetAttributesName: string; const SourcePolygonLayerName: string; const SourceAttributesName: string): integer; |
|
Description: |
This function transfers attribute values of the specified attributes delimited by the "|" sign from the specified source polygon layer to the specified target point/polygon layer. The specified target attributes are also delimited by the "|" sign. This function operates on the active plot. Note: In case of multipolygons, always the first centroid is considered. |
|
Syntax: |
variable := Project.TransferAttributeValuesFromPolygonsToPointsOrCentroids (TargetLayerName, TargetAttributeName, SourceLayerName, SourceAttributeName); |
|
Part |
Description |
|
variable |
A variable declared as an integer |
|
Project |
A reference to the Field-Map project as defined in Field-Map Project Manager |
|
TargetLayerName |
Layer of point or polygon format, which act as a source of transfer |
|
TargetAttributeName |
Attributes of target layer to be filled with transferred values |
|
SourceLayerName |
Source polygonal layer |
|
SourceAttributeName |
Attributes of source layer which values should be transferred |
|
Return value: |
the number of processed records |
|
See also:
GetPolygonIntersectArea_m2; OverlayPolygonLayers; TransferAttributeValuesFromPolygonsToPointsOrCentroids; GetPoint; GetCentroids; DrawText; DrawPoint; DrawLine; DrawPolygon; DrawCircle; DrawRectangle; FlashPolygon; FlashLine; FlashPoint; SelectedPointCount; SelectedPointID; SelectedLineCount; SelectedLineID; GetCurrentPosition; SetCurrentPosition; SetBasicExtent; GetMapExtent; GetMapFullExtent; GetBasicExtent; ZoomToPolygon; ZoomToLine; MapExtentAsVariant; AddReferencePoint; InvertColors; FindTargetHeight; SetCircularPlotBoundary; TrimLineByPlotBoundary; RefreshMap; RefreshMapRectangle; RefreshTrackingLayer; RefreshTrackingLayerRectangle; ScreenMilimeters2MapDistance_m; MapToScreen; SaveShapesToBlobs; SaveShapesOfCurrentPlotToBlobs; SaveShapesOfAllPlotsToBlobs; ProjectionToWGS84; WGS84ToProjection
© 2024 IFER-Monitoring and Mapping Solutions