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

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Mon Jan 14 07:35:21 PST 2019


Hi Even,

That's a pity. Geoserver supports time also without extensions by using an envelope with time period

gml:EnvelopeWithTimePeriod srsName="http://www.opengis.net/def/crs/EPSG/0/3067" axisLabels="E N time" uomLabels="m m s" srsDimension="2"> 

https://beta-karttakuva.maanmittauslaitos.fi/wcs/service/ows?service=WCS&version=2.0.1&request=DescribeCoverage&coverageID=ortokuva__ortokuva

I do not know if it is a right thing to do or if custom CRS as by Rasdaman is better

<Envelope axisLabels="Lat Long ansi elev" srsDimension="4" srsName="http://ows.rasdaman.org/def/crs-compound?1=http://ows.rasdaman.org/def/crs/EPSG/0/4326&2=http://ows.rasdaman.org/def/crs/OGC/0/AnsiDate&3=http://ows.rasdaman.org/def/crs/OGC/0/Index1D?axis-label="elev"" uomLabels="degree degree d GridSpacing">

http://ows.rasdaman.org/rasdaman/ows?&SERVICE=WCS&VERSION=2.0.1&REQUEST=DescribeCoverage&COVERAGEID=Temperature4D

Anyway, it would be really nice to be able to make WCS 2.0.1 GetCoverage requests with time subsets someday.  Potential developers may feel free to contact me.

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: Even Rouault [mailto:even.rouault at spatialys.com] 
Lähetetty: 14. tammikuuta 2019 17:18
Vastaanottaja: mapserver-users at lists.osgeo.org
Kopio: Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi>
Aihe: Re: [mapserver-users] Does Mapserver WCS 2.0.1 support time as a dimension?

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(49600
> 0,4962 
> 00)&SUBSET=y(7181000,7181200)&SUBSET=time("2005-01-01","2017-12-31")&f
> ormat=
> 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