Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

bug: Danish cities placed in Afghanistan

Đang mở
#138 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Start with the sb entry point and reproduce the issue using search_str="copenhagen municipality". Trace the Nominatim lookup and its handling of failed or ambiguous results, then verify that Danish cities are not exported at the Afghanistan location and that a lookup failure instead gives appropriate feedback.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Describe the bug
Danish cities Aalborg, Aarhus, Copenhagen, Vejle are placed in Afghanistan, see https://github.com/BikeNetKit/dataexport/issues/75.
I initially thought it makes sense because the nominatim queries for these city names alone don't return useful boundaries (I think), and maybe this is just sb's default way of failing nominatim. But then I found that querying for "copenhagen municipality" should work. Still it lands in Afghanistan.

To Reproduce
Run sb with search_str="copenhagen municipality"

Expected behavior
Copenhagen superblockified

Screenshots
Image

Desktop (please complete the following information):
n/a

You have a solution? (optional)
I don't know the reason. It looks like when there is a nominatim failure, it always defaults to this Afghanistan location, but I'm not sure. If that's the case, then the issue should be caught earlier and the program aborted with appropriate feedback, instead of returning an export of another location.

Additional context
No urgency!

Ngôn ngữ chính
Python
Star
33
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của BikeNetKit/superblockify

Tất cả issue của BikeNetKit/superblockify

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.