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

Add checkbox for "flood_prone" key to "moreFields" of minor roads #6117

Closed
quincylvania opened this issue Mar 27, 2019 · 3 comments
Closed
Labels
good first issue Best for first-time contributors. No experience necessary! preset An issue with an OpenStreetMap preset or tag
Milestone

Comments

@quincylvania
Copy link
Collaborator

https://wiki.openstreetmap.org/wiki/Key:flood_prone

@quincylvania quincylvania added good first issue Best for first-time contributors. No experience necessary! preset An issue with an OpenStreetMap preset or tag labels Mar 27, 2019
@prateeklal
Copy link
Contributor

Could you please share a rough mockup of where this should be added?

@quincylvania
Copy link
Collaborator Author

quincylvania commented Mar 27, 2019

The documentation for adding fields to presets is here. Basically you would need to add a flood_prone.json file under fields that is a check type for the flood_prone key. Then add flood_prone to moreFields of some of files like presets/highway/service.json, presets/highway/track.json, and presets/highway/residential.json.

Then run npm start, check that the field was properly added for those features, commit your changes (including the derived data) to a new branch, and open a PR!

prateeklal added a commit to prateeklal/iD that referenced this issue Mar 27, 2019
quincylvania added a commit that referenced this issue Mar 27, 2019
Added checkbox for flood_prone key #6117
@quincylvania
Copy link
Collaborator Author

Done in #6120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Best for first-time contributors. No experience necessary! preset An issue with an OpenStreetMap preset or tag
Projects
None yet
Development

No branches or pull requests

2 participants