You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you call basemap_gglayer(ext = ext, map_service = "esri", map_type = "world_ocean_reference",
map_res = NULL,map_token = NULL, map_dir = NULL, force = NULL) or basemap_ggplot, an erorr is thrown:
"Error in grDevices::rgb(red = df$val1, green = df$val2, blue = df$val3, :
color intensity NA, not in 0:255"
This does not happen with the "world_ocean_base" basemap which renders just fine.
I am using the latest version 0.0.3.
Thanks. This is a great package that is very useful.
The text was updated successfully, but these errors were encountered:
Thanks. To generally address this, I added a handling to account for cases in which maps returned by tile servers (for whatever reasons) consist of only a single value (e.g. 0) for the given query extent. Instead of failing with the above error, empty maps returned by tile servers are handed over gracefully now.
If you call basemap_gglayer(ext = ext, map_service = "esri", map_type = "world_ocean_reference",
map_res = NULL,map_token = NULL, map_dir = NULL, force = NULL) or basemap_ggplot, an erorr is thrown:
"Error in grDevices::rgb(red = df$val1, green = df$val2, blue = df$val3, :
color intensity NA, not in 0:255"
This does not happen with the "world_ocean_base" basemap which renders just fine.
I am using the latest version 0.0.3.
Thanks. This is a great package that is very useful.
The text was updated successfully, but these errors were encountered: