[R] Package sf, unit for dist in st_buffer

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Thu Jul 4 13:20:07 CEST 2019


Don't  know, but ask on r-sig-geo if you don't get a satisfactory reply
here.

Bert

On Thu, Jul 4, 2019, 4:04 AM Ashim Kapoor <ashimkapoor using gmail.com> wrote:

> 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]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list