Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

bug: Danish cities placed in Afghanistan

Abierto
#138 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
api

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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!

Lenguaje dominante
Python
Estrellas
33
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de BikeNetKit/superblockify

Todos los issues de BikeNetKit/superblockify

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.