- Видео 58
- Просмотров 245 891
Python Scripting in ArcGIS Spring 2019
США
Добавлен 4 ноя 2014
Python Scripting in ArcGIS Taught next Spring Semester 2019 (starting in January)
an E-Learning class at the University of Alaska Fairbanks
ecampus.uaf.edu/course-details-18-19/?crn=36282
Week 1) Python Basics
Week 2) Field Calculations
Week 3) Describing and Listing Feature Classes,Rasters, Tables
Week 4) Accessing tables via da.cursors
Week 5) Creating Feature Classes and Tables
Week 6) Random choices and selections
Week 7) Geoprocessing Feature Classes
Week 8) Geoprocessing Rasters
Week 9) Arcpy.mapping
Week 10) Script tools
Week 11) Script tools
Week 12) Python Toolboxes
Week 13) Python addins
an E-Learning class at the University of Alaska Fairbanks
ecampus.uaf.edu/course-details-18-19/?crn=36282
Week 1) Python Basics
Week 2) Field Calculations
Week 3) Describing and Listing Feature Classes,Rasters, Tables
Week 4) Accessing tables via da.cursors
Week 5) Creating Feature Classes and Tables
Week 6) Random choices and selections
Week 7) Geoprocessing Feature Classes
Week 8) Geoprocessing Rasters
Week 9) Arcpy.mapping
Week 10) Script tools
Week 11) Script tools
Week 12) Python Toolboxes
Week 13) Python addins
5) Randomly Spreading Throughout Neighboring Polygons
In this session we simulate spread of disease, oil spill, wildfire, etc where we spread from a randomly located initial location and then spread across polygons that are neighboring each other.
Просмотров: 1 714
Видео
4) Randomly Selecting Features in ArcGIS
Просмотров 4,3 тыс.8 лет назад
In this session we use to randomly select from a list of features. For example, randomly select ten lines from all the lines in a feature class.
3) Creating Random Walk Lines in ArcGIS
Просмотров 1 тыс.8 лет назад
A random walk are random lines that start at end at the same location of an actual animal path...but the lines randomly "walk" between the starting and ending points.
2) Creating Random Locations in ArcGIS
Просмотров 4,5 тыс.8 лет назад
Creating random points within polygons or points randomly located on lines.
4) Creating Polygon Feature Classes Using Arcpy Scripting
Просмотров 6 тыс.8 лет назад
4) Creating Polygon Feature Classes Using Arcpy Scripting
3) Creating Line Feature Classes Using Arcpy Scripting
Просмотров 3,6 тыс.8 лет назад
3) Creating Line Feature Classes Using Arcpy Scripting
2) Creating Point Feature Classes Using Arcpy Scripting
Просмотров 7 тыс.8 лет назад
2) Creating Point Feature Classes Using Arcpy Scripting
4) Getting Information About Tables and Fields
Просмотров 1,3 тыс.8 лет назад
4) Getting Information About Tables and Fields
2) Getting Information About Point, Line Polygon Featureclasses
Просмотров 1,3 тыс.8 лет назад
2) Getting Information About Point, Line Polygon Featureclasses
4) Working with Date and Time Fields
Просмотров 3,3 тыс.8 лет назад
Using the arcgis field calculator to compute and convert date and time values
5) Working With Global Variables To Remember Information
Просмотров 9678 лет назад
5) Working With Global Variables To Remember Information
3) Building Python Functions in Arcmap Field Calculator
Просмотров 5 тыс.8 лет назад
3) Building Python Functions in Arcmap Field Calculator
pdating or Deleting Field Values using Data Access Update Cursor
Просмотров 1,3 тыс.8 лет назад
pdating or Deleting Field Values using Data Access Update Cursor
1) Retrieving Field Values using Data Access Search Cursor
Просмотров 2,2 тыс.8 лет назад
1) Retrieving Field Values using Data Access Search Cursor
2) Python Add-In Button Interactions
Просмотров 9 тыс.9 лет назад
2) Python Add-In Button Interactions
4) Python Add-In Toolbar Menu Palettes and Menus
Просмотров 4,8 тыс.9 лет назад
4) Python Add-In Toolbar Menu Palettes and Menus
You r the good teacher
its amazing keep doing videos
Can you show us the scripts lines this Toolbox?
If we need to filter specific file types like Excel, Word then how we can achieve?
that was a cliff hanger lol
Have you found a better way of debugging/developing rather than makeaddin.py > install addin > relaunch arcmap > make 100 cups of tea > test addin > realize you misplaced a comma > die > repeat
Hello, thank you very much for the valuable video tutorial. Will there be more video tutorials on using other methods or functions of the python toolbox
Hi I want to create something Like tools or what ever it is called The function is to create a point feature When it created a window popup This window shoould display x an y of point Can add description Can sen x and y and description To someone throw email
Sent*
Any guide or something To start with
In the case of the polygon with a hole, is it not necessary a null point to separate the outer ring from the inner rings?
By accident I discovered that the null points are the separators of interior and exterior rings. It's useful if you wanna extract the outer perimeter of a polygon with holes by iterating over the polygon's arrays of points, as it starts by the exteriors and never gets to the interiors due to the null point. At least that's what I have understood that it's happening!
When I double click on MakeAddin.py, Visual Studio opens. What software is expected to run this? Any ideas?
you need to run this in command line using "python makeaddin.py". python command will only work if you added python.exe path in your windows environment path variables. Otherwise you need to give full path to python.exe. In VS code you can just run the file in top right corner there is a button
@@tehdreamer I don't even remember what video this is for, but I already purged this information.
Thank you
u r great teacher and GIS python expert
muchas gracias!
thank you for this helpful tutorial. when I click on makeaddin.py nothing happens and no .esriaddin file is created what is the problem?
you might need to amend the makeaddin.py, depending your version of python. There is a print statement thats in "print variable" format. I needed to change mine to "print(variable)" format due to syntax change in Python versions
Hello,Sir. I have the error filter.type and valueList, it do not show drop down list on arc tool. How to solve this problem.
Can we add adding to Microsoft word using Python?
Can anyone help me... To get this files This is my email 💙 moookamoooka2016@gmail.com
Please I could not found the script can you feed with text or pdf script
please , I can not found the file in the this website: elearning.uaf.edu/courses/course-details-16-17/?crn=36525 please if any one have the file for script send to me for the email:shded2012@gmail.com
I could not find the script.
Really you are very nice. I love you much. Can you help me find full scholarship in Geodesy or GIS Sciences please? This is my email: mohtadiosman@hotmail.com
I want to try this myself
Appreciate your helpful tips
Appreciate your helpful tips.
Crystal clear!! Thanks a lot
Hey, Thank you so much for such comprehensive and details tutorial series. Sir I need to some help for export attribute data into excelsheet. I need scripts for automation of daily task. I get a function but I not understood how to use it proprely. Function scripts in following. >>> def CreateExcel(dataset, sheetname, filename): ... import xlwt ... wb = xlwt.Workbook() ... ws = wb.add_sheet("sheetname") ... for YCOUNTER, data in enumerate(dataset): ... for XCOUNTER, value in enumerate(data): ... ws.write(YCOUNTER, XCOUNTER, value) ... wb.save(filename) Can you elaborate it or is any other easy way to write script for export attribute table into excelsheet. I no need to tool. I need just scripts. Thank You.
Pleas how can i contact you ?
Do you have current course material available?
Sir I need help in pyqis. I am stuck in adding tif folder and make loop to read and have to calculate mean
Thank you it's very helpful
Can we manipulate shape_area using field calculator because in my job we must use 2 digit number behind the comma when i calculate area using hectare i've found how to manipulate data but not the shape area
Very helpful. Thank you so much
Need to download the script.please share the link.
how to take user input (featureclass) when press the button?
Good afternoon. how can you combine two comboboxes
How to get to the help panel?
Can you please upload the other videos of this week?
ruclips.net/video/OwUjNuijJLQ/видео.html
Hi, Thanks a lot for your tutorials. Can I have your email address, please?
thank u so much sir...sharing this video
What about one to export a PDF?
Try this...Just replace the output PDF name and path: def onClick(self): mxd = arcpy.mapping.MapDocument("CURRENT") arcpy.mapping.ExportToPDF(mxd, r"C:\Users\UserName\Desktop\ExportedMap.pdf")
It would be great if you could share the script text file :)
are get it?
are you get it?
This is great
Hi Teacher, Thank you for the video. I am new to programming and I need to create a python script tool for my assignment . Please suggest me if you have any new idea of a script tool. Thank you
arcpy.CreateFishnet_management("squares","0 0","0 1",1,1,10,10," ","NO_LABELS") Runtime error Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\management.py", line 1826, in CreateFishnet raise e ExecuteError: ERROR 000622: Failed to execute (Create Fishnet). Parameters are not valid. ERROR 000628: Cannot set input into parameter corner_coord.
arcpy.CreateFishnet_management("squares","0 0","0 1",1,1,10,10,"#","NO_LABELS")
Hi 2 question First of all How I can call a toolbox within a file geodatabase and I have tried but I have came across to error that failed to open toolbox, second one is if I want that my add-in contain toolbox (not in the local folder) how I can do it.
can you provide txt file code?
when i print coords i got 5*5 matrix way print but you got 5*2 how i can resolve
>>> array = arcpy.Array() >>> list_coords = [ [0,0], [5,0], [5,5], [0,5], [0,0] ] >>> for coords in list_coords: ... print coords [0, 0] [5, 0] [5, 5] [0, 5] [0, 0]
for poly in list_poly: ... point_obj.x=poly[0] ... point_obj.y = poly[1] ... array.add(point_obj) ... Runtime error Traceback (most recent call last): File "<string>", line 2, in <module> NameError: name 'point_obj' is not defined >>>
How can add items in combobox
i am getting error Runtime error Traceback (most recent call last): File "<string>", line 1, in <module> TypeError: 'tuple' object is not callable >>>
could you uploaded the materials please
That would be accessible to students who register for the course (starts Jan 2019)
Thank you
@@pythonscriptinginarcgisspr8470 can I register to this course?...