Commit 07eab64d authored by Eric Duminil's avatar Eric Duminil
Browse files

Trunk diameter too

parent 50f76a62
......@@ -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]
......
......@@ -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')))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment