Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Discussions > Getting Started with KML > Generating kml files from excel data
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Munir_Afsar  
View profile  
 More options Oct 23 2005, 3:28 pm
From: Munir_Afsar
Date: Sun, 23 Oct 2005 19:28:10 +0000 (UTC)
Local: Sun, Oct 23 2005 3:28 pm
Subject: Generating kml files from excel data
Is there a way to generate kml files from excel data?
I have an excel file which has one column each for a file name, loc of that file on computer and coordinates for north, south, east and west corners of the file (air photo). How a separate kml file can be generated from each row of data?
Any thoughts are welcome.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bradsd  
View profile  
 More options Oct 24 2005, 2:43 am
From: Bradsd
Date: Mon, 24 Oct 2005 06:43:37 +0000 (UTC)
Local: Mon, Oct 24 2005 2:43 am
Subject: Re: Generating kml files from excel data
I'm no expert in Excel but I know it would be fairly easy to create a KML file using the data as you have described.

What I do not know about is creating a separate file for each row of data. I'm not real sure how that could be done easily.

I have created some pretty complex and dynamic files using Excel. It's best to learn as much as you can about the program. It's a very powerful program and there is not much that you can't do with it. I've learned everything I need to do by using the help files and searching the net for answers and solutions.

I might be able to help you create one huge KML file with a folder for each row of data, but I do not know how to automatically create separate files for each.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Munir_Afsar  
View profile  
 More options Oct 24 2005, 7:58 am
From: Munir_Afsar
Date: Mon, 24 Oct 2005 11:58:04 +0000 (UTC)
Local: Mon, Oct 24 2005 7:58 am
Subject: Re: Generating kml files from excel data
Thankyou for the guidance. Any help to create one file as you described is warmly welcome.

Thanx

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
iftcoach  
View profile  
 More options Nov 12 2005, 7:23 am
From: iftcoach
Date: Sat, 12 Nov 2005 12:23:19 +0000 (UTC)
Local: Sat, Nov 12 2005 7:23 am
Subject: Re: Generating kml files from excel data
Hi,

you can use PHP together with e.g. Excel Eplorer Class.

Coach

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Forkboy2  
View profile  
 More options Nov 12 2005, 11:02 am
From: Forkboy2
Date: Sat, 12 Nov 2005 16:02:31 +0000 (UTC)
Local: Sat, Nov 12 2005 11:02 am
Subject: Re: Generating kml files from excel data
Easiest way for the PHP challenged among us might be to use the Mail Merge feature of MS Word. Create a template in Word with this format that reads the different fields from the Excel file.


<GroundOverlay>
<name>XXXIMAGE NAMEXXXX</name>
<visibility>0</visibility>
<Icon>
<href>XXXXFILE LOCATION OR URLXXXX</href>
</Icon>
<LatLonBox>
<north>XXXNORTHXXX</north>
<south>XXXSOUTHXXX</south>
<east>XXXEASTXXX</east>
<west>XXXWESTXXX</west>
</LatLonBox>
</GroundOverlay>

Then just export it as a plain text file.

One thing to also consider is whether you want an index of the maps to show up in Google Earth. Take a look at the KMZ file that I made attached to this topic for some options on how to do an index.

http://bbs.keyhole.com/ubb/showflat.php?...&PHPSESSID=

The folder caled "Historic Topos - 15" has one type of index system and the folders with "NEW" at the end use a different index system. They both have advantages and disadvantages, but I prefer the one that uses placemarks instead of polygons.

Also, remember that the size of your source images are important. If they are bigger than 2,000 x 2,000 they won't work very will in GE.

Matt

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
lucifer666  
View profile  
 More options Nov 17 2005, 8:44 am
From: lucifer666
Date: Thu, 17 Nov 2005 13:44:07 +0000 (UTC)
Local: Thurs, Nov 17 2005 8:44 am
Subject: Re: Generating kml files from excel data
Here is the solution using only Excel!!!!!
That's how i do it.

Generate the complete KML Information in an excel sheet.
Each line of the KML comes into one cell!

This way you can in a very simple way include your coordinates and other informations in the KML information

Then you copy the sheet to a new workbook and save this new document with save as "formated text (space separated) *.prn"

That is your ready to use kml file


Here the required Excel VBA code:


sub save_KML()
Set fs = CreateObject("Scripting.FileSystemObject")


; define the filename for the KML file

filename= "D:\temp\Google Earth\example.kml"

;delete the file if it exists otherwise Excel will ask for confirmation

If fs.fileexists(filename) Then
fs.deletefile filename, True
End If

; Copy sheet "KML" to a new workbook

Sheets("KML").Copy

;Save the workbook to the KML file and lose the woorkbook to
;return to your original.
; Use a new workbook to be able to continue working in your
; original file otherwise the sheet name is changed to "filename"

ActiveWorkbook.SaveAs Filename:=filename, _
FileFormat:=xlTextPrinter, CreateBackup:=True
ActiveWorkbook.Close (False)

end sub


Regards

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Use KaMeLwriter to create KML files from Excel" by KaMeLwriter
KaMeLwriter  
View profile  
 More options Oct 1 2006, 11:11 am
From: KaMeLwriter
Date: Sun, 01 Oct 2006 15:11:28 +0000 (UTC)
Local: Sun, Oct 1 2006 11:11 am
Subject: Use KaMeLwriter to create KML files from Excel

www.kamelwriter.com

Links in Excel data as ranges and loops through every cell in the range to generate large KML files from your Excel data.

Enjoy!

  620507-AllBanksinSouthKorea.kmz
571K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Generating kml files from excel data" by zonums
zonums  
View profile  
 More options Oct 1 2006, 11:49 pm
From: zonums
Date: Mon, 02 Oct 2006 03:49:11 +0000 (UTC)
Local: Sun, Oct 1 2006 11:49 pm
Subject: Re: Generating kml files from excel data
Free and simple to use.

http://www.zonums.com/excel2GoogleEarth.html

Just select the data, choose the file name and that's it.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
René Marcial Reyes Olivera  
View profile  
 More options Oct 20 2012, 1:52 pm
From: René Marcial Reyes Olivera
Date: Sat, 20 Oct 2012 10:52:41 -0700 (PDT)
Local: Sat, Oct 20 2012 1:52 pm
Subject: Re: Generating kml files from excel data

Hello here you can find two online applications for working with kml files:

The first one, creates kml files based on Excel or CSV file
http://ingeapps.com/apps/online/kml-file-creator

The other, reads kml files and output it on a CSV file
http://ingeapps.com/apps/online/kml-file-reader

Regards,

René

El domingo, 23 de octubre de 2005 14:28:10 UTC-5, Munir Afsar escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »