tallyfy
November 18, 2022, 3:27pm
1
I’m working on idea for AI-generated art (nothing to do with Tallyfy right now)!
To make the MVP work - I need every location, every city, every state and every country that a geo-marker can possibly generate. I’m referring to all possible values you can get from this header:
https://support.cloudflare.com/hc/en-us/articles/200168236-Configuring-IP-geolocation
Ideally - that would be country and city, to start with.
I know Cloudflare gets their data from Maxmind, but ultimately is this the open source list of everything?
https://www.geonames.org/countries/
Nothing urgent, this is just for kicks and lols right now - but it might become interesting pretty quickly if it works, for personalization.
1 Like
sandro
November 20, 2022, 8:53am
2
By default you only have the country. With Workers you’d also have access to sub-divisions
and you should be probably able to add this with rules to the request header as well
Of course, only the country will be reliable, everything else may be very random.
tallyfy
November 20, 2022, 5:51pm
3
Thanks for this ^ however I was looking for a complete listing of all possible country, city and similar values.
sandro
November 20, 2022, 5:53pm
4
You actually posted this yourself already - https://support.cloudflare.com/hc/en-us/articles/200168236-Configuring-IP-geolocation
It’s the ISO 3166 codes throughout. Cities will be presumably the English name, wherever available.
But again, apart from the codes, consider everything as optional, arbitrary text field.
1 Like
system
Closed
November 23, 2022, 5:54pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.