i see a lot of news about australian politics, news of seattle, darmstadt, brazil, … all places where i don’t live, where the posts aren’t relevant to me. it would be cool to be able to tag posts/communities with a geographical location so i can easily filter which posts are / aren’t probably relevant to me. in one setting in my profile, instead of having to block each community individually (there’s hundreds of them at this point)

  • gandalf_der_12te@feddit.orgOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    26 days ago

    i propose that each post has a (one or many) geo_tag fields that just link to the canonical wikipedia page about the place, for example,

    
    {
      "post_id": 1543535,
      "geo_tags": [
        "https://en.wikipedia.org/wiki/Melbourne"
      ],
      ...
    }
    
    
        • Baŝto@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          16 days ago

          https://www.wikidata.org/wiki/Q3141

          It’s linked on that Wikipedia article. It’s very useful to connect data independent of language. OSM can use it to connect places to more data. I think searxng uses it to generate infoboxes

          It’s enough to automatically extract coordinates and compare tgat to your location. For an area comparation it is connected to the OSM relation https://www.openstreetmap.org/relation/4246124 among other things. Getting actual areas is pretty hard due to heterogene data

          Q3141 is actually enough to know what it is

          Each item is allocated a unique persistent identifier called its QID, a positive integer prefixed with the upper-case letter “Q”

          • gandalf_der_12te@feddit.orgOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            16 days ago

            oh, that is really useful! thank you

            xD it even has its lemmy community linked

            which seems super useful actually, if you just enter your location.