need to handle multiple layers with the same name
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- data
调研方向
从 lib/vectortile.js 中链接的图层处理代码开始,查阅背景参考资料,了解重复图层名称应如何处理。确定同名图层应合并还是分别保留,然后验证对两个此类图层进行合成时,不会再静默丢弃除最后一个之外的所有图层。
由索引模型根据 Issue 内容生成。
描述
If you composite two VTs with the same layer name, the resulting vector tile will have two layers with that name.
Background:
- https://gist.github.com/springmeyer/3522514c85443b57e338
- https://github.com/mapbox/mapnik-vector-tile/issues/20
Currently, vector-tile-js will drop all but the last encountered layer. Instead, it should either:
- merge features from all layers with the same name, or
- store layers in an array rather than a map
- 主要语言
- JavaScript
- 星标
- 404
- 派生
- 91
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mapbox/vector-tile-js 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
mapbox/vector-tile-js#81 · 1 条评论 ·
-
vector-tile-js v4 proposal可能重新可做 @mourner 于 1764 天前认领,目前没有进行中的 PR。 未关闭enhancement
mapbox/vector-tile-js#79 · 1 条评论 · 7 个 reaction · 已指派 1 人 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
mapbox/vector-tile-js#59 · 3 个 reaction ·
-
Layer toGeoJSON未关闭enhancement
难度 2/5 1-3 小时 新手友好度 52/100
mapbox/vector-tile-js#38 · 7 个 reaction ·
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
mapbox/vector-tile-js#25 · 5 条评论 ·
查看 mapbox/vector-tile-js 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
riverqueue/river#1576 ·
维护者通常 1 天内回复
-
documentation good first issue
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复
-
good first issue help wanted
难度 1/5 1 小时以内 新手友好度 88/100
modrollstudio/Modroll-Studio-Website#80 · 1 条评论 ·
维护者通常 1 天内回复
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 85/100
mafzalkalwardev/mailforge#21 ·
-
good first issue help wanted
难度 1/5 1 小时以内 新手友好度 82/100