VIP High Class Call Girls Bikaner Anushka 8250192130 Independent Escort Servi...
GeospatialFramework_SlideShare.pptx
1. Development of Village level Geospatial Framework
for “Digital India”
Presented By
Dinesh Kumar Azad
GIS Cell
Motilal Nehru National Institute of Technology 1
2. Outlines
1. Development of Geospatial Framework
2. Methodology
3. Working with ArcGIS Python API
4. Result
2
11. Configuring Anaconda for ArcGIS Desktop 10.6
1. Add Anaconda to Windows system PATH
Control Panel - System and Security - System - Advanced system settings - Advanced Tab - Environment
Variables - System variables - Double click Path variable - New - Add C:Anaconda3Scripts to Path
variable - OK
2. Find the versions of numpy and matplotlib used by ArcGIS 10.6
o Start - ArcGIS - ArcMap - Python Windows
>>> import sys, numpy, matplotlib
>>> print(sys.version, numpy.__version__, matplotlib.__version__)
(‘2.7.14 (v2.7.14:84471935ed, Sep 6 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]’, ‘1.9.3’, ‘1.5.2’)
3. Create an Anaconda environment that is compatible with ArcGIS 10.6
o Start - All apps – Anaconda3 (32-bit) - Anaconda Prompt - Run as Administrator
o conda create -n arc106 python=2.7.14 numpy=1.9.3 matplotlib=1.5.2 pyparsing xlrd xlwt
pandas scipy ipython ipython-notebook ipython-qtconsole
11
12. Configuring ArcGIS 10.6 to work with Anaconda
1. Anaconda Python to ArcPy
o Copy the Desktop10.6.pth file to the Anaconda environment site-packages folder:
o From: C:Python27ArcGIS10.6Libsite-packagesDesktop10.6.pth
o To: C:Anaconda3envsarc106Libsite-packagesDesktop10.6.pth
2. Arcpy to Anaconda Python
o Create a zconda.pth (path) file with the content “C:Anacondaenvsarc104libsite-packages” in it.
o Then copy zconda.pth to C:Python27ArcGIS10.6Libsite-packages
3. Testing in ArcMap
o Start - All apps – Anaconda3 (32-bit) - Anaconda Prompt - Run as Administrator
o conda activate arcgis106
o pip install archook
o jupyter notebook , or
o Start - All apps - Anaconda3 (32-bit) - Jupyter Notebook (arcgis106)
12
13. Configuring ArcGIS Python API to work with ArcGIS
1. Start - All apps – Anaconda3 (32-bit) - Anaconda Prompt - Run as Administrator
2. conda install -c esri arcgis
13