Villages with population ≥ 2000 get a higher min_zoom than smaller villages
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- java
调研方向
从 Places.java 中的村庄规则开始,issue 在那里展示了人口为 2000 时的 minzoom 阈值。将这些规则与 isolated_dwelling、farm 和 allotments 对应的规则进行比较。调整阈值,使较大的地点不会被分配更晚的最小缩放级别,然后根据缩放级别 10.3 时 't Loo 和 Oldebroek 的示例检查受影响的缩放规则。
由索引模型根据 Issue 内容生成。
描述
Places with a population under 2000 are shown at a wider zoom level than larger towns. Concrete example is below. 't Loo (pop: 1255) is shown at this zoom level, but Oldebroek (6085) is not.
In Places.java, the zoomsIndex rules give larger places a later minimum zoom than smaller places of the same kind:
rule(with("pm:kind", "locality"), with("pm:kindDetail", "village"), use("pm:kindRank", 3), use("pm:minzoom", 10)),
rule(with("pm:kind", "locality"), with("pm:kindDetail", "village"), atLeast("pm:population", 2000),
use("pm:minzoom", 11)),
rule(with("pm:kind", "locality"), with("pm:kindDetail", "hamlet"), use("pm:kindRank", 5), use("pm:minzoom", 11)),
rule(with("pm:kind", "locality"), with("pm:kindDetail", "hamlet"), atLeast("pm:population", 200),
use("pm:minzoom", 12)),
The same pattern applies to isolated_dwelling, farm and allotments.
Location
https://maps.protomaps.com/#flavorName=light&lang=en&map=10.3/52.445/5.9
Screenshots
Required information
- Browser: any
- Renderer version: any
- Tileset version and source: latest (checked in 20261127)
- Style JSON or NPM version: any
- 主要语言
- Java
- 星标
- 779
- 派生
- 111
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
protomaps/basemaps 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 84/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 天内回复