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

Smart-M3 and Geo2Tag integration
Smart-M3 and Geo2Tag integrationSmart-M3 and Geo2Tag integration
Smart-M3 and Geo2Tag integration
OSLL
 
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
 
[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
laparuma
 

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 (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

Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 

Recently uploaded (20)

Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
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
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
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
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 

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