Hi,
We have a somewhat similar case, and perhaps this solution can apply to your
case as well. It is based on using a CQL-filter (
http://docs.geoserver.org/latest/en/user/tutorials/cql/cql_tutorial.html ).
In our system, we have a layer in GeoServer based on a database table, which
has measurement values registered for different times (for instance 12:00,
13:00 and so on).
The GET-request for a tile for the layer includes a query string parameter
called "CQL_FILTER", specifying the time for which we want to retreive data.
Different values for the CQL_FILTER will generate different tiles / pictures.
For example, if the data set has a field / column named "TIMESTAMP", one can
filter by adding something like this (depending on the dateformat used) to the
GET-request :
&CQL_FILTER=(TIMESTAMP='2012-01-24 13:00:00').
This can easily be tested with your GeoServer layer by simply modifying the
GET-request, i.e. adding the CQL_FILTER-parameter, for a tile you are already
using.
I hope this helps :)
Best regards,
Sebjørn Sæther Birkeland
SEBJØRN SÆTHER BIRKELAND
SENIOR CONSULTANT
+47 982 19 301
[email protected] | www.bekk.no | open.bekk.no
Fra: Robinson, Gardell [[email protected]]
Sendt: 23. januar 2012 17:06
Til: [email protected]
Emne: [Geoserver-users] GeoServer, Time Filtering Layers (Mosaics?)
Hello,
I’m using GeoServer to render time based weather images via WMS to a web
client. As it stands I have 1 layer representing each image (i.e.
layer_01012012_1200, layer_01012012_1205, layer_MMDDYYYY_HHMM). As you can
imagine, this quickly becomes unmanageable, especially dealing with potentially
thousands of images.
Ideally, I want to be able to store images for an entire day or month inside a
single layer which can then be passed a time filter (from the web client) to
extract only the portion of the image I want to see at a particular time???
I've been looking at Image Mosaics but I’m not 100% this is the correct route
to achieve this.. Any insight is appreciated.
Thanks
G. Robinson
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users