Open 1ec5 opened 4 years ago
+1 to including this into the schema somehow, for a starter adding a URL + something like a jq filter for parsing out the date from the response could work.
The AU/NSW source has a separate PNG tile overlay which has the year, so we just added that in as an overlay, but where this data is machine readable would should do what we can to support it.
The OSIP layers added in #611 are mosaics collected over the span of five years, which makes the
start_date
andend_date
properties less than informative to a mapper shopping around for current imagery. Fortunately, OGRIP provides a separate ArcGIS MapServer for obtaining the collection date within a bounding box given a coordinate. Their download site uses this API to present download links for individual tiles. It would be great if editors could use the API to display a more specific vintage.Currently, iD special-cases Esri and Bing layers to show a vintage layer specific to those providers. It would probably be a nonstarter to special-case additional regional layers, but that might be more palatable if the index could specify a URL format for obtaining collection dates in JSON format. The URL format could look similar to a tile URL format and take the same parameters.