From 00c9a3686e6e8ee9b0d7cb1942246842bf501864 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Fri, 6 Sep 2024 12:57:50 +0200 Subject: [PATCH] Drop l and L tags They have clashing meanings. And there's no need to have gps coordinates at different resolutions. That's what geohash is good for. This commits drop the GPS coordinate entirely, the next commit brings it back in a different way. --- main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index 35b73af..7699336 100644 --- a/main.ts +++ b/main.ts @@ -139,8 +139,8 @@ for (const i in posts) { if (geotags == undefined && media.media_metadata && media.media_metadata.photo_metadata) { const options = { - geohash: true, - gps: true, + geohash: true, // l tag per NIP-52, adds multiple tags at decreasing resolution + gps: false, // Avoid multiple tags, insert them manually below. city: false, iso31662: false, iso31663: false