-
Notifications
You must be signed in to change notification settings - Fork 819
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
Render a generic icon for shop=* #116
Comments
I'm happy to see all shops rendered, and I'm in favour of an approach that doesn't involve hundreds of new icons! However, I'm opposed to "catch-all" rendering, generally of the form "foo is not null" in the queries. I'm slowly removing them, since they've been shown over the years to be A Bad Idea.
I'm going to give a few technical comments on the separate pull request too. |
Ok, I think I understand, but I want to make sure. Instead of doing "shop is not null" in the query, I should instead do "shop in ('supermarket','clothes', [etc])" and include everything we want rendered? I'm fine with that, but it will make the query about twice as long. I guess I'd include everything from http://wiki.openstreetmap.org/wiki/Key:shop and then if there's others, they'd get added over time. |
Use tag info, shows all of the values for shop that are actually used. |
Right, but then which of those do I add? I certainly can't (and don't want to) add all 7551. |
Whatever you think makes sense. How about anything over 1000 instances, or the top 50? |
That sounds reasonable. I think I'll include all the ones on the wiki, and anything over 1000 uses in taginfo. Of course, in the future, the ones "over 1000" will be different, but it can be updated later. |
so, that becomes: ('alcohol', 'anime', 'antiques', 'art', 'baby_goods', 'bag', 'bakery', 'bathroom_furnishing', 'beauty', 'bed', 'beverages', 'bicycle', 'books', 'boutique', 'butcher', 'candles', 'car', 'car_parts', 'carpet', 'car_repair', 'charity', 'chemist', 'clothes', 'computer', 'confectionery', 'convenience', 'copyshop', 'craft', 'curtain', 'deli', 'department_store', 'dive', 'doityourself', 'drugstore', 'dry_cleaning', 'electronics', 'energy', 'erotic', 'estate_agent', 'fabric', 'farm', 'fishing', 'fishmonger', 'florist', 'frame', 'funeral_directors', 'furnace', 'furniture', 'garden_centre', 'gas', 'general', 'gift', 'glaziery', 'greengrocer', 'hairdresser', 'hardware', 'hearing_aids', 'herbalist', 'hifi', 'hunting', 'interior_decoration', 'jewelry', 'kiosk', 'kitchen', 'laundry', 'mall', 'massage', 'mobile_phone', 'money_lender', 'motorcycle', 'music', 'musical_instrument', 'newsagent', 'no', 'optician', 'organic', 'outdoor', 'paint', 'pawnbroker', 'pet', 'pharmacy', 'photo', 'pyrotechnics', 'radiotechnics', 'religion', 'seafood', 'second_hand', 'shoes', 'sports', 'stationery', 'supermarket', 'tailor', 'tattoo', 'ticket', 'tobacco', 'toys', 'trade', 'travel_agency', 'tyres', 'vacant', 'vacuum_cleaner', 'variety_store', 'video', 'video_games', 'window_blind', 'yes') |
I'll take shop=no out. any others? |
Is including erotic going to be an issue? |
I removed it |
I also removed vacant. I think it'd cause too much confusion |
I think that shop=no should also be excluded. |
What is exactly the reason to remove shop=erotic? Google Maps does render them (with a generic shop icon), both in the US and Europe. Wikipedia has a strict 'no self-censorship' policy, what is our policy? Also, if it becomes ultimately the only type of shop that is not rendered, people might start working around if (tagging it as shop=gift? ;)). |
The tag drugstore is discouraged on the wiki and rarely used, I would remove it. |
There exist office=estate_agent and shop=estate_agent. The second is a bit more popular. We might want to render only one of them, in order to promote consistent tagging. |
There are ~6500 other shop types that are also not getting rendered because they are below a 1000 instances. |
I understand the problem of course. But not including data on the map that might offend people can get tricky easily. For example, shop=alcohol and shop=hunting (or a potential shop=guns) are also offensive to some people (and suffer equally from an age limit problem). I think we should be really careful here what argumentation we use, because it might set a precedent for later. |
For me, taginfo is most important, since erotic is basically right at the cutoff. It is probably ok to leave it off. Including it, and not other tags above it would be a big problem. I would rather not be part of another talk like this one at next years state of the map. http://vimeopro.com/openstreetmapus/state-of-the-map-us-2013/video/68098504 |
2013/8/29 math1985 [email protected]
I'd render both of them in order to promote consistent tagging ;-) cheers, |
2013/8/28 oddityoverseer13 [email protected]
I propose to add antiques, insurance, ticket, tattoo, hearing_aids, frame, cheers, |
I agree with the additional included values, as there are some in there I added myself, and the uncommon shops are actually the ones that one might do an internet search for. Did you just take the values from taginfo ? What cutoff value did you use; it'd be easyer to see if the list was sorted by frequency instead of alphabetically (it might even have a small performance advantage). Here's an ugly shell script that spits out a list of all shops used at least 100 times, excluding "no" and "fixme":
And the resulting list: 'supermarket', 'convenience', 'clothes', 'bakery', 'hairdresser', 'car_repair', 'car', 'kiosk', 'doityourself', 'butcher', 'florist', 'mall', 'bicycle', 'furniture', 'alcohol', 'books', 'electronics', 'shoes', 'department_store', 'yes', 'hardware', 'jewelry', 'optician', 'chemist', 'gift', 'garden_centre', 'greengrocer', 'mobile_phone', 'beverages', 'computer', 'beauty', 'sports', 'laundry', 'toys', 'confectionery', 'travel_agency', 'stationery', 'hifi', 'motorcycle', 'variety_store', 'newsagent', 'dry_cleaning', 'vacant', 'pet', 'car_parts', 'boutique', 'outdoor', 'tyres', 'video', 'deli', 'copyshop', 'estate_agent', 'funeral_directors', 'music', 'fishmonger', 'art', 'organic', 'fabric', 'general', 'photo', 'pharmacy', 'second_hand', 'kitchen', 'tailor', 'farm', 'seafood', 'tobacco', 'charity', 'massage', 'paint', 'musical_instrument', 'interior_decoration', 'trade', 'energy', 'antiques', 'insurance', 'erotic', 'ticket', 'tattoo', 'hearing_aids', 'frame', 'bed', 'wine', 'curtain', 'pawnbroker', 'carpet', 'food', 'ice_cream', 'grocery', 'baby_goods', 'bookmaker', 'betting', 'cosmetics', 'glaziery', 'bathroom_furnishing', 'fish', 'tea', 'winery', 'fashion', 'shoe_repair', 'photo_studio', 'solarium', 'craft', 'medical_supply', 'locksmith', 'hunting', 'cheese', 'perfumery', 'market', 'bag', 'coffee', 'household', 'discount', 'radiotechnics', 'money_lender', 'gas', 'other', 'appliance', 'wholesale', 'herbalist', 'lottery', 'fishing', 'vacuum_cleaner', 'video_games', 'communication', 'bags', 'houseware', 'builder', 'gallery', 'hobby', 'shopping_centre', 'salon', 'office_supplies', 'pets', 'musical_instruments', 'watches', 'dive', 'furnace', 'scuba_diving', 'gambling', 'leather', 'photography', 'pottery', 'motorcycle_repair', 'printing', 'medical', 'lighting' Concerning 'erotic', I really don't see a good reason for excluding it. We've included rarer shops and I don't feel like opening Pandora's Censorship Box. People who are shocked by such shop should lobby them out of the neighborhood instead of out of the map. |
2013/8/29 vincentdephily [email protected]
yes, I copied those of the less used values that seemed not to be disputed Some of the often used values aren't unambiguous or are unsuitable or
I went without real systematics, looking to add some of the values I I agree that 100 seems a better limit than 1000. cheers, |
Some comments on some your tags:
I think I agree with the rest of your points. If I have some time next month, I might try to adapt the wiki to the current situation and perhaps even discuss with the community on how to settle on some of the disputed tags. I have tagged all missing shops in Luxembourg-city, so I have a quite good of the problems currently encountered when tagging. |
2013/8/29 math1985 [email protected]
but there are also others that sell household appliances (vacuumcleaners, cheers, |
Here is a folder that gives an overview of what Dutch household shops sell: |
2013/8/29 math1985 [email protected]
yes, I'd say this is a kind of a department store, they have a bit of cheers, |
So, since it seems like this needs a larger discussion, I've created a wiki page: http://wiki.openstreetmap.org/wiki/Users:Oddityoverseer/Shops_to_Render The page explains itself. |
Good idea. I added a section for tags under discussion on the page. This is an example of the household shop I mentioned: http://www.ijsselmonde-online.nl/nex/sites/default/files/profielen/Virano/blokker.jpg |
In the interest of getting something merged in the near future, It would be prudent to just pick some threshold on the taginfo (1000, 200, 100, I don't care which), and render things above that limit, unless we know for sure a tag should not be rendered (like no, vacant, etc). Then let the refinements to the initial list be different pull requests. I could see this turning into a bunch of long "conversations" as people lobby for and against specific tags. Lets not let perfect get in the way of good. |
In this case I was thinking of large appliances, white & brown goods (resp. Washing Machines, Fridges, Dishwashers vs. TVs, HiFis ...), rather than smaller appliances. There may be some ambiguity in how these different shops are tagged. My case is really that we can recognise a relatively small number of categories to simplify rendering and other processes such as finding a suitable tag: it's perhaps a bit harder to decide exactly what belongs in each category. (I thought easily my most controversial assignment was shop=bicycle to hobby :-). |
2013/9/13 SK53 [email protected]
I see. My comment was because some time ago I was looking for a tag for a |
I think |
While I agree in many cases, I'm not sure that is an issue here. If someone tags as those they're getting feedback by the use of a generic icon instead of the supermarket/bakery. We'd also be encouraging inappropriate tagging still. Picking a random local example, take shop=locksmith. It's low enough usage that it hasn't fallen into any of the lists so by not having it render. On the other hand, this doesn't exactly help the proliferation of shop values. |
I like the idea of multi-purpose icon, although this might be out of scope for this bug. I dont think that we should try to de-bias / normalize the data :
|
@pnorman re including rare values VS excluding bad values : I think the proposed threshold of 100 is good for a start (come on, merge that already ! :p). If we've got more time later, we can lower the threshold and sift through the values. I also think, if that wasn't clear already, that we shouldn't commit the list of values but rather the script that generates it (fetching from taginfo and applying a blacklist). I know this style is currently a list of static files and no Makefile, but I think the change would be worth it. |
@pnorman agreed completely. Setting a threshold encourages mapping to the rendering. I'll admit I've even remapped a greengrocer as a convenience just to get it to show up (sorry). And I searched hard to find a suitable rendered tag that would work for produce stands before filing https://trac.openstreetmap.org/ticket/3906 . Thus I'd say:
I think it's up to editing tools to discourage 'shope=spuermarket'. In general I would appreciate, not be annoyed, by a prompt 'spuermarket has not been used yet, did you mean supermarket?'. If the objection raised by @gravitystorm on exclusions is too strong, then put shop= on some sort of cron tagwatch process that looks for new tag values, and assigns http://maproulette.org/ tasks to go in and see if they can be made more regular. Let's also not forget about the semicolon (e.g. shop=guns;alcohol at http://taginfo.openstreetmap.org/search?q=+shop%3Dguns%3Balcohol ). ++++++++++++++++++++++ There's a relationship here with what the Open Directory Project does in categorizing physical locations, but that project is not nearly as vibrant as OSM. That said, they vet the website portion of local shop listings and have an insanely strict ontology at places like: |
I thought this was considered a feature request and therefor needed to wait until the re-factoring/bug fixing is complete. |
@jremillard is it not always appropriate to discuss, even if implementation is delayed? |
Rendering shops could make it just a tad harder for people wanting to spam online shops into OSM: |
please cleanup the shop=fish things in the list. The "right" Tag is |
Hi, any development on this? |
I think this is a very important issue, and I would like to see this implemented as soon as possible. I don't know if @oddityoverseer13 is around, but if not, I'm sure someone else can take over. @gravitystorm Would you be willing to merge this (once a suitable pull-request has been created) before we are at the 'add new features' stage? Out of all missing features, I think this is one of the most desirable ones, |
Sure |
Just to update this issue, I have created a new pull request #604 that has the changes mentioned. See the PR for more info. |
Looks great! I tested this in Tilemill and checked the code, and don't see any problems, so I recommend this to be merged. |
Closed by #604. |
https://trac.openstreetmap.org/ticket/3043
I'm working on this right now. I will submitting a pull request shortly.
The text was updated successfully, but these errors were encountered: