backend/feature/add-description #63

Merged
kscheidecker merged 13 commits from backend/feature/add-description into main 2025-02-21 07:38:17 +00:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 8c3145dfc9 - Show all commits

View File

@ -6,4 +6,4 @@ max_landmarks_refiner: 20
overshoot: 0.0016
time_limit: 1
gap_rel: 0.025
max_iter: 40
max_iter: 80

View File

@ -352,6 +352,7 @@ class LandmarkManager:
amenity = data.get('amenity', None)
building = data.get('building', None)
historic = data.get('historic', None)
leisure = data.get('leisure')
if historic and historic != "yes":
return historic
@ -359,6 +360,9 @@ class LandmarkManager:
return building
if amenity:
return amenity
if leisure:
return leisure
return None