X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9b89d4eefe7c3a7df0ca59cabbe85649211f7f95..a402e811dac1f999dcf623ce6099e554d76c6de4:/app/models/node.rb?ds=sidebyside diff --git a/app/models/node.rb b/app/models/node.rb index fb9bdf68b..f4367e459 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -185,8 +185,8 @@ class Node < ActiveRecord::Base add_metadata_to_xml_node(el, self, changeset_cache, user_display_name_cache) if visible? - el["lat"] = format("%.7f", lat) - el["lon"] = format("%.7f", lon) + el["lat"] = lat.to_s + el["lon"] = lon.to_s end add_tags_to_xml_node(el, node_tags)