[mapserver-users] Does Mapserver WCS 2.0.1 support time as a dimension?

Even Rouault even.rouault at spatialys.com
Mon Jan 14 07:17:57 PST 2019


Hi Jukka,

no it doesn't for WCS 2. This is something I looked some time ago, and it 
appeared there's no obvious unique way to support time dimension in WCS 2.0. 
It could potentially be done through custom CRS with a time dimension by using 
straight WCS (that's what Rasdaman does), or using other extensions on top of 
WCS such as EO-WCS (like done by EOxServer or GeoServer)

(above is from my memories. didn't check my notes...)

Even

> Hi,
> 
> I can use tileindex with time succesfully with WMS but not with WCS. I have
> added metadata item "wcs_timeitem" both into my tileindex layer and the
> raster layer and my assumption is that DescribeCoverage should now include
> time as a dimension of the coverage but unfortunately that is not the case.
> I see still just this in DescribeCoverage
> 
> <gml:Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/3067"
> axisLabels="x y" uomLabels="m m" srsDimension="2">
> 
> I would like to see it this way
> <gml:EnvelopeWithTimePeriod
> srsName="http://www.opengis.net/def/crs/EPSG/0/3067" axisLabels="E N time"
> uomLabels="m m s" srsDimension="2">
> 
> so I could make a GetCoverage request with time subset
> http://localhost/cgi-bin/mapserv?map=ms_orthophoto_wcs.map&service=WCS&versi
> on=2.0.1&request=GetCoverage&coverageID=all_orthophotos&SUBSET=x(496000,4962
> 00)&SUBSET=y(7181000,7181200)&SUBSET=time("2005-01-01","2017-12-31")&format=
> image/tiff&geotiff:tiling=true
> 
> The result I get is an error "WCS server error. Time values for subsets are
> not supported".
> 
> By reading the documentation https://mapserver.org/ogc/wcs_server.html it is
> unclear to me if WCS 2.0.1 subsetting with time dimension has ever been
> implemented. Does anybody know?
> 
> -Jukka Rahkonen-


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com



More information about the MapServer-users mailing list