r-spatialecology / landscapemetrics

Landscape Metrics for Categorical Map Patterns 🗺️ in R
https://r-spatialecology.github.io/landscapemetrics
GNU General Public License v3.0
227 stars 43 forks source link

Labels for show_patches #326

Open mhesselbarth opened 4 days ago

mhesselbarth commented 4 days ago

show_patches has the option to label all patches using the cell id, however, the id is written in each cell. I think it would be great to either use the centroid, or sample a random cell to display the id only once. Currently its hard to read

mhesselbarth commented 3 days ago

Decided to use a random cell because the centroid can be outside the patch. Improvement would be to use cell which is the nearest to the centroid