faker.providers.geoΒΆ

fake.longitude()
# Decimal('143.536593')

fake.latitude()
# Decimal('-43.7025965')

fake.latlng()
# (Decimal('-13.7787455'), Decimal('136.948672'))

fake.local_latlng(country_code="US", coords_only=False)
# ('26.18924', '-98.15529', 'San Juan', 'US', 'America/Chicago')

fake.location_on_land(coords_only=False)
# ('3.3285', '99.1625', 'Tebingtinggi', 'ID', 'Asia/Jakarta')

fake.coordinate(center=None, radius=0.001)
# Decimal('-167.159240')