WMS/WFS and (yearly) time-dependent data

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Thu Feb 22 07:43:31 EST 2007


If your are serving layers as wms you could do soemthing like this :

  - define a tileindex layer example:

     LAYER
     NAME "mylayer"
     STATUS ON
#    TYPE POLYGON
     TYPE RASTER
   METADATA
     "DESCRIPTION" "mylayer"
     "wms_title" "mylayer"
     "wms_timeitem"  "time"
     "wms_timeextent"  "1970/2006"
      "WMS_SRS"   "epsg:4326"
   END
     SIZEUNITS PIXELS
     TILEINDEX "tile_file"
     TILEITEM "location"

  - have a tile index that has at least 2 field (localtion for the 
files, and a time field) :
        location       time
      mypath/myfile    2005
       .....            ...

  - doing a request of Getmap : something like
    GetMap&Version=1.1.1&LAYERS=mylayer&Time=2005

  Not sure if that fits your model.

Best Regards


Bart van den Eijnden (OSGIS) wrote:
> I think you should be looking at tile-indexing for the TIME dimension. A
> field in the dbf of the tile-index will probably state which shapefile
> Mapserver needs to open for that specific year (and that specific theme).
> 
> I believe the WCS howto has some information on how to do this, but I have
> no experience with this whatsoever:
> 
> http://mapserver.gis.umn.edu/docs/howto/WCSServerFormatHowTo
> 
> Best regards,
> Bart
> 
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
> 
> 
> --------- Oorspronkelijk bericht --------
> Van: Stefan Schwarzer <stefan.schwarzer at GRID.UNEP.CH>
> Naar: MAPSERVER-USERS at LISTS.UMN.EDU <MAPSERVER-USERS at LISTS.UMN.EDU>
> Onderwerp: [UMN_MAPSERVER-USERS] WMS/WFS and (yearly) time-dependent data
> Datum: 21/02/07 09:44
> 
>> Hi,
>>
>> i read in a document ( http://mapserver.gis.umn.edu/docs/howto/ 
>> wms_time_support/view ) that there is a WMS/WFS-parameter one can  
>> specify for time dependent data. I am dealing mostly with statistical  
>> data sets, which are covering a period of 1970 to 2006. So it should  
>> be something like TIME=2004 to query a specific year.
>>
>> For each variable and year there is a five-classes breakup.
>>
>> It is not clear to me how I should set-up my map file. I guess, I  
>> could on one hand just have 36 layers (for each year a layer) - then  
>> I wouldn't need the TIME parameter. But as I have some 1000 files to  
>> deal with, my map file would get pretty long...
>>
>> The other solution would be to have some kind of grouping classes, so  
>> that all my years would fit into one layer, but into 36 classes.
>>
>> Or is there any kind of more &quot;dynamic&quot; solution?
>>
>> Thanks for any suggestions!
>>
>> Stef
>>
>>
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list