Andrea, it WORKS. Thank you!


Here is what I found.



I grabbed the geoserver-trunk-2012-02-15-war.zip, unzipped it, copied 
the .war file to my tomcat and then via the GUI in the geoserver web 
pages connected my time-based layer in Postgres to Geoserver.



When creating the layer in geoserver on the "Data" tab I did NOT create a 
Metadata link.



In the new "Dimensions" tab I enabled the "Time" check-box and selected my time 
field from my data table.



For Presentation I was initially a little confused, but concluded that the 
meanings of the values are these:



"List" - means that on the WMS URL request, the user would provide a list of 
comma separated time values like this:



http://localhost:8080/geoserver/wms?VERSION=1.3&bbox=-130.0,42.0,-125.0,47.0&Format=image/png&request=GetMap&layers=xyz:activity_map_r5&width=550&height=250&srs=EPSG:4326&TIME=2012-02-07T03:23:00Z,2012-02-07T04:23:00Z,2012-02-07T05:23:00Z



"Interval and Resolution" - means that the URL request will include a time 
interval and a resolution, like this:



http://localhost:8080/geoserver/wms?VERSION=1.3&bbox=-130.0,42.0,-125.0,47.0&Format=image/png&request=GetMap&layers=xyz:activity_map_r5&width=550&height=250&srs=EPSG:4326&TIME=2012-02-07T03:23:00Z/2012-02-07T04:23:00Z/PT60M



"Continuous Interval" - means that the URL request will include a time 
interval, like this:



http://localhost:9090/geoserver/wms?VERSION=1.3&bbox=-130.0,42.0,-125.0,47.0&Format=image/png&request=GetMap&layers=xyz:activity_map_r5&width=550&height=250&srs=EPSG:4326&TIME=2012-02-07T03:23:00Z/2012-02-07T04:23:00Z



Note that the WMS 1.1.1 and 1.3.0 (Annex C) specs both describe the kinds of 
time data we see here.



I hope these comments help other folks.



T

On Thu, Feb 16, 2012 at 10:58 PM, o ... <t...@hotmail.com> wrote:





I noticed a 2009 posting on this list that indicated WMS access to time-based 
data in a Postgres database was not supported.

http://osgeo-org.1560.n6.nabble.com/WMS-Dimensions-supported-tt3804910.html#a3804911


Has this support been added as of release 2.1.3 ? If so, can someone offer a 
sample "MetaData" link file (and the format) that shows how you connected time 
to your layer ?


This question has been asked (and answered) just yesterday on this same mailing 
list.http://osgeo-org.1560.n6.nabble.com/quot-Time-and-elevation-support-in-GeoServer-quot-td4475438.html

CheersAndrea 
-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187

55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/

http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime

http://twitter.com/geowolf

-------------------------------------------------------
                                          
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
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-dev2
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to