NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have forked openstreetmap-carto project and create my own tile style.
I try to enlarge street name for specific zoom, but it seems that max pixel value of text-size: is around 20 (I write 'around' because it's hard to see differences between 1 or 2 pixels height).
I thought maybe road width value is a "top border" which limits size, but even if I increase that value, street name stays the same.
I edit pure .mss styles files, and I didn't find anything related to this limitations.

What I tried is:
[zoom >= 19] { text-size: 23; }
Is it some global limitation of Mapnik or it may be related to other values?

asked 16 Mar '21, 17:00

engopy's gravatar image

engopy
126101015
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×341
×287
×204
×22

question asked: 16 Mar '21, 17:00

question was seen: 823 times

last updated: 16 Mar '21, 17:00

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum