[nominatim-web] Use 5 decimal digits



commit 351d31d11fdf08f7d4c277aee7416c197eb1cf08
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Wed May 27 19:59:07 2020 +0200

    Use 5 decimal digits

 nginx.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nginx.conf b/nginx.conf
index a072e6f..1bf9497 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -74,8 +74,8 @@ http {
         location = /reverse {
             rewrite_by_lua '
                 local args = ngx.req.get_uri_args()
-                args.lat = string.format("%2.6f", args.lat)
-                args.lon = string.format("%3.6f", args.lon)
+                args.lat = string.format("%2.5f", args.lat)
+                args.lon = string.format("%3.5f", args.lon)
                 ngx.req.set_uri_args(args)
             ';
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]