Closed glynnis closed 6 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:
A uniform display for all the features.
Displays symbols based on unique classes in a specific attribute. For example, green dots for churches, pink dots for schools, etc.
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.
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.
Need a general description for this. @reynalddizon will do some research for this and find out, then add to comments on this story.
Uniform styling for all the lines.
Difference from point layers:
Same as graduated for points, but instead of controlling symbol size this controls the line thickness. Minimum should always be ≥ 1.
Same as for points
Same as for points
No graduated for polygons.
Lat and long are automatically generated based on where a point is placed (for point layers)
date_xd is also automatically generated
fid might also be a special case (read only, shouldn't allow for edits?) These auto-generated ones are important for the back end and shouldn't offer attribute masking.
Clicking on a feature in Composer should show a tooltip with attribute information.
Current state: the tooltip should persist even if the mouse moves so that a user can interact with the attribute data in proximity to the feature (right now the icons are, respectively: edit data from a table, edit the geometry/move the feature, remove the feature from the layer). All of these features edit the data on the StoryLayer, and don't need to be included in the Composer redesign if layer editing is done from a separate UI.
For attribute masking in the new Composer:
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).
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.
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.