amenity=cinema name is not rendered when it contains a space #2211
Comments
Author: smsm1 This is probably an issue with the collision detection, which will mean that if there is other text around, that will get priority in the rendering. |
Author: fiveisalive I'm seeing a similar issue with amenity=pharmacy (and actually all amenity= tags) where for new nodes, the name isn't be rendered at all, even when there is plenty of space and no text in the area: |
Author: Ldp The 2 specific example nodes above have been deleted. For Odeon Mezzanine and Odeon West End, it can be explained by collisions, as smsm1 noted. |
Author: fiveisalive Replying to [comment:3 Ldp]:
I deleted my one during in testing and regenerated it to force rendering. Here it is again: http://www.openstreetmap.org/browse/node/478656133 Note that it appears without a name (even though very short "CVS") in the maximum zoom (z18), but the name appears at z17. Odd. |
Author: Ldp I increased the text offset from the pharmacy icon by another pixel. I can't explain why it would not show in z18 which has the same icon and offset as z17, but there you have it. Should be showing once deployed on the tile server. |
Author: Geochang scribe I changed my cinema (I am the OP) to a building. Now it is rendered as a building outline with text at level 17 http://www.openstreetmap.org/?lat=35.68741&lon=127.91181&zoom=17&layers=B000FTF But as a building outline with an icon and no text at level 18 http://www.openstreetmap.org/?lat=35.68741&lon=127.91181&zoom=18&layers=B000FTF I don't mind too much, as the information is visible under various conditions, but still, a little odd? |
Author: Ldp Not at all. The various other symbols around that cinema prevent the name from showing up at certain zoom levels. It's a generic issue that is impossible to avoid in densely mapped areas. |
Reporter: Geochang scribe
[Submitted to the original trac issue database at 3.38am, Saturday, 22nd August 2009]
...at least, that's what I thought the problem was.
This cinema was rendered at only the highest zoom level, but only as an icon without its name, when the name was "GoShen Cinema".
[http://www.openstreetmap.org/browse/node/462183755]
I visited a map of Leicester Square, because there are lots of cinemas there. I was convinced that "Empire" rendered, but "Odeon Leicester Square" did not. "Empire" has no spaces.
[http://www.openstreetmap.org/?lat=51.510267&lon=-0.129524&zoom=18&layers=B000FTFT]
I assumed that the space in the name was causing a bug in the renderer. I removed the space and waited a little, and the name "GoShen" was rendered properly. However, now when I go back to Leicester Square I still see some cinema names are rendered, and some are not, but some of the names that are rendered include spaces. This may be because the Leicester Square cinemas are visible at the highest and second-highest zoom levels, but 'my' cinema is only visible at the highest level.
At the time of writing "Empire" and "Odeon Leicester Square" names are rendered at the highest zoom level. "Odeon Mezzanine" and "Odeon West End" names are not (the icons are).
Anyway, I edited the name again to "GoShen Cinema" and now the name is not rendered.
I hope this contains enough information to track down the bug.
Thank you.
The text was updated successfully, but these errors were encountered: