diff --git a/python_scripts/add_trees_to_open_street_map/add_trees.py b/python_scripts/add_trees_to_open_street_map/add_trees.py index cbddca383e31be1158f9e4db94fc03ac60ac76f9..4038f0e0c9d32dc6dc5e4477ae02c95d5b0253d9 100644 --- a/python_scripts/add_trees_to_open_street_map/add_trees.py +++ b/python_scripts/add_trees_to_open_street_map/add_trees.py @@ -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] diff --git a/python_scripts/add_trees_to_open_street_map/import_existing_trees.py b/python_scripts/add_trees_to_open_street_map/import_existing_trees.py index edb44a341b207547fcf90bbb1edc3a99a5d5d9a2..c45078378536f4ad2846676f124439dd82d5df94 100644 --- a/python_scripts/add_trees_to_open_street_map/import_existing_trees.py +++ b/python_scripts/add_trees_to_open_street_map/import_existing_trees.py @@ -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')))