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
48cb32af
Commit
48cb32af
authored
May 06, 2024
by
Eric Duminil
Browse files
Clearer warning
parent
e82b1935
Changes
1
Show whitespace changes
Inline
Side-by-side
python_scripts/add_trees_to_open_street_map/import_existing_trees.py
View file @
48cb32af
...
@@ -17,7 +17,7 @@ def get_existing_forest(shp_input):
...
@@ -17,7 +17,7 @@ def get_existing_forest(shp_input):
source
=
Path
(
shp_input
).
name
source
=
Path
(
shp_input
).
name
)
)
if
not
added
:
if
not
added
:
print
(
f
"W
arning,
tree seems to be too close to others! Is it a duplicate?
\n\t
{
tree_row
}
"
)
print
(
f
"W
ARNING!
tree seems to be too close to others! Is it a duplicate?
\n\t
{
tree_row
}
"
)
return
forest
return
forest
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
...
...
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