Start processing geoindex/Made boundary for varennes

This commit is contained in:
Alireza Adli 2024-07-23 15:14:51 -04:00
parent 620e5de8f4
commit d80ac61882
5 changed files with 48 additions and 12 deletions

View File

@ -0,0 +1,24 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="DuplicatedCode" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<Languages>
<language minSize="438" name="Python" />
</Languages>
</inspection_tool>
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="PyPep8Inspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
<option name="ignoredErrors">
<list>
<option value="E111" />
<option value="E114" />
</list>
</option>
</inspection_tool>
<inspection_tool class="SpellCheckingInspection" enabled="true" level="TYPO" enabled_by_default="true">
<option name="processCode" value="false" />
<option name="processLiterals" value="false" />
<option name="processComments" value="false" />
</inspection_tool>
</profile>
</component>

View File

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/varennes_gis_oo.iml" filepath="$PROJECT_DIR$/.idea/varennes_gis_oo.iml" />
</modules>
</component>
</project>

View File

@ -5,4 +5,6 @@ from varennes_io_paths import *
create_output_folders(output_paths, output_paths_dir)
# Initialize the input data layers
nrcan = ScrubLayer(qgis_path, input_paths['NRCan'], 'NRCan')
geo_index = ScrubLayer(qgis_path, input_paths['GeoIndex'], 'GeoIndex')
varennes_boundary = \
ScrubLayer(qgis_path, input_paths['Varennes Boundary'], 'Varennes Boundary')

View File

@ -3,8 +3,12 @@ qgis_path = 'C:/Program Files/QGIS 3.34.1/apps/qgis'
# Gathering input data layers paths
input_paths = {
'first':
'C:/Users/a_adli/PycharmProjects/varennes_gis_oo/data/input_data/',
'GeoIndex':
'C:/Users/a_adli/PycharmProjects/hydroquebec_archetype_gispy/'
'data/input_data/Geoindex_81670/mamh_usage_predo_2022_s_poly.shp',
'Varennes Boundary':
'C:/Users/a_adli/PycharmProjects/varennes_gis_oo/'
'data/input_data/varennes_boundary/varennes_boundary.shp'
}
# Defining a directory for all the output data layers
@ -14,14 +18,6 @@ output_paths_dir = \
# Preparing a bedding for output data layers paths
output_paths = {
'Fixed NRCan': '',
'Fixed GeoIndex': '',
'Clipped Fixed GeoIndex': '',
'Splitted NRCans': '',
'Pairwise Clipped Property Assessment Partitions': '',
'Pairwise Clipped Merged Property Assessment': '',
'Property Assessment and NRCan': '',
'Property Assessment and NRCan and GeoIndex': '',
'Deleted Duplicates Layer': '',
'Single Parts Layer': ''
'Clipped Fixed GeoIndex': ''
}