Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
8 months ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Describe units
parent
f179f805
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python_scripts/add_trees_to_open_street_map/tree.py
+7
-7
python_scripts/add_trees_to_open_street_map/tree.py
with
7 additions
and
7 deletions
+7
-7
python_scripts/add_trees_to_open_street_map/tree.py
+
7
-
7
View file @
98d27a80
...
...
@@ -5,13 +5,13 @@ import kdtree
@
dataclass
class
Tree
:
x
:
float
y
:
float
diameter
:
float
height
:
float
z
:
float
=
0
trunk_diameter
:
float
|
None
=
None
type
:
str
|
None
=
None
x
:
float
# [m]
y
:
float
# [m]
diameter
:
float
# [m]
height
:
float
# [m]
z
:
float
=
0
# [m]
trunk_diameter
:
float
|
None
=
None
# [cm]
type
:
str
|
None
=
None
description
:
str
=
'?'
source
:
str
=
'?'
color
:
str
=
'green'
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets