[mapserver-commits] r12499 - branches/branch-6-0/docs/en/ogc trunk/docs/en/ogc

svn at osgeo.org svn at osgeo.org
Sun Aug 28 05:08:23 EDT 2011


Author: havatv
Date: 2011-08-28 02:08:23 -0700 (Sun, 28 Aug 2011)
New Revision: 12499

Modified:
   branches/branch-6-0/docs/en/ogc/wms_time.txt
   trunk/docs/en/ogc/wms_time.txt
Log:
Added a note in the wms_time document on the use of LAYER FILTER for default time (#3038).

Modified: branches/branch-6-0/docs/en/ogc/wms_time.txt
===================================================================
--- branches/branch-6-0/docs/en/ogc/wms_time.txt	2011-08-28 08:24:33 UTC (rev 12498)
+++ branches/branch-6-0/docs/en/ogc/wms_time.txt	2011-08-28 09:08:23 UTC (rev 12499)
@@ -80,14 +80,14 @@
 - *wms_timedefault*: (*Optional*) this value is used if it is defined and the 
   TIME value is missing in the request.  
   
-It is also recommended to set a `LAYER` `FILTER` for the time layer to
-provide a default time also for non-WMS requests.  If the time item is
-`mytime`, and the time format is "YYYYMMDD" the following filter could
-be used:
+It is also recommended to set a :ref:`LAYER` `FILTER` for the time
+layer to provide a default time also for non-WMS requests.  If the
+time item is `mytime`, and the time format is "YYYYMMDD" the following
+layer filter could be used:
 
 .. code-block:: mapfile
 
-  FILTER ([mytime] = '20041012')
+  FILTER ([mytime] = '2004-01-01 14:10:00')
   
 Specifying Time Extents
 ***********************
@@ -123,6 +123,7 @@
     TYPE POINT
     STATUS ON
     DATA "quakes"
+    FILTER ([TIME]='2004-01-01 14:10:00')
     CLASS
       ..
     END
@@ -268,6 +269,7 @@
      OFFSITE 0 0 0
      TILEITEM "filepath" #filepath is a column in postgis table with varchar of the filepath to each image
      TILEINDEX "time_idx" 
+     FILTER ([datetime] = "2006-06-23T03:10:00Z")
     END
 
 

Modified: trunk/docs/en/ogc/wms_time.txt
===================================================================
--- trunk/docs/en/ogc/wms_time.txt	2011-08-28 08:24:33 UTC (rev 12498)
+++ trunk/docs/en/ogc/wms_time.txt	2011-08-28 09:08:23 UTC (rev 12499)
@@ -80,14 +80,14 @@
 - *wms_timedefault*: (*Optional*) this value is used if it is defined and the 
   TIME value is missing in the request.  
   
-It is also recommended to set a `LAYER` `FILTER` for the time layer to
-provide a default time also for non-WMS requests.  If the time item is
-`mytime`, and the time format is "YYYYMMDD" the following filter could
-be used:
+It is also recommended to set a :ref:`LAYER` `FILTER` for the time
+layer to provide a default time also for non-WMS requests.  If the
+time item is `mytime`, and the time format is "YYYYMMDD" the following
+layer filter could be used:
 
 .. code-block:: mapfile
 
-  FILTER ([mytime] = '20041012')
+  FILTER ([mytime] = '2004-01-01 14:10:00')
   
 Specifying Time Extents
 ***********************
@@ -123,6 +123,7 @@
     TYPE POINT
     STATUS ON
     DATA "quakes"
+    FILTER ([TIME]='2004-01-01 14:10:00')
     CLASS
       ..
     END
@@ -268,6 +269,7 @@
      OFFSITE 0 0 0
      TILEITEM "filepath" #filepath is a column in postgis table with varchar of the filepath to each image
      TILEINDEX "time_idx" 
+     FILTER ([datetime] = "2006-06-23T03:10:00Z")
     END
 
 



More information about the mapserver-commits mailing list