This tutorial is intended for GIS users with an established cursory understanding of how to use GIS software for visualizing spatial data and making maps, regardless of whether they are graduate, undergraduate, or faculty/staff users. These users may have encountered web services for GIS in formats like WMS, WMTS, or WFS, but are unsure of how to use them. This tutorial is meant to introduce users to these formats, demonstrate how to find them in the BTAA Geoportal, and show how to use them in QGIS, ArcGIS Desktop, ArcGIS Online, and ArcGIS Pro. For an extra challenge involving the use of ArcGIS Feature Services to create a web map with Leaflet, please follow the link to my tutorial on GitHub.
These slides walk through the steps of loading an ArcGIS Feature Service in several of the most commonly used GIS platforms. Please use the links provided on the Loading Web Services: Menu page to jump to the appropriate slides for your preferred software.
The tutorial was designed for in-person, hybrid, and online instructional contexts. The self-guided review activity can be assigned to be completed after class, or as a live activity where students can pose questions to the instructor and other students, in person or through a chat window, as they work through it.
Several types of web services available to GIS users that serve geospatial data in different formats from web servers. As documented in the tutorial, Types of Geospatial Information by Nicole Kong, geospatial data for web services fall into four categories: vector, raster, tabular, and scanned maps. For this exercise, we will focus on the categories below:
Data Type
What is it?
Relevant Web Service
Vector
Discrete points, lines, or polygons
WFS/ArcGIS Feature Service
Raster
Continuous pixelated data with each pixel assigned a value
WMS/ArcGIS Map Service
Scanned Map
A scanned sheet map in image format
WMTS/ArcGIS Tiled Map Service
Effective use of all these services will likely save you a lot of time downloading, cleaning, processing, and managing your data.
Features: Direct access to vector data curated by the organization hosting the data. You will not need to join tabular data from one source to shapefiles from another source, and you will often have a direct connection to consistently updated data.
Drawbacks: Updates to the tables are dependent upon the host. What happens if the server goes down or the data cease to be updated? For regularly updated data, it can be difficult to determine all possible values for classification purposes, if only a portion are used frequently, and the metadata are not very detailed.
For the purposes of this exercise, let’s map leaking underground storage tanks in Iowa.
Navigate to the BTAA Geoportal. Search for “Iowa leaking tanks.”
In the results, under “Limit your search,” scroll down to “Resource Class” and click “Web Services.” This will limit your results to web services (not needed here, but it will help if you have many search results).
Click the result entitled “Leaking Underground Storage Tanks: Iowa,” hosted by the Iowa DNR.
In the upper right corner, under “Links,” click “Web Services.” Now you have access to a web service URL!
Tip
For a more thorough exploration of using the BTAA Geoportal, please see the tutorial entitled Finding Geospatial Data by Joshua Sadvari.
The Server Connection window will appear. Highlight “Leaking Underground Storage Tanks” and click “Add” at the bottom of the window.
QGIS Server Connection Window
“Leaking Underground Storage Tanks” will appear in your Table of Contents. If you have not added a base map, do so now. As you can see, the map window is crowded with many symbols, but you now have data from a web service in your map window!
Iowa Leaking Underground Storage Tanks web service
Look at the attribute table and play around with editing the symbology based on one of the fields. There is a lot of interesting info!
Iowa Leaking Underground Storage Tanks web service with layer styling
Now that you have access to a web service, you will want to know how to use it in your preferred GIS software. For this exercise, we will use ArcGIS Pro.
Open ArcGIS Pro, go to the Insert tab, and click “Connections.”
ArcGIS Pro Insert Tab
2. Click “New ArcGIS Server.” ArcGIS Pro Connections. In these options, you will also notice options for other types of web services. You can experiment with adding these later.
3. Paste the URL obtained from the geoportal into the empty box next to Server URL and click “OK.”
. ArcGIS Pro Add Connection
4. In the Catalog window, open “Project,” expand “Servers,” and expand the service you just connected.
ArcGIS Pro Project Tab. Notice that you are connected to all the services the Iowa DNR offers.
5. Expand “OneStop” and “QueryEnvFacs.”
6. Use “Leaking Underground Storage Tanks” and select “Add To Current Map.”
ArcGIS Pro add web serviceArcGIS Pro map. You may need to zoom into your map in order to see the data, as it is scale-dependent upon loading in Pro. You will also notice that the map window is crowded with many symbols, but you now have data from a web service in your map window!
7. Look at the attribute table and play around with editing the symbology based on one of the fields. There is a lot of interesting info!
ArcGIS Pro attribute table
Now that you have access to a web service, you will want to know how to use it in your preferred GIS software. For this exercise, we will use ArcGIS Online.
Make sure to select “An ArcGIS Server Web Service” for this data. You will also notice options for other types of web services. You can experiment with adding these later.
Open ArcGIS Online, go to the Add tab, and click “Add Layer from Web.”
ArcGIS Online Add Layer
Copy and paste the web service URL in the empty box next to “URL” and click “Add Layer.”
ArcGIS Online Add LayerArcGIS Online Add Layer. ArcGIS Online will automatically add the data to your map window. You will notice that there is a high density of similar symbols, but you now have data from a web service in your map window!
Look at the attribute table and play around with editing the symbology based on one of the fields. There is a lot of interesting info!
Now that you have access to a web service, you will want to know how to use it in your preferred GIS software. For this exercise, we will use ArcGIS Desktop.
Open ArcGIS Pro, open the Catalog window
ArcGIS Desktop Catalog
Maximize “GIS Servers” and click “Add ArcGIS Server.”
ArcGIS Desktop - add ArcGIS Server
Paste the web service URL into the box next to “Server URL” and click “Finish.”
ArcGIS Desktop
Choose “Use GIS Services” and click “Next.”
ArcGIS Desktop
In the Catalog window, expand the service you just connected. Expand “OneStop.”
Drag and drop “QueryEnvFacs” into your map window. Add a basemap if you have not done so.
In the Table of Contents, maximize “OneStop/QueryEnvFacs, find “Leaking Underground Storage Tanks” and tick the box next to it.
ArcGIS Desktop
It is likely that you will not be able to see the symbols on the map. Zoom into a city or region and they will appear. You will notice that there is a high density of similar symbols, but you now have data from a web service in your map window!
ArcGIS Desktop
Using the skills learned here, use the BTAA Geoportal to:
Find a web service of your choice
Connect to it in QGIS or ArcGIS
Load the data in your map window
Take a screenshot of your data in the map window, add it to a Google doc, and write a paragraph explaining how this service might be useful to different kinds of users (general public, students, researchers, professionals, etc.).