Database Reference
In-Depth Information
request
END
3. Having added these parameters in the LAYER METADATA mapfile section,
the WMS GetCapabilities response should change. Now, the hotspots
layer definition includes the time dimension, defined by the <Dimension>
and <Extent> elements. You will get a response as follows:
<Layer>
<Name>hotspots_time_series</Name>
<Title>World hotspots time
series</Title>
<Abstract>Active fire data detected by
NASA Earth Observing System Data and
Information System (EOSDIS)</Abstract>
<SRS>EPSG:4326 EPSG:3857</SRS>
<LatLonBoundingBox minx="-180"
miny="-90" maxx="180" maxy="90" />
<BoundingBox SRS="EPSG:4326"
minx="-180" miny="-90" maxx="180"
maxy="90" />
<Layer queryable="1">
<Name>hotspots</Name>
<Title>World hotspots time
series</Title>
<Dimension name="time"
units="ISO8601"/>
<Extent name="time"
default="2011-10-01"
nearestValue="0">2000-01-01/
2020-12-31</Extent>
</Layer>
</Layer>
4. You can finally test the WMS service with time support. You only need to
remember to add the TIME parameter in the GetMap request (otherwise,
GetMap willfilteroutthedatausingthedefaultdate,whichis 2011-10-01 ,
in this example) by using this URL: http://localhost/cgi-bin/
Search WWH ::




Custom Search