Difference between revisions of "Geocode.py"
Jump to navigation
Jump to search
BenBaldazo (talk | contribs) (Created page with "=location= E:\McNair\Software\Scripts\Geocode.py =About= This is a python program that uses google maps to find the latitude and longitude for an address. Input is a file...") |
BenBaldazo (talk | contribs) |
||
Line 36: | Line 36: | ||
Meaning Name, Latitude, Longitude in a tab delimited .txt file | Meaning Name, Latitude, Longitude in a tab delimited .txt file | ||
+ | |||
+ | [[admin_classification::IT Build| ]] |
Revision as of 11:34, 18 July 2016
Contents
location
E:\McNair\Software\Scripts\Geocode.py
About
This is a python program that uses google maps to find the latitude and longitude for an address.
Input is a file with columns:
<Business Name> <Address>
That is a tab delimited ".txt" file.
Use
In this location on powershell from the RDP (Must be from the RDP so it can import files):
E:\McNair\Software\Scripts
Enter this code:
python Geocode.py <input.txt>
The program will create an output file that looks like:
input.txt_coords
Which you will have to open with a right click into textpad.
Output
The output is a tab delimited with the three columns:
<Business Name> <Location["lat"]> <Location["lng"]>
Meaning Name, Latitude, Longitude in a tab delimited .txt file