Skip to main content

Tutorial : How to Visualize Your Data in Google Maps

There is no need of using complex and expensive GIS tools to visualize a small data set (less than 500 locations). If you have a data set which contain location name or address , for e.g.  List of universities in India or List of railway stations   etc. This tutorial will help you to plot such locations in Google maps without the longitude and longitude data.

Tools used

Steps to install Refine

  1. Download
  2. Unzip installation file and follow Install Instructions to run it
  3. OpenRefine runs in a web browser, and when you start it, it automatically open a  web browser window
  4. or try http://127.0.0.1:3333 and you should see it.

Procedure 1:  How to Get Geographic Coordinates  from Location Description 


Step 1 :   Open the Excel file , which contain location details using OpenRefine 



Step 2: Click "Edit column -> Add column by fetching URLs"


Step 3: Enter following in Expression Column 
 http://maps.google.com/maps/api/geocode/json?sensor=false&address=" + escape(value, "url")

and give a new column name.




Step 4: To convert this data into a more readable format, you need to click on the new column, and then on " Edit column -> Add column based on this column " . Enter in the expression below


with(value.parseJson().results[0].geometry.location, pair, pair.lat +", " + pair.lng)




Step 5: Split into 2 columns

Now we have a single column with both coordinates. We can split this into columns for latitude and longitude by selecting "Edit Column -> Split into several columns" and specifying a separator of ",". Now we have the longitude and longitude details of your location data

Step 6 : Download the File - The data can be downloaded into various formats such as Excel. 



Procedure 2: How to Visualize Map using Fusion Tables

There many ways to plot the data . But I choose the easier one ,Google Fusion Tables . It is an online data management application, designed for easy analysis, visualization and publishing. 

Step 1: Open Drive.Google.com [You should have a valid Gmail Account]
Step 2: Click the Create button 
Step 3: Choose Create > More > Fusion Table from the dropdown menu
Step 4: In the Import new table dialog box, click Choose File
Step 5: Select the  file you downloaded from OpenRefine , and press Next.
Step 6: Check that the data is formatted correctly and click Next.
Step 7: Give your table a name and click Finish
Step 8: Choose Visualize > Map. -Fusion Tables auto-detects location data in a table . Your  data is now automatically translated into a map location and a map marker is placed on a Google Map for each valid location.

That's it!  Now your map is ready  enjoy !!!!! [The map with  small red placemarkers]


Map 1 : Map of Election Fund collection by AAP (clicking on Red marks gives you number of donars ,total amount and average amount)



Map 2: Map of main places in Ernakulam



Try It !!!!!!!

Comments

Popular posts from this blog

Technological Solutions for Political Management

India's oldest political parties too are turning to technology . In India there is rising demand for technology tools that provide information to voters and help politicians reach out to middle-class voters. Social Media is a great medium to build a personal branding and provides an opportunity for political candidates to reach their audience . Companies are working on campaigns for political parties or developing platforms that help voters choose the right candidate and charge candidates if they want to communicate messages to voters online. . Check these Smarter Portals Voterite . in, an online platform that collates the track record of political candidates in all 543 parliamentary constituencies.The portal will display their assets, education and criminal history Social Hues. com launched to do exactly that by curating content and proactively engage a Twitter audience for any candidate. It will also offer a dashboard to easily track online influence on Twitte...

Social Reputation Management - Vistas of the Future

We always use the word 'reputed' in general conversations ,"reputed college", " reputed brand" , "reputed personality " etc.  But  in this technology -driven era ,digital reputation is trending to become a capital asset .  Significance of    Social Reputation Management  In fact the reputation management has been rapidly growing for some time now.  Before we going watch a movie or buy a mobile , we read online reviews , to make sure they’re worth buying.  But today we influenced by reviews and opinions of our social media friends and followers , our decisions are influenced by opinion leaders in social media.  Social proof is the measure of our worth based on quantity and quality of social media followers.  when thousands or millions of people use social media to say a product the best, it become viral !!! Personal Reputation in Professional Growth If you are applying for marketing job ,the HR managers check out you...

Future of Wireless Charging Standard -Qi.

Charging your smartphone while driving could become a simple process within 2014 by using a special wireless charging standard known as Qi. Japanese auto giant Toyota plans to introduce the system for mobile devices in 2013 in its new cars.It will be popular within 2014 .The wireless charging option will be a part of "technology innovations"  of additional features in cars . How It works A person will simply have to place the cellphone on the car dashboard , though the handset has to have an integrated Qi protocol in order to be charged. Qi works via magnetic induction that involves transmitting energy over a magnetic field. Qi wireless charging is currently supported by 34 mobile phone models and there are also add-on systems for other smartphones. They have  built in inductive charger which has wireless charging capabilities from a distance of 1-2 meters from the charger base. History of Qi Inductive charging plates have been around for several ye...