polylabelr: Find the Pole of Inaccessibility (Visual Center) of a Polygon

A wrapper around the C++ library 'polylabel' from 'Mapbox', providing an efficient routine for finding the approximate pole of inaccessibility of a polygon, which usually serves as an excellent candidate for labeling of a polygon.

Package details

AuthorJohan Larsson [aut, cre] (<https://orcid.org/0000-0002-4029-5945>), Kent Johnson [ctb], Mapbox [cph] (polylabel, variant, and geometry libraries)
MaintainerJohan Larsson <johanlarsson@outlook.com>
LicenseMIT + file LICENSE
Version0.3.0
URL https://github.com/jolars/polylabelr https://jolars.github.io/polylabelr/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("polylabelr")

Try the polylabelr package in your browser

Any scripts or data that you put into this service are public.

polylabelr documentation built on April 4, 2025, 1:50 a.m.