4D Raster access NOT via WMS?

Samuel Hiatt samhiatt at GMAIL.COM
Fri Oct 12 14:34:04 PDT 2007


Thanks for the help.

It should be very easy to filter my files for time.  What should my mapfile
look like for the 4D layer?  The same thing as for a 4D wms layer, with the
tile index and wms_* metadata tags but I would use mapscript to screen the
files?  Do you know of a way I might reuse the screening code that is used
for 4D WMS?

Thanks!
Sam



On 10/12/07, Yewondwossen Assefa <assefa at dmsolutions.ca> wrote:
>
> 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
> ----------------------------------------------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071012/357a1696/attachment.htm>


More information about the MapServer-users mailing list