In-Class Exercise 12 [Web GIS]
In this exercise we'll be using the GISC account and ArcGIS Pro desktop application which is ESRI's improved way of interfacing with their web GIS environment.
I. Publishing a web map from ArcGIS Pro
A. Create or Arrange files in Desktop software
Open Project “UCB Campus” in ArcGIS Pro using your account
In ArcGIS Pro go to Portal and 128mGeospatial. Look for UCBcampus package.
Note that the default Base Map doesn't have any campus buildings. We actually have shapefiles for campus dating to about 2005 so we can view those (Buildings shapefile).
Modify the Map Name from "Campus" to "[YOUR NAME] Campus" so we don't overlap online.
Turn on Photos layer and select in Contents
Modify Appearance and labeling.
Appearance tab. Out Beyond: 24,000 (reduces clutter).
Label tab: out beyond: 10,000
Look at Attribute Table for Photos
Note that URL is available as “URL_1” field.
Share > Web Map…
There is Online help Links to an external site.
Fill in Name and Item Description
Sharing options: My Content, Groups: 128m [Don’t check UC Berkeley GISC – others on campus]
Click Content tab and view the layers that are being included
Right Click Web Feature Layer
After Analyze a Configuration tab appears.
Right click Configuration. We are using Web Feature Layers (not Web Tile layers).
Click “Publish” and provide a Title (again include your name) and Save in Folder: 128m
B. Check online
Go to cal-gisc.maps.arcgis.com Links to an external site.
Sign in
Go to My Content
Click on the type described as “Web Map”
Open > Open in Map Viewer >
Fix Photos configure pop
Click on a blue circle building icon
Note the contents aren’t clear. Why is ObjectID showing?
Click “More Info”. This is a link to photos. Let’s make it clear
In Contents > Photos layer drop down > Configure Pop-up
Click Configure Attributes
Uncheck Display on Object ID
Change Field Alias from URL_1 to See Photos
Click BldgName alias and change to “Building” and click Up Arrow to change sort order.
Click “Save Pop-Up” on the left before proceeding. Check result.
Let’s change the Basemap to OpenStreetMap
Buildings are included in on OSM.
Set our building symbology to transparent to compare.
Check new construction
(Mem Stadium
Let’s add another reference layer
Add > Browse ESRI Map Layers…
Categories > Historical Maps >
Select: USA Historical Topo Maps 1:24000 and Add Layer to Map, As Layer
[you could add any Tile as a baseMap but this means you can’t turn it on/off]
II. Summarizing Data
Adjacent City Trees is from the City of Berkeley and there is data on the height of trees. I subset this 400Mb shapefile to only within 1 block of campus and deleted extraneous fields.
Let’s summarize height by species in Adjacent Zones polygons
Right click AdjacentTrees > Drop Down > Perform Analysis
Aggregate Points… click the ‘i’ for an explanation
Choose Area: Adajcent Zones
Add Statistic: HeightFt and Average
Add Statistic: HeightFt and Min
Add Statistic: HeightFt and Max
Choose Field to Group: Common_Nam
Perform Analysis.
Check results.
Look at other analyses you can perform. What is missing?
Print your Resulting Map to PDF and send to bCourses
Part III - Create Data for use in Collector
Create Point, Line, and Polygon features to upload to ArcGIS Online for field mapping in Collector
Back in ArcGIS Pro
View > Project > Project Pane
Right Click Databases > Create new File GDB
Call it ArchMapping
Right click GDB > Design > Domains
Click a new line >
Create Domain
Domain:FeatType, Coded Value
Codes: Code/Value
Lithic, Ceramic, Structure, Site
Domain: Density with Codes: Low, Med, High
Save, close Domains
Right Click GDB > New Feature Class
Arch_p (point), Coordinate System: NAD 1983 UTM10 North
Back in Contents Pane
Right click Arch_p > Design > Fields
Create Field: ArchID
Ftype: Text, Domain:
Surveyor:
DateTime:
Photo:BLOB
Save
Return to the Project pane
Right-click ArchMapping GDB
New Feature Class: Arch_a (polygon),
Under Template Feature Class choose Arch_p
All the fields and their attribute domain definitions should be available in Arch_a as well.
Coordinate System: choose Arch_p and it'll match that feature
Run
Check the results.
Right click Arch_p > Share as Web Layer
Summary, Tags "test, arch"
Configuration Tab: Enable all three
Analyze, Publish