Style: draw `kind_detail=unclassified` a little wider than other minor roads

Đang mở Phù hợp với người mới
#644 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
84/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
design

Hướng nghiên cứu

Bắt đầu trong styles/src/base_layers.ts quanh các dòng 873–906, sau đó tìm các quy tắc kiểu roads_minor và roads_minor_casing. Kiểm tra độ rộng của chúng thay đổi theo mức thu phóng như thế nào và kind_detail được sử dụng ra sao; tiles đã cung cấp kind_detail=unclassified. Hoàn thành khi các đường unclassified được hiển thị rộng hơn một chút so với các đường minor khác cùng màu, với sự khác biệt nhìn thấy được ở các mức thu phóng được nêu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hello, and thank you for Protomaps.

The tiles keep the OSM value: highway=unclassified and highway=residential both become kind=minor_road, with the original value in kind_detail. The style reads kind_detail only to separate service (base_layers.ts L873-L906), so unclassified and residential look the same.

In rural areas, unclassified is often the road between villages, and residential the streets inside them (Key:highway: "Often link villages and hamlets"). When both look the same, you can't tell the link road from the village streets.

Would you consider a slightly wider line (same colour) for kind_detail=unclassified in roads_minor and roads_minor_casing? The data is already in the tiles, so it would only be a style change. CyclOSM does this (z16: 6 vs 4), and Organic Maps draws unclassified like tertiary.

I am happy to prepare a pull request if this direction is acceptable. Thank you.

protomaps-644-unclassified-vs-residential

Same view near Chiang Rai, Thailand (19.976, 99.774). Left: OSM ways coloured by class, unclassified in red, residential in green. Right: the map today, at zoom 14 and 16.

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của protomaps/basemaps

Tất cả issue của protomaps/basemaps

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.