1
0
Fork 0

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.
This commit is contained in:
Sjors Provoost 2024-09-06 12:57:50 +02:00
parent 6748d01158
commit 00c9a3686e
Signed by: sjors
GPG key ID: 57FF9BDBCC301009

View file

@ -139,8 +139,8 @@ for (const i in posts) {
if (geotags == undefined && media.media_metadata && media.media_metadata.photo_metadata) { if (geotags == undefined && media.media_metadata && media.media_metadata.photo_metadata) {
const options = { const options = {
geohash: true, geohash: true, // l tag per NIP-52, adds multiple tags at decreasing resolution
gps: true, gps: false, // Avoid multiple tags, insert them manually below.
city: false, city: false,
iso31662: false, iso31662: false,
iso31663: false iso31663: false