Google
Official Google Earth Download Site

Google Earth Community System Reliability: HIGH

Support and Answers >> KML Discussions (read only)

pawill79
Tourist


Reged: 02/03/05
Posts: 14
Re: A new tool for creating Region-based KML
      11/16/06 02:39 PM

Making the change I stated previously only changes the "href" for the root.kml. The other associated kml's still have relative urls for its hierarchy. The main reason that the root.kml has to be changed for the href is because if it does not have a absolute http address then it tries to find the associated kml's on the local file system.

Here is an excerpt from the superoverlay.py in the svn trunk...

"The root file is a small NetworkLink KML file which points
to the top of the SuperOverlay. The href to 1.kml should be
changed to be the URL of the directory.
This file is
distributed to users of the SuperOverlay. Note that the
NetworkLink within is a Region-based load and that opening
this file in Google Earth neither loads any imagery nor
flies to the SuperOverlay. When the user flies to the
vicinity of the SuperOverlay this first NetworkLink is loaded
which triggers further NetworkLink loads within the SuperOverlay
as appropriate for the users viewpoint."

Since this seems that the root.kml has to be manually changed, I wanted just to show that you could make the change more dynamic by changing some of the python code.

Post Extras Print Post   Remind Me!     Report this Post


Entire topic
Subject Posted by Posted on
* A new tool for creating Region-based KML regionatorModerator 08/10/06 05:05 PM
. * * Re: A new tool for creating Region-based KML vestigialars   02/01/07 03:40 PM
. * * Re: A new tool for creating Region-based KML pawill79   11/16/06 01:55 AM
. * * Re: A new tool for creating Region-based KML regionatorModerator   11/16/06 09:06 AM
. * * Re: A new tool for creating Region-based KML pawill79   11/16/06 02:39 PM
. * * Re: A new tool for creating Region-based KML urbanlayer   03/07/07 05:58 PM
. * * Re: A new tool for creating Region-based KML regionatorModerator   03/08/07 12:05 PM
. * * Re: A new tool for creating Region-based KML regionatorModerator   11/02/06 08:55 PM
. * * Re: A new tool for creating Region-based KML regionatorModerator   11/01/06 08:51 AM
. * * Re: A new tool for creating Region-based KML denisew   10/28/06 05:14 PM
. * * Re: A new tool for creating Region-based KML pawill79   10/20/06 08:46 PM
. * * Re: A new tool for creating Region-based KML pawill79   10/20/06 09:00 PM
. * * Re: A new tool for creating Region-based KML PatrickB   10/25/06 10:35 AM
. * * Re: A new tool for creating Region-based KML PatrickB   10/25/06 11:30 AM
. * * Re: A new tool for creating Region-based KML regionatorModerator   10/25/06 01:43 PM
. * * Re: A new tool for creating Region-based KML PatrickB   10/26/06 05:34 AM
. * * Re: A new tool for creating Region-based KML PatrickB   11/02/06 08:41 AM
. * * Re: A new tool for creating Region-based KML regionatorModerator   11/02/06 09:35 AM
. * * Re: A new tool for creating Region-based KML PatrickB   11/02/06 10:00 AM
. * * Re: A new tool for creating Region-based KML vestigialars   10/17/06 06:43 PM
. * * Re: A new tool for creating Region-based KML bplewe   09/07/06 10:08 AM
. * * Re: A new tool for creating Region-based KML regionatorModerator   09/07/06 09:32 PM
. * * Re: A new tool for creating Region-based KML jsundqui   01/29/07 08:43 PM
. * * Re: A new tool for creating Region-based KML jsundqui   01/29/07 08:53 PM
. * * Re: A new tool for creating Region-based KML bplewe   09/07/06 11:36 PM
. * * Re: A new tool for creating Region-based KML PatrickB   10/26/06 05:35 AM
. * * Re: A new tool for creating Region-based KML vestigialars   10/06/06 10:45 AM
. * * Re: A new tool for creating Region-based KML regionatorModerator   10/08/06 10:47 PM
. * * Re: A new tool for creating Region-based KML vestigialars   10/12/06 06:40 PM
. * * Re: A new tool for creating Region-based KML PatrickB   10/26/06 05:45 AM
. * * Re: A new tool for creating Region-based KML PatrickB   10/26/06 09:38 AM
. * * Re: A new tool for creating Region-based KML regionatorModerator   10/26/06 06:30 PM
. * * Re: A new tool for creating Region-based KML PatrickB   10/27/06 05:23 AM
. * * Re: A new tool for creating Region-based KML ink_polaroidAdministrator   10/31/06 01:05 PM
. * * Re: A new tool for creating Region-based KML regionatorModerator   11/01/06 08:22 AM
. * * Re: A new tool for creating Region-based KML PatrickB   11/01/06 10:01 AM
. * * Re: A new tool for creating Region-based KML Forkboy2   10/26/06 02:21 PM


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

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



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

Rating: *****
Thread views: 56181

Rate this thread

Jump to

earth.google.com    bbs.keyhole.com

*
UBB.threads™ 6.5.1.1