developmentseed / eoAPI

[Active Development] Earth Observation API (Metadata, Raster and Vector services)
https://eoapi.dev
MIT License
205 stars 21 forks source link

Added a publicly available basemap (token is not required) #17

Closed drnextgis closed 3 years ago

drnextgis commented 3 years ago

By now in order to have a basemap for the search viewer user have to provide a mapbox token via environment variable. This PR adds a default basemap (Dark Matter basemaps from Carto) which doesn't require any preconfigurations. image

vincentsarago commented 3 years ago

Thanks @drnextgis, is there any limitation (License) for adding Carto basemap? (I do not believe in free things)

drnextgis commented 3 years ago

From Basemaps Terms of Service: image
:confused:

I couldn't find any dark basemap with clear permissive license, but what about stamen raster tiles available under a Creative Commons Attribution (CC BY 3.0) license? image

I've updated the PR.

vincentsarago commented 3 years ago

Thanks @drnextgis, I've totally remove Mapbox basemap option and also added the stamen basemap in the raster stac viewer 🙏