Hi all,
According to the below source, there are 2 types of geo-location information:
1 “Point” - received via the root level “data” object [“data.geo.coordinates”]
2 “Place” - received via the root level “data” object [“data.geo.place_id”] and the rest of the place info are accessible via expansions in the “includes.places” object [“includes.places.place”]
Question
Do all tweets with a “Point” location also have a “Place” location?
Remarks
The question is important from a spatial search perspective, particularly, if one uses the “place_country:” spatial constraint, which as I understand is a “Place”-based search, would one miss out on tweets that do not have a “Place” BUT do have a “Point”?
I have made tests collecting tweets with “has:geo” and “bounding_box” - which are both meant to match either “Point” and “Place”, and from about 4,000 tweets, all tweets have a “place_id”. This holds even if the “geo.coordinates” point is in the middle of nowhere (i.e. not related to a city). In this case the place is a wider region or a country.
Although this test gives me some confidence that the answer is YES, the source above states:
“In the case of Twitter’s enriched native format, the root level “geo” and “coordinates” attributes provide the decimal degree coordinates for the exact location. Tweets containing this metadata can also include “Twitter Place” data described above, although the presence of both is not guaranteed.”
From the tweets I collected, it is apparent that tweets with “Place” do not necessarily have “Point” information, but what about the other way around?
Any thoughts much appreciated in advance,
1 Like
Hi David
Did you make any progress on this? I’m looking at a similar issue with my data now.
In other words, if I’m trying to identify only Tweets made in Norway, looking for a foolproof way of making sure that I cover off all of the various location attributes of a Tweet that might identify it as originating in Norway.
I’ve looked, but so far haven’t found a good, definitive source of information on the various location attributes of a given Tweet, e.g definitive list of attributes, which are mandatory etc etc.
1 Like