-
Notifications
You must be signed in to change notification settings - Fork 823
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
place=square label display should not depend on way_area without visual feedback on the geometry #4043
Comments
The size is reflected now and it one of the important features of the geometry. |
Please see the links provided for past discussion. way_area is not a feature of the geometry, it is a quantity derived from the geometry. Completely different geometries can result in the same way_area value. Making rendering decisions based on way_area without providing visual feedback on the polygon geometry incentivizes free form polygon drawing for the purpose of manually tagging way_area as a means of manually drawing labels. This is something we should not support. |
So is the center (centroid) of the objects (the rule "completely different geometries can result in the same [centroid]" applies here as well). Unfortunately, this is much more subjective than size - there is exactly one size of object, but there can be many different centroids for exactly one object.
We do this for forests IIRC and I think that makes sense. |
I am sorry but i completely fail to see your point beyond whataboutism/deflection. |
OK, let me rephrase then - I think that showing more objective property has more justification than more subjective ones. Also I consider using words "whataboutism", "deflection" and so on is judgemental and conflicts with the code of conduct. If you don't think so, try applying this or similar words to your way of reasoning and check if it would be OK for you. For me it's definitely not. |
I still fail to see your point. That you disagree with the principle i outlined is obvious - after all you made the change causing this issue as well as other ones coming with the same problem (most notably the bays and straits). But all of these changes were made without consensus. Now you will need to provide arguments and reasoning to convince others that this is a good idea. And as much as i try to i fail to see convincing arguments. And i am glad any time to get critical feedback if my comments are perceived to be deflecting/off-topic/non-constructive. |
When in doubt, please use the same words you usually use for your own actions - "consistency" comes to my mind (I hope this can help you understand my reasoning here?), but I prefer avoiding any judgmental words. |
That is incorrect. The problem here is that place=square does not have an outline or area fill rendering. The whole area of a In the past we rendered tourism=attraction features based on way area without showing an outline or fill. This sometimes led to very large labels in bright pink at mid zoom level, but the problem was fixed by PR #3603 "Reducing priority of tourism=attraction and rendering from z17". We can fix this problem with place=square by rendering it in Of course mappers will continue to be able to tag a multipolygon or closed way with |
Please assume goodwill. We should not speculate that another contributor is using "deflection" or "whataboutism" when it is possible that they are simply confused or do not understand the issue. |
@imagico are you suggesting removing the rendering of areas with |
This issue is about removing the way_area based rendering rules. Since #2673 was merged without consensus newly evaluating the use of the tag and overlap with other tags might be in order. Considering rendering it with feedback on the geometry might also be worthwhile. What should definitely be changed is rendering of nodes and polygons in different layers with very different priorities - that is highly confusing both for mappers and style developers. Regarding starting zoom level - this needs to be looked at in relation to other features - junction names are currently rendered starting at z15 for example but with a lower priority than place=square nodes. amenity-points with all the POI symbols is in priority between the place=square nodes and the place=square polygons meaning that symbols turning up at z16/17 will displace labels of large place=square polygons starting already at z15 while labels of place=square nodes will displace POI symbols already visible at z16 when they show up at z17. |
Sure, we can. This is a small scale feature (definitely smaller than neighborhoods for example), so I see no general issue with doing so. For consistency, I would check how the rendering of pedestrian areas work, since this should be no difference if the square is purely pedestrian area or some more complex object.
This is exactly what raises suspicion and what leads to checking. And we have really efficient object inspection tool I usually use for checking suspicious things and it works good most of the time (excluding some timeouts, which are too frequent recently). I'm foreign to iD, but JOSM is showing it too (like many other details). In my opinion this style shouldn't be a replacement for all the tools we have in OSM. |
OK, I made a PR to fix this, but in testing it I've realized that the tag The PR would have changed the initial zoom level to z17 for areas of any size, as with nodes previously, and changes rendering layer to amenity-points instead of placenames-small for proper priority, with a halo and text like other small placenames (e.g. locality, neighborhood). I made a large number of test images before realizing I couldn't find a good place to test it. Rarely it is used as described on the wiki page to map a large public market square from pre-modern times, including the streets and sharing nodes with surrounding buildings, or sometimes as a node in the same sort of place. These were hard to find even in old European towns, since highway=pedestrian is much more commonly used for this and the text label looks quite similar (Or identical with the current rendering). Some also have amenity=marketplace (the usually original purpose of a square in Europe). But often it is added to a highway=pedestrian or leisure=park feature, or duplicates an existing pedestrian or park area with a slightly different geometry. Often it is used the same as highway=pedestrian areas to specifically mark open pedestrian spaces, though in all cases the pedestrian area tag is more common. In other countries it is used for small areas between buildings, in schoolyards, in military areas, or inside of parks which are mainly hardscaped. The more common method for this is highway=pedestrian though many are untagged. Examples from PR tests:Singapore Brasilia, Brazil
Brasilia - Plaça Xandrez
Brasilia - Plaça Povo
Bremenhaven, Germany
Bremenhaven, Germany
|
Singapore, again:
Kaliningrad, Russia: A place=square rectangle between buildings in a rural area, contains dirt and trees? Small place=square area in a forest next to a military area. Not sure what this is, but it's not a square: Kalininplatz square:
Kaliningrad place=square between a pitch and school buildings in a schoolyard: There are 3 or 4 examples just like this in Kaliningrad, where there are 1 or 2 leisure=park areas with a name, and then a larger place=square which includes them and streets: Groningen, Netherlands:
The big market in the center of the city, also tagged as highway=pedestrian and mapped as a multipolygon: Square in a school yard in Groningen province: https://www.openstreetmap.org/#map=18/53.385714/6.2606129
Clearly, most of the features with place=square can be (or already are) mapped with highway=pedestrian or leisure=park or amenity=marketplace, and the rest are a mix of mistagged features or vaguely drawn areas. Only a minority fit the traditional definition of a town square, and all of these could be mapped with highway=pedestrian areas or as marketplaces or parks. |
I stopped making images, but here is my analysis of the use of place=square in 8 places in North America, South America, Europe and Asia: Luxembourg:17 place=square (compare to 210 highway=pedestrian areas, 75 with names) 12 named, 5 unnamed Groningen:6 areas with place=square Kaliningrad:3 squares bisected by roads, which are also mapped as 1 or 2 separate leisure=park areas Singapore:1 “Performing stage” (name) in a park between playgrounds
Brasilia:16 with name (always including “plaça”, “plaçinha” or “parque” - plaza, little plaza, or park (2))
Brussels:86 squares (compare to 169 highway=pedestrian areas, 113 named) San Francisco, California:19 place=square (By comparison, there are 83 highway=pedestrian closed ways in San Francisco, 25 with names.)
Buenos Aires, Argentina:8 place=square, all areas, no other tags. (In contrast, there are 43 highway=pedestrian closed ways)
So Brussels was the only city where more than half of place=square features were used for a town square, but even there the mapping is inconsistent. |
Does anyone want to comment on the analysis above? I'm trying to decide if we should continue to render place=square, even though it is not well defined. |
In my own experience most of the time place=square is either used alone in places that are not squares be co-tagged with things like leisure=park where the object "might" be a square if your stretching the definition, but it's actually more a park. The few examples you provided from the bay area are ones that comes to do mind. I think the only place where it actually works are traditional squares in European countries, but there aren't many of them and it's not how the tag is being used anyway. So, I'd go with removal of place=square rendering. |
jeisenbe wrote:
It surprises me that we adjust the rendering style to the accidental mistakes a new mapper might make. I have no idea what "alt-ctrl enlarge" action you refer to.
one feature - one OSM object would solve the problem. Tagging issue that can be fixed.
The typical square I have in mind is a composition of roads, pedestrian areas and park elements. None of the individual elements is "the square".
If things are mistagged contrary the definition, the tagging should be corrected, not the style.
Nothing odd, one is the formal name of the square, the marketplace is named after the weekly event that is held on the square.
leisure=schoolyard was proposed for that.
No, as said above these might be elements of the square, but often not the square itself. Adamant36 wrote:
Strongly against. Improvements in size-dependent rendering, yes of course. |
I would like to keep the discussion on the specific matter of this issue separate from the evaluation of label rendering of place=square in general. This issue would still require fixing even if place=square was used perfectly consistently according to a universally accepted verifiable definition. I opened a new issue for re-evaluating the label rendering for place=square in general: #4084. |
It would be good if the name of a square won't render on a building. |
As said in the subject - polygons tagged
place=square
are rendered depending on way_area - seeopenstreetmap-carto/roads.mss
Lines 3307 to 3309 in e7de1cd
without there being any visual feedback on the geometry.
Introduced in #2673, see also #2673 (comment), #2700 (comment).
Side note: The whole rendering of place=square with nodes in
placenames-small
and polygons inroads-area-text-name
is confusing and difficult to maintain.The text was updated successfully, but these errors were encountered: