X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/48ed305163ac44e420de60d7ffc5af1a1c3950c2..90f1c492271ba8a777988a4b41a53c095af9ae99:/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