`--clip` leaves tiles outside the clip and cuts the wrong part of the sea along its edge (Planetiler tile reuse, onthegomap/planetiler#1710)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 18/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- java, javascript
- Lĩnh vực
- data-engineering, documentation
Hướng nghiên cứu
Start from the basemaps build docs for --clip, --clip_buffer and --bounds, then reproduce on a regional extract at one of the named coordinates. The failure is in Planetiler's tile post-processing (its Clip.java), linked as onthegomap/planetiler#1710; confirm the workaround by pre-cutting the land and water polygons to the clip shape. Done is either a documented note warning about --clip with a clipped shape, or a basemaps-side workaround/test if maintainers choose one.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Location
A tileset we build ourselves, clipped to Spain's land and territorial waters, so not on maps.protomaps.com (its builds are not clipped). West of El Hierro, Canary Islands: 27.75 N, 18.20 W at zoom 11 and 27.72 N, 18.32 W at zoom 13; off Huelva: 36.91 N, 6.81 W at zoom 12.
Screenshots
Before and after cutting the land and water polygons to the clip shape: land-colored blocks in the sea where tiles inside the clip were written with another tile's output.
Required information
- Browser: Chromium (Playwright 1.65.1, headless)
- Renderer version: MapLibre GL JS 6.18.0
- Tileset version and source:
tiles/at 42ffaaa (4.15.2), Planetiler 0.10.2, built with--clip=<shape.geojson> --clip_buffer=1 --bounds=<its box>over regional OSM extracts, with Overture's land and ocean polygons as--osm_land_pathand--osm_water_path. Our build patchesClip.javain two ways (the buffer in pixels, and keeping only the parts of a feature's own kind); neither changes which tiles it keeps - Style JSON or NPM version: @protomaps/basemaps 5.7.2
Description
Planetiler writes a tile whose features equal the previous tile's with that tile's output, without calling postProcessTileFeatures for it (onthegomap/planetiler#1710). Clip is a tile post-processor whose result depends on the tile, so in runs of identical ocean fills a tile outside the clip shape took a kept tile's output (464,953 of 1,424,752 tiles were sea outside the clip, a strip as tall as the bounds), and tiles inside took an edge tile's cut (about 15,000 lost part of their sea, the holes in the screenshots).
Cutting the land and water polygons to the clip shape before the build avoids it: a tile on the clip's edge then holds a piece of polygon no other tile holds, and goes through Clip. Until Planetiler changes, the --clip docs could say so. Passing the clip shape to Planetiler's --polygon would keep tiles outside it from being drawn, but it is ignored when --bounds is also set (onthegomap/planetiler#1709) and does not help the tiles on the edge.
- Ngôn ngữ chính
- Java
- Star
- 779
- Fork
- 111
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của protomaps/basemaps
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
Tất cả issue của protomaps/basemaps
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
paulpacifico/shutter-encoder#485 ·
-
ci reactjs typescript web
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
mhnuk2007/finsim#175 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
device-results
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
RamazanKara/nightjar#205 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs: README should state that Java 25 is required to buildCó thể đã có người làm @mmartofel đã nhận hôm nay. Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
piomin/ai-software-factory-showcase#82 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày