Jukka: Thanks for your reply. What I am working on is WMS-T as defined on https://mapserver.org/ogc/wms_time.html. I do have mapcache installed and it does support WMTS as you mentioned but I am trying to time sequence weather radar images.
I have continued digging since my last post and have updated results. If I post http://localhost/cgi-bin/mapserv.exe?MAP=/data/config/map/nasaww.map&LAYERS=nexrad_wmst&SERVICE=WMST&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image/jpeg&SRS=EPSG:4326&BBOX=-180,-90.0,180.0,90.0&WIDTH=1000&HEIGHT=500&TIME=2021-11-15T11:41:58Z the OpenLayersViewer appears empty. The Mapserver error log show an entry like the following for all images in the dataset as defined in the map file using a postgis index entry along with a raster layer entry referring to the time index [Tue Nov 16 09:55:15 2021].828000 msDrawRasterLayerLow(nexrad_wmst): entering. [Tue Nov 16 09:55:15 2021].969000 msDrawRasterLayerLow(nexrad_wmst): Filename is: C:\data_dynamic\weather\ridge2_111521\KMVX_L3_BDHC_20211114_230548.tif [Tue Nov 16 09:55:15 2021].969000 msDrawRasterLayerLow(nexrad_wmst): Path is: C:\data_dynamic\weather\ridge2_111521\KMVX_L3_BDHC_20211114_230548.tif [Tue Nov 16 09:55:15 2021].970000 msDrawRasterLayerGDAL(): Entering transform. [Tue Nov 16 09:55:15 2021].970000 msDrawRasterLayerGDAL(): src=0,0,7407,7407, dst=172,183,23,23 [Tue Nov 16 09:55:15 2021].970000 msDrawRasterLayerGDAL(): source raster PL (-298.823,-139.181) for dst PL (172,183). [Tue Nov 16 09:55:15 2021].970000 msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,2,3,4 [Tue Nov 16 09:55:15 2021].972000 msDrawRasterLayerLow(nexrad_wmst): Filename is: C:\data_dynamic\weather\ridge2_111521\KMVX_L3_BDHC_20211114_231019.tif [Tue Nov 16 09:55:15 2021].972000 msDrawRasterLayerLow(nexrad_wmst): Path is: C:\data_dynamic\weather\ridge2_111521\KMVX_L3_BDHC_20211114_231019.tif So mapserver is definitely seeing the map file entries otherwise it would not know the file name its not returning the image. For the query shown above it should have returned a single image. I would not expect any file names to go in the log when I do a GetCapabilities query. Bruce On Tue, Nov 16, 2021 at 9:42 AM Rahkonen Jukka (MML) < [email protected]> wrote: > Hi, > > > > Mapserver-users list is where users can ask questions and give answers. > > > > There is no reason to believe that Mapserver supports WMTS at all > https://www.mapserver.org/documentation.html#ogc. > > Also in the query you used &SERVICE=WMST&version=1.1.1. “WMST” must be a > typo and WMTS has only one published version 1.0.0. The error message from > Mapserver is not especially bright, Geoservers do that better. > > > https://demo.geo-solutions.it/geoserver/ows?service=WMTS&version=1.0.0&request=GetCapabilities > Result: > <ows:Exception exceptionCode="InvalidParameterValue" locator="service"> > > <ows:ExceptionText>No service: ( WMTS )</ows:ExceptionText> > > </ows:Exception> > > > > You must install MapCache and configure it to use Mapserver as a WMS > source. MapCache can do WMTS. > > > > -Jukka Rahkonen- > > > > > > > > *Lähettäjä:* MapServer-dev <[email protected]> *Puolesta > *Bruce Clay > *Lähetetty:* tiistai 16. marraskuuta 2021 14.38 > *Vastaanottaja:* MapServer Dev Mailing List <[email protected] > > > *Aihe:* [mapserver-dev] WMST Get Capabilities opens OpenLayerViewer > > > > I am using the mapserver from the latest MS4w. When I query WFS and WMS > GetCapabilities I get a normal xml reply. When I do a WMST > GetCapabilities on the same server the OpenLayersViewer opens but is > empty. Viewing the web page source reveals java script but no xml > information. > > > > The query follows > > > http://localhost/cgi-bin/mapserv.exe?map=/data/config/map/nasaww.map&SERVICE=WMST&VERSION=1.1.1&REQUEST=GetCapabilities > > > > Bruce >
_______________________________________________ MapServer-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-dev
