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

Update Default Output Style/Carto and include Settings #23

Closed Dbarnes1 closed 6 years ago

Dbarnes1 commented 6 years ago

Currently, this is the output generated from the ERG widget: image

I can see 3 distinct areas

  1. The immediate spill circle right around the input point. This should have the most intense color, probably red with ~25% transparency
  2. the fan that takes into account the wind direction and other parameters based on the chemical/placard type. This seems like the next most important area. It is currently a think black dashed line, and a thin black solid line. I think that these outlines should also be red, although a lighter shade than the immediate spill circle. This area should also should have a fill, maybe at ~60% transparency.
  3. The third area is the bounding box that touches the vertices of the fan and the initial spill point. This outline could be either thin or a less intense color than red, and it doesn't need a fill, maybe one that is almost completely transparent, at ~90%.

This is a nice example; the areas are represented with varying transparency, but the output graphic is still uniform and it doesn't block out basemap elements: image

adgiles commented 6 years ago

Why not just give the user full control on how they want to set up their own symbology similar to what we have done with the settings page on the GRG widget

Dbarnes1 commented 6 years ago

@adgiles you're right, we should do that (updated title). I still think we should improve on the default symbology settings though.

Dbarnes1 commented 6 years ago

I think that this should include adding a spill icon.

Basically I see 4 layers that need to be symbolized once the inputs are run and the graphic is created: -spill point icon -initial isolation zone (small circle) -protective action zone (the fan) -bounding box

I've documented for these settings in the configure topic and settings topic, moving to in progress

Dbarnes1 commented 6 years ago

@adgiles is there any way we can get the point icon to persist once the ERG graphic is created?

Dbarnes1 commented 6 years ago

image The black polygon layer for spill point is very hard to see in the resulting feature service

elinz commented 6 years ago

@adgiles @joebayles Did we make the spill location a polygon instead of a point feature because in the future we would like to support area spills?

adgiles commented 6 years ago

No, I just couldn't mix points and polygons in the same layer, I can make it bigger if you want

adgiles commented 6 years ago

I have increased the buffer size from 2.5m to 10m to make the spill location bigger. We can possibly go a little larger but some of the materials have a II Zone of 30m

joebayles commented 6 years ago

Verified.