Labels Points Inside Polygons

Labels longitudinal and latitudinal coordinates located inside a polygon. For a singular polygon, the label is a logical vector of TRUE and FALSE values. For multiple polygons, the label is a character vector based on the names of each polygon. The package is designed to work with both sf and SpatialPolygonsDataFrame objects.


News

pointdexter 0.1.1

  • Added 2010 Chicago census tracts as built-in data sets as both sf and SpatialPolygonDataFrame objects
  • Fixed an error where LabelPointsWithinPolygons() failed when no point(s) lay within a polygon.
    • By using smaller geographies (i.e. census tracts) rather than larger ones (i.e. community areas), pointdexter's 0.1.0 method of labeling did not account for instances where a polygon has no points laying inside of it.
    • Resolved by storing the results of splancs::inpip() for each polygon as a named integer vector in a list rather than in a data frame.

pointdexter 0.1.0

  • Added a NEWS.md file to track changes to the package.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("pointdexter")

0.1.1 by Cristian E. Nuno, 5 months ago


https://cenuno.github.io/pointdexter/, https://github.com/cenuno/pointdexter


Report a bug at https://github.com/cenuno/pointdexter/issues


Browse source code at https://github.com/cran/pointdexter


Authors: Cristian E. Nuno [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports sp, splancs, utils

Suggests knitr, rmarkdown, testthat

Enhances sf


See at CRAN