Hey Ivan,
Thanks a lot for your reply. I wasn't aware of how GE handles Timestamps and
timespans, and it seems that this was indeed the cause of my problems.
The Geoserver documentation actually mentions TimeSpans, as I noticed
afterwards, but this paragraph is incomplete (the syntax is missing). I
studied the source code to figure it out, so in case anyone is wondering,
the syntax for defining TimeSpans in the time.ftl file is
${STARTDATE.value}||${ENDDATE.value}
where STARTDATE and ENDDATE represent the two Timestamp columns of your
data. I can try to edit the docs when I have a minute...
Cheers
Matthias
Ivan PRICE-3 wrote:
>
> Hey Matthias,
>
> are you aware of the difference in google earth (kml) of TimeStamp and
> TimeSpan ?
>
> it might be that your data is for points in time, not spans, so when you
> look at a point in time between 2 data 'points in time', there is no
> data. make sense ? hence the slider in GE needs to be a range or the
> data needs to be a series of non-overlapping timespans. not sure if its
> possible, i've never tried to get GS to be so specific with the time
> slider.
>
> -i
>
>
>
> Le 21/03/2011 09:40, [email protected] a écrit :
>> Hi List
>> Here's what I'm trying to do: I have a PostGIS view with hydrological
>> runoff measurements on four gauging stations. The view is structured
>> as follows:
>> time (timestamp) | runoff (double) | the_geom (geometry)
>> My goal is to generate an animated KML file out of these data, which
>> would show the changes in runoff over a given period (for test
>> purposes, the data I'm using at the moment covers only one day). I
>> already followed the instructions in the documentation about the
>> visualization of time series
>> (http://docs.geoserver.org/latest/en/user/googleearth/tutorials/time/time.html)
>>
>> and I’ve also written an attribute-based SLD style that modifies the
>> size of my symbols in function of the measured value.
>> When I run the generated KML file on Google Earth (KMZ won't work here
>> btw), I get indeed a time slider covering the given period and I can
>> see the symbols for my stations. However, the symbols are only visible
>> at the beginning and the end of the animation, but they disappear in
>> between. I first thought that the KML file only contained two tuples
>> for each station, but after checking the code I can confirm that all
>> the tuples of the PostGIS view are listed in it.
>> I'm not very familiar with KML and Google Earth, so does anyone have a
>> clue about why this is happening? Or can anyone tell me if I'm on the
>> right track? Thanks a lot!
>> BTW: I'm using Geoserver 2.1 RC1
>> Freundliche Grüsse
>> Matthias Speich
>> Praktikant Konzernentwicklung
>> BKW FMB Energie AG
>> Viktoriaplatz 2
>> 3000 Bern 25
>> Tel. +41 31 330 53 45
>> [email protected]
>> www.bkw-fmb.ch <http://www.bkw-fmb.ch>
>>
>>
>> ------------------------------------------------------------------------------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit
>> for your organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>>
>>
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
View this message in context:
http://old.nabble.com/Generating-animated-KML-files-with-GeoServer-tp31198755p31255039.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users