[OSM-talk] Tag combinations: amenity and highway
john whelan
jwhelan0112 at gmail.com
Wed Jun 13 13:19:40 BST 2012
I wonder about lumping things together sometimes. Locally we have gas
stations amenity=fuel that have a convenience store and a ABM or ATM in OSM
language. I'm tempted to have three separate POIs in much the same way as
a bank with an ATM have two POIs together.
The problem with putting too much information on one POI is the rendering
systems have problems with more complex coding especially how do you
display it? Even to distinguish between a bus_stop and a bus_stop with
shelter in a simple way with different icons doesn't seem to be
standardized.
Cheerio John
On 12 June 2012 16:28, Peter Wendorff <wendorff at uni-paderborn.de> wrote:
> Hi.
> While developing the look-and-listen map I currently do some research
> about tagging and tag combinations as I have to build some kind of decision
> tree to determine how to describe a given osm object as text.
>
> I thought about "first level tags" in the osm database and looked into the
> most often used keys and tags according to taginfo for that.
>
> Some of the most used "relevant" keys are amenity and highway, and I did a
> summary of value combinations of these.
>
> It turns out, that at objects, that have both keys these often are
> redundant.
> Before I start: in sum my overpass-api export of yesterday returned 2668
> objects with both tags.
>
> I would really appreciate some comments and thoughts about my suggestions
> (as written behind the corresponding combination).
>
> In order of appearance the combinations are count (amenity, highway):
> (neither all combinations listed, nor all most used ones):
>
> redundant combinations:
> 845 (bus_station, bus_stop)
> 69 (lamp, street_lamp)
> 34 (bus_stop, bus_stop)
> 25 (speed_trap, speed_camera)
> 10 (street_light, street_lamp)
> 7 (doctors, emergency_access_point): probably I'm wrong here, but why
> should I go to a doctor to call a doctor for an emergency? I'm confused
> about these.
> 7 (elevator, elevator)
> 4 (public_lift, elevator): where public_lift is used only 5 times over all
> 2 (bus_station, bus_station)
> 2 (elevator, lift)
> 2 (light_post, street_lamp)
> 2 (mountain_rescue, emergency_access_point): additionally
> amenity=mountain_rescue is not documented (but listed on the german
> how-to-map-A)
> 2 (speed_enforcement, speed_camera)
>
> not redundant combinations:
> 213 (waste_basket, bus_stop)
> 136 (bench, bus_stop): alternative: amenity=bus_stop; bench=yes (already
> used around 50k times)
> 118 (parking, rest_area)
> 107 (shelter, bus_stop): alternative: amenity=bus_stop; shelter=yes
> (already used 108k times)
> 92 (parking, turning_circle)
> 59 (parking, services)
> 37 (waste_basket, street_lamp)
> 35 (post_box, bus_stop): but often two objects, I think
> 15 (shelter, emergency_access_point)
> 6 (toilets, bus_stop): should be two objects, I think.
> 6 (waste_disposal, bus_stop): IMHO again two objects.
> 5 (watering_place, ford)
>
> combinations I guess to be an error:
> 46 (parking, bus_stop) how is this in other countries? in germany this
> would usually be an error.
> 45 (fuel, services) well, related, but amenity=fuel should not be tagged
> on the highway, right?
> 32 (tourist, bus_stop): amenity=tourist is over all only 32 times in the
> database, so at least I would count amenity=tourist as useless. It's not
> documented in the wiki.
> 30 (sloped_curb, crossing): outdated, as amenity=sloped_curb should be
> replaced by sloped_curb=yes (or better) or kerb=*
> 27 (restaurant, services): should be more than one object.
> 16 (school, bus_stop): should be two objects
> 15 (bicycle_parking, bus_stop): should be two objects
> 13 (fuel, service): probably services?
> 12 (trash_can, bus_stop): waste_basket instead of trash_can?
> 10 (fuel, bus_stop): two objects?
> 8 (fountain, mini_roundabout): if a mini-roundabout is a fountain in
> parallel, I would suggest the center not to be traversable, that would be a
> contradiction to the mini_roundabout definition we found in the discussions
> in the last weeks.
> 8 (recycling, bus_stop): I guess, this is most often a waste_basket, not
> what we usually call amenity=recycling. If that's wrong, these should be
> two objects.
> 8 (toilets, rest_area): should be two objects, as the toilets are much
> smaller than the rest area I guess (else I would not call it rest_area any
> more, but toilets only)
> 6 (grave_yard, turning_circle): sounds strange...
> 5 (cafe, services): not on one object, I would say
> 5 (fast_food, services): 2 objects
> 5 (fuel, residential): should the fuel be on the same object as highway?
> 5 (recycling, turning_circle): should be two objects
> 4 (pub, bus_stop): two objects
> 4 (public_building, bus_stop): two objects
> 3 (pharmacy, bus_stop): two objects
> 3 (place_of_worship, residential): two objects
> 3 (school, residential): two objects
> 3 (traffic_signals, traffic_signals): as I would interpret
> amenity=traffic_signals as an error; on top of that it's redundant
> 2 (bank, bus_stop): I guess, this is a German mapper who mis-translated
> the German "bank" (which means bench)
> 2 (bank, living_street): regardless, wether bank or bench is meant this
> IMHO is an error
> 2 (bank, traffic_signals)
> 2 (bench, cycleway): two objects!
> 2 (bench, footway): two objects!
> 2 (bench, turning_circle): two objects!
> 2 (doctors, bus_stop)
> 2 (fast_food, residential)
> 2 (fire_hydrant, turning_circle): two objects.
> 2 (fuel, track): two objects
> 2 (parking, speed_camera): two objects
> 2 (Piedibus_station, bus_stop): well, at least, the piedibus_station is
> not proposed or otherwise documented. english word would be walking_bus, I
> think (at least according to wikipedia)
> 2 (place_of_worship, bus_stop): two objects!?
> 2 (recycling, street_lamp): two objects or an error as it should be a
> waste_basket
> 2 (restaurant, living_street)
> 2 (restaurant, traffic_signals)
> 2 (restplace, services): restplace should be rest_area, I think
> 2 (school, traffic_signals)
> 2 (shelter, footway)
> 2 (signpost, crossing): that would be an obstacle on the crossing, thus
> on the intersection of two ways (in real world meaning of "way")
>
>
> comments, especially on the errors are welcome.
>
> regards
> Peter
>
> ______________________________**_________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.**org/listinfo/talk<http://lists.openstreetmap.org/listinfo/talk>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20120613/48c666f6/attachment.html>
More information about the talk
mailing list