Style: draw `kind_detail=unclassified` a little wider than other minor roads
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 84/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- design
调研方向
从 styles/src/base_layers.ts 第 873–906 行附近开始,然后找到 roads_minor 和 roads_minor_casing 样式规则。检查它们的宽度如何随缩放级别变化,以及 kind_detail 如何使用;tiles 已经提供了 kind_detail=unclassified。完成标准是:unclassified 道路的渲染宽度略大于同色的其他 minor 道路,并且在所引用的缩放级别上能看出差异。
由索引模型根据 Issue 内容生成。
描述
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.
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.
- 主要语言
- Java
- 星标
- 779
- 派生
- 111
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
protomaps/basemaps 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 5/5 一周以上 新手友好度 18/100
-
难度 5/5 一周以上 新手友好度 38/100
-
难度 3/5 1-2 天 新手友好度 57/100
查看 protomaps/basemaps 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 69/100
paulpacifico/shutter-encoder#485 ·
-
ci reactjs typescript web
难度 2/5 1-3 小时 新手友好度 80/100
mhnuk2007/finsim#175 · 1 条评论 ·
维护者通常 1 天内回复
-
device-results
难度 2/5 1-3 小时 新手友好度 66/100
RamazanKara/nightjar#205 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Docs: README should state that Java 25 is required to build可能已有人在做 @mmartofel 今天认领。 未关闭
难度 1/5 1-3 小时 新手友好度 88/100
piomin/ai-software-factory-showcase#82 · 1 条评论 ·
维护者通常 1 天内回复