[nominatim-web] Use 5 decimal digits
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nominatim-web] Use 5 decimal digits
- Date: Wed, 27 May 2020 17:59:17 +0000 (UTC)
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]