This object is in archive! 

Trail names not displayed until very high zoom levels?

Steven Winsor shared this question 9 years ago
Answered

The vector map I downloaded from locus, as well as one that I downloaded from openandromaps.org, have hiking trails that don't show their names on the map until zoom level 18 or 19. But the trails are very clear on my screen by zoom level 16 or 17, and by 18/19 it's quite too close in.


I checked the theme file I'm using, but there are caption rules going down to zoom level 12. What controls the level at which the trail name is displayed, if not the theme file?

Replies (7)

photo
1

Hello Steven,

the captions are really defined using the theme file. But honestly rendering the captions is limited for vector maps in Locus. The algorithm that render the texts is quite tricky and some captions are not rendered. Fro example due to collision with another caption. On other side there can be some issue in your theme.

I don't know which theme do you use. Locus internal themes show properly the codes of hiking paths (ref) according to theme file.


Best regards

Petr

photo
1

It's the same whether I use the internal hiking theme, or the ElevateXL hiking theme from openandromaps.org .

photo
1

I'm worry that we won't be able to fix it. However would you please send me screenshot of some complicated area with GPS coordinates and the name of the map. I'll check the map and theme.

photo
1

Here's a screenshot of a point between Tenaya Lake Trail and Tioga Pass Road, zoom level 18, where there's lots of screen real estate for both roads but neither of them are labeled. GPS coordinates are shown in the second pic. This is the downloaded California vector map from openandromaps.org using the built-in Hiking theme. (It's almost the same picture with the California vector map from the Locus store.)

photo
1

Hello Steven,

thank you for sreenshot. Unfortunately this issue is quite complicated for us. Our library for rendering the maps is not able to "broke" text along the line. Text is shown only along the straight elements of the line (straight line between two nodes). For this reason is text shown only in detailed zoom level where is line element to long that name is printed. Well we'll try to focus on in it but it's quite tricky.

Thank you for understanding

Best regards

Petr

photo
1

This is supposedly useful for hiking ... but it will only work with straight lines?

photo
1

I hope that I described issue correctly in my last comment.Locus is able to place text along straight line at this moment. See for example some street name. But in optimal situation it should be able to show text along any type of line - eq. rounded or complex line. This is task we need to focus on.

Thank you

Petr

Replies have been locked on this page!