Tag Archives: USGS NHSS
The Public Safety COP Template is designed to be starter application to help you quickly implement the ArcGIS Viewer for Flex to provide situational awareness for your organization. This download package contains many of the tools and feeds that you have seen in our demonstrations and training. If you already have ArcGIS Server installed and configured you can go through these steps in about an hour. Obviously having an ArcGIS Server instance available somewhere within your organization is a prerequisite. Your data should be well organized and you should have your operational layers and basemaps published. This blog post contains the 10 basic steps to get this application set up within your organization.
To get started you can download this template from http://www.arcgis.com/home/item.html?id=1d90b418b78e40158914bd5178b6892f. For these 10 steps we are going to basically walk through the main configuration file (config.xml). More information is in the help documentation – see http://help.arcgis.com/en/webapps/flexviewer/help/mainconfig.htm
Step 1 – Pick your title and subtitle
Up at the top select the title and subtitle for your application. Often terms like GIS get lost on the broader Public Safety Community. Terms like Common Operational Picture (COP) or Situational Awareness seem to resonate more. In some cases specific application names and/or acronyms seem to take on a life of their own. For example applications like Virginia’s VIPER or Florida’s GATOR applications are great examples of this. Consider coming up with a good acronym (such as an aggressive animal) for your organization.
Step 2 – Pick your logo
Next find an image to include in the upper left of the application. This image should be 48 x 48 pixels.
Optionally include your logo over the map as a Static Image Widget – see – http://help.arcgis.com/en/webapps/flexviewer/help/widgets/staticimage_widget.htm
Step 3- Pick your colors
There are several color options that you can change quickly. See – http://help.arcgis.com/en/webapps/flexviewer/help/styling.htm. I’ve been coached by our graphics department not to go overboard and have colors so bright that they distract from the map. Setting the colors to match your organizations current web theme or “brand” can be quickly achieved by setting the colors appropriately.
Step 4 – Set your initial extent
Set the initial extent of your map for your jurisdiction. There is a handy helper utility here – http://help.arcgis.com/en/webapps/flexviewer/help/extenthelper/flexviewer_extenthelper.html – where you can zoom in to an area and copy the initial extent parameters and paste it in to your config.xml file. Note to make sure you match the aspect ratio of the helper utility to how our app will be normally displayed.
Step 5 – Basemaps
In order to provide context to your operational layers select the basemaps that are appropriate for your organization. New in version 2.2 of the ArcGIS Viewer for Flex you can combine local basemaps with global basemaps like those from ArcGIS Online or Bing. There are several local government templates for basemaps. Those include:
- The Public Safety COP Template comes with a Public Safety basemap. This is a modification of the General Purpose basemap with an emphasis on Public Safety like critical infrastructure being highlighted and addresses showing up on the building footprints.
- Topographic – http://www.arcgis.com/home/item.html?id=0daade53e0e540de98a0d5d0b0ce89df
- Imagery Hybrid – http://www.arcgis.com/home/item.html?id=9c8b3044c4054d59b658184c3737c432
Step 6 – Live feeds from other organizations
The COP Template is already configured with live feeds from both the USGS and Pacific Disaster Center. Add other feeds such as your State or Location Department of Transportation or make your own using the Live Feeds Template.
Step 7 – Your operational data
The next step is to organize the data you manage. From the Emergency Management perspective this can include things like shelters, incidents, damage assessment, and field crew locations. The COP template provides layers for these. The other thing to consider is organizing your critical infrastructure data. Access to other business systems is also important; this is where the “Common” in COP comes in to play and things like Computer-Aided Dispatch, AVL, and Traffic Systems are important to be connected to.
Step 8 – Configure Public Safety COP widgets
The Public Safety COP Templates comes with three custom widgets – the ERG Widget, Report by Exception and Find Closest Facility. Configure these widgets to point to your own data. For example you can configure the ERG Widget to point to your own critical infrastructure layer.
Step 9 – Get other widgets and organize them
There are many widgets that come with the application out of the box. There additional widgets from the community – http://help.arcgis.com/en/webapps/flexviewer/gallery.html. I’ve listed some of the Public Safety related widgets here:
- Street View and More – Widget for FlexViewer 2.* – http://www.arcgis.com/home/item.html?id=dc56d2ab11534d24a5559ea9dc8f5119
- Route Widget version 2.2.3 for FlexViewer 2.2 or higher – http://www.arcgis.com/home/item.html?id=992b1f691f44489aa4dcbafe2db66700
- TwitterSearch Widget – http://www.arcgis.com/home/item.html?id=5f3bf5febd9e4a1d8cf92b15c75b9e41
- National Grid/MGRS WebMercator Widget for Flex Viewer 2.x – http://www.arcgis.com/home/item.html?id=56d4d2ed5d474eb4b8e29973d2376652
- WMS Radar Layer Widget for ArcGIS Viewer for Flex v2.2 – http://www.arcgis.com/home/item.html?id=75d3bf48976c44ef986a70e0dcad0f75
- Chart Widget 2.2 for FlexViewer 2.x – http://www.arcgis.com/home/item.html?id=51558a31b24a4139bf915a0ba47bd25d
Step 10 – Configure the Splash Screen
Finally configure the Splash Widget for your organization using HTML formatting standards. You can include hyperlinks.
Now that you have this set up promote this within your organization! Perhaps you can use this in support of upcoming exercise. Here’s an example of the COP Template that I have configured in support of the 2011 National Level Exercise:
Here are some additional resources that may be helpful as you move forward:
Introduction to the ArcGIS Viewer for Flex – FREE recorded Live Training Seminar – http://training.esri.com/acb2000/showdetl.cfm?did=6&Product_id=983
If you are looking to go from a configurator to a developer here are some good training resources:
- Basics of Flex programming (online self-training)- Adobe Tour de Flex http://www.adobe.com/devnet/flex/tourdeflex.html
- Learn about the ArcGIS API for Flex from Esri: Building Web Applications Using the ArcGIS API for Flex (2 day instructor led class) – http://training.esri.com/gateway/index.cfm?fa=catalog.courseDetail&CourseID=50121730_10.x
- Watch this short video: ArcGIS Viewer for Flex: Creating a Custom Widget – http://resources.arcgis.com/gallery/video/arcgis-server/details?entryID=870F152C-1422-2418-A010-7C82711FE22F
- Explore the documentation on the Resource Center – http://help.arcgis.com/en/webapps/flexviewer/help/developers/gettingstarted_dev.htm
The source code for this application is available for download from ArcGIS.com. You can download and configure this application for use within your organization. To get started there are a couple of steps that should be fairly straight forward for most web programmers. These steps are outlined in the documentation that is included with the download. First, set your extent. Next, pick you map layers (either rendered as graphics or via dynamic map services). Then, pick your social media filters, and finally, set up and configure your feature service.
Here’s an example of the application configured to convey information to the public regarding a train derailment scenario that we’ve used in many of our demonstrations.
In this case the Social Media filters have been changed to “Louisville” to pick up Tweets, YouTube, and Flickr photos with that tag.
For more details about the application and configuring it check out the documentation that comes in the download package.
The Emergency Management Common Operational Picture Template on the Public Safety Resource Center has recently been updated. Here is what’s new:
- The application now uses a more recent version of the Sample Flex Viewer and ArcGIS API for Flex
- The Emergency Response Guide (ERG) Widget has been updated to now let you look up the current wind direction using the METAR weather stations in the Live Feeds Template.
The workflow has changed slightly where you now select the select the spill location first and then it gives you the option to look up the current wind direction by clicking on the Lookup wind button.
The results tell you the wind direction at the closest weather station as well as the time of the last update. This is based on the results of another Geoprocessing service which is included in the application.
The results are then displayed as before.
- The latest version of the ERG Geoprocessing tools is included which provides several bug fixes.
- There is a new widget and Geoprocessing tool to find the closest resource based on drive times. This is based on the Closest Facilities Example.
- The Report by Exception widgets for both GeoRSS and Live Layer Widgets are now included. This is something that the VIPER application uses and the VDEM folks discuss in their video. Note these are the same tools that are available as a separate entry in the Flex Community Code Gallery.
By clicking on an entry in either the GeoRSS or Live Layer Report by Exception Widget
You’ll query the layers that have been configured to show what’s in proximity.
So in this case you’re not seeing all the schools, just those in proximity to the incident – hence – Report by Exception. This is something that is highly configurable and you can easily set the layers you want to query and the analysis type (buffer versus drive time, etc.)
- The Live Feeds from the USGS Natural Hazard Support System are included by default.
- The Live Feeds from the Pacific Disaster Center are included by default.
- The View It Live application has been updated to reflect the changes and has moved servers.
- The Live Feeds Template sample on the server now runs live. This is the service that is used to determine current wind direction for the ERG tool. The service is running live here – http://publicsafetytemplates.esri.com/ArcGIS/rest/services/EMCOP/PublicSafetyFeedSample/MapServer
- Numerous other bug fixes
We hope you find these updates useful and they help you in your mission. If you have any comments or suggestions on what we’ve provided as always please either comment below or e-mail us at ArcGISTeamPublicSafety@esri.com.
The Data Resources page discusses the sources of each of the data sets as well as the legend. Also at the bottom of the page you’ll see info on the publicly available ArcGIS Server services:
Three map services were created for use in the NHSS, and each of these services is also publicly available for use by other Geographic Information Systems (GIS).
Map Service Name: nhss_haz
Map Service Content: U.S. Volcanoes, Other Volcanoes, Earthquakes, Hurricanes, Wildfires, Wildfire Perimeters
Map Service Projection: GCS_WGS_1984
Map Service URL’s: http://rmgsc.cr.usgs.gov/ArcGIS/rest/services/nhss_haz/MapServer
Map Service Name: nhss_weat
Map Service Content: Weather Watches and Warnings
Map Service Projection: GCS_WGS_1984
Map Service URL’s: http://rmgsc.cr.usgs.gov/ArcGIS/rest/services/nhss_weat/MapServer
Map Service Name: nhss_info
Map Service Content: Stream Gages, RAWS, Tide Stations
Map Service Projection: GCS_WGS_1984
Map Service URL’s: http://rmgsc.cr.usgs.gov/ArcGIS/rest/services/nhss_info/MapServer
These services can easily be added to the Emergency Management Common Operational Picture Template or Sample Flex Viewer by just adding a few lines to the config.xml file. Simply copy the following XML in to the livemaps section of the config.xml file above the other layers:
label="USGS NHSS Other Information"
label="USGS NHSS Weather"
label="USGS NHSS Natural Hazards"
Furthermore you can leverage the data from and use it within the Live Layers Widgets in the Flex Viewer. This will allow you to bring more attention to the data layer(s) and bring up some of the record details.
Create an xml configuration file for the Live Layer perhaps by making a copy of the LiveLayerWidget.xml in the comesrisolutionsflexviewerwidgets directory of the web application and call it LiveLayerWidgetWildfires.xml.
Edit the file to include the information needed such as REST End Point to the map layer, the fields to include as well as any hyperlink information. To do this for the Wildfires layer use the following:
<query>OBJECTID > 0</query>
<fields>FIRE_NAME, REPORT_DATE, ACRES, HOTLINK, STATE</fields>
Finally add an entry to the config.xml file within the widgets section for this Live Layer Widget:
Note that by clicking on the orange arrow that you will be taken to the hyperlink for more information. In this case the hyperlink leads to the National Interagency Fire Center. This technique can be used to highlight any of the dynamic data from the NHSS ArcGIS Server layers.
In summary the Natural Hazard Support System provides a wealth of information and you should visit the site often to keep abreast of current hazard information. For more details about this application click here – http://nhss.cr.usgs.gov/contactus.shtml. Furthermore if you’re already using other applications like the Emergency Management Template COP or the Flex Sample Viewer you can easily add the services from the USGS NHSS application.