MAP

  CONFIG "MS_ERRORFILE"   "debug_wmstime.log"
  DEBUG 5

  NAME "WMS-test"
  STATUS ON
  SIZE 400 300
  EXTENT  10.546875 47.872144 17.929688 61.783513
  IMAGECOLOR 255 255 255

  WEB
    IMAGEPATH "/ms4w/tmp/ms_tmp/"
    IMAGEURL "/ms_tmp/"
    METADATA
      "wms_title"          "WMS Demo Server"  ##required
      "wms_onlineresource" "http://yourpath/cgi-bin/mapserv.exe?"   ##required
      "wms_srs"            "EPSG:3006 EPSG:4326"  ##recommended
      "wms_enable_request" "*"   ##necessary
    END
  END # Web

  PROJECTION
    "init=epsg:4326"   ##required
  END


  #
  # Start of layer definitions
  #

  LAYER
    DEBUG 5
    NAME "time_debug"
    METADATA
      "wms_title"    "time_debug"   ##required
      "wms_timeitem" "start"
      "wms_timeextent" "2021-02-09T14:00:00Z/2021-02-09T16:00:00Z/PT1H"
      "wms_timedefault" "2021-02-09T14:00:00Z"
    END

    #FILTER (`[start]` = `2021-02-09T14:00:00Z`)


    TYPE POLYGON
    STATUS ON

    CONNECTION "debug_wmstime.geojson"
    CONNECTIONTYPE OGR      

    LABELITEM "start"

    PROJECTION
      "init=epsg:4326"   ##recommended
    END
    CLASS
      NAME "Parks"
      STYLE
        COLOR 200 255 0
        OUTLINECOLOR 120 120 120
      END # Style

      LABEL
        COLOR 0 0 0
      END

    END # Class
  END # Layer

END
