From 308c0fb1d2d809d7d20e9d42798aa45fd74a2846 Mon Sep 17 00:00:00 2001 From: Alireza Adli Date: Sun, 14 Apr 2024 16:07:36 -0400 Subject: [PATCH] Add area --- handle_mtl_ds_workflow.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/handle_mtl_ds_workflow.py b/handle_mtl_ds_workflow.py index d81398f..ac7d32c 100644 --- a/handle_mtl_ds_workflow.py +++ b/handle_mtl_ds_workflow.py @@ -190,3 +190,8 @@ single_parts_layer.create_spatial_index() # The process of instantiating a new layer # (including print and create part) can be a method # Also experiment importing input_paths_and_layers + +# Add an area field +single_parts_layer.add_field('Area') +single_parts_layer.assign_area('Area') +