I am hoping to create a map for a relatively small area of the coast (~ 3 degrees in lon and lat extension). Is anyone aware of readily available data for R at a higher resolution than that provided by the high resolution data in the mapdata package? Or is anyone aware of source and method for importing this data?
I don't know about mapdata, but google maps and openstreetmaps can give small areas. The ggmap
package makes the getting and rendering of the maps reasonably straightforward. The code below gives waterways of the Gogodala region in Papua New Guinea's Western Province. Is the resulution high enough?
library(ggmap)
pngMAP_df = get_map(location = c(142.5, -8.10, 143.1, -7.9), source = "osm", zoom = 12)
ggmap(pngMAP_df)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With