-
Notifications
You must be signed in to change notification settings - Fork 819
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
inconsistent amenity / landuse/highway services name display #1118
Comments
Can't reproduce - the name 'Chef Express' does not appear at z17 for me. |
2014-11-10 12:46 GMT+01:00 math1985 [email protected]:
maybe a caching issue (you may have gotten a tile from another tileserver, |
btw., now I also got to see the old tile (for the same address). You can |
I see it now. The rendering order if: first icons from large to small areas, than text from large to small areas. On z17, the Magliana text cannot be rendered because it would overlap with the icon. The Chef Express text does fit as it is rendered slightly lower than the Magliana text. On z18, the Magliana text fits, but then the Chef Express text doesn't fit anymore. Not sure if this is a bug? |
2014-11-10 13:17 GMT+01:00 math1985 [email protected]:
IMHO we should enable flexible text positioning for areas bigger than x in |
Is there a way to accomplish that in Mapnik? |
That's actually #1069. |
2014-11-11 1:32 GMT+01:00 math1985 [email protected]: This aside (which would be beneficial IMHO), we could also think of |
Hmm, I don't think hiding POI icons in order to render an area name is an improvement. It's not clear here what the bug or solution is, so I will close this issue. I would be happy to discuss concrete solutions - feel free to create a new issue for them. |
2014-12-08 19:17 GMT+01:00 math1985 [email protected]:
using something like placement-type="simple" for the area-label would enable flexible positioning and could help in |
I tried but I didn't get that work. Not sure if it works for anyone else? |
2014-12-17 17:45 GMT+01:00 math1985 [email protected]:
works for me on mapnik 2.2.0, but I am not using Carto but XML styles, |
@dieterdreist Could you give me an XML style file that works? Carto generates XML styles, so in principle it shouldn't matter. |
@systemed, you know of a hacky way to get placements into CartoCSS, right? |
I do, but I stole it off @gravitystorm: mapbox/carto#238 |
@math1985 Have you added the dx/dy properties too? Here is an example that works: https://github.com/yohanboniface/transilien-network-carto/blob/master/style.mss#L129 in case it helps |
2015-01-25 20:40 GMT+01:00 math1985 [email protected]:
sorry for replying late, I had overlooked this issue. I really don't do
fill="rgb(240,241,241)" wrap-width="20" placement-type="simple" |
At this location the right POI (Chef Express) is shown in z17 hiding the name of the services area ("Magliana"): http://www.openstreetmap.org/#map=17/41.81916/12.40550
But at zoom 18 and 19 it is the contrary: http://www.openstreetmap.org/#map=18/41.81954/12.40551
(in z19 the other POI name is omitted in favor of "Magliana").
You can see by looking at the z17 for the other direction that the name of the services area would be displayed in z17 as well...
The text was updated successfully, but these errors were encountered: