Skip to content
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

Add shops from osm.org and iD #1447

Merged
merged 3 commits into from Dec 12, 2017
Merged

Add shops from osm.org and iD #1447

merged 3 commits into from Dec 12, 2017

Conversation

pnorman
Copy link
Collaborator

@pnorman pnorman commented Dec 3, 2017

  • Update tests
  • Update data migrations
  • Update docs

This is a big part of #1425

@@ -1360,8 +1360,11 @@ filters:
<<: *output_properties
kind: cycle_barrier
- filter:
shop: [bakery, books, butcher, car, car_repair, clothes, computer, convenience,
fashion, florist, gift, greengrocer, hairdresser, jewelry, mobile_phone, optician, pet]
shop: [art, bakery, beauty, books, butcher, car, car_repair, clothes,
Copy link
Member

@nvkelso nvkelso Dec 4, 2017

Choose a reason for hiding this comment

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

shop=coffee and shop=deli seem more like amenity=cafe and should get that min_zoom range.

shop=variety_store and shop=furniture and shop=shoes seems more like craft: [brewery, carpenter...] and should get that min_zoom range. Even though this has been around awhile, shop=pet should also be in this set.

I'm fine with the rest being min_zoom: 17.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

shop=variety_store and shop=furniture and shop=shoes seems more like craft: [brewery, carpenter...] and should get that min_zoom range. Even though this has been around awhile, shop=pet should also be in this set.

I'm making the changes, but craft is a bit of a weird thing in OSM, and a better word would probably have been trade. I don't see the craft values and those shop values forming much of a coherent set - some are places a customer goes to buy stuff, others don't interact directly with customers at their locations.

@pnorman
Copy link
Collaborator Author

pnorman commented Dec 4, 2017

Pushed in a missing file, haven't handled the review comments yet

@pnorman pnorman force-pushed the 1425_shops branch 2 times, most recently from fac4149 to 1f05da5 Compare December 8, 2017 23:58
@pnorman
Copy link
Collaborator Author

pnorman commented Dec 9, 2017

Everything should be good, and PEP style issues are fixed.

Copy link
Member

@nvkelso nvkelso left a comment

Choose a reason for hiding this comment

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

LGTM.

Noting here there are other features to add from #1425 but those will come in next PR.

@pnorman pnorman merged commit a9ae281 into tilezen:master Dec 12, 2017
@pnorman pnorman deleted the 1425_shops branch December 14, 2017 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants