goat-community / goat

This is the home of Geo Open Accessibility Tool (GOAT)
GNU General Public License v3.0
91 stars 47 forks source link

Implement layer styling #2505

Closed EPajares closed 6 months ago

EPajares commented 1 year ago

User needs Our users (GIS novices and planners) would like to have the opportunity to style geospatial data on the map. This data can his own data or data that is produced using GOAT like indicators (e.g. isochrones or heatmaps). With the styling the user can customize the look and feel of the layer, but the styling is also the basis for users to understand complex data.

Acceptance criteria

Example for categorized:

Image

Notes We need to define the styling library to be used. There is a library called Geostyler that we are using at the moment (https://geostyler.github.io/geostyler-demo/) this can be translated into mapbox. Another option is saving mapbox styles directly. The advantage of Geostyler is that the structure feels more understandable and it can be translated into different other formats.

Figma https://www.figma.com/file/tu6pPILBRSUuy3Hbu8Lphk/Goat-3.0?type=design&node-id=12778-147141&mode=design&t=hOL3KvRqMIBQ29L4-0

### Tasks
- [ ] https://github.com/goat-community/goat/issues/2575
- [ ] https://github.com/goat-community/goat/issues/2576
- [ ] https://github.com/goat-community/goat/issues/2577
- [ ] https://github.com/goat-community/goat/issues/2578
- [ ] https://github.com/goat-community/goat/issues/2579
- [ ] https://github.com/goat-community/goat/issues/2581
- [x] https://github.com/goat-community/goat/issues/2609
- [ ] https://github.com/goat-community/goat/issues/2610
- [ ] https://github.com/goat-community/goat/issues/2611
EPajares commented 1 year ago

For now we thing the best idea is to implement the styling standard used by maplibre: https://maplibre.org/maplibre-style-spec/