Created
April 11, 2019 22:36
-
-
Save harryprince/0e012720c9073c57b1ce2ff1996c391c to your computer and use it in GitHub Desktop.
Remote Sensing in R: extent viz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ext <- extent(c(xmin=116.45902633667,xmax=116.477222442627,ymin=39.940881729126,ymax=39.9528980255127)) | |
ext %>% | |
sf::st_bbox() %>% | |
sf::st_as_sfc() %>% | |
sf::st_set_crs(4326) %>% | |
sf::st_transform(3857) %>% | |
sf::st_bbox() %>% | |
mapview::mapview() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment