Skip to content

Conversation

@paulklie
Copy link
Contributor

@paulklie paulklie commented Jun 24, 2025

Description, Motivation & Context

Adds the amenity=device_charging_station preset.

Related issues

Closes #1359

Links and data

amenity=device_charging_station

Relevant tag usage stats:
taginfo: 1084 uses

Checklist and Test-Documentation Template

I seem to be unable to post screenshots here, hope this suffices. The Infobox works

Test-Documentation

Preview links & Sidebar Screenshots

https://imgur.com/a/seYQ89i
https://www.openstreetmap.org/node/9983467989

Search

https://imgur.com/a/x57uggB

Info-i

https://imgur.com/a/GeQBaRf

Wording

  • American English
  • name, aliases (if present) use Title Case
  • terms (if present) use lower case, sorted A-Z

@github-actions
Copy link

🍱 Your pull request preview is ready

Please use this preview to check your changes. Ideally use the test documentation template and document your test results by commenting on the PR. This will speed up the review process for everyone.

FYI, once this PR is merged, you can use the iD Editor Preview to test your changes in interaction with all other changes.

@k-yle
Copy link
Collaborator

k-yle commented Jun 24, 2025

Just adding a link to #1468 for future reference, since this preset would also benefit from a field to edit socket: tags, once this is possible.

@paulklie paulklie marked this pull request as ready for review June 24, 2025 16:25
Copy link
Collaborator

@tordans tordans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Here is a quick review:

Please review the fields by comparing the wiki suggestions with the once below from actual usage.

Usage based on postpass:

curl -g https://postpass.geofabrik.de/api/0.2/inter
preter \
> --data-urlencode "options[geojson]=false" \
> --data-urlencode "data=SELECT key, COUNT(*) AS count FROM postpass_pointlinepo
lygon, jsonb_each_text(tags) AS t(key, value) WHERE tags->>'amenity' = 'device_c
harging_station' GROUP BY key ORDER BY count DESC"

(Only > 2)

SHOW LIST…

        {
            "key": "amenity",
            "count": 1085
        },
        {
            "key": "fee",
            "count": 518
        },
        {
            "key": "socket:device:USB-A",
            "count": 456
        },
        {
            "key": "capacity",
            "count": 316
        },
        {
            "key": "lockable",
            "count": 316
        },
        {
            "key": "level",
            "count": 256
        },
        {
            "key": "access",
            "count": 241
        },
        {
            "key": "name",
            "count": 236
        },
        {
            "key": "opening_hours",
            "count": 232
        },
        {
            "key": "operator",
            "count": 165
        },
        {
            "key": "socket:typee",
            "count": 124
        },
        {
            "key": "support",
            "count": 122
        },
        {
            "key": "emergency",
            "count": 122
        },
        {
            "key": "colour",
            "count": 113
        },
        {
            "key": "description",
            "count": 75
        },
        {
            "key": "socket",
            "count": 71
        },
        {
            "key": "surveillance",
            "count": 58
        },
        {
            "key": "check_date",
            "count": 56
        },
        {
            "key": "voltage",
            "count": 47
        },
        {
            "key": "website",
            "count": 40
        },
        {
            "key": "socket:device:USB-C",
            "count": 38
        },
        {
            "key": "wheelchair",
            "count": 33
        },
        {
            "key": "socket:schuko",
            "count": 32
        },
        {
            "key": "email",
            "count": 30
        },
        {
            "key": "phone",
            "count": 29
        },
        {
            "key": "internet_access",
            "count": 28
        },
        {
            "key": "payment:app",
            "count": 27
        },
        {
            "key": "socket:device:qi-wireless",
            "count": 26
        },
        {
            "key": "indoor",
            "count": 26
        },
        {
            "key": "source",
            "count": 24
        },
        {
            "key": "power",
            "count": 20
        },
        {
            "key": "note",
            "count": 20
        },
        {
            "key": "socket:device:lightning",
            "count": 20
        },
        {
            "key": "brand",
            "count": 19
        },
        {
            "key": "internet_access:fee",
            "count": 19
        },
        {
            "key": "covered",
            "count": 18
        },
        {
            "key": "socket:USB",
            "count": 16
        },
        {
            "key": "socket:device:micro-b",
            "count": 15
        },
        {
            "key": "bench",
            "count": 14
        },
        {
            "key": "generator:source",
            "count": 14
        },
        {
            "key": "lit",
            "count": 14
        },
        {
            "key": "socket:typeb",
            "count": 14
        },
        {
            "key": "amperage",
            "count": 13
        },
        {
            "key": "start_date",
            "count": 13
        },
        {
            "key": "socket:nema_5_15",
            "count": 12
        },
        {
            "key": "addr:city",
            "count": 12
        },
        {
            "key": "tactile_paving",
            "count": 11
        },
        {
            "key": "socket:device:Micro-B",
            "count": 11
        },
        {
            "key": "socket:device:USB-A:current",
            "count": 11
        },
        {
            "key": "socket:nema_1_15",
            "count": 10
        },
        {
            "key": "shop",
            "count": 10
        },
        {
            "key": "socket:device:USB-A:voltage",
            "count": 10
        },
        {
            "key": "frequency",
            "count": 10
        },
        {
            "key": "addr:street",
            "count": 9
        },
        {
            "key": "leisure",
            "count": 9
        },
        {
            "key": "airside",
            "count": 8
        },
        {
            "key": "material",
            "count": 8
        },
        {
            "key": "payment:coins",
            "count": 8
        },
        {
            "key": "smoking",
            "count": 7
        },
        {
            "key": "ref",
            "count": 7
        },
        {
            "key": "contact:website",
            "count": 7
        },
        {
            "key": "location",
            "count": 7
        },
        {
            "key": "highway",
            "count": 7
        },
        {
            "key": "payment:debit_cards",
            "count": 6
        },
        {
            "key": "bicycle",
            "count": 6
        },
        {
            "key": "bin",
            "count": 6
        },
        {
            "key": "fixme",
            "count": 6
        },
        {
            "key": "generator:method",
            "count": 6
        },
        {
            "key": "payment:notes",
            "count": 6
        },
        {
            "key": "payment:electronic_purses",
            "count": 6
        },
        {
            "key": "layer",
            "count": 6
        },
        {
            "key": "operator:wikidata",
            "count": 6
        },
        {
            "key": "payment:cryptocurrencies",
            "count": 6
        },
        {
            "key": "payment:credit_cards",
            "count": 6
        },
        {
            "key": "power_supply",
            "count": 5
        },
        {
            "key": "model",
            "count": 5
        },
        {
            "key": "tourism",
            "count": 5
        },
        {
            "key": "operator:type",
            "count": 5
        },
        {
            "key": "generator:type",
            "count": 5
        },
        {
            "key": "generator:output:electricity",
            "count": 5
        },
        {
            "key": "motorcar",
            "count": 4
        },
        {
            "key": "internet_access:ssid",
            "count": 4
        },
        {
            "key": "shelter",
            "count": 4
        },
        {
            "key": "public_transport",
            "count": 4
        },
        {
            "key": "man_made",
            "count": 4
        },
        {
            "key": "manufacturer",
            "count": 4
        },
        {
            "key": "bus",
            "count": 4
        },
        {
            "key": "building",
            "count": 4
        },
        {
            "key": "addr:postcode",
            "count": 4
        },
        {
            "key": "wikimedia_commons",
            "count": 3
        },
        {
            "key": "addr:housenumber",
            "count": 3
        },
        {
            "key": "building:material",
            "count": 3
        },
        {
            "key": "description:de",
            "count": 3
        },
        {
            "key": "maxstay",
            "count": 3
        },
        {
            "key": "socket:bs1363",
            "count": 3
        },
        {
            "key": "socket:device:lightning_cable",
            "count": 3
        },
        {
            "key": "socket:device:USB-C_cable",
            "count": 3
        },
        {
            "key": "socket:nema_5_20",
            "count": 3
        },
        {
            "key": "socket:schuko:voltage",
            "count": 3
        },
        {
            "key": "socket:usb",
            "count": 3
        },
        {
            "key": "survey:date",
            "count": 3
        },

"operator",
"capacity",
"fee",
"indoor",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"indoor",

Are there any non indoor? This is not on the wiki.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are five: https://overpass-turbo.eu/s/26Rx
Thus around 20% of those with the "indoor" tag.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

poke

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that it is so rare (and sufficiently unexpected that I suspect tagging errors, I would ask mappers if I would not be on bus)

I would put it into moreFields so it is not shown by default

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made some probing changeset comments in the end

@paulklie paulklie requested a review from tordans July 2, 2025 10:13
@paulklie paulklie marked this pull request as draft August 7, 2025 12:22
@paulklie paulklie marked this pull request as ready for review August 7, 2025 12:22
@paulklie

This comment was marked as resolved.

@tordans

This comment was marked as outdated.

@tordans tordans closed this Aug 17, 2025
@tordans tordans reopened this Aug 17, 2025
@paulklie
Copy link
Contributor Author

paulklie commented Sep 5, 2025

Test-Documentation

Preview links & Sidebar Screenshots

https://www.openstreetmap.org/node/10313144876#map=19/50.329905/7.224757
image

Search

image image image

Info-i

image

Wording

  • American English
  • name, aliases (if present) use Title Case
  • terms (if present) use lower case, sorted A-Z

@tordans
Copy link
Collaborator

tordans commented Sep 5, 2025

@matkoniecz I think this looks good. Could you give this a review? Will add the "ready for merge tag" and merge next "round".

There is the open question if we would rather want to remove the indoor field given that they all should be indoor (and exceptions can always be added via the tags UI).

@tordans tordans added the waiting-ready-to-merge Ready to merge, but let's wait a few days for possible feedback. label Sep 5, 2025
@tordans tordans requested a review from matkoniecz September 5, 2025 14:30
@paulklie
Copy link
Contributor Author

paulklie commented Sep 5, 2025

if we would rather want to remove the indoor field given that they all should be indoor

I don't understand why?
I have seen two such oudoor charging stations, one directly connected to a solar panel, and one in a bus stop.

@tordans
Copy link
Collaborator

tordans commented Sep 5, 2025

if we would rather want to remove the indoor field given that they all should be indoor

I don't understand why?

Because we want to be careful which tags to promote via fields and in my mind an outdoor charging station is something very unexpected. We don't want fields that are answered with "no" all the time by users just because they are very visible. This is not even in the moreFields but suggested to be answered to every user of the preset.

I have seen two such oudoor charging stations, one directly connected to a solar panel, and one in a bus stop.

The bus stop would then be covered=yes, yes? And the solar panel maybe as well?
But we don't promoted covered as an alternative to indoor…

Are there really uncovered charing stations (in a relevant number that we want to handle those in a preset)?

This would be easier if there where example images with tags in https://wiki.openstreetmap.org/wiki/Tag:amenity%3Ddevice_charging_station for those cases… but the tag is not even mentioned there…

@tordans
Copy link
Collaborator

tordans commented Sep 6, 2025

Given #1611 (comment) I moved it to moreFields for now. We can always improve this later.

@tordans tordans changed the title added device charging station Add preset for device_charging_station Sep 9, 2025
@tordans tordans merged commit 7a73e5a into openstreetmap:main Sep 9, 2025
5 checks passed
@tordans
Copy link
Collaborator

tordans commented Sep 9, 2025

Thanks for moving this along @paulklie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-preset waiting-ready-to-merge Ready to merge, but let's wait a few days for possible feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New tag: amenity=device_charging_station

4 participants