Add area
This commit is contained in:
parent
edce488e2a
commit
308c0fb1d2
|
@ -190,3 +190,8 @@ single_parts_layer.create_spatial_index()
|
||||||
# The process of instantiating a new layer
|
# The process of instantiating a new layer
|
||||||
# (including print and create part) can be a method
|
# (including print and create part) can be a method
|
||||||
# Also experiment importing input_paths_and_layers
|
# Also experiment importing input_paths_and_layers
|
||||||
|
|
||||||
|
# Add an area field
|
||||||
|
single_parts_layer.add_field('Area')
|
||||||
|
single_parts_layer.assign_area('Area')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user