Opened 4 years ago
Last modified 3 years ago
#21782 closed enhancement
[WIP patch] Deprecate vending=parcel_pickup — at Version 11
| Reported by: | overflorian | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 23.04 |
| Component: | Internal preset | Version: | |
| Keywords: | vending vending_machine parcel | Cc: | Klumbumbus |
Description (last modified by )
Hi,
A new tag just has been approved: Tag:amenity=parcel_locker and describes a parcel locker.
It replaces previously used (and now deprecated) amenity=vending_machine + vending=parcel_pickup
I propose to:
- While a amenity=vending_machine is created, stop proposing the associated preset vending=parcel_pickup
- Create a new dedicated preset for amenity=parcel_locker
- Change the validator accordingly
Thanks
PS: deprecation follow-up (including similar requests to other tools) is available on this wiki page: https://wiki.openstreetmap.org/wiki/Tag:vending%3Dparcel_pickup#Deprecation_follow-up
Change History (13)
comment:1 by , 4 years ago
| Keywords: | vending vending_machine parcel added |
|---|---|
| Type: | defect → enhancement |
comment:2 by , 4 years ago
comment:3 by , 4 years ago
Thanks, but that preset offers also undocumented tags like 'parcel_locker=', or mixes name and number into a single tag 'ref='.
Anyway, JOSM should have this built in, because the lockers are very popular in the wild. The real extent in OSM is unknown, as many have been tagged as amenity=vending_machine as that was the method at the time.
comment:5 by , 4 years ago
| Summary: | Deprecate vending=parcel_pickup → [WIP patch] Deprecate vending=parcel_pickup |
|---|
Please try out the provided patch.
The preset structure is not appealing for me, but this is the best I could came up with.
Edit: the icon is from the above preset (here), but slightly modified by me.
by , 4 years ago
| Attachment: | josm_21728_parcel_locker_v2.patch added |
|---|
add missing commas, change mapcss rule
comment:6 by , 4 years ago
The messages still not working as one would expect, but it's JOSM's limitation. With regex, sublist and probably more, the {*.key} property cannot read out.
One possible solution is duplicating rules:
*[amenity=vending][vending=parcel_mail_in], *[amenity=vending][vending=parcel_pickup], *[amenity=vending][vending=parcel_mail_in;parcel_pickup], *[amenity=vending][vending=parcel_pickup;parcel_mail_in] { ... }
but it isn't elegant ...and doesn't work. I'm out of ideas. Probably a new custom message is needed.
comment:7 by , 4 years ago
Some remarks:
- I guess the icon needs more colors/contrast. Only one color does not work well, regarding different LaFs and backgrounds.
- The style should support areas and not only nodes.
- The validator rule does not work so far, as
parcel_mail_inand/orparcel_pickupneed to be preserved as keys. Maybe, we need several rules for different cases.
comment:8 by , 4 years ago
- Yes, a white bg would do it, like the hunting stand's icon.
- The wiki page was modified since then, allowing areas as well, thanks for noticing.
- What do you mean? It is preserved by the patch, only ignoring
vending=parcel_mail_in/parcel_pickup.
comment:9 by , 4 years ago
- A background might work, but actually I am not convinced about the icon and its recognition.
- The wiki was wrong as prior use and the proposal included areas.
- No, I would expect to add
parcel_pickup=yesif the key is not present andvending=parcel_pickupis removed. Same forparcel_mail_in=*.
comment:10 by , 3 years ago
How is it going? Since amenity=parcel_locker is added even to default carto style
comment:11 by , 3 years ago
| Description: | modified (diff) |
|---|
I've created the base patch, and looking at the wiki page we got a new icon since then.
@skyper can you work on this or should I proceed with the patch?



A preset is already available for download, see Presets/ParcelLockers.