[R] Package sf, unit for dist in st_buffer
Ashim Kapoor
@@h|mk@poor @end|ng |rom gm@||@com
Thu Jul 4 13:03:56 CEST 2019
Dear All,
map3 <- st_read("My Shapefile") %>% st_as_sf %>% st_transform(crs = 7755)
# Please see any shapefile here :
https://github.com/datameet/maps/tree/master/Districts
map_buffer <- st_buffer(mapHR, dist = -1000)
# CRS 7755 is for India, please see here, https://epsg.io/7755
My query is : The unit for distance is meters ?
On this page : https://epsg.io/7755,it says unit is metre.
On this page :
https://www.rdocumentation.org/packages/sf/versions/0.7-4/topics/geos_unary
it says :
dist numeric; buffer distance for all, or for each of the elements in x; in
case dist is a units object, it should be convertible to arc_degree if x
has geographic coordinates, and to st_crs(x)$units otherwise
I just want to be sure that, I am using a distance of 1 kilo metre ( 1000
metres) . Can someone please confirm ?
Thank you,
Ashim
[[alternative HTML version deleted]]
More information about the R-help
mailing list