Google
Official Google Earth Download Site

Google Earth Community System Reliability: HIGH

Support and Answers >> Google Earth Plus (read only)

Jump to first unread post. Pages: 1 | 2 | 3 | >> (show all)
Dan62
Tourist


Reged: 08/23/05
Posts: 4
Altitude values on a Path
      #557805 - 08/15/06 04:40 PM

I'm trying to use GE+ to extract coordinates (lat, lon, altitude) for points along a road that shows in a GE image. When I make a path of a series of points, and save it as a .kml file, in notepad I can see the latitude and longitude for each point, but the altitude is always 0. I've tried all the different settings for altitude on a path (absolute, relative to ground, and clamped to ground) and they all give the same result--0, for altitude. When the terrain is switched on, the altitude of each point shows at the bottom of the screen--how do I get this altitude value to be saved for each point along the path. Any ideas???
Dan


Post Extras: Print Post   Remind Me!   Report this Post  
simon_a
Master Guide


Reged: 08/21/05
Posts: 1773
Loc: London, UK
Re: Altitude values on a Path [Re: Dan62]
      #558502 - 08/16/06 07:29 AM

Hello Dan,

As you've found, the path tool does not generate altitude information in its output; by default, a path is clamped to the ground.

You have to manually edit the KML to add elevation information and tell the client how to use the data.

Having said that, one of the best things about the GE Community as that people come up with interesting and clever ideas for solving problems like these; take a look at the following post, which may solve your problem:
http://bbs.keyhole.com/ubb/showthreaded.php/Cat/0/Number/422117



Simon.


Post Extras: Print Post   Remind Me!   Report this Post  
Terry_Pinnell
Tourist


Reged: 08/24/05
Posts: 374
Re: Altitude values on a Path [Re: simon_a]
      #559911 - 08/17/06 08:44 AM

Simon: Prompted by your post I've just been experimenting with the tool you mentioned, Barry Hunter's neat 'KML Altitude Filler' tool at
this page.

But have you found any practical use for these 'filled' files in GE itself please? I gather from Barry that they are really intended only for use in other applications.

Playing a filled (3 co-ordinate) path here gives exactly the same experience as playing the original (2 co-ordinate) path. And that's true whether I use Clamped or Relative. GE apparently ignores the altitude co-ordinate.

So I'm puzzled as to what you meant by "You have to manually edit the KML to add elevation information and tell the client how to use the data."

--
Terry, West Sussex, UK


Post Extras: Print Post   Remind Me!   Report this Post  
tekgergedanModerator
Master Guide


Reged: 09/25/05
Posts: 8051
Loc: Turkey GMT+2
Re: Altitude values on a Path [Re: Terry_Pinnell]
      #559927 - 08/17/06 09:00 AM

Hi Terry

We have two alternatives.

Either to enter the values in Notepad or use Barry's tool. I think, Barry's tool is useful as it edits the path in accordance to the earth surface. I used it several times and it works well in GE too.

--------------------
...::: | | | Install 4.3 and be aware you can switch back | | | :::...
...::: | | | what you are is what you eat and what you think | | | :::...
...::: | | | if you want to get something, first look and ask for its very details | | | :::...


Post Extras: Print Post   Remind Me!   Report this Post  
Terry_Pinnell
Tourist


Reged: 08/24/05
Posts: 374
Re: Altitude values on a Path [Re: tekgergedan]
      #559940 - 08/17/06 09:11 AM

Thanks tekgergedan. But I don't see how that answers my questions! As I said, I know how to make the filled files using Barry's tool. But how do you use them in GE? Perhaps if you could publish an example of Test.kml and Test-filled.kml and tell us what different uses can be made of them?

Maybe I'm still missing something very fundamental here?

--
Terry, West Sussex, UK


Post Extras: Print Post   Remind Me!   Report this Post  
simon_a
Master Guide


Reged: 08/21/05
Posts: 1773
Loc: London, UK
Re: Altitude values on a Path [Re: Terry_Pinnell]
      #559941 - 08/17/06 09:12 AM

Hello Terry,

You have to use the <altitudeMode> tag to see any difference.

If you don't, the path gets clamped to the ground by default and the altitude values are simply ignored.

Using that tag, you get a choice between using absolute values or values relative to the ground (take a look at the kML documentation for more info).

Simon.


Post Extras: Print Post   Remind Me!   Report this Post  
Terry_Pinnell
Tourist


Reged: 08/24/05
Posts: 374
Re: Altitude values on a Path [Re: simon_a]
      #559973 - 08/17/06 09:41 AM

Ah! Thanks a bunch, Simon, that looks like the crucial breakthrough I need

Will experiment tomorrow if I can.

--
Terry, West Sussex, UK


Post Extras: Print Post   Remind Me!   Report this Post  
Terry_Pinnell
Tourist


Reged: 08/24/05
Posts: 374
Re: Altitude values on a Path [Re: Terry_Pinnell]
      #560748 - 08/18/06 02:12 AM

View in Google Earth         View in Google Maps (330 downloads)


Still no success! Perhaps someone could provide a simple example please?

Before I tried amending my own KML path files I thought I'd search for an existing one somewhere. I found a file 33194-Flight Path.kml which I've attached.

That contains altitude co-ordinates, together with the <altitudeMode> tag as per Simon's advice.

Even when I use Edit to change that to Relative, when I play the path I can detect no difference. It does not follow the altitudes set (50,000 m etc), but simply views the path from the fixed height set in GE.

--
Terry, West Sussex, UK


Post Extras: Print Post   Remind Me!   Report this Post  
simon_a
Master Guide


Reged: 08/21/05
Posts: 1773
Loc: London, UK
Re: Altitude values on a Path [Re: Terry_Pinnell]
      #560759 - 08/18/06 02:21 AM

Hello Terry,

I've no access to GE at the moment but I know the placemark in this post has altitude values set (the path actually hovers over the ground).
http://bbs.keyhole.com/ubb/showthreaded.php/Cat/0/Number/553542

Simon.


Post Extras: Print Post   Remind Me!   Report this Post  
Terry_Pinnell
Tourist


Reged: 08/24/05
Posts: 374
Re: Altitude values on a Path [Re: simon_a]
      #560781 - 08/18/06 02:43 AM

Thanks Simon. But that example too behaves the same here. (And it's not a very good example in the current context. The altitudes are all very similar, around 180 m, so there would be little difference anyway. The example I gave has altitudes ranging from 0 to 75,000 m.)

I suspect a misunderstanding. As per my original post up-thread, "Playing a filled (3 co-ordinate) path here gives exactly the same experience as playing the original (2 co-ordinate) path." I thought you had identified the reason: include the <altitudeMode> tag. But that appears to make no difference to the playing experience.

--
Terry, West Sussex, UK


Post Extras: Print Post   Remind Me!   Report this Post  
Pages: 1 | 2 | 3 | >> (show all)




Extra information
0 registered and 3 anonymous users are browsing this forum.

Moderator:  Hill, Jumble, Kempster, mcshea98, jeffryv, dulce, esterrett, David_Eustis, DWebb, regionator, NormB, Frank_McVey, geus, ZeroDeeFeX, LaBelleTerre, vagabondsailor, SupersonicBuddha, TheLedge, BeadieJay, Cyclonic, no_stranger, LuciaM, tekgergedan, cantarell, ManoM, toponym2006, David_Minogue, Noisette, danescombe, Michal_Drewniak, mutex, marinerfan, Delta102, bebop, MarkAubin 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 11326

Rate this topic

Jump to

earth.google.com    bbs.keyhole.com

*
UBB.threads™ 6.5.1.1