Show elevation profile for a track in Google Earth Plug-in as with Google Earth Desktop

1,157 views
Skip to first unread message

Gautier ANTOINE

unread,
Jul 15, 2010, 7:07:55 AM7/15/10
to KML Developer Support - Google Earth Plug-in
Is it possible to show elevation profile for a track in Google Earth
Plug-in as with Google Earth Desktop ?

thank you for your help.

Josh L

unread,
Jul 17, 2010, 12:12:29 AM7/17/10
to KML Developer Support - Google Earth Plug-in
Hi,

Unfortunately, this is not currently possible in the plugin.

Cheers,

-Josh

Grok Lobster

unread,
Jul 17, 2010, 11:32:56 AM7/17/10
to KML Developer Support - Google Earth Plug-in
There is the elevation API.
http://code.google.com/apis/maps/documentation/elevation/
> > thank you for your help.- Hide quoted text -
>
> - Show quoted text -

Gautier ANTOINE

unread,
Jul 19, 2010, 2:35:24 AM7/19/10
to KML Developer Support - Google Earth Plug-in
OK thanks for the answer, is it in the road map ? ;-)

Rossko

unread,
Jul 19, 2010, 10:02:39 AM7/19/10
to KML Developer Support - Google Earth Plug-in
> OK thanks for the answer, is it in the road map ? ;-)

In the documentation, it says
"You access the Elevation API through an HTTP interface.
Users of the Google JavaScript API V3 may also access this API
directly by using the ElevationService() object."

Josh L

unread,
Jul 21, 2010, 12:21:34 PM7/21/10
to KML Developer Support - Google Earth Plug-in
Hi Gautier,

First, I should note that you can build your own elevation chart using
some charting tools (such as google visualization gadgets or flot or
whatever your preference is) and the elevations in the KML.

In addition, as noted by others in this thread, if you do not have the
elevations in your KML you could use the Elevation API, or even query
for the elevation in the Earth API (more accurate if you have zoomed
into the area of interest -- see
http://code.google.com/apis/ajax/playground/?exp=earth#retrieving_ground_altitude_data
) and use this data to build a chart yourself.

However I believe your question was more related to whether you can
get programmatic access to display the same type of charts (elevation
and associated telemetry data, for example) that you can now enable
with the UI in the new GE 5.2 client. This question is what I was
answering above (not currently possible).

As for the roadmap, we generally don't discuss specific plans, but as
a general rule we do intend to continue adding new features to the API
so developers can not only mimic behavior of the client UI, but even
do much more. One of the things we take into consideration when
deciding which features are most useful to developers is the
popularity of any given item in the issue tracker, so please feel free
to add this as a feature request.

Cheers,

-Josh

Gautier ANTOINE

unread,
Jul 22, 2010, 4:35:01 AM7/22/10
to KML Developer Support - Google Earth Plug-in
Yes I know about elevation API or retrieving altitude from the plugin
after a zoom on the area, I'm already building my own elevation
profile but the fact is that the Google Earth Desktop Tool is very
powerful and easy to use and it not only displays elevation data but
can also deal with heart rate etc... all the datas associated with the
track, let the user choose which data to display, make zoom on the
charts etc...
Great Tool with no effort !!!

This explains my question :)



On Jul 21, 6:21 pm, Josh L wrote:
> Hi Gautier,
>
> First, I should note that you can build your own elevation chart using
> some charting tools (such as google visualization gadgets or flot or
> whatever your preference is) and the elevations in the KML.
>
> In addition, as noted by others in this thread, if you do not have the
> elevations in your KML you could use the Elevation API, or even query
> for the elevation in the Earth API (more accurate if you have zoomed
> into the area of interest -- seehttp://code.google.com/apis/ajax/playground/?exp=earth#retrieving_gro...
Reply all
Reply to author
Forward
0 new messages