Goal and Background
The goal of this lab was for me to become comfortable with the various techniques used to host geospatial web services. I published hosted feature services via ArcGIS online by uploading both shapefiles and CSV files directly, as well as by using an ArcMap document to facilitate the upload. I published a tiled map service using ArcGIS Server, and subsequently consumed the map service in a web application. I authored a feature access service with time-enabled data and made a web map to consume the service.
Methods
In order to publish the shapefiles, I selected the shapefiles I wanted to upload in ArcCatalog and sent them to a .zip folder. I then uploaded the .zip folder using ArcGIS Online's "Add Item" button. After adding a title and tags, I published the data to ArcGIS Online as a feature service (Figure 1).
| Figure 1: Shapefile to hosted feature service |
| Figure 2: Transportation web map |
| Figure 3: CSV to Points with native attributes visible. |
| Figure 4: Wisconsin fire occurrences with the edited pop-up window |
| Figure 5: The feature service's tags and layers' edited names. |
| Figure 6: An edited pop-up for "Lakes" |
After utilizing both ArcGIS Online's and ArcGIS Desktop's built-in publishing capabilities for shapefiles, .CSV's and .MXD's - I learned how to publish a tiled map service via ArcGIS Server. This first required me to connect to the department's ArcGIS server and connect to my database on the server. After connecting to my database, I imported a raster dataset from the class folder to my enterprise geodatabase (Figure 8). After configuring the symbology (Figure 9), I used ArcGIS Desktop's built-in capabilities to publish the image to my folder in the the department's ArcGIS Server (Figure 10). I enabled caching, so the map will take less bandwidth, and load faster.
| Figure 9: The data's publishing settings |
| Figure 7: The raster data in my enterprise geodatabase |
| Figure 8: The raster data in ArcGIS Desktop prior to publishing |
After learning how to publish services to ArcGIS Server, I learned how to reference a service I've created, in a web map service. In order to do this, I imported two layers, "Earthquakes" and "Hurricanes" into my enterprise geodatabase (Figure 12). Next, I added the layers from my enterprise geodatabase to a new map, and saved it to my class folder. After adjusting the symbology of the layers (Figure 13), I enabled time on both layers. This allows both layers to be animated according to their temporal attributes. Next, I published the map document to the department server as a service with creating, editing, deleting, and querying capabilities (Figure 14).
Next, I opened up a blank map in ArcGIS Online. In order to add the newly-created services to a web map, I used the "Add Layer from Web" button to add the natural disaster layers merely by pasting their URL within the department server. After adding the data, I simplified the pop-ups for both classes (Figure 15), and shared my map to the department and also my course group. Next, I calibrated the time settings so the time animation will show hurricanes and earthquakes occurrences progressively; adding data to the map 6 months at a time, until all of the data is displayed (Figures 16 & 17).
| Figure 10: "Earthquakes" and "Hurricanes" in my enterprise geodatabase |
Results:
| Figure 11: The data as it appears on ArcGIS Online |
Raster data: Click Here
Map featuring temporal information and good pop-up windows: http://arcg.is/1L9tWEf
| Figure 12: Earthquakes are symbolized as red dots, and the Hurricanes are symbolized as lines |
| Figure 13: A pop-up for "Hurricanes" |
| Figure 14: All of the "Hurricane" lines along the Northern coast of the Gulf of Mexico |
| Figure 15: All of the "Earthquake" points in Alaska |
Advanced Remote Sensing Class. (2012).
Fu, Pinde (2015). Earthquake Data.
Retrived from
\\EsriPress\GTKWebGIS\Chapter3\Data.gdb\Earthquakes, courtesy of USGS National Atlas.
Fu, Pinde. (2015). Hurricane Data.
Retrived from
\\EsriPress\GTKWebGIS\Chapter3\Data.gdb\Hurricanes, courtesy of NOAA National Climatic Data Center.
Price, Maribeth. (2014). Mastering ArcGIS geodatabase.
Wilson, Cyril. (2012). unpublished data.
Wisconsin DNR. (2013).



