X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/35392c1a2f25ced94150ac81cba1b7e517ce145b..2a32a0427b6d0b496d3a1bd07326b94ec4987de1:/lib/nominatim.rb diff --git a/lib/nominatim.rb b/lib/nominatim.rb index f847ec84e..adb041da4 100644 --- a/lib/nominatim.rb +++ b/lib/nominatim.rb @@ -19,7 +19,7 @@ module Nominatim end if response && result = response.get_text("reversegeocode/result") - result.to_s + result.value else "#{number_with_precision(lat, :precision => 3)}, #{number_with_precision(lon, :precision => 3)}" end