Getting Started with Spatial Research
Pre-class pollWelcome! Before we begin our adventure on “spatial thinking,” please take a minute to take this poll.
After the workshop, please take this survey:
Post-workshop survey (http://bit.ly/IDRE2014)
A little bit about your instructor.
I need maps for my research… how do I get started?
As members of an academic community with a myriad of research initiatives, the need to map information, to spatially analyze, to geoprocess, and to visualize space and time is becoming ubiquitous. But how do you get started? The answer to this question largely depends on what you want to map, and how you want to create your map. The what is usually easy. It is driven by your passion to pursue a research question and to have maps assist in the development of an argument. The how is the difficult part. It may depend on what data you have, what tools you have access to, how comfortable you are with software packages, if you are open to write code or use the command line. Often times, your research question lends itself to a spatial argument. However, providing insights to questions using spatial visualization tools is a process that involves any number of factors, including: data acquisition, data cleanup, geo-enabling data, geocoding data, georeferencing data, visualizing spatial data, overlaying other spatial data, conducting spatial analysis and/or geoprocessing, analyzing results, visualizing results, and publishing results. There is no single application that can accomplish every phase of your spatial process. The table below provides some clarity on which tools are available for what purposes, and it is followed by a broad summary of some of the most useful tools.
|Web or desktop?||Learning curve?||Coding needed?||Open Source?||Mac and PC?||Good for?|
|Google Earth||desktop||Very low||none||no, but application is|
free to download
|Mac and PC||3D navigation/mapping, temporal data, KML/KMZ, 3D modeling, nested content, historical overlays|
|Social Explorer||web||Low||none||no, but licensed|
to all UCLA users
|Mac and PC||census data mapping and downloading, story/presentation mode|
|Tableau Public||web||Low||none||no, but it is free as long as your data remains public||Mac and PC||create a web-based dashboard with multiple views to your data|
|ArcGIS Online||web||Low||none||no, but license available|
to all UCLA users
|Mac and PC||web-based map presentation|
|Palladio||web||Medium low||none||yes||Mac and PC||data visualization, mapping to and from data, temporal data, faceted browsing, network graphs|
|ArcMap/ArcPro||desktop||Medium||none||no, but license available|
to all UCLA users
|PC only||spatial analysis, geoprocessing, print map creation, georeferencing|
|QGIS||desktop||Medium||none||yes||Mac and PC||open source desktop mapping solution|
pay as you go
|Mac and PC||web mapping, geocoding, satellite imagery|
pay as you go
|Mac and PC||advanced web-based mapping|
approval from Google
|Mac and PC||remote sensing|
|Python + GIS||desktop||High||python||yes||Mac and PC||custom tasks for geo-processes|
|R + GIS||desktop||High||R||yes||Mac and PC|
Other notable mapping tools, used primarily as multi-layered, web-based presentation platforms:
- Neatline – an add-on tool for Omeka, Neatline allows scholars, students, and curators to tell stories with maps and timelines
- Carto – an online spatial database platform for the more advanced cartographer in you
- History Pin – “pin” your history on this map-based platform that allows for geotemporal story telling
- David Rumsey Historical Map Collection – a great resource for georeferenced historical maps
Even before Google Maps, Google Earth existed in the name of “Keyhole Earth Viewer.” Google would acquire Keyhole in 2004 and the rest, as they say, is history. While the boundaries between Google Maps and Google Earth are beginning to blur (Maps now includes 3D capabilities), Google Earth remains relevant as a 3D mapping platform to visualize historical imagery, and to create 3D geospatial narratives.
Imagine a platform that gives you access to every census variable for every moment in history since it was collected (think 1790 onwards), has the ability to generate beautiful maps (including side-by-side maps for comparisons), allows you to create presentation narratives (think map centered power point), and let’s you share, embed, and download your data and maps.
- 10/22/2019 New feature: change over time
Need to discover hidden patterns in your data? Need to link maps with charts? Tableau provides interfaces that allow you to do just that, interconnect different parameters of your data to discover, rank, and expose relevant metrics from your data. In addition, it can handle large datasets (~millions). The catch? For the free version (Tableau Public), you can only save your projects online in public mode, meaning that your visualizations must be shared on the web.
R + RStudio
While WYSIWYG software packages like ArcGIS and QGIS remain a standard in cartographic representations, open source, scripting solutions have always had a strong cadre of support, especially for advanced spatial research initiatives. With a development history that harks back to the late 1990s, R has been championed as the free and open source programming tool for statisticians the world over. With its growth and foray into data viz, more and more researchers are adopting R as a solution for their spatial needs, due to its scripting capability, and strong statistical integration.
Not ready for a full-blown immersive GIS desktop experience? Try ArcGIS Online, a web-based GIS platform that allows you to upload spatial layers, or create customs layers directly. Licensed users will also have the ability to conduct basic geoprocesses such as joining, data aggregation, and hot spot analysis.
Favored by many, ESRI’s ArcGIS is the industry standard as a software package for digital mapping. ESRI has been around even before Microsoft, founded by the charismatic Jack Dangermond, an environmental scientist in 1969. Users have long been enamored by ArcGIS’s broad reach to all spectrums of research, with much of the workflow and usability tailored to the expert cartographer. The ArcGIS desktop products have a steep learning curve, but for those who are planning on conducting spatial analysis for the long haul, it can be an essential piece to your research toolset. Note however, that none of the ArcGIS desktop products work on a Mac.
QGIS is the open source standard for desktop GIS. In much the same way as the ArcGIS counter part, QGIS comes with a steep learning curve, but comes with all the features you need for your spatial needs. First launched in 2002, QGIS has a vibrant open source community that continues to develop and support the product. What’s more, if you want to use GIS for advanced spatial analysis on a Mac, this may be your best option.
Leaflet and OpenStreetMap
Google Earth Engine
Remote sensing technology has never been made more available than it is today, thanks to the efforts of the Google Earth Engine team. Now, with just a few lines of code, researchers are able to access a multi-petabyte catalog of satellite imagery and geospatial datasets for planetary-scale analysis. With over 40 years of historical imagery and scientific datasets, you can analyze forest and water coverage, land use change, or assess the health of agricultural fields, among many other possible analyses.
Fancy yourself for your coding chops? Give D3 a whirl, a web-based platform for data visualization. What distinguishes D3 (which stands for Data Driven Documents) visualizations from other libraries is that mapping is but one of its many outputs. Data can be ingested and reimagined in seemingly endless possibilities. Maps can be designed to be static, animated, 3D, reprojected, and data can be made to move if you so desire.
From text to map
Behind any beautiful digital map lies the reality that every point, line or polygon is generated by some form of numerical and textual data. Here is an example of a point, or “placemark,” written in KML:
<Placemark> <name>YRL</name> <description>Don't fall asleep! Data is fun!</description> <Point> <coordinates>-118.441539, 34.074992</coordinates> </Point> </Placemark>
A few more options…
<Placemark> <name>YRL</name> <description>Don't fall asleep! Data is fun!</description> <LookAt> <longitude>-118.441539</longitude> <latitude>34.074992</latitude> <heading>45</heading> <tilt>50</tilt> <range>500</range> </LookAt> <Point> <coordinates>-118.441539,34.074992,1000</coordinates> <altitudeMode>absolute</altitudeMode> </Point> </Placemark>
<Placemark> <LineString> <tessellate>1</tessellate> <coordinates> -118.426843,33.946385 139.779839,35.549397 </coordinates> </LineString> </Placemark>
Instruction: Copy and paste this code into a text editor, and save it as a .kml file. Double click on the file to open it in Google Earth.
A Simple Web Map
Instructions: Paste this code into a text editor, and save it as an html file. Double click to open the map on a web browser.
Map Sandbox: Let’s create some maps
Experiment with different tools with this sample dataset from the Los Angeles Data Portal. Each dataset contains columns for latitude and longitude, allowing you to import into the various platforms discussed here.
- Part 1: Mapping crime data in Tableau
- Part 2: Mapping crime data in R
- Part 3: Mapping crime data in ArcMap
Open Data and Guides:
- LA City Open Data Portal
- Guide to getting data from the Los Angeles Open Data Portal
- ArcMap Tutorial with crime data analysis
- Los Angeles Arrests in September 2019
- Stolen Bikes in Los Angeles 2019 (source)
- Child Abuse 2019 (source)