I need to convert from iso-3166-1/iso-3166-2 codes to longitude/latitude
Examples:
- Input: "US", Output: (37.09024, -95.71289100000001).
- Input "VE-O", Output: (10.9970723, -63.91132959999999).
I have been searching around but failed to find a complete listing or, ideally, a Java library doing it.
This Github project is promising but is missing a lot of geolocation information for a lot of regions.
Note that, unlike the question Need a list of all countries in the world, with a longitude and latitude coordinate, this one refers to regional subdivisions (iso-3166-2).