Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mayer
CircularGreenSimCity
Commits
e95ceba1
Commit
e95ceba1
authored
May 06, 2024
by
Eric Duminil
Browse files
types
parent
f64aec69
Changes
1
Show whitespace changes
Inline
Side-by-side
python_scripts/add_trees_to_open_street_map/add_trees.py
View file @
e95ceba1
...
@@ -57,7 +57,7 @@ def load_region(wkt_polygon: str):
...
@@ -57,7 +57,7 @@ def load_region(wkt_polygon: str):
return
region
,
bounds
return
region
,
bounds
def
get_basename
(
bounds
):
def
get_basename
(
bounds
:
Bounds
):
return
f
'
{
bounds
.
S
}
__
{
bounds
.
N
}
__
{
bounds
.
W
}
__
{
bounds
.
E
}
_
{
TREE_DISTANCE
}
m'
.
replace
(
'.'
,
'_'
)
return
f
'
{
bounds
.
S
}
__
{
bounds
.
N
}
__
{
bounds
.
W
}
__
{
bounds
.
E
}
_
{
TREE_DISTANCE
}
m'
.
replace
(
'.'
,
'_'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment