Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[division] Incorrect Locality Generation for OSM admin_level=8 Relations in Spain Due to Misinterpretation of admin_centre

未关闭
#477 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@stepps00 已经在做这个了。

开始于 2026年2月5日。

评估

这个 Issue 还没有评估数据。

描述

divisions
Discussed in https://github.com/orgs/OvertureMaps/discussions/258

Originally posted by forwalk-org December 5, 2024

Category Feedback

In Spain, during the import of OpenStreetMap relations with admin_level=8, the admin_centre tag does not always ensure an association with a locality that shares the same name as the relation. Sometimes, the name is inherited from an underlying locality, but the admin_centre may be located in a different place.

For example, the relation 342629, representing the municipality of Ames, generates a locality in the division theme with the following details:

GERS ID: 085e2356bfffffff0165c94c2094b49e
Name: 'Ames'
Subtype: 'locality'
Local type: 'town'
However, this place does not actually exist as a town with that name.

Potential fix:
Set local_type to 'municipality' or set subtype='localadmin'

Dependency with other categories, if any.

No response

主要语言
Python
星标
1.2k
派生
48
平均合并
10 分钟
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OvertureMaps/data 的其他 Issue

查看 OvertureMaps/data 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。