Id: Esri World Imagery vintage

Created on 26 Aug 2017  路  4Comments  路  Source: openstreetmap/iD

We can probably fetch imagery vintage for the Esri World Imagery layer, similar to how we can get it for Bing.

details here: https://www.arcgis.com/home/item.html?id=c03a526d94704bfb839445e80de95495

new-feature

Most helpful comment

BTW to test this, just hit 鈱楥md+Shift+B (on Mac) / Ctrl+Shift+B (on Windows) to bring up the Background info pane. This pane will display the vintage of the center tile, and there will be a button to toggle tile debugging info, to display vintage on all the tiles.

This feature is toggleable and off by default, so it won't flood the server with requests.

All 4 comments

source/vintage is absolutely something that can be queried and i'm happy to help land it as a feature in iD.

given that it'd invoke a new web request, my first instinct is to add a context menu item in the background settings panel when the Esri imagery is active.

Thanks @jgravois!
The way I would approach this would be similar to how we fetch the Bing imagery vintage.

rendererBackgroundSource.Bing is special and it extends the generic rendererBackgroundSource, see here: https://github.com/openstreetmap/iD/blob/master/modules/renderer/background_source.js#L150

add something like this:

  } else if (source.id === 'EsriWorldImagery') {
      return rendererBackgroundSource.Esri(source);
  }

@jgravois I got this started for you in 1c9719d, while fixing #4327

BTW to test this, just hit 鈱楥md+Shift+B (on Mac) / Ctrl+Shift+B (on Windows) to bring up the Background info pane. This pane will display the vintage of the center tile, and there will be a button to toggle tile debugging info, to display vintage on all the tiles.

This feature is toggleable and off by default, so it won't flood the server with requests.

Was this page helpful?
0 / 5 - 0 ratings