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:[email protected]]
Lähetetty: 28. kesäkuuta 2018 17:41
Vastaanottaja: Rahkonen Jukka (MML) 
<[email protected]<mailto:[email protected]>>;
 [email protected]<mailto:[email protected]>
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
_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to