blankblank blank




Convert An Excel Address Spreadsheet Into A KML File (And Then Into A Geocoded CSV Text File) With KMLGeocode And KMLReport



KMLGeocode (full UTK download page here) takes an address file in Excel (or XML) format, and creates a Google Earth KML file that plots geocodable addresses in the correct position. Load an address XLS file into the program (like this sample data also available on the download page):

KMLGeocode

You have to specify the column names that contain the key address fields required for geocoding, as well as the output KML filename. Once done, create the KML output file and open it in Google Earth. Addresses that could be geocoded will be plotted with orange pushpins:

geocoderesults

Clicking on  pushpin will bring up all the data fields for a record in the spreadsheet, not just the specified ones. Addresses that couldn’t be geocoded are given yellow pushpin designations, and will either show up plotted in a general location, or not plotted at all in Google Earth (though they will be listed in the Place pane under the KML file listing:

geocodeplaces

To embed the actual geographic coordinates for each of these addresses, right-click on the KML file listing (people.kml in the above example), and save it as another KML file with a different name. You can now open this different KML file in the KML Geocode Report program:

geocodereport

Specify the name of a text output file; this output will be a spreadsheet-readable CSV file that contains the original spreadsheet data with the longitude and latitude of geocodable addresses appended at the end as X and Y coordinates:

ID,Name,Group,Street,Street2,City,State,Zip,Phone,Email,X,Y
 11, Suzanne White, Office of Information Resources, 312 8th Ave North, Suite 1600, Nashville, TN, 37243, 615-253-4799, suzanne.white@state.tn.us,-86.784031,36.164133
 12, Kurt Snider, US Fish and Wildlife Service, 446 Neal St, , Cookeville, TN, 38501, 931-528-6481, kurt_snider@fws.gov,-85.497903,36.138056
 14, David Tirpak, Comptroller of the Treasury, 505 Deaderick St, Suite 1700, Nashville, TN, 37243-0277, 615-401-7820, david.tirpak@state.tn.us,-86.781603,36.165238

The “UnMatched” file is supposed to contain the non-geocodable addresses in KML format (at least, according to the PDF manual for these programs), but it didn’t show up for the sample data when I tried it. When you “Process” the files, in addition to the output file above, you’ll get a pop-up telling you the overall geocoding success percentage:

matchpercent

Note: When installing both programs, the installation directory is listed simply as “C:\Program Files\”; however, unless you specify the new name, it is installed in the directory “C:\Program Files\BRalston”, and “BRalston” is the folder in the Start Menu where you’ll find the program shortcut icons.

Related posts:

  1. US Address Geocoding For Google Earth
  2. Reverse Address Geocoding With Google Maps
  3. Another Google Maps Geocoder/Reverse Geocoder
  4. Another Free Excel Geocoder
  5. Get A Postal Address By Clicking In Google Maps
  6. Recap Of Google Earth Plus For Free Series
  7. Batch Geocoding And Reverse Geocoding With MicroPath Geocode
  8. Geocode A Google Docs Spreadsheet And Plot It In Google Maps/Earth With map a list
  9. Online Geocoding, Address Verification And Shortest Path Utilities From the USC GIS Research Laboratory
  10. Importing Spreadsheet Data Into Google Earth

Looking for something else? Enter some keywords below, then click "Search".    




3 Responses to “Convert An Excel Address Spreadsheet Into A KML File (And Then Into A Geocoded CSV Text File) With KMLGeocode And KMLReport”


  1. 1 Austin

    Thanks to Dr. Ralston at the University of Tennessee Dept of Geography for these tools!… they came in extremely handy when I needed geocoded addresses for a point pattern ananlysis which is part of my thesis project.

  2. 2 Leszek Pawlowicz

    There are a bunch of other free geocoding tools available as well; check the geocoding category on this blog for more info.

  3. 3 land surveyor

    Here is a new online map for ya made with batchgeo… http://landsurveyorsunited.com/page/new-lsu-member-map
    this map has almost 1000 land surveyors all over the globe based on level of experience
    user contributions on LSU are up 93% I am hoping that the software you provided above (thank you) will render a map that lays out a little faster…

Leave a Reply


I welcome all legitimate comments. But spammers should know that my spam filters are currently blocking almost 100% of comment spam, and any that gets through the filters is immediately deleted. Don't believe me? Try posting a spam comment, and see what happens.