Skip to content
Prev 29520 / 29559 Next

How to retrieve the interior boundary (points) of a polygon sf object

library(tidyverse)
library(sf)
library(spData)

polygon=st_geometry(us_states)
plot(polygon)

polygon |> st_as_sf() |> summarise() |> plot()
On Wed, Aug 6, 2025 at 1:25?PM Xiang Ye <yexiangmaup at outlook.com> wrote:

            

  
  
Message-ID: <CAA=SVwHtRijb2ZFwAP3XxpASrNethh9z=0MsXxaFZPVHLTd_BQ@mail.gmail.com>
In-Reply-To: <DM6PR11MB3321286B45B320881FB25337B02DA@DM6PR11MB3321.namprd11.prod.outlook.com>