6 - Search Cursors - ArcMap Scripting with Python and Arcpy

preview_player
Показать описание
Learn how to use Python and Arcpy with ArcMap

Рекомендации по теме
Комментарии
Автор

I love these videos. You lay everything out in a very simple and easy to understand format, and for a beginner such as myself, I cannot thank you enough.

nathanwilton
Автор

the best free arcmap/python tutorial online, thank you sir!

jimivie
Автор

Really appreciate you taking the time to make these videos. They are helping me so much!

clarkcorie
Автор

thank you very much teacher for these classes, I'm radiant for learning

lucasserafimdasilva
Автор

Thank you, this example made me understand it very easily after struggling so hard with readings.

renatas
Автор

You are saving my bachelor thesis thank you!

Svkenapps
Автор

Thank you Franchyze, I took advantage of your series!

mrnikfal
Автор

how to join 2 table (sql) in searchcursor(). Please help me

tranthanhhai
Автор

The second question .. How can I create a tool using Python and then call it in the ArcGIS program in order for it to work with any layer that I add to the project?

dr.zainabameen
Автор

Hello.. I am a new follower of you from Iraq, I had started today by following a page on YouTube, and in the first lesson of the series
ArcMap Scripting with Python and Arcpy
But I was not able to download the shapefile for the exercise, how can I download it to apply the lesson

dr.zainabameen
Автор

I have a problem with script running. arcpy.da.SearchCursor cannot open ne_10m_populated_places.shp feature class. Do you know what is problem? Thanks.

KocoStefan
Автор

i keep getting this error
Traceback (most recent call last):
File "C:\Users\Kelvin\Documents\ArcPractice\Scripts\testfeatures2.py", line 18, in <module>
arcpy.FeatureClassToFeatureClass_conversion('p_layer', outpath, 'cities_in_()'.format(x))
File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\conversion.py", line 1891, in FeatureClassToFeatureClass
raise e
ExecuteError: ERROR 000354: The name contains invalid characters
Failed to execute (FeatureClassToFeatureClass).

why do i keep getting this error and how do i fix it

kelvinwebley
Автор

Hey sir Hope you're doing well
i have a query when i run this code on Python IDLE
it gives me Runtime error:
RuntimeError: cannot open

Kindly suggest me the solution

i'll be very thankful

afzalriz-v
Автор

How come I NEED to set an arcpy.env.workspace for my points layer to be opened? You don't have this in your code, but when I leave it out, it gives me the error that the file cant be opened.

konanpruiksma
Автор

Hi, First of all thanks for such a comprehensive and easy to understanding video series about the arcpy. I am facing some problem about the combination of DA and Mapping modules. Can you share your email id please. Thank You.

Mumtaz_GIS_Specialist
Автор

please help im getting this error:
Traceback (most recent call last):
File "C:\Users\Kelvin\Documents\ArcPractice\Scripts\testfeat3.py", line 7, in <module>
with arcpy.da.SearchCursor(points, ['NAME', 'POP_MAX', 'TIMEZONE']) as cities_cursor:
RuntimeError: cannot open

kelvinwebley
Автор

import arcpy

arcpy.env.overwriteOutput = True

points =
countries =
outpath =
fields = ["NAME", "POP_MAX", "TIMEZONE"]
arcpy.MakeFeatureLayer_management(points, "points_layer")
with arcpy.da.SearchCursor(points, fields) as cursor:
for k in cursor:
print k[0]
print k[1]
print k[2] + "\n"
Idk why, but if anyone got runtime error like me, just create (arcpy.MakeFeatureLayer_management(points, "points_layer")
it should work. And man thank you for your tutorials these are really helpfull.

kerimmirzeyev
Автор

this would have been helpful if you could actually see the screen

VoxJess