Polygon Label Points {GISTools}R Documentation

Number of Points in Each Polygon

Description

Given a set of polygons, returns the label point for each polygon in a SpatialPoints or a sf POINT object.

Usage

poly.labels(polys)

Arguments

polys

A SpatialPolygons or SpatialPolygonsDataFrame or sf -POLYGON or - MULTIPOLYGON object.

Value

SpatialPoints or sf POINT object containing the label point for each polygon, respectively.

Author(s)

Chris Brunsdon, Binbin Lu


[Package GISTools version 1.0-2 Index]