Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESRI Ocean Tiles? #87

Closed
robschick opened this issue Apr 27, 2020 · 1 comment
Closed

ESRI Ocean Tiles? #87

robschick opened this issue Apr 27, 2020 · 1 comment

Comments

@robschick
Copy link

Hi - is it possible to bring the ESRI ocean map as a tile, i.e. this service:

esri_ocean <- paste0('https://services.arcgisonline.com/arcgis/rest/services/',
'Ocean/World_Ocean_Base/MapServer/tile/${z}/${y}/${x}.jpeg')

Thanks!

@16EAGLE
Copy link
Owner

16EAGLE commented Apr 29, 2020

Hi Rob,

I added ESRI base maps with 6a27c68, including the ocean map. Please reinstall moveVis from GitHub using remotes::install_github("16EAGLE/moveVis"). In general, it is no problem to add tile servers manually, as long as the order of x, y, and zoom are not encoded differently than those of the default OSM and mapbox servers. This can be done simply by modifying the list stored in option("moveVis.map_api"). However, since ESRI uses reverse x, y and zoom positions, which is why an exception for ESRI maps was added it change orders accordingly.

Use get_maptypes() to display the available map types:

$osm
 [1] "streets"      "streets_de"   "streets_fr"   "humanitarian" "topographic" 
 [6] "roads"        "hydda"        "hydda_base"   "hike"         "grayscale"   
[11] "no_labels"    "watercolor"   "toner"        "toner_bg"     "toner_lite"  
[16] "terrain"      "terrain_bg"   "mtb"         

$carto
 [1] "light"                "light_no_labels"      "light_only_labels"   
 [4] "dark"                 "dark_no_labels"       "dark_only_labels"    
 [7] "voyager"              "voyager_no_labels"    "voyager_only_labels" 
[10] "voyager_labels_under"

$mapbox
 [1] "satellite"     "terrain"       "streets"       "streets_basic" "hybrid"       
 [6] "light"         "dark"          "high_contrast" "outdoors"      "hike"         
[11] "wheatpaste"    "pencil"        "comic"         "pirates"       "emerald"      

$esri
 [1] "natgeo_world_map"                      "usa_topo_maps"                        
 [3] "world_imagery"                         "world_physical_map"                   
 [5] "world_shaded_relief"                   "world_street_map"                     
 [7] "world_terrain_base"                    "world_topo_map"                       
 [9] "world_dark_gray_base"                  "world_dark_gray_reference"            
[11] "world_light_gray_base"                 "world_light_gray_reference"           
[13] "world_hillshade_dark"                  "world_hillshade"                      
[15] "world_ocean_base"                      "world_ocean_reference"                
[17] "antarctic_imagery"                     "arctic_imagery"                       
[19] "arctic_ocean_base"                     "arctic_ocean_reference"               
[21] "world_boundaries_and_places_alternate" "world_boundaries_and_places"          
[23] "world_reference_overlay"               "world_transportation"                 
[25] "delorme_world_base_map"                "world_navigation_charts"          

You find the documentation of the changes here: http://movevis.org/news/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants