[Geowanking] Re: animated kml?
cholmes at openplans.org
Thu Jul 12 12:14:09 PDT 2007
You can set the refresh params for the client on the server side.
We have a KML reflector in GeoServer, which lets you do a WMS request
without having to fill in all the variables, then we return the full WMS
request (outputting KML), but also the refresh params:
<?xml version="1.0" encoding="UTF-8"?>
These are view based refreshed. You could do time based ones just as
easily. There's a bit more info on what we've done at:
http://docs.codehaus.org/display/GEOSDOC/Google+Earth Next release
should have even more KML improvements.
Anselm Hook wrote:
> Ok sounds trivial. Maybe I'd have that server side scripting glue
> actually handle the request for the content (have it dynamically
> manufacture the content for the http request)... this would avoid
> possible collision over locking semantics; where the file was being
> written to while apache was trying to read it. This would also let me
> set the content-header so that the mime type was correct (as you
> Then I'd post a link to that file on say my website and advise the
> user to set the refresh update rate... which seems not too onerous.
> To bad there's no way to just do it 'magically' where the user doesn't
> have to do anything more than just click on the link.
> - a
> On 7/12/07, Brent Fraser <bfraser at geoanalytic.com> wrote:
>> Yes, but you'll need to create a "kml server". A simple
>> one (not intended for production!) is not very hard to make:
>> 1. Install a web server application (Apache, IIS, etc)
>> on a server computer
>> 2. Create a small program (e.g. using a C complier) to
>> build a kml file. This would re-create the file every so
>> often (e.g. once a minute) with updated coordinates. Put
>> the kml file in a place your web server can server it (eg
>> wwwroot, htdocs,...)
>> 3. On the client compter, in Google Earth, do Add ->
>> Network Link, enter the URL of your KML file, select the
>> Refresh tab and select the Time-base Refresh to something
>> similar to the frequency your kml file is updated on the
>> Of course, the small program in Step 2 above could be (and
>> likely should be) some web server compatible scripting
>> language (Python, perl, PHP, ASP, etc) or CGI program
>> running within the web server.
>> I can't recall if Google Earth is picky about the MIME type
>> the server sends. You may have to do some surfing re mime
>> types if Google Earth can't open the kml from your server...
>> Brent Fraser
>> GeoAnalytic Inc.
>> Calgary, Alberta
>> ----- Original Message -----
>> From: "Anselm Hook" <anselm at gmail.com>
>> To: <geowanking at lists.burri.to>
>> Sent: Thursday, July 12, 2007 12:23 PM
>> Subject: [Geowanking] Re: animated kml?
>> > Excellent, thanks,
>> > How about sequenced live ongoing animation over time; so
>> that a server
>> > is doling out new points of interest and camera angles and
>> the like
>> > without actually ever terminating the flow of traffic?
>> This might be
>> > akin to like streaming machinima or streaming radio.
>> > - a
>> > On 7/12/07, Anselm Hook <anselm at gmail.com> wrote:
>> > > Is it possible to say choreograph a sequence of camera
>> moves over time in
>> > > kml? Let's pretend I wanted to plot a whole pile of
>> points successively,
>> > > and I wanted to have the camera move over the planet and
>> show each of these
>> > > points as it was plotted.
>> > >
>> > > - a
>> > >
>> > >
>> > _______________________________________________
>> > Geowanking mailing list
>> > Geowanking at lists.burri.to
>> > http://lists.burri.to/mailman/listinfo/geowanking
> Geowanking mailing list
> Geowanking at lists.burri.to
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 282 bytes
Desc: not available
More information about the Geowanking