GISuser.com

GIS and Technology news for mapping professionals

  • PRESS
    • Submit PR
    • Top Press
    • Business
    • Software
    • Hardware
    • UAV News
    • Mobile Technology
  • FEATURES
    • Around the Web
    • Social Media Features
    • EXPERTS & Guests
    • Tips
    • Infographics
  • Events
  • CAREERS
  • Advertise
    • Advertise
  • Blog
  • Shop
  • Tradepubs
You are here: Home / *BLOG / Around the Web / Feature – Create an Interactive Map From a Spreadsheet Using Geosheets

Feature – Create an Interactive Map From a Spreadsheet Using Geosheets

October 12, 2016 By GISuser

There are a variety of tools for creating online maps, but many are impractical, requiring you either to enter numerous points by hand, to structure and import data in a specific format, to learn an expensive or cumbersome tool, or to be a programmer.

Geosheets makes it easier to create map visualizations and manipulate location data directly within Google Sheets, so if you are comfortable with spreadsheets, you can make rich, interactive maps quickly.

Here’s an example showing how to import data from a webpage and then map it, using just two function calls. To get started, either make a copy of the Geosheets demo template, or install the Geosheets add-on for Google Sheets.

Football season is in full swing, so we’re going to map the location of all NFL franchises in the US. Fortunately, there’s a table of all teams and the locations where they play at https://en.wikipedia.org/wiki/National_Football_League.

In cell A3 so that you have a little room to work, write this formula:

=IMPORTHTML(“https://en.wikipedia.org/wiki/National_Football_League”, “table”, 3)

IMPORTHTML is a built-in Google Sheets function that takes the url of a webpage that contains a table and automatically imports the table data into your sheet. The arguments are (1) a url to scrape, (2) whether to look for a “table” or a “list”, and (3) the item position on the page. Here we passed “table” and “3” because we want to import the 3rd table on that page.

Now that we have our data, we’re ready to map it. In cell A1 or wherever you have empty space, write this formula:

=GEO_MAP(A3:H37, “nfl-cities”, “City”)

And voila, in a moment the cell should populate with the url of your full-page, interactive map.

Here we call the GEO_MAP function from Geosheets, which takes a table of data from our spreadsheet and maps it. We pass the full range of our imported data including the header row, which is the range A3:H37. The second argument is a label for the map so it can be referred to later; this can be anything that you want, but we chose “nfl-cities” for this example. Lastly, we have to tell Geosheets which column contains the location we wish to map. If your location data is in the first column, you can omit this, but ours is in column C which is titled “City”, so we include that as our last argument.  Geosheets then goes and geocodes each location, creates a map, and returns to you the url of that map. If you use the Geosheets add-on you’ll see an auto-updating preview of the map in a sidebar right within Google Sheets.

Your map should look something like this:

2016-10-12-13_36_17-gisuser-blog-post-google-docs

If you choose to, you can now get fancy, and add additional columns like “Color”, “Type”, “Radius”, and “Icon” to customize the map. View your full-page map to change settings, like the title or base map tiles.

Here’s a customized map of the same data, where the larger radius represents higher-capacity stadiums, and the color-coding represents the division each team belongs to:

2016-10-12-13_37_25-gisuser-blog-post-google-docs

You can learn more about Geosheets at www.geosheets.com.  More examples and tutorials are available at the Geosheets Blog, blog.geosheets.com, and full documentation can be found here.

Author: Jonathan Goldman

Related Articles on GISuser:

  • Maptiks Adds Integration to EsriMaptiks Adds Integration to Esri
  • GEO Jobe GIS Announces Release of Web Maps for WordPress plug-in V 1.3.2 – Add the power of “where” to WordPressGEO Jobe GIS Announces Release of Web Maps for WordPress plug-in V 1.3.2 – Add the power of “where” to WordPress
  • Esri Creates First Global Map of the Catholic ChurchEsri Creates First Global Map of the Catholic Church
  • Esri Web Map Analytics with Maptiks – Municipalities are adopting analytics for their geospatial projectsEsri Web Map Analytics with Maptiks – Municipalities are adopting analytics for their geospatial projects
  • Forest Service Releases Interactive Tribal Connections MapForest Service Releases Interactive Tribal Connections Map
  • Which U.S. Cities Have the Most Red-Light Running Fatalities? [Interactive Map]Which U.S. Cities Have the Most Red-Light Running Fatalities? [Interactive Map]

Filed Under: Around the Web, EXPERTS, Software, Top Features, Top Text Lead Story Tagged With: Geosheets, webmap






Editor’s Picks

Learn to Make Decisions Using Lidar Data and Geographic Information Systems

Learn to Make Decisions Using Lidar Data and Geographic Information Systems

DigitalGlobe Satellite Captures Dramatic Images of Alberta, Canada Oil Sands wildfire #fmmfire

Feature – GIS and the NFL: Sustainability and Millennial Fans

A Possible Date Conflict with 2016 ESRIUC and the MLB All Star Game

See More Editor's Picks...

Feed

  • RSS


GIS jobs


Recent Features

Digitalization and Simulation at the North Pole

Natural Gas District & GIS-Centric Asset Management

5 Ways Technology Is Affecting The Sharing Economy

Spotlight – Township Canada: Explore Canadian Legal Land Descriptions on a Map

GeoGeeksinCars – The one in “Tippy” the right-hand drive Mitsubishi, at DevSummit

More Posts from this Category

Categories

Recent Posts

  • A treadmill is one of the most popular fitness equipment
  • 3 Things to Help You Become a Software Engineer
  • Esri Announces Winners of the 2022 ArcGIS Online Competition
  • KBC WhatsApp Lottery Winner 2022 List – KBC Head Office Number +19188444477 – KBC Sim Card Lucky Draw 2022
  • Animation explainer for a trading application

RSS Career Tips

  • Four Characteristics of the Best Virtual Employees
  • 8 Questions Employers Should Ask About Coronavirus
  • Jobcase Launches Free Unemployment Resource Center for Workers Impacted by COVID-19
  • Must-Have Gadgets and Technology for the Remote Office Worker
  • Must-Have Gadgets and Technology for the Remote Office Worker


shop for geogeek swag

RSS Tech pubs

  • Top Tips and Tricks: Windows 11
  • The 2022 State of the Data Center Report
  • What is Network Security?

RSS Computers

  • The Essentials of Information Security Kit: Includes a Free PC Security Handbook - 2nd Edition eBook
  • The Idiot's Ultimate Guide to Build Your Own PC
  • Windows... On Speed

RSS HR Tips

  • Measuring and Managing Employee Experience
  • At Work: The 2022 Workplace Trends Report
  • The 2022 Guide To Creating A Great Visitor Experience

RSS Gov Tech

  • The Bipartisan Infrastructure Bill: How you can win more bids
  • How Connected Vehicle Data Can Transform Public Sector Decision-Making
  • Getting started with personalization at scale

RSS UAV news

  • Draganfly Deploys Versatile Situational Assessment Drones to Ukraine
  • Ocean Specialists Inc. Launches “USVs as a Service” Business Line
  • UAS Drone Subsidiary, Duke Robotics’, Sniper Drone showcased at a leading International Airshow in the Asia Pacific Region

RSS Geojobs

  • IT Endpoint Lead
Copyright Spatial Media LLC 2003 - 2015