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

Missing `region` and `country` data on some `division_area` polygons

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

@stepps00 已经在做这个了。

开始于 2026年3月30日。

评估

这个 Issue 还没有评估数据。

描述

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

Originally posted by rmvegasm March 19, 2025
Hi, I've noticed some missing data on the region ISO-3166-2 codes for some units. Some are places with partial diplomatic recognition or other political issues that might explain the situation, e.g. Kosovo (ISO-3166-1:XK) that is still listed as an autonomous region of Serbia within the standard. Others, however, should have all the info available in the ISO-3166, like for instance 'El Salvador'. I've also noticed two county-level divisions with no country code either.

For me, and I assume for others as well, the primary issue with this is the inability to query administrative units below the municipality level without having to resort to spatial operations.

Here's a list of country codes for which there's no region data:

"MG" "MM" "XW" "NA" "GG" "SO" "XP" "XR" "LB" "MA" "NC" "AS" "JE" "TL" "RS"
"XG" "GM" "EG"  "XK" "KG" "IN" "GF" "AG" "AX" "PH" "TH" "AO" "CC" "NR"
"ST" "PF" "DZ" "XU" "SV" "SS" "GS"

And the name.primary field for those missing also a country entry:

Mukah Division - Beting Patinggi Ali Shoals (disputed)
中沙群岛的岛礁及其海域                                

Hope this helps improving this amazing dataset, infinite thanks for making this available!

主要语言
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 摘要。