Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding color hex codes for config presets to GeoJSON properties when exported #751

Open
rudokemper opened this issue Sep 20, 2023 · 0 comments

Comments

@rudokemper
Copy link
Member

Describe the idea
A proposed feature: adding the hex codes of the config preset colors to the GeoJSON output properties, if found in a config.

That way, we can continue to use the same colors for categories that people might be used to from data collection in later outputs such as cartographic or web maps.

What's your role? Where and how do you currently use the application?
Currently, I am working on a web application that render and visualize Mapeo (and other) data on a map among other views. To help distinguish different types of points on a map, I am randomizing the colors but it would be great to use the preset color hex code if it were stored in GeoJSON properties, to have continuity in the color symbology from the data collection to visualization phase.

Additional context
We do something similar with the Native Land API e.g. https://native-land.ca/wp-content/themes/NLD-2021/files/indigenousTerritories.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant