Google
Official Google Earth Download Site

Google Earth Community System Reliability: MEDIUM

Support and Answers >> KML Discussions (read only)

simon_a
Master Guide


Reged: 08/21/05
Posts: 1773
Loc: London, UK
Re: KML vs KMZ
      06/12/06 01:46 AM

Hello Vallery,

I use Excel to manage extra bits of information for description bubbles in each collection, such as codes and URLs for online CGI scripts and URLs for websites.

I then use VBA in Excel to generate the KML. As it runs through each placemark, it generates descriptions based on whether certain information exists. (For example, some of the SNCF stations link to station-details pages on the SNCF website, whilst some have no online reference and others still have live arrival links but no station details.)

Whilst Excel can produce XML output itself, by default it's full of extra Excel-added tags and it can't handle the application logic I need to produce the description bubbles (unless I put descriptions in the cells, and that would be a awful to manage).

It's a bit fiddly when I need to update a view in the GE Client - I then have to convert new output to Excel and match the new co-orinates with the supplimentary data - but I've a script to do this as well

I can't find a way of getting a VBA script to output data encoded as UTF-8, so I have to open the output in notepad.exe and re-save choosing UTF-8.

Not the most elegant solutiuon but it works well enough!

Cheers,

Simon.

Post Extras Print Post   Remind Me!     Report this Post


Entire topic
Subject Posted by Posted on
* KML vs KMZ simon_a 06/10/06 03:08 AM
. * * WideCharToMultiByte rsgrillo   06/12/06 05:38 AM
. * * Re: KML vs KMZ Valery35   06/12/06 12:38 AM
. * * Re: KML vs KMZ simon_a   06/12/06 01:46 AM
. * * Re: KML vs KMZ rsgrillo   06/12/06 03:25 AM
. * * Re: KML vs KMZ tekgergedanModerator   06/12/06 03:31 AM
. * * Re: KML vs KMZ rsgrillo   06/12/06 03:48 AM
. * * Re: KML vs KMZ tekgergedanModerator   06/12/06 04:29 AM
. * * Re: KML vs KMZ rsgrillo   06/12/06 05:16 AM
. * * Re: KML vs KMZ simon_a   06/12/06 06:21 AM


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: 10746

Rate this thread

Jump to

earth.google.com    bbs.keyhole.com

*
UBB.threads™ 6.5.1.1