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
Added query for placename-small from the way table #427
Conversation
@chrisfleming I miss in your PR description what you are trying to achieve. I suppose it is something like 'render name of minor places only mapped as polygon'? How will this work with minor places that are mapped as both point and polygon? I don't know if there are many of these? @pnorman What do you think of this PR? |
@math1985 Yes - placenames should be rendered from closed ways as well as nodes. I was hoping to get some feedback, on this overall. There are some issues around this, I've not quite worked out how to link to them. I came across this when I did some work to define area's for various suburbs to help nominatim get the right area rather than going to the correct node. But we now have nodes and area's. At the moment names are drawn from the area, but on some of the other renders such as the opencyclemap clearly both are rendered so we have duplicate names. originally I had planned on removing the nodes, but the other option might be to write the SQL so that we can remove possible duplicates. |
This would fix #103 |
I'm probably going to reimplement like I did #538, but the SQL as written isn't ideal
Doing a A I'm skeptical about |
@chrisfleming Thank you for your effort though. |
Still think there is some work to do on this one, but I'm putting this out there for discussion.
This adds a query via a UNION to the placenames-small
I've have some things that need discussion, I've not included town or city for now a the polygon table does not include the capital column.
Also for now I have excluded landuse, as labels are already added for these, but I think I should make this the other way around.