Esri / solutions-erg-widget

The Emergency Response Guide (ERG) widget allows users to determine potential hazards based on the type of chemical spill and user-selected location on the map.
Apache License 2.0
6 stars 4 forks source link

ERG Improvements to support facilities management customers #2

Open Dbarnes1 opened 7 years ago

Dbarnes1 commented 7 years ago

Updated Issue

This is more of a holistic app than some individual enhancements. Will leave it open, but did add useful bits to individual issues.

Original Issue

Expand Emergency Response Guide widget to better support military customers and facility management

Details

In working with military customers responsible for facilities management and base incidents, it would be good to expand this tool. I am documenting a specific customer and use case, but I know this functionality could be used broader. New tools:

  1. Drop Pt. on map - this adds a point to an editable Feature Service (for persistent). It also automatically buffers the indicent by 300 ft. and changes any buildings status to Cordoned. A "secondary" buffer is added to the cordonpoly layer. 1a. Alternatively, add by Building ID from a drop down list; I am thinking this must query the FeatureService and get a list of Building IDs to select from. I assume this adds point on Building center.
  2. Add additional buildings to active incident - if there are additional buildings that fall outside the 300 ft buffer but want to include in the cordoned area, add these buildings by dragging a box. Added to #22
  3. Edit Multiple Bldg Status Added to #22
  4. Add Blockade to active incident Added to #37
  5. Add Safe Route Added to #37
  6. Add Plume from KML/Shapefile - in this case, these files are being computer by external algorithms and imported via this method.

These new tools can be driven off of a published Map Service/Feature Service that includes the following layers:

image

Once an incident is dropped on the map, there are additional capabilities that are desired based on this active incident:

  1. Edit incident info - ability to change name, details, and status (Pending by default, Active, Inactive)
  2. Delete incident - clears incident and return buildings' status to all clear
  3. Add cordon to this incident - name, size, primary check on/off Added to #37
  4. View building report - view buildings affected in a grid - facility, status Added to #22
  5. View blockages report - grid of blockages associated with incident to include name, roads, details, blockage type Added to #37
  6. Activate Entire Event - push to the primary viewer as an active incident that others will now see

Copied from original issue: Esri/solutions-webappbuilder-widgets#647

joebayles commented 7 years ago

These are awesome, but I think they should be broken into individual issues and prioritized to versions next or after next.

@Dbarnes1 @elinz thoughts?

Dbarnes1 commented 7 years ago

@joebayles feel free to break them down into different issues