On Fri, Sep 21, 2012 at 5:40 PM, Andrea Aime
<andrea.a...@geo-solutions.it>wrote:

> On Fri, Sep 21, 2012 at 5:18 PM, o ... <t...@hotmail.com> wrote:
>
>>  On GeoServer 2.2 RC3
>>
>> I have a set of time-enabled WMS layers.
>>
>> It looks like when a GetCapabilities is requested, geoserver goes out to
>> the database and queries each data layer for the time-span of the data so
>> that it can return the time "Extent" of the data. (It returns some thing
>> like this in the XML returned from the getcapabilities).
>>
>>   <Extent name="time"
>> default="current">1984-02-14T00:01:08.000Z/2008-12-17T17:00:00.000Z/P24Y10M1W2DT12H58M52S</Extent>
>>
>> Is there a way to set the extent in some meta-data file, so that the
>> GeoServer would just grab that rather than do a query against the database ?
>>
>
> Nope, that is fully dynamic today. You'd have to write code to support
> static dimension extents.
>

Btw, that should result out of a min/max query on the db, do you have an
index on the time column?
It should make the generation of the caps faster

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to