Open meh9 opened 7 years ago
very necessary, banging my head against a brick wall right now: https://wiki.earthdata.nasa.gov/display/GIBS/GIBS+API+for+Developers#GIBSAPIforDevelopers-OGCWebMapTileService(WMTS)
I'd love to be able to grab some of the layers in https://worldview.earthdata.nasa.gov/ , particularly the near-real-time MODIS surface reflectance. Terria only loads the most recent one. I think the reason is related to this issue.
For example, from https://gibs.earthdata.nasa.gov/wmts/epsg3857/best/wmts.cgi?service=WMTS&request=GetCapabilities&version=1.0.0 I see that :
<Layer xmlns="http://www.opengis.net/wmts/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml">
<ows:Title xml:lang="en">Corrected Reflectance (True Color, MODIS, Terra)</ows:Title>
<ows:WGS84BoundingBox crs="urn:ogc:def:crs:OGC:2:84">
<ows:LowerCorner>-180 -85.051129</ows:LowerCorner>
<ows:UpperCorner>180 85.051129</ows:UpperCorner>
</ows:WGS84BoundingBox>
<ows:BoundingBox crs="urn:ogc:def:crs:EPSG::3857">
<ows:LowerCorner>-20037508.34278925 -20037508.34278925</ows:LowerCorner>
<ows:UpperCorner>20037508.34278925 20037508.34278925</ows:UpperCorner>
</ows:BoundingBox>
<ows:Identifier>MODIS_Terra_CorrectedReflectance_TrueColor</ows:Identifier>
<Style isDefault="true">
<ows:Title xml:lang="en">default</ows:Title>
<ows:Identifier>default</ows:Identifier>
</Style>
<Format>image/jpeg</Format>
<Dimension>
<ows:Identifier>time</ows:Identifier>
<ows:UOM>ISO8601</ows:UOM>
<Default>2019-02-14</Default>
<Current>false</Current>
<Value>2000-02-24/2019-02-14/P1D</Value>
</Dimension>
<TileMatrixSetLink>
<TileMatrixSet>GoogleMapsCompatible_Level9</TileMatrixSet>
</TileMatrixSetLink>
<ResourceURL format="image/jpeg" resourceType="tile" template="https://gibs.earthdata.nasa.gov/wmts/epsg3857/best/MODIS_Terra_CorrectedReflectance_TrueColor/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg"/>
</Layer>
Terria only displays the default date <Default>2019-02-14</Default>
and misses the rich time dimension here...
anything that could be done?
time measurement support for WMTS services, solved at the moment ? yes or no?
These WMTS services have a time Dimension, but it appears we don't support controlling Dimensions for WMTS services. We should add support so that we can use them:
test2.json.txt