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
98d27a80
Commit
98d27a80
authored
Sep 05, 2024
by
Eric Duminil
Browse files
Describe units
parent
f179f805
Changes
1
Show whitespace changes
Inline
Side-by-side
python_scripts/add_trees_to_open_street_map/tree.py
View file @
98d27a80
...
@@ -5,13 +5,13 @@ import kdtree
...
@@ -5,13 +5,13 @@ import kdtree
@
dataclass
@
dataclass
class
Tree
:
class
Tree
:
x
:
float
x
:
float
# [m]
y
:
float
y
:
float
# [m]
diameter
:
float
diameter
:
float
# [m]
height
:
float
height
:
float
# [m]
z
:
float
=
0
z
:
float
=
0
# [m]
trunk_diameter
:
float
|
None
=
None
trunk_diameter
:
float
|
None
=
None
# [cm]
type
:
str
|
None
=
None
type
:
str
|
None
=
None
description
:
str
=
'?'
description
:
str
=
'?'
source
:
str
=
'?'
source
:
str
=
'?'
color
:
str
=
'green'
color
:
str
=
'green'
...
...
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