-
Notifications
You must be signed in to change notification settings - Fork 831
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
Non-capital=yes values #522
Comments
Previously we had one place layer for capitals and one for non-capitals when it came to towns and cities. This combines them, reducing the number of queries, making the SQL simpler, and making the layers more useful for other styles. Incidentially fixes gravitystorm#522
agree. Would prefer the numbers-variant (allows for automatic evaluation of |
I can agree with including down to 6, because that includes districts or regions that could still have a capital. Definitely not lower, though. |
There is also a long discussion on this topic on the talk mailing list now. Maybe @dieterdreist can liaise? |
yes, it's used to mark the administrative importance / the main place for an administrative entity. |
@pnorman Does this differ from |
The query planner will optimize |
* Don't render place=town on z16 and higher, and place=suburb and place=village on z17 and higher. * Render place=hamlet, place=locality, place=neighbourhood, place=quarter, place=isolated_dwelling, and place=farm from z15 rather than from z14 (resolves gravitystorm#948). * Render place=town black rather than gray. * Make font sizes more consistent by increasing font size for place=town on z12 and z13, for place=suburb on z16, and for place=village on z14 and z16 (resolves gravitystorm#734, resolves gravitystorm#1204). * Add rendering for place=block and place=city_block (resolves gravitystorm#107). * Add rendering for place=quarter (like place=neighbourhood) and place=borough (like place=suburb, resolves gravitystorm#798). * Treat capital=4 like capital=yes (resolves gravitystorm#522). * Make text-wrap consistent.
* Don't render place=town on z16 and higher, and place=suburb and place=village on z17 and higher. * Render place=hamlet, place=locality, place=neighbourhood, place=isolated_dwelling, and place=farm from z15 rather than from z14 (resolves gravitystorm#948). * Render place=town black rather than gray. * Make font sizes more consistent by increasing font size for place=town on z12 and z13, for place=suburb on z16, and for place=village on z14 and z16 (resolves gravitystorm#734, resolves gravitystorm#1204). * Treat capital=4 like capital=yes (resolves gravitystorm#522). * Make text-wrap consistent.
* Don't render place=town on z16 and higher, and place=suburb and place=village on z17 and higher. * Render place=hamlet, place=locality, place=neighbourhood, place=isolated_dwelling, and place=farm from z15 rather than from z14 (resolves gravitystorm#948). * Render place=town black rather than gray. * Make font sizes more consistent by increasing font size for place=town on z12 and z13, for place=suburb on z16, and for place=village on z14 and z16 (resolves gravitystorm#734, resolves gravitystorm#1204). * Treat capital=4 like capital=yes (resolves gravitystorm#522). * Make text-wrap consistent.
We currently check for
capital='yes'
on #placenames-capital, but this doesn't match capital=4. We should probably check either forcapital = ANY (ARRAY['1','2','3','4','yes'])
orcapital IS NOT NULL AND capital != 'no'
(note: is the NOT NULL check necessary, or implied by the inequality check?)
The text was updated successfully, but these errors were encountered: