Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit ef8bb19

Browse files
Merge pull request SORMAS-Foundation#3154 from hzi-braunschweig/#3139_fix-geocoding
SORMAS-Foundation#3139 add street when searching for lat/lon of address
2 parents a17822e + b78b357 commit ef8bb19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sormas-backend/src/main/java/de/symeda/sormas/backend/geocoding/GeocodingFacadeEjb.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public GeoLatLon getLatLon(String street, String houseNumber, String postalCode,
7878
return null;
7979
}
8080

81-
String textValue = join(", ", houseNumber.replaceAll("\\s", " "), join(" ", postalCode, city));
81+
String textValue = join(", ", join(" ", street, houseNumber.replaceAll("\\s", " ")), join(" ", postalCode, city));
8282

8383
String query = textValue;
8484
// Stream.of(

0 commit comments

Comments
 (0)