[mapserver-users] time enabled WCS with tile index

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Thu Jun 28 08:52:04 PDT 2018


Hi,

I do not have Mapserver WCS with time up at the moment so I can't do much testing. What if you use some of the timePositions as it appears in the GetCapabilities? Example here
https://beta-karttakuva.maanmittauslaitos.fi/wcs/service/ows?service=WCS&version=2.0.1&request=DescribeCoverage&coverageID=ortokuva__ortokuva

-Jukka Rahkonen-

Lähettäjä: Rousseau Lambert2, Louis-Philippe (EC) [mailto:louis-philippe.rousseaulambert2 at canada.ca]
Lähetetty: 28. kesäkuuta 2018 17:41
Vastaanottaja: Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at maanmittauslaitos.fi>>; mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Aihe: RE: time enabled WCS with tile index


Thanks for your answer, I'm indeed now testing my build in my command line.



But I'm still having the issue...



Query:

mapserv -nh "QUERY_STRING=map=/path/to/mapfile/climate-WCS-en.map&SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=DCS.TN.HISTO.YEAR.ABS_PCTL25&FORMAT=image/tiff&SUBSET=time(%221978%22)"



I get the error:

 <?xml version="1.0" encoding="UTF-8"?>                                                                                                                  <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0.1" xml:lang="en-US" x
si:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd<http://www.opengis.net/ows/2.0%20http:/schemas.opengis.net/ows/2.0/owsExceptionReport.xsd>">
  <ows:Exception exceptionCode="InvalidSubsetting" locator="subset">
    <ows:ExceptionText>msWCSParseTimeOrScalar20(): WCS server error. String "1978" could not be parsed to a time or scalar value
msParseTime(): Regular expression error. Unrecognized date or time format ("1978").</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>



Any idea what might be causing this ?



I also tried adding the "ows_timeformat" "YYYY" at the WEB metadata level without success...



Thanks

LP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20180628/5f0dd5d3/attachment.html>


More information about the mapserver-users mailing list