TileMapBase icon indicating copy to clipboard operation
TileMapBase copied to clipboard

Plot graph on satelite image instead of osm basemap

Open namng-uwu opened this issue 4 years ago • 2 comments

Hi, I would like to use satellites map as base map instead as osm base map and plot graph on it. Is that possible with TileMapBase? image

namng-uwu avatar Jan 05 '22 09:01 namng-uwu

TileMapBase can only use standard "map tiles", as used by Open Street Map. I am not aware of any satellite images conforming to this standard (and freely available) but maybe other people know?

MatthewDaws avatar Jan 06 '22 13:01 MatthewDaws

You just have to point to the correct tile server. Maybe someone more experienced can comment but this is how I did it:

satellite_tiles = "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{zoom}/{y}/{x}" t = tilemapbase.tiles.Tiles(satellite_tiles, "satellite") plotter = tilemapbase.Plotter(extent, t, width=300 ) plotter.plot(ax, t)

hugihorseday avatar Nov 29 '23 14:11 hugihorseday