Assign labels to polygons

Algorithm

The Assign labels to polygons operation copies the polygon map and and assigns the undefined value to all polygons. Next, for each label point, the surrounding polygon is determined. Then the class name, ID or value of the label point is assigned to that polygon. If there is no point in a polygon, the polygon will keep the undefined value.

If the input polygon map and the input point map have a different but compatible coordinate system, a coordinate transformation in performed on the point map before the determination of which polygon surrounds a point.

See also: