Duplicate the layer
This commit is contained in:
parent
d2d6f21a73
commit
6282d32cf4
|
@ -1,4 +1,8 @@
|
||||||
"""This module has been developed to accomodate single tasks that may not be
|
"""
|
||||||
|
process_property_assessment_points_shp module
|
||||||
|
The workflow of processing taxpayer data shape layer (property assessment 2022).
|
||||||
|
The dataset has points instead of polygons.
|
||||||
|
This module has been developed to accomodate single tasks that may not be
|
||||||
added to the main Varennes workflow (handle_varennes_ds_workflow)
|
added to the main Varennes workflow (handle_varennes_ds_workflow)
|
||||||
Project developer: Alireza Adli alireza.adli@concordia.ca
|
Project developer: Alireza Adli alireza.adli@concordia.ca
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
"""
|
||||||
|
handle_varennes_ds_workflow module
|
||||||
|
The workflow of cleaning and updating the buildings around
|
||||||
|
Varennes Public Library dataset.
|
||||||
|
Project Developer: Alireza Adli alireza.adli@concordia.ca
|
||||||
|
"""
|
||||||
|
|
||||||
|
from scrub_layer_class import *
|
||||||
|
|
||||||
|
qgis_path = 'C:/Program Files/QGIS 3.34.1/apps/qgis'
|
||||||
|
|
||||||
|
nrcan_varennes = 'C:/Users/a_adli/PycharmProjects/varennes_gis_oo/' \
|
||||||
|
'data/initial_data/endeavor/nrcan_centroid_main/' \
|
||||||
|
'nrcan_centroid_main.shp'
|
||||||
|
|
||||||
|
duplcated = 'C:/Users/a_adli/PycharmProjects/varennes_gis_oo/' \
|
||||||
|
'data/initial_data/endeavor/nrcan_centroids_1/' \
|
||||||
|
'auto_building_2.shp'
|
||||||
|
|
||||||
|
# First, the layer will be duplicated as some records are going to be removed
|
||||||
|
|
||||||
|
nrcan_varennes = ScrubLayer(qgis_path, nrcan_varennes, 'NRCan Varennes')
|
||||||
|
nrcan_varennes_duplicate = nrcan_varennes.duplicate_layer(duplcated, 'NRCan duplicated')
|
Loading…
Reference in New Issue
Block a user