4D Raster access NOT via WMS?

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Fri Oct 12 06:30:59 PDT 2007


Samuel Hiatt wrote:
> Hi!  Thanks for the reply.
> 
> So I suppose when I make a WMS request with TIME Mapserver applies the 
> filter behind the scenes, finding which feature in my tile_index.shp 
> represents the correct time and then processes the raster pointed to by 
> that feature?  So if I want to implement the same kind of thing with 
> mapscript I'd have to write the filter myself?
> 
  That is correct : assuming that the underlying data can be filtered 
using a time field, you need to know the attribute and build the time 
expression and set it using mapscript.

> The reason I am interested in doing this is to extend temporal 
> functionality to ka-map.  I may end up abandoning that approach and 
> moving to a javascript WMS client (like OpenLayers of MapBuilder) instead. 
> 
> Thanks for your help.
> 
> Sam
> 
> 
> 
> On 10/11/07, *Yewondwossen Assefa* <assefa at dmsolutions.ca 
> <mailto:assefa at dmsolutions.ca>> wrote:
> 
>     Hi there,
> 
>       The Time parameter that is sent with a WMS request is simply
>     converted
>     to a time expression and set on the filter object of the layer. In the
>     case of wms. the metadata wms_timeitem will be used for the
>     attribute name.
>       if you are using mapscript, you would need to build the time
>     expression manually and set the filter parameter. Please refer to
>     http://mapserver.gis.umn.edu/docs/howto/wms_time_support (section 2.5)
>     to see how time parameters are interpreted.
> 
>     Best Regards,
> 
> 
>     Samuel Hiatt wrote:
>      > I am excited to see that Mapserver supports 4D raster layers for WMS,
>      > but I am curious if this functionality can be extended to mapscript
>      > calls as well?  For example, if I set up a raster layer with a TIME
>      > dimension then will it be possible for me to request an image for a
>      > specific time with mapscript?  Or would I have to do this with a
>     WMS call?
>      >
>      > Thanks!
>      >
>      > Sam
> 
> 
>     --
>     ----------------------------------------------------------------
>     Assefa Yewondwossen
>     Software Analyst
> 
>     Email: assefa at dmsolutions.ca <mailto:assefa at dmsolutions.ca>
>     http://www.dmsolutions.ca/
> 
>     Phone: (613) 565-5056 (ext 14)
>     Fax:   (613) 565-0925
>     ----------------------------------------------------------------
> 
> 


-- 
----------------------------------------------------------------
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