Iconem / historical-satellite

Simple map UX to select through Planet Historical Monthly Basemaps and compare it against other TMS basemaps (like Google, Bing, Here, ESRI, Mapbox, Yandex)

Home Page:https://historical-satellite.iconem.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

historical-satellite

Intro

Simple app made to select through Planet Historical Monthly Basemaps and compare it against other TMS basemaps (like Google, Bing, Here, ESRI, Mapbox, Yandex, Apple). Useful for analyses like Dilbarjin | LeMonde outside Qgis, directly within a web browser (inside or outside of Iconem).

Rough initial version, with:

  • Downloads all planet-basemaps-monthly from 2016-01 to present with the map viewport as extent
  • Side-by-side comparison of imagery datasets (Planet monthly at 2 different timestamps, or satellite imagery sources from planet/google/bing/here/esri/mapbox/yandex/apple)
  • Downloaded images are geotiffs, so can be drag-and-dropped to qgis to get their location

Features:

  • 2 Maps in a Split view (split-screen or side-by-side)
  • Settings component to select planet basemap timestamp
  • Slider with play capabilities (forward/backward, play/pause or step-by-step and FPS control)
  • Selector to choose raster source TMS url (via a TMS URL, or a planet monthly basemap)
  • downloads planet monthly basemaps frames from 2016-01 to present via TiTiler (merge/crop tiles automagically and export to geotiff)
  • Generate gdal_translate batch script to switches the burden from the browser (as well as remove the burden on Titiler middleware) to the user desktop client (prevents missing frames, allow larger resolution downloads, batches etc)

App Screenshot

TODO

Similar work

Other Periodic whole-world mosaics

Cross-posting a twitter thread also on the cloud-native-geospatial gitter community

Looking for cloud-free, worldwide, periodic (yearly/monthly) mosaics like

Wondering if one of the following orgs have such a dataset from:

  • institutions like ESA, NASA
  • consortiums like OGC, pangeo_data
  • or large scale EO programs from Earth on AWS, Microsoft Planetary Computer, Google Earth Engine

This kind of mosaic/TMS would alleviate the need to tile on the fly via the geemap libraries. More responsive for change analysis anywhere on earth. Probably might be helpful to get insights from folks at

References:

Consume temporal TMS in QGIS

QGis feature request A successfully implemented workaround is to create a macro which, at project opening, would get the xyz tile layer, as well as the temporal controller, and update the tile source on the temporal controller update by connecting the update to the

def update_query_layer():
        tct = tc.dateTimeRangeForFrameNumber(tc.currentFrameNumber()).begin().toPyDateTime()
        newSource = f'type=xyz&url=https://server.com/{tct.year}_{tct.month:02d}' + '/{z}/{x}/{y}.png'
        layer.setDataSource(newSource, f'{tct.year}_{tct.month:02d}', layer.dataProvider().name())

tc = iface.mapCanvas().temporalController()
tc.updateTemporalRange.connect(update_query_layer)

About

Simple map UX to select through Planet Historical Monthly Basemaps and compare it against other TMS basemaps (like Google, Bing, Here, ESRI, Mapbox, Yandex)

https://historical-satellite.iconem.com

License:MIT License


Languages

Language:TypeScript 87.9%Language:Python 10.3%Language:HTML 1.1%Language:JavaScript 0.6%Language:CSS 0.1%