小编Jan*_*neA的帖子

geom_sf mapping points/shapes

I am using the Tigris package to download shape files with the code,

options(tigris_class = "SF") 
Run Code Online (Sandbox Code Playgroud)

While I can easily map polygons

ggplot(data=zctas) +
  geom_sf(aes())
Run Code Online (Sandbox Code Playgroud)

I am struggling to create a marker/point instead of a filled polygon (for example, a shape -- like a circle inside a zctas) as the shape file I've pulled down from tigris does not have a lat/long for the x and y AES mapping. The shape file has a "geometry" column, and I am wondering …

r geospatial ggplot2 tigris r-sf

2
推荐指数
2
解决办法
60
查看次数

标签 统计

geospatial ×1

ggplot2 ×1

r ×1

r-sf ×1

tigris ×1