We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2905c52 commit b85ab56Copy full SHA for b85ab56
spp_farmer_registry_demo/tools/random_location_in_sri_lanka.py
@@ -6,7 +6,7 @@
6
7
from odoo.tools.misc import file_open
8
9
-# Load Laos country border data in GeoJSON format
+# Load Sri Lanka country border data in GeoJSON format
10
with file_open("spp_farmer_registry_demo/tools/geoBoundaries-LKA-ADM0_simplified.geojson", "r") as f:
11
sri_lanka_geojson = json.load(f)
12
@@ -27,6 +27,6 @@ def random_location_in_sri_lanka():
27
longitude = random.uniform(min_lon, max_lon)
28
random_point = Point(longitude, latitude)
29
30
- # Check if the generated point is within the Laos boundary
+ # Check if the generated point is within the Sri Lanka boundary
31
if prepared_sri_lanka_shape.contains(random_point):
32
return (latitude, longitude)
0 commit comments