MapStory / mapstory

MapStory is the free atlas of change that everyone can edit
http://mapstory.org
GNU General Public License v3.0
54 stars 41 forks source link

Complete StoryLayers tab design: Styles/Masks #269

Closed glynnis closed 6 years ago

glynnis commented 7 years ago

User Story As a user composing a story I want to apply custom styles to a layer within my Mapstory (without affecting the layer itself) In order to emphasize events or places and help viewers understand the narrative of my MapStory

Acceptance Criteria

Deliverable Incorporate styling features into the high-fidelity mock-up for Composer MVP to facilitate discussion about technical feasibility with the team and create feature stories that further refine the design or technical tasks associated with this.

glynnis commented 7 years ago

@reynalddizon and I met todoay to go over logic and get me up to speed on cartographic rules for styling. Here are my notes:

The selection of styles depend on the geometry of the layer. For example:

Points

Simple

A uniform display for all the features.

screen shot 2017-05-23 at 11 17 59 am

Unique Classes (this title will be clearer to cartographers)

Displays symbols based on unique classes in a specific attribute. For example, green dots for churches, pink dots for schools, etc.

screen shot 2017-05-23 at 11 27 43 am

screen shot 2017-05-23 at 12 03 31 pm

Choropleth

Styling is based on the magnitude of the numerical attribute. For example, the smallest value and largest value for a certain attribute would get the extremes of the color ramp.

screen shot 2017-05-23 at 11 38 23 am

Graduated

Style based on the magnitude of the numerical attribute, but instead of changing the color of the feature you change the size based on the magnitude.

screen shot 2017-05-23 at 11 43 36 am

Heatmap

Need a general description for this. @reynalddizon will do some research for this and find out, then add to comments on this story.

Lines

Simple

Uniform styling for all the lines.

screen shot 2017-05-23 at 11 50 07 am

screen shot 2017-05-23 at 11 53 09 am

Unique

Difference from point layers:

Graduated

Same as graduated for points, but instead of controlling symbol size this controls the line thickness. Minimum should always be ≥ 1.

Polygons

Simple

screen shot 2017-05-23 at 12 10 41 pm

Unique classes

Same as for points

Choropleth

Same as for points

Graduated

No graduated for polygons.

Things to determine for new mockup/design

glynnis commented 7 years ago

Attribute Masking

For attribute masking in the new Composer:

screen shot 2017-05-24 at 11 26 54 am

In the above screenshot, "AAAH" is the layer name, but the attribute column that the unique styles are applied to is not listed anywhere in the legend.

The name of the attribute column should by default appear in the legend with the layer name (which can be determined by what attribute a user chooses for styling). Then, a user should be able to apply a mask to both the layer name (this functionality exists in the current composer) AND the attribute name as it appears in the legend (new functionality).

glynnis commented 7 years ago

After meeting with @davisc and @jonpmarino today about priorities, it was decided that this might be a story for @reynalddizon to tackle in the future. If I have time before my last day to get to this I can start, but it's lower priority than some other stories.