-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
New Piste presets #5368
New Piste presets #5368
Conversation
…culty and grooming keys.
Related to issue #5354 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @yvecai, thanks for doing this! A few things:
- I like the specialized keys, but I suggest we keep a generic Piste preset matching the tag
"piste:type": "*"
for generic features. - Go ahead and remove the
piste_
prefix from the preset filenames, since they are already categorized underpiste/
. For example, changepresets/piste/piste_downhill
topresets/piste/downhill
. - Instead of organizing the fields under the name of the preset they correspond to, categorize them based on the key. If you have different fields for the same key, add a suffix. This may also let you reuse some fields. For example, change
fields/piste_sleigh/difficulty.json
tofields/piste/difficulty.json
and also use it for the sled preset, and then changefields/piste_skitour/difficulty.json
tofields/piste/difficulty_skitour.json
- The wiki page discourages using
piste:type
on nodes, so please delete thepoint
geometry.
It'll be great to have these additions once we work out the kinks! Thanks again!
Thank you for reviewing, all this make sense. I will make those changes in a few days. |
Commit 3296176 should cover it all. |
Ah, sorry for this last minute change, I forgot to have a look at relations. |
Looks great, thanks @yvecai 👍 |
The preset associated with piste:type=* tag is split into the various piste:type values (downhill, nordic, skitour, sled, etc ...).
This allow a more sensible description of the piste:difficulty=* and piste:grooming:* subtags as their meaning depends on the type of activity.