Skip to content

Commit b85ab56

Browse files
Update comments in random_location_in_sri_lanka.py
1 parent 2905c52 commit b85ab56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spp_farmer_registry_demo/tools/random_location_in_sri_lanka.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from odoo.tools.misc import file_open
88

9-
# Load Laos country border data in GeoJSON format
9+
# Load Sri Lanka country border data in GeoJSON format
1010
with file_open("spp_farmer_registry_demo/tools/geoBoundaries-LKA-ADM0_simplified.geojson", "r") as f:
1111
sri_lanka_geojson = json.load(f)
1212

@@ -27,6 +27,6 @@ def random_location_in_sri_lanka():
2727
longitude = random.uniform(min_lon, max_lon)
2828
random_point = Point(longitude, latitude)
2929

30-
# Check if the generated point is within the Laos boundary
30+
# Check if the generated point is within the Sri Lanka boundary
3131
if prepared_sri_lanka_shape.contains(random_point):
3232
return (latitude, longitude)

0 commit comments

Comments
 (0)