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

Resolve bugs related to COALESCE problems #1349

Merged
merged 2 commits into from
Mar 13, 2015

Conversation

matthijsmelissen
Copy link
Collaborator

@matthijsmelissen matthijsmelissen force-pushed the coalesce-problems branch 2 times, most recently from 4a3dfaf to 4933cdb Compare March 4, 2015 13:23
@pnorman
Copy link
Collaborator

pnorman commented Mar 9, 2015

image
[old | new]
http://www.openstreetmap.org/node/960913460 with amenity=post_office and shop=variety_store

Mismatch between icon (post office) and text (shop)

* Make sure conditions are checked in both WHERE and COALESCE
  Checking the condition in the WHERE class is necessary for performance.
  Checking the condition in the COALESCE is necessary to prevent unrendered tags
  blocking rendering of tags further down in the COALESCE.
  See also the discussion [here](gravitystorm#1038 (comment)).

  This is an improvement of gravitystorm#1038.

  This resolves gravitystorm#985, resolves gravitystorm#1029, resolves gravitystorm#1336.

* Give amenity priority over shop.

  This resolves gravitystorm#963.

* Give tourism priority over amenity, shop, leisure, landuse, man_made, natural,
  and place.

  This resolves gravitystorm#1269, resolves first issue of gravitystorm#1232.
Include values that are rendered as icon without label to prevent mismatch
beween icons and labels.
@matthijsmelissen
Copy link
Collaborator Author

Mismatch between icon (post office) and text (shop)

Fixed. We should probably additionally add labels for post offices.

@pnorman pnorman self-assigned this Mar 10, 2015
pnorman added a commit that referenced this pull request Mar 13, 2015
Resolve bugs related to COALESCE problems
@pnorman pnorman merged commit ea150dc into gravitystorm:master Mar 13, 2015
@matkoniecz
Copy link
Contributor

There is a typo in comments - 'beween' -> 'between'

@matkoniecz
Copy link
Contributor

OK, I will make a separate PR.

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