SlideShare a Scribd company logo
1 of 12
Download to read offline
MINIPROJECT ON
SYMBOLOGY AUTOMATION
USING ARCPY
Presented by:
Jyoti Dhakal (07)
Archana K.C (09)
Megha Shrestha (27)
Sushmita Timilsina (32)
Contents
 Introduction
 Objectives
 Method used
 Core code
Introduction
 GIS is a system of collecting, preparing, processing,
analysing, interpreting, evaluating and disseminating
geographical data to information.
 “Python is an easy to learn, powerful language with high-
level data structures and a simple but effective approach to
object-oriented programming. Python’s elegant syntax and
dynamic typing make it an ideal language for scripting in
many areas and on most platforms.”
Why python in Arc GIS
 Use scripting to develop, execute, and share geo-
processing workflows
 Improves productivity
OBJECTIVE
 To automate the Symbology process in Arc GIS no
matter what type the input is
Module used
 arcpy.mapping()
 arcpy.mapping provides ability to automate updating of
map documents components such as layers, layout elements
without the need of opening every single documents.
GUI
 Python provides various options for developing graphical
user interfaces (GUIs). We are using Tkinter for our mini
project:
 Tkinter: Tkinter is the Python interface to the Tk GUI
toolkit shipped with Python.
Methods used
 mxd=arcpy.mapping.MapDocument(r"Current")
 mxd.save() #saving map document
 arcpy.mapping.ListDataFrames(mxd)
 arcpy.RefreshActiveView()
 arcpy.mapping.ListLayers(mxd, '*', change_view)
Contd…
 arcpy.mapping.InsertLayer(change_view, refLayer,
insertLayer, "BEFORE")
 arcpy.Describe()
 arcpy.ApplySymbologyFromLayer_management()
CORE CODE
if type == "Polygon":
arcpy.ApplySymbologyFromLayer_management(ins_lyr, r"E:kam
haru4th year 2nd sempythonmini_projectdataZones.lyr")
elif type == "Polyline":
arcpy.ApplySymbologyFromLayer_management(ins_lyr, r"E:kam
haru4th year 2nd sempythonmini_projectdataRoads.lyr")
elif type == "Point":
arcpy.ApplySymbologyFromLayer_management(ins_lyr, r"E:kam
haru4th year 2nd sempythonmini_projectdataSettlements.lyr")
APPLICATION
 This program will be highly applicable when we
are doing same process again and again several
time for similar type of data to obtain similar type
of output
Symbology Automation using ArcPy

More Related Content

Similar to Symbology Automation using ArcPy

APPLICATION OF PYTHON IN GEOSCIENCE
APPLICATION OF  PYTHON IN GEOSCIENCEAPPLICATION OF  PYTHON IN GEOSCIENCE
APPLICATION OF PYTHON IN GEOSCIENCEAhasanHabibSajeeb
 
Smart-M3 and Geo2Tag integration
Smart-M3 and Geo2Tag integrationSmart-M3 and Geo2Tag integration
Smart-M3 and Geo2Tag integrationOSLL
 
The Orfeo Toolbox remote sensing image processing software
The Orfeo Toolbox remote sensing image processing softwareThe Orfeo Toolbox remote sensing image processing software
The Orfeo Toolbox remote sensing image processing softwaremelaneum
 
Case Study about BIM on GIS platform development project with the standard model
Case Study about BIM on GIS platform development project with the standard modelCase Study about BIM on GIS platform development project with the standard model
Case Study about BIM on GIS platform development project with the standard modelTae wook kang
 
What we've done so far with mago3D, an open source based 'Digital Twin' platf...
What we've done so far with mago3D, an open source based 'Digital Twin' platf...What we've done so far with mago3D, an open source based 'Digital Twin' platf...
What we've done so far with mago3D, an open source based 'Digital Twin' platf...SANGHEE SHIN
 
License Plate Recognition System using Python and OpenCV
License Plate Recognition System using Python and OpenCVLicense Plate Recognition System using Python and OpenCV
License Plate Recognition System using Python and OpenCVVishal Polley
 
The Future is Big Graphs: A Community View on Graph Processing Systems
The Future is Big Graphs: A Community View on Graph Processing SystemsThe Future is Big Graphs: A Community View on Graph Processing Systems
The Future is Big Graphs: A Community View on Graph Processing SystemsNeo4j
 
Python Training on python and SQL PPT.pptx
Python Training on python and SQL PPT.pptxPython Training on python and SQL PPT.pptx
Python Training on python and SQL PPT.pptxxelihom699
 
Python_basics_tuples_sets_lists_control_loops.ppt
Python_basics_tuples_sets_lists_control_loops.pptPython_basics_tuples_sets_lists_control_loops.ppt
Python_basics_tuples_sets_lists_control_loops.pptVGaneshKarthikeyan
 
[03 1][gpu용 개발자 도구 - parallel nsight 및 axe] miller axe
[03 1][gpu용 개발자 도구 - parallel nsight 및 axe] miller axe[03 1][gpu용 개발자 도구 - parallel nsight 및 axe] miller axe
[03 1][gpu용 개발자 도구 - parallel nsight 및 axe] miller axelaparuma
 
Python and its applications
Python and its applicationsPython and its applications
Python and its applicationsmohakmishra97
 
Mask Lte Planning Tool
Mask Lte Planning ToolMask Lte Planning Tool
Mask Lte Planning ToolAmr BARAKAT
 
advancetechnologys-170306182139 (1).pdf
advancetechnologys-170306182139 (1).pdfadvancetechnologys-170306182139 (1).pdf
advancetechnologys-170306182139 (1).pdfAminMemon7
 
Open Source GIS Workshop
Open Source GIS WorkshopOpen Source GIS Workshop
Open Source GIS WorkshopJason Dalton
 
AI Bridging Cloud Infrastructure (ABCI) and its communication performance
AI Bridging Cloud Infrastructure (ABCI) and its communication performanceAI Bridging Cloud Infrastructure (ABCI) and its communication performance
AI Bridging Cloud Infrastructure (ABCI) and its communication performanceinside-BigData.com
 
Resume-Aditya Parkhi NCSU_MSCS
Resume-Aditya Parkhi NCSU_MSCSResume-Aditya Parkhi NCSU_MSCS
Resume-Aditya Parkhi NCSU_MSCSaditya140
 

Similar to Symbology Automation using ArcPy (20)

APPLICATION OF PYTHON IN GEOSCIENCE
APPLICATION OF  PYTHON IN GEOSCIENCEAPPLICATION OF  PYTHON IN GEOSCIENCE
APPLICATION OF PYTHON IN GEOSCIENCE
 
Smart-M3 and Geo2Tag integration
Smart-M3 and Geo2Tag integrationSmart-M3 and Geo2Tag integration
Smart-M3 and Geo2Tag integration
 
The Orfeo Toolbox remote sensing image processing software
The Orfeo Toolbox remote sensing image processing softwareThe Orfeo Toolbox remote sensing image processing software
The Orfeo Toolbox remote sensing image processing software
 
Case Study about BIM on GIS platform development project with the standard model
Case Study about BIM on GIS platform development project with the standard modelCase Study about BIM on GIS platform development project with the standard model
Case Study about BIM on GIS platform development project with the standard model
 
What we've done so far with mago3D, an open source based 'Digital Twin' platf...
What we've done so far with mago3D, an open source based 'Digital Twin' platf...What we've done so far with mago3D, an open source based 'Digital Twin' platf...
What we've done so far with mago3D, an open source based 'Digital Twin' platf...
 
License Plate Recognition System using Python and OpenCV
License Plate Recognition System using Python and OpenCVLicense Plate Recognition System using Python and OpenCV
License Plate Recognition System using Python and OpenCV
 
The Future is Big Graphs: A Community View on Graph Processing Systems
The Future is Big Graphs: A Community View on Graph Processing SystemsThe Future is Big Graphs: A Community View on Graph Processing Systems
The Future is Big Graphs: A Community View on Graph Processing Systems
 
Python Training on python and SQL PPT.pptx
Python Training on python and SQL PPT.pptxPython Training on python and SQL PPT.pptx
Python Training on python and SQL PPT.pptx
 
Python_basics_tuples_sets_lists_control_loops.ppt
Python_basics_tuples_sets_lists_control_loops.pptPython_basics_tuples_sets_lists_control_loops.ppt
Python_basics_tuples_sets_lists_control_loops.ppt
 
[03 1][gpu용 개발자 도구 - parallel nsight 및 axe] miller axe
[03 1][gpu용 개발자 도구 - parallel nsight 및 axe] miller axe[03 1][gpu용 개발자 도구 - parallel nsight 및 axe] miller axe
[03 1][gpu용 개발자 도구 - parallel nsight 및 axe] miller axe
 
Python and its applications
Python and its applicationsPython and its applications
Python and its applications
 
Python Online From EasyLearning Guru
Python Online From EasyLearning GuruPython Online From EasyLearning Guru
Python Online From EasyLearning Guru
 
Mask Lte Planning Tool
Mask Lte Planning ToolMask Lte Planning Tool
Mask Lte Planning Tool
 
advancetechnologys-170306182139 (1).pdf
advancetechnologys-170306182139 (1).pdfadvancetechnologys-170306182139 (1).pdf
advancetechnologys-170306182139 (1).pdf
 
SOFTWARES IN CIVIL ENGINEERING
SOFTWARES IN CIVIL ENGINEERINGSOFTWARES IN CIVIL ENGINEERING
SOFTWARES IN CIVIL ENGINEERING
 
Open Source GIS Workshop
Open Source GIS WorkshopOpen Source GIS Workshop
Open Source GIS Workshop
 
C++
C++C++
C++
 
AI Bridging Cloud Infrastructure (ABCI) and its communication performance
AI Bridging Cloud Infrastructure (ABCI) and its communication performanceAI Bridging Cloud Infrastructure (ABCI) and its communication performance
AI Bridging Cloud Infrastructure (ABCI) and its communication performance
 
Resume-Aditya Parkhi NCSU_MSCS
Resume-Aditya Parkhi NCSU_MSCSResume-Aditya Parkhi NCSU_MSCS
Resume-Aditya Parkhi NCSU_MSCS
 
Smriti shikha cv
Smriti shikha cvSmriti shikha cv
Smriti shikha cv
 

More from Qust04

PPP methods and geodetic usage
PPP methods and geodetic usagePPP methods and geodetic usage
PPP methods and geodetic usageQust04
 
Impacts of Climate Change in sustainability of hydropower in Nepal
Impacts of Climate Change in sustainability of hydropower in NepalImpacts of Climate Change in sustainability of hydropower in Nepal
Impacts of Climate Change in sustainability of hydropower in NepalQust04
 
Osm application
Osm applicationOsm application
Osm applicationQust04
 
Land information system in Nepal
Land information system in NepalLand information system in Nepal
Land information system in NepalQust04
 
Manual to basic gis
Manual to basic gisManual to basic gis
Manual to basic gisQust04
 
Workshop with python qgis
Workshop with python qgisWorkshop with python qgis
Workshop with python qgisQust04
 
Gender discrimination and women at work in nepal
Gender discrimination and women at work in nepalGender discrimination and women at work in nepal
Gender discrimination and women at work in nepalQust04
 
R sprojec3
R sprojec3R sprojec3
R sprojec3Qust04
 
Being Safe
Being SafeBeing Safe
Being SafeQust04
 

More from Qust04 (9)

PPP methods and geodetic usage
PPP methods and geodetic usagePPP methods and geodetic usage
PPP methods and geodetic usage
 
Impacts of Climate Change in sustainability of hydropower in Nepal
Impacts of Climate Change in sustainability of hydropower in NepalImpacts of Climate Change in sustainability of hydropower in Nepal
Impacts of Climate Change in sustainability of hydropower in Nepal
 
Osm application
Osm applicationOsm application
Osm application
 
Land information system in Nepal
Land information system in NepalLand information system in Nepal
Land information system in Nepal
 
Manual to basic gis
Manual to basic gisManual to basic gis
Manual to basic gis
 
Workshop with python qgis
Workshop with python qgisWorkshop with python qgis
Workshop with python qgis
 
Gender discrimination and women at work in nepal
Gender discrimination and women at work in nepalGender discrimination and women at work in nepal
Gender discrimination and women at work in nepal
 
R sprojec3
R sprojec3R sprojec3
R sprojec3
 
Being Safe
Being SafeBeing Safe
Being Safe
 

Recently uploaded

Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 

Recently uploaded (20)

Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 

Symbology Automation using ArcPy

  • 1. MINIPROJECT ON SYMBOLOGY AUTOMATION USING ARCPY Presented by: Jyoti Dhakal (07) Archana K.C (09) Megha Shrestha (27) Sushmita Timilsina (32)
  • 3. Introduction  GIS is a system of collecting, preparing, processing, analysing, interpreting, evaluating and disseminating geographical data to information.  “Python is an easy to learn, powerful language with high- level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing make it an ideal language for scripting in many areas and on most platforms.”
  • 4. Why python in Arc GIS  Use scripting to develop, execute, and share geo- processing workflows  Improves productivity
  • 5. OBJECTIVE  To automate the Symbology process in Arc GIS no matter what type the input is
  • 6. Module used  arcpy.mapping()  arcpy.mapping provides ability to automate updating of map documents components such as layers, layout elements without the need of opening every single documents.
  • 7. GUI  Python provides various options for developing graphical user interfaces (GUIs). We are using Tkinter for our mini project:  Tkinter: Tkinter is the Python interface to the Tk GUI toolkit shipped with Python.
  • 8. Methods used  mxd=arcpy.mapping.MapDocument(r"Current")  mxd.save() #saving map document  arcpy.mapping.ListDataFrames(mxd)  arcpy.RefreshActiveView()  arcpy.mapping.ListLayers(mxd, '*', change_view)
  • 9. Contd…  arcpy.mapping.InsertLayer(change_view, refLayer, insertLayer, "BEFORE")  arcpy.Describe()  arcpy.ApplySymbologyFromLayer_management()
  • 10. CORE CODE if type == "Polygon": arcpy.ApplySymbologyFromLayer_management(ins_lyr, r"E:kam haru4th year 2nd sempythonmini_projectdataZones.lyr") elif type == "Polyline": arcpy.ApplySymbologyFromLayer_management(ins_lyr, r"E:kam haru4th year 2nd sempythonmini_projectdataRoads.lyr") elif type == "Point": arcpy.ApplySymbologyFromLayer_management(ins_lyr, r"E:kam haru4th year 2nd sempythonmini_projectdataSettlements.lyr")
  • 11. APPLICATION  This program will be highly applicable when we are doing same process again and again several time for similar type of data to obtain similar type of output