diff --git a/README.md b/README.md index a695e7b..128e660 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@

+## Getting Started + +[Try it out!](https://timoknapp.github.io/tennis-tournament-finder/) + ## Features * Currently supported tennis federations: @@ -39,6 +43,12 @@ * [Tennisverband Schleswig-Holstein (TSH)](https://www.tennis.sh) * [Westfälischer Tennis-Verband (WTV)](https://www.wtv.de) -## Getting Started +## FAQ -[Try it out!](https://timoknapp.github.io/tennis-tournament-finder/) +### Tournament is not shown with the correct location on the map + +This is a known issue. The location of the tournament is not always correct. This is due to the fact that the [OSM](https://www.openstreetmap.de) is not always capable of performing the geocoding right. There are two potential outcomes: + + 1. Tournament location falls back to the default address of the corresponding tennis federation. There will then be a list of tournaments associated to the default address. + * + 2. Tournament location is showing a completely different location. In this case please click on the link next to "Adresse". This will then lead you to the address on [Google Maps](http://maps.google.com) and this location is mostly correct. diff --git a/backend/pkg/tournament/tournament.go b/backend/pkg/tournament/tournament.go index c049ba9..0e31546 100644 --- a/backend/pkg/tournament/tournament.go +++ b/backend/pkg/tournament/tournament.go @@ -21,7 +21,7 @@ func GetTournaments(w http.ResponseWriter, r *http.Request) { util.EnableCors(&w) Tournaments := []models.Tournament{} - fmt.Printf("Cache consists currenty of: %d geocoordinates.\n", len(openstreetmap.CachedGeocoordinates)) + fmt.Printf("Cache consists currently of: %d geocoordinates.\n", len(openstreetmap.CachedGeocoordinates)) today := time.Now() dateFrom := r.URL.Query().Get("dateFrom") diff --git a/images/geocoordsNotFound.png b/images/geocoordsNotFound.png new file mode 100644 index 0000000..7dc9c47 Binary files /dev/null and b/images/geocoordsNotFound.png differ