]> git.openstreetmap.org Git - rails.git/blobdiff - lib/nominatim.rb
Merge remote-tracking branch 'upstream/pull/4221'
[rails.git] / lib / nominatim.rb
index f847ec84e323e2a6871f35e824b7d7e7bb53ff35..adb041da43857799d2bdbea0a8a1c018e1d536e6 100644 (file)
@@ -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