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)


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" ] }Ever heard of wikidata?
no, actually i haven’t. what would it look like?
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
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.
Why invent new stuff for this? AS2 has the
locationproperty andPlaceobject, which imo should be used for this. It’s not like the request here requires functionality not enabled by those.oh thanks for making me aware of those :)
here’s a link to the ActivityStream documentation about this: https://www.w3.org/TR/activitystreams-vocabulary/#places
Also here’s a link to the location property.
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-location
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.
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.
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/…”
yeah it’s more about having a
Place: ...property, not so much about the link itself.