From 85aaf6c41a67f482be30dc2e11e6e5a04c77290d Mon Sep 17 00:00:00 2001 From: Matthew Jackson Date: Fri, 13 Mar 2026 18:30:25 -0700 Subject: [PATCH] Show GPS coordinates on separate line under location name Co-Authored-By: Claude Opus 4.6 (1M context) --- server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 2361bf5..2570025 100644 --- a/server.js +++ b/server.js @@ -424,7 +424,7 @@ app.get("/", (_req, res) => { td1.textContent = k; const td2 = document.createElement("td"); td2.textContent = meta[k]; - if (k === "GPS Location") td2.className = "warn"; + if (k === "GPS Location" || k === "GPS Coordinates") td2.className = "warn"; tr.appendChild(td1); tr.appendChild(td2); removedBody.appendChild(tr); @@ -501,6 +501,7 @@ async function extractMetadata(buf) { } } catch {} items.push(["GPS Location", loc]); + items.push(["GPS Coordinates", `${latFinal.toFixed(6)}, ${lngFinal.toFixed(6)}`]); } if (exif.Photo?.DateTimeOriginal) {