Historical Imagery and Time Slider

384 views
Skip to first unread message

Nymor

unread,
Sep 17, 2010, 1:31:30 PM9/17/10
to KML Developer Support - Google Earth Plug-in
Hi,

I have a situation where I want the Imagery to be at a certain date -
reason being that the latest imagery for the location I focus on is of
a lower resolution than that from a couple of years ago.

(I came across the page where you can inform Google of this and have
passed it on to them as they say that they will not always use the
latest imagery but the highest quality so hopefully that will be
sorted out at some stage).

However as at now is is what it is so I'm testing the
ge.getTime().setHistoricalImageryEnabled(true/false),
ge.getTime().setTimePrimitive(timeStamp) &
ge.getTime().getControl().setVisibility(ge.VISIBILITY_SHOW/HIDE)
functions and am having a few issues.

(The aim is to set the imagery to a certain date but not show the Time
Slider).

http://www.thekmz.co.uk/GEPlugin/test/TimeTest1/TimeTest1.htm
successfully sets the date and I can turn the Slider off/on

In http://www.thekmz.co.uk/GEPlugin/test/TimeTest1/TimeTest2.htm
I'm trying to turn the Slider off automatically (using the same call
as in the 1st test but not having the buttons) but it doesn't seem to
work - in that the imagery is not set to the date I specified.

If I then reload the 1st test page (and refresh using F5 or ctrl-F5)
that page doesn't work any more either ... until I then hit the Show
button.

I'm a bit confused as to what is going on and how to fix it such that
the date is set correctly and the slider is turned off (as I hoped
would be happening in test page 2).

Any assistance greatly appreciated.

Regards
Nymor

(this happens for me in both FF and IE)

Josh L

unread,
Sep 18, 2010, 3:08:30 PM9/18/10
to KML Developer Support - Google Earth Plug-in
Hi Nymor,

Can you fill out the form at
https://earth.google.com/support/bin/request.py?&problem=billing&extra.customer=GEFree&contact_type=data
with the area that seems to have lower quality image?

As for the time slider visibility: You cannot hide it properly until
it is fully loaded. In your test two example, I see something
different than you mention: I see the date is set correctly, but the
time slider remains visible. Assuming you modified this demo and this
is also your experience, you can use a workaround of putting
setVisibility statement in a setTimeout of a few hundred
milliseconds. This should work, although you will see the slider
flicker on and then off. Alternatively you may be interested in the
workaround discussed at
http://groups.google.com/group/google-earth-browser-plugin/browse_thread/thread/a3007db90a8abe40/bf8642e46c7fe914

Cheers,

-Josh



On Sep 17, 10:31 am, Nymor wrote:
> Hi,
>
> I have a situation where I want the Imagery to be at a certain date -
> reason being that the latest imagery for the location I focus on is of
> a lower resolution than that from a couple of years ago.
>
> (I came across the page where you can inform Google of this and have
> passed it on to them as they say that they will not always use the
> latest imagery but the highest quality so hopefully that will be
> sorted out at some stage).
>
> However as at now is is what it is so I'm testing the
> ge.getTime().setHistoricalImageryEnabled(true/false),
> ge.getTime().setTimePrimitive(timeStamp) &
> ge.getTime().getControl().setVisibility(ge.VISIBILITY_SHOW/HIDE)
> functions and am having a few issues.
>
> (The aim is to set the imagery to a certain date but not show the Time
> Slider).
>
> http://www.thekmz.co.uk/GEPlugin/test/TimeTest1/TimeTest1.htm
> successfully sets the date and I can turn the Slider off/on
>
> Inhttp://www.thekmz.co.uk/GEPlugin/test/TimeTest1/TimeTest2.htm

Nymor

unread,
Sep 18, 2010, 7:08:32 PM9/18/10
to KML Developer Support - Google Earth Plug-in
Thanks.

(I filled in the form yesterday so hopefully that will be resolved
soon - if it is done so quickly then I will have no need for the fix
I'm trying to do but obviously don't know how long these things may
take)

I haven't changed my examples but am getting something slighty
different, although not fully correct, in my second example now - so
obviously it needs the extra you mentioned - ie let it fully load
first.

I'll try that and also look through the other one you linked to to see
whether that will help. Because what I want to show is something that
occurs on a certain date I wanted to avoid any confusion for the user
of having the Time Slider showing as the date I would have to change
the imagery to is not related in any way to the date of the data I'm
showing.

I'll play around and see what looks best but, as mentioned, if imagery
reverted back to the highest resolution soon then I won't need the
work-around at all - but it always good to know anyway.

Thanks again
Nymor



On Sep 18, 8:08 pm, Josh L wrote:
> Hi Nymor,
>
> Can you fill out the form athttps://earth.google.com/support/bin/request.py?&problem=billing&extr...
> with the area that seems to have lower quality image?
>
> As for the time slider visibility:  You cannot hide it properly until
> it is fully loaded.  In your test two example, I see something
> different than you mention:  I see the date is set correctly, but the
> time slider remains visible.  Assuming you modified this demo and this
> is also your experience, you can use a workaround of putting
> setVisibility statement in a setTimeout of a few hundred
> milliseconds.   This should work, although you will see the slider
> flicker on and then off.  Alternatively you may be interested in the
> workaround discussed athttp://groups.google.com/group/google-earth-browser-plugin/browse_thr...

Grok Lobster

unread,
Sep 19, 2010, 1:58:38 PM9/19/10
to KML Developer Support - Google Earth Plug-in
I wouldn't count on a fast response.
> > > (this happens for me in both FF and IE)- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages