-
Notifications
You must be signed in to change notification settings - Fork 160
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
Update public_bookcase.json - Add more fields #1001
Conversation
Adds moreFields capacity, colour, height, support and moves lit from fields to moreFields.
🍱 Preview the tagging presets of this pull request here: https://pr-1001--ideditor-presets-preview.netlify.app/id/dist/#locale=en. |
Add books field
Adds fields books, direction
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.
Usually, I use the popularity of tag combinations to determine which fields to offer by default and which to include as optional fields. See below for some instances where I noticed that the preset would not match this rule of thumb.
Also, the books
field should pobably allow for a multi-selection (see also the inline comment below).
@@ -3,23 +3,28 @@ | |||
"fields": [ | |||
"name", | |||
"public_bookcase/type", | |||
"books", |
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.
I would have said that for public bookcases, it is rather the exception to find only specific types of books. For this reason, I would have put this field to the moreFields
section.
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.
It is already exception they are mapped, let alone such tags being discovered by users, but it is fine to change it.
"operator", | ||
"capacity", | ||
"lit" |
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.
The lit
tag seems to be a relatively popular combination (see taginfo: https://taginfo.openstreetmap.org/tags/amenity=public_bookcase#combinations). Why hide it?
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.
For clarity, it is moved to moreFields. (it is not hidden if people can easily discover it)
I think it is overall more of an exception they are lit, although relatively popular now.
Similarly, I think it is exception people will use a bookcase at night (except in areas with longer nights).
Otherwise I also don't think it is significant property of object itself, like for advertising (only on few ones on public squares).
(Here also it is fine to change it.)
"operator", | ||
"capacity", | ||
"lit" | ||
"direction" |
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.
The direction
tag is not used very commonly on public bookcases. What's the intention behind offering the field by default for these features?
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.
So it can be more easily discovered.
direction
in general is not often used, because it is not directly a object/access type.
However, it is often found on/near barrier and usually only accesible from one side.
It is recommended to add direction to such objects to prevent ambiguity with its position relative to other objects.
(similar to cameras, defibrillators, etc.)
(Here also it is fine to change it.)
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.
Thanks for the feedback. I've changed the field type to allow multiple values and tweaked the label to also fit other uses of the tag (e.g. on book shops or libraries). I've also reverted the field "ordering" to match the usage/popularity of the attributes for now.
In general,
books
(also used on book shops etc.).For public bookcase,
books
,direction
colour
,height
,support
. However, it seems height is already supported on any object, eventhough not all presets need this.lit
from fields to moreFields.Ignored:
booth
orbuilding
key.internet_access
(yes
/wlan
) and/orinscription
exist.fee=yes
(58 uses) this one.width
/length
, useful for nodes (1 use) this one.material
(58 uses) is used but also included inpublic_bookcase:type
. This seems somewhat of a tagging issue.recycling:books
,charity
andsecond_hand
are used by WikiProject:CircularEconomy but mostly in France.reuse:policy
,reuse:books
,reuse:facility
. It is used by Public bookcase map, see source code.PS: Made a typo in the first commit saying
capacitywas added but it is still the same.