thank you very much, @Sachit_Mahajan . One more question: ("Santiago, Chile") in this case is the Municipality of Santiago, that is inside the city of Santiago. Do you know how can I do the same for the complete city? Best wishes
Hye, I am using greenR for creating green index map of Delhi but after giving the following command
data <- get_osm_data("Delhi, India")
no result is coming out neither any error nor any output. On the other hand, when I am replacing Delhi with New Delhi then is showing the results but that doesn't covers the entire area of Delhi, its just covering new Delhi and a few other areas. What could be done to make this work? Kindly help.
Hi, this is a bit strange. When I am testing it, I can see and visualize the data.
library(greenR)
ndata <- get_osm_data("Delhi, India")
new_green_index <- calculate_green_index(ndata, 7780) #you have to make sure that you use the right code
map <- plot_green_index(new_green_index, interactive = TRUE, base_map = "CartoDB.DarkMatter")
print(map)
As it is a big network, it can take a while depending on your computation resources.