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)

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 5 points 4 months ago* (12 children)

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"
  ],
  ...
}

  • source
  • hideshow 12 child comments
  • [–] 8 points 4 months ago (3 children)

    Why invent new stuff for this? AS2 has the location property and Place object, which imo should be used for this. It's not like the request here requires functionality not enabled by those.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 4 months ago* (last edited 4 months ago) (3 children)

    I'm afraid if the idea is something like that, it won't allow users to search for content nearby. That'd require some coordinates to calculate distance. If it's just names, it's closer to the concept of hashtags. You could as well add #Melbourne in the text (on Mastodon for example). And people would then be able to click on #Melbourne or maybe subscribe to the hashtag once/if that feature is ready on Lemmy.

  • source
  • parent
  • hideshow 3 child comments
  • [–] [S] 3 points 4 months ago (2 children)

    yeah but hashtags don't tell you anything about what kind of thing it refers to. Is it a place? Is it a person? Is it an event? It does not provide that structured data that would be useful.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 4 months ago* (last edited 4 months ago) (1 child)

    The thing is, a link to a Wikipedia article isn't structured data either. It could very well link to the article about The Little Mermaid. Or the List of fictional pirates. So in that regard, both approaches are about on the same level. The hashtag just cuts off the unnecessary "https://en.wikipedia.org/wiki/..."

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 4 months ago (3 children)
  • [–] [S] 1 point 4 months ago (2 children)

    no, actually i haven't. what would it look like?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 4 months ago* (last edited 4 months ago) (1 child)

    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 that 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"

  • source
  • parent
  • hideshow 1 child comment