For this lab, the goal is to utilize the Web AppBuilder service for ArcGIS through scenarios. The first scenario helps incorporate XYZ concepts when using the service. The first scenario says that the student has been employed at a geospatial analytics company and is tasked to build a web app for viewers to see historic natural disasters (hurricanes and earthquakes in this case). The requirements for the application are as follows:
- Provide pop-up windows for earthquakes and hurricanes.
- Set the entire U.S. as the opening extent.
- Establish bookmarked locations for predefined areas.
- Allow users to compare attributes for selected earthquakes.
- Allow users to query for features based on attributes.
- Display appropriate logo, title, subtitle, and links in the application's banner.
- Allow users to build elevation profiles within earthquake prone zones for earthquake potential risk analysis.
Methods
Section 1 - Design Web AppBuilder and initial widgets
To start this lab, the student navigated to ArcGIS Online and logged in with their credentials. Then, selecting Create > Using the Web AppBuilder option from the Content dropdown menu, a new web app was created. The title given to this app was Natural Disasters of the United States_Student'sLastName (see figure 1).
Next, the data from the previous lab was used for this application. The Map tab in the developer window was selected and the Natural_Disasters_Student'sLastName map was chosen (steps 1, 2, and 3 in figure 2).
Section 1 - Design Web AppBuilder and initial widgets
To start this lab, the student navigated to ArcGIS Online and logged in with their credentials. Then, selecting Create > Using the Web AppBuilder option from the Content dropdown menu, a new web app was created. The title given to this app was Natural Disasters of the United States_Student'sLastName (see figure 1).
Figure 1: Create new web app. |
Figure 2: Choose Natural_Disasters_Student'sLastName from selections. |
Figure 3: Choose theme, style, and layout for web app. |
Figure 4: Select widget for Widget 1. |
Figure 5: Configuring a widget (measurement widget shown). |
Figure 6: Setting title, extent, and thumbnail to bookmark location. |
Figure 7: Branding the web app. |
Figure 8: Adding custom link. |
Logging into ArcGIS Online and navigating to the web app just created was how this section started. In the Options dropdown (displayed as ellipses located on right side of app) Edit Application was selected. The web app opened and the Widget tab was selected. The widgets in the Header Controller were set (see figure 9).
Figure 9: Configure header controller widgets. |
Figure 10: Configure Chart widget. |
Figure 11: Settings for earthquakes chart. |
Part 2 - Customizing Web AppBuilder
Section 1 - Start Web AppBuilder for ArcGIS
To start this portion of the lab, the student logged in to ArcGIS Online with their credentials and under My Content selected Add Item > An application. The application was given a URL, title, and tags. Next, the app was registered so that it can be edited only with the App ID (see figures 12 and 13).
Once the app was registered, the natural disasters web app just created in part 1 was used as the application data for the new application.
Section 2 - Customizing the Web AppBuilder Developer Edition
This section started by importing the Elevation profile widget from the previous lab into the new web app. Then, the widget was configured. The color, among other properties, were edited to be different than the default and saved. A sample elevation profile was taken and downloaded from the app as a JPEG and exported as a CSV file to ensure the functionality of data export within the app.
Results
Link to web app
I found this application to turn out quite well and offers a lot of information to its users. It was really interesting to see the potential with this app developer. With a wide selection of widgets, data display features, and exporting/downloading capabilities, this app was easy to create, easy to use, and accessible to anyone with a computer.
Sources
ESRI Web AppBuilder
Dr. Cyril Wilson
No comments:
Post a Comment