[Geowanking] Re: animated kml?

Brent Fraser bfraser at geoanalytic.com
Thu Jul 12 12:09:42 PDT 2007


Anselm,

  I think there is.  You could craft up some static kml that
would set the parameters in Step 3 below and reference the
dynamic kml (url of your server).  The KML spec would have
the syntax details...

Brent Fraser
GeoAnalytic Inc.
Calgary, Alberta

----- Original Message ----- 
From: "Anselm Hook" <anselm at gmail.com>
To: "Brent Fraser" <bfraser at geoanalytic.com>
Cc: <geowanking at lists.burri.to>
Sent: Thursday, July 12, 2007 1:03 PM
Subject: Re: [Geowanking] Re: animated kml?


> 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
> mention).
>
> 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:
> > Aslem,
> >
> >   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
> > server.
> >
> > 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,
> > >
> > >
> >
http://missionarygeek.blogspot.com/2007/04/how-to-add-animated-maps-to-your.html
> > >
> > > 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
> >
> >




More information about the Geowanking mailing list