[openstreetmap/openstreetmap-website] JSON output nodes, ways, relations, map (#2485)
notifications at github.com
Mon Dec 30 16:41:05 UTC 2019
gravitystorm commented on this pull request.
> @@ -0,0 +1,15 @@
+ json.lat format("%.7f", node.lat.to_f)
We might be able to precisely control the output by creating a .to_json method, or similar. It'll probably require investigating exactly how the builder library code determines what to do with these custom objects though.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev