Category "sf"

Create multiplot with map and scatter

I am trying to create multiplot that contains a map (using geom_sf) and a graph next to each other. I tried to use GGpubr::ggarrange and cowplot::plot_grid for

Hot to get clean polygons in R after st_combine/st_union with sf package?

I have a tidy dataset for census sectors in sf format (setores_sp_ok.rda), which has polygons for two different territorial models, indicated by variable modelo

R create sf polyline from nested list of coordinates

I have a nested list of coordinates in the following format: feature <- list(type = "Feature", properties = list(`_leaflet_id` = 125L, feature_type = "p

Parallelize st_union from R's sf package

I have some large shapefiles with multiple millions of polygons that I need to dissolve. Depending upon the shapefile I need to either dissolve by group or jus

Aligning ggmap and geom_sf maps

I am having problems aligning two maps. They appear to have the same crs but still look off a bit. Notice the California-Nevada border and the California coast.

Can I bound an st_distance call by a polygon?

I have seen similar posts on this topic (see, for example, here and here) but not one that is specific to the sf-tidyverse ecosystem. I have a series of lakes,