Skip to content
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

Positron loading issue in Maplibre #100

Merged
merged 1 commit into from
May 8, 2024
Merged

Positron loading issue in Maplibre #100

merged 1 commit into from
May 8, 2024

Conversation

vycius
Copy link
Member

@vycius vycius commented May 7, 2024

Problem

When attempting to open Maputnik with the style URL https://basemap.startupgov.lt/vector/styles/positron/style.json, an error occurs. The same error occurs with Maplibre.

Error Screenshot

Solution

The issue seems to stem from complications with the Metropolis glyphs. Although attempting to regenerate them using https://maplibre.org/font-maker/, the problem persists. Therefore, a straightforward resolution would be to entirely remove the Metropolis font from the Positron style.

Copy link

github-actions bot commented May 7, 2024

[m[0m0:05:49 DEB [archive] - Tile stats:
[m[0m0:05:49 DEB [archive] - Biggest tiles (gzipped)
1. 14/9280/5189 (64k) http://localhost:8080/styles/bright/#14.5/54.9082/23.91724 (building:50k)
2. 14/9281/5192 (60k) http://localhost:8080/styles/bright/#14.5/54.87028/23.93921 (building:48k)
3. 9/292/161 (59k) http://localhost:8080/styles/bright/#9.5/55.17836/25.66406 (landcover:37k)
4. 14/9278/5196 (57k) http://localhost:8080/styles/bright/#14.5/54.81968/23.87329 (building:48k)
5. 9/292/160 (57k) http://localhost:8080/styles/bright/#9.5/55.57784/25.66406 (landcover:35k)
6. 9/287/159 (55k) http://localhost:8080/styles/bright/#9.5/55.9733/22.14844 (landcover:33k)
7. 9/291/162 (54k) http://localhost:8080/styles/bright/#9.5/54.77484/24.96094 (landcover:28k)
8. 14/9263/5117 (54k) http://localhost:8080/styles/bright/#14.5/55.80746/23.5437 (building:39k)
9. 8/145/81 (53k) http://localhost:8080/styles/bright/#8.5/54.57002/24.60938 (landcover:32k)
10. 14/9162/5132 (53k) http://localhost:8080/styles/bright/#14.5/55.62179/21.32446 (building:42k)
[m[0m0:05:49 DEB [archive] - Max tile sizes
                      z0    z1    z2    z3    z4    z5    z6    z7    z8    z9   z10   z11   z12   z13   z14   all
           boundary  382   448   565   833   894  3.7k  5.8k  5.3k  3.2k  2.5k  1.8k  2.2k  1.7k  1.6k  1.4k  5.8k
              place  530   452   452   452   910   910  4.8k  4.8k  3.8k  1.4k   591   551  7.3k  2.6k   974  7.3k
     transportation    0     0   491   753  3.3k  5.6k  9.9k   13k   19k   10k  8.9k   13k   14k   10k    7k   19k
              water    0     0    61    70    98   261    2k  5.2k   14k   15k   11k  9.6k  7.4k  5.2k  6.2k   15k
          landcover    0     0     0     0     0     0   879   18k   32k   37k   27k   24k   26k   19k   15k   37k
         water_name    0     0     0     0     0     0   209   242   299   381   455   415    1k  1.3k  1.9k  1.9k
            landuse    0     0     0     0     0     0     0    99   144   364  5.5k   17k   12k   10k   10k   17k
transportation_name    0     0     0     0     0     0     0  2.5k  1.3k  2.3k  1.1k  1.7k  5.6k  2.8k  7.5k  7.5k
    aerodrome_label    0     0     0     0     0     0     0     0   284   209   271   271   209   209   182   284
           waterway    0     0     0     0     0     0     0     0     0   27k   14k   11k  8.5k  5.5k  3.4k   27k
            aeroway    0     0     0     0     0     0     0     0     0     0  1.2k  1.5k  1.3k  1.8k  1.5k  1.8k
               park    0     0     0     0     0     0     0     0     0     0     0     0  9.8k  6.1k  3.5k  9.8k
                poi    0     0     0     0     0     0     0     0     0     0     0     0    6k  2.8k  1.4k    6k
           building    0     0     0     0     0     0     0     0     0     0     0     0     0   33k   50k   50k
 forest_compartment    0     0     0     0     0     0     0     0     0     0     0     0     0  5.7k  4.3k  5.7k
        housenumber    0     0     0     0     0     0     0     0     0     0     0     0     0     0   17k   17k
              power    0     0     0     0     0     0     0     0     0     0     0     0     0     0   592   592
          full tile  912   900  1.5k  2.1k  5.1k   10k   23k   49k   67k   76k   49k   44k   60k   63k   83k   83k
            gzipped  545   573    1k  1.5k  3.8k  7.8k   17k   37k   53k   59k   39k   36k   42k   50k   64k   64k
[m[0m0:05:49 DEB [archive] -    Max tile: 83k (gzipped: 64k)
[m[0m0:05:49 DEB [archive] -    Avg tile: 21k (gzipped: 17k) using weighted average based on OSM traffic
[m[0m0:05:49 DEB [archive] -     # tiles: 51,888
[m[0m0:05:49 DEB [archive] -  # features: 14,002,285
[m[0m0:05:49 INF [archive] - Finished in 1m54s cpu:7m29s gc:4s avg:3.9
[m[0m0:05:49 INF [archive] -   read    1x(1% 1s wait:1m43s done:10s)
[m[0m0:05:49 INF [archive] -   encode  4x(88% 1m41s done:1s)
[m[0m0:05:49 INF [archive] -   stats   1x(0% 0.5s wait:1m53s done:1s)
[m[0m0:05:49 INF [archive] -   write   1x(1% 0.9s wait:1m52s done:1s)
[m[0m0:05:49 INF - Finished in 5m48s cpu:20m1s gc:8s avg:3.4
[m[0m0:05:49 INF - FINISHED!
[m[0m0:05:49 INF - 
[m[0m0:05:49 INF - ----------------------------------------
[m[0m0:05:49 INF - data errors:
[m[0m0:05:49 INF - render_snap_fix_input137,368
[m[0m0:05:49 INF - merge_snap_fix_input39
[m[0m0:05:49 INF - ----------------------------------------
[m[0m0:05:49 INF - overall  5m48s cpu:20m1s gc:8s avg:3.4
[m[0m0:05:49 INF - download 1s cpu:3s avg:2
[m[0m0:05:49 INF -   download-ar_chunk-downloader  1x(43% 0.6s)
[m[0m0:05:49 INF - grpk     3m39s cpu:11m57s gc:3s avg:3.3
[m[0m0:05:49 INF -   read     1x(36% 1m20s wait:2m24s done:2s)
[m[0m0:05:49 INF -   process  3x(88% 3m14s wait:12s done:2s)
[m[0m0:05:49 INF -   write    1x(2% 4s wait:3m33s done:2s)
[m[0m0:05:49 INF - ar       8s cpu:17s avg:2.2
[m[0m0:05:49 INF -   read     1x(96% 7s)
[m[0m0:05:49 INF -   process  3x(40% 3s wait:6s)
[m[0m0:05:49 INF -   write    1x(3% 0.2s wait:7s)
[m[0m0:05:49 INF - sort     6s cpu:14s avg:2.5
[m[0m0:05:49 INF -   worker  1x(49% 3s wait:2s)
[m[0m0:05:49 INF - archive  1m54s cpu:7m29s gc:4s avg:3.9
[m[0m0:05:49 INF -   read    1x(1% 1s wait:1m43s done:10s)
[m[0m0:05:49 INF -   encode  4x(88% 1m41s done:1s)
[m[0m0:05:49 INF -   stats   1x(0% 0.5s wait:1m53s done:1s)
[m[0m0:05:49 INF -   write   1x(1% 0.9s wait:1m52s done:1s)
[m[0m0:05:49 INF - ----------------------------------------
[m[0m0:05:49 INF - archive330MB
[m[0m0:05:49 INF - features918MB
[m

@vycius vycius merged commit 575a894 into main May 8, 2024
10 checks passed
@vycius vycius deleted the positron-loading-issue branch May 8, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants