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
07eab64d
Commit
07eab64d
authored
1 year ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Trunk diameter too
parent
50f76a62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python_scripts/add_trees_to_open_street_map/add_trees.py
+1
-1
python_scripts/add_trees_to_open_street_map/add_trees.py
python_scripts/add_trees_to_open_street_map/import_existing_trees.py
+1
-0
...pts/add_trees_to_open_street_map/import_existing_trees.py
with
2 additions
and
1 deletion
+2
-1
python_scripts/add_trees_to_open_street_map/add_trees.py
+
1
-
1
View file @
07eab64d
...
...
@@ -220,7 +220,7 @@ def export_shapefile(bounds: Bounds, forest: Forest, tree_distance: float, epsg_
'x'
:
t
.
x
,
'y'
:
t
.
y
,
'Bezeichnun'
:
t
.
description
,
'Baumart'
:
t
.
type
,
'Baumhöhe'
:
t
.
height
,
'Kronenbrei'
:
t
.
diameter
,
'Quelle'
:
t
.
source
,
'Stammumfan'
:
t
.
trunk_diameter
,
'Quelle'
:
t
.
source
}
for
t
in
forest
]
...
...
This diff is collapsed.
Click to expand it.
python_scripts/add_trees_to_open_street_map/import_existing_trees.py
+
1
-
0
View file @
07eab64d
...
...
@@ -20,3 +20,4 @@ def get_existing_forest(shp_input):
if
__name__
==
"__main__"
:
print
(
repr
(
get_existing_forest
(
'existing_trees/Trees_ideal_2_20240227.shp'
)))
# print(repr(get_existing_forest('output/49_80081__49_803063__9_947011__9_95511_10m/trees.shp')))
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