
How do I import a KML data file into Google Maps?We hired a company to produce a Google Maps data file so we could produce a custom map of all our business office locations across the United States and they supplied us with a XML data file. I have no idea what to do next. Help! I'm surprised that they haven't offered you even rudimentary directions, but it's okay, I've got your geoback. :-) First off, though, I hope that it's actually a KML map file that's written in XML compliant language rather than an XML file, per se. KML is "Keyhole Markup Language" and it's named after the company that created the geographic specific language. Anyway, you probably don't care about that! Your first step is to go to Google Maps and make sure you're logged in to your Google account. if you don't have one, create one. How to tell? On the top right it'll either say "Sign in" or it'll show your email address if you are logged in. Once you are logged in properly, you'll see the following: ![]() Click on "My Maps" and you'll see a list of maps you've already created (if any) and the all-important "Create new map" link: ![]() Choose that (no surprise!) and it'll give you an area where you can name your map, add a description and, when you're ready, an "Import" link: ![]() When you choose to import a Google Maps data file, it'll give you the option of specifying the map's location online with a URL or finding one that you want to upload from your computer: ![]() Click on "Choose file" and it'll pop up a standard choose file dialog window (this is on a Mac, but a Windows PC works the same): ![]() Once I've picked the file I want to upload (a file that ends with ".kml") I click on "Choose" and now I'm back to the Google Maps dialog window again, but this time the file name shows up: ![]() That's good. Click on "Upload from File" and, depending on how big the file is, it'll complete in a few seconds or a minute or more, with the next action being it displaying you a map with all the data points plotted: ![]() On the left side underneath the fields where you can enter a title and description for the map it now shows a list of the imported data points with any descriptive material included in the KML file: ![]() Last step. Find the "Done" button and click it and you have a public custom Google Maps file with all the information easily accessible: ![]() I hope that gives you all the information you need to get this working! In a different set of blog entries I'll explain how to turn addresses into Latitude/Longitude information, then you can pour that manually into a KML file, as I'll also explain. Stay tuned for that!
Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon
Categorized:
CGI Scripts and Web Site Programming
(Article 8846)
Tagged: custom maps, geocaching, geomapping, google maps Previous: What is Google Voice? Next: Prince of Persia Walkthrough II: Defeating the Hunter Subscribe!
Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader. Hey Dave, thanks for the easy step by step, it is just what I was looking for. Posted by: John Everett at July 18, 2009 6:49 AMthis is great, but, how do i import to a gmap, bulk addresses that have no longitude or latitude, but only the plain mailing address ?? Thanks M8! Very usefull! Posted by: pegazoo at January 29, 2010 6:34 PMAdolfo, check this article out: http://www.askdavetaylor.com/how_to_convert_map_street_addresses_latitude_longitude.html Hope it helps you out! Posted by: Dave Taylor at January 29, 2010 9:38 PMI have something to say, now that you mention it, but ...
I do have a comment, now that you mention it!
|
![]()
Search
Find just the answers you seek from among our 2300+ free tech support articles by using our Lijit search engine.
Help!
Subscribe to
Ask Dave Taylor!
Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.
Articles and Reviews
Auctions and Online Shopping Blogs and RSS Feeds Building Web site traffic Business and Management Cell Phones and Mobile Phones CGI Scripts and Web Site Programming Computer and Internet Basics d) None of the Above HTML and CSS Industry News and Trade Shows Mac OS X Help MySpace, Facebook, Twitter and Social Network Help Pay Per Click (PPC) Search Engine Optimization Shell Script Programming Sony PSP, MP3 Players, Etc. The Writing Business Unix and Linux Help Video Game Tips and Help Windows Help
Recent Entries
Book Links
|