These videos are great! All the previous ones made lots of sense now that you showed how to build the "fancy looking" toolbox. Thanks a lot! It has been really helpful :)
any idea why I'm getting this error in the loop for the last 5 videos?? Traceback (most recent call last): File "Z:/Users/juanastroza/Documents/GIS_projects_data/tutorial_ArcMap_Python/Scripts/11_adding_IF_selectbylocation_searchcursor.py", line 28, in print "{} didn't meet the criteria".format(x[1]) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 1: ordinal not in range(128)
Try adding .encode('utf-8'), someone else ran into this issue. Check the comments on video 11 of this playlist, there is a comment with more detail. Hopefully that helps.
can someone help me why am i getting this error Traceback (most recent call last): File "E:/Project on Arcpy/Script/Conditional Statement_IF.py", line 25, in arcpy.MakeFeatureLayer_management(countries, 'countries_layer', """ "FID" = {} """.format(x[0]) ) File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\management.py", line 6495, in MakeFeatureLayer raise e arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid. ERROR 000725: Output Layer: Dataset countries_layer already exists. Failed to execute (MakeFeatureLayer).
Why do I get this when I run it I can't figure out the problem can I get some help? Traceback (most recent call last): File "C:/Users/Koce/Desktop/Softverski/Zadaca/Scripts/Skripta3.py", line 13, in arcpy.MakeFeatureLayer_management(points, 'points_layer') File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\management.py", line 6965, in MakeFeatureLayer raise e arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid. ERROR 000735: Input Features: Value is required Failed to execute (MakeFeatureLayer).
@@Franchyze923 I don't know why but my comments aren't showing when I put the link of the code on here... It's the code from your GiftHub page in the folder scripts named gis_script_vid_12.py
@@kostadin121 is the code exactly the same as what is on github? It's complaining about line 13 which is arcpy.MakeFeatureLayer_management(points, 'points_layer'). What are you setting your points variable to in line 5? points = arcpy.GetParameterAsText(0) ? I would make sure that exists, and you can view that file in arcmap.
We had to rename the output file because it contained parenthesis () and was causing an error. If you watch video 8, that is when we first do it and I explain it a little better. ruclips.net/video/6ZgvoGNPVwQ/видео.html
These videos are great! All the previous ones made lots of sense now that you showed how to build the "fancy looking" toolbox. Thanks a lot! It has been really helpful :)
You’re welcome! Thanks for watching
Thank you Fran, great video, very helpful. It is very clear, even for a lawyer! Keep going! Greetings from Portugal
You're welcome! Thanks for watching!
nice! still valid 6 years later. I had to adapt some things here and there since I'm using ArcPro, but the video was still helpful. Thanks!
Sweet! Glad it's still helpful. I've also got some ArcPro videos too - ruclips.net/p/PLO6KswO64zVt8YCuKIOdCsJvlUivXETGu
Thank you for this man, I'm currently going through your tutorial and will jump to the Arcgispro version next. You sir are a legend
Thanks for watching!
Hey, you are explaining this really good. Thanks so much!
Greetings from Germany
You're welcome! Thanks for watching
any idea why I'm getting this error in the loop for the last 5 videos??
Traceback (most recent call last):
File "Z:/Users/juanastroza/Documents/GIS_projects_data/tutorial_ArcMap_Python/Scripts/11_adding_IF_selectbylocation_searchcursor.py", line 28, in
print "{} didn't meet the criteria".format(x[1])
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 1: ordinal not in range(128)
Try adding .encode('utf-8'), someone else ran into this issue. Check the comments on video 11 of this playlist, there is a comment with more detail. Hopefully that helps.
thanks!
best part.. "for the shit.. city..." hehe
Greetings from Chile
This was very helpful! The link to this video should be included in the help documentation
Thanks for watching ! Glad it was helpful
can someone help me why am i getting this error
Traceback (most recent call last):
File "E:/Project on Arcpy/Script/Conditional Statement_IF.py", line 25, in
arcpy.MakeFeatureLayer_management(countries, 'countries_layer', """ "FID" = {} """.format(x[0]) )
File "C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy\arcpy\management.py", line 6495, in MakeFeatureLayer
raise e
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000725: Output Layer: Dataset countries_layer already exists.
Failed to execute (MakeFeatureLayer).
hmm that's kinda strange, can you share your code?
This is really helpful, thank you!
You're welcome!
Why do I get this when I run it I can't figure out the problem can I get some help?
Traceback (most recent call last):
File "C:/Users/Koce/Desktop/Softverski/Zadaca/Scripts/Skripta3.py", line 13, in
arcpy.MakeFeatureLayer_management(points, 'points_layer')
File "C:\Program Files (x86)\ArcGIS\Desktop10.5\ArcPy\arcpy\management.py", line 6965, in MakeFeatureLayer
raise e
arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000735: Input Features: Value is required
Failed to execute (MakeFeatureLayer).
can you share your code?
@@Franchyze923 I don't know why but my comments aren't showing when I put the link of the code on here...
It's the code from your GiftHub page in the folder scripts named gis_script_vid_12.py
@@kostadin121 is the code exactly the same as what is on github? It's complaining about line 13 which is arcpy.MakeFeatureLayer_management(points, 'points_layer'). What are you setting your points variable to in line 5?
points = arcpy.GetParameterAsText(0) ? I would make sure that exists, and you can view that file in arcmap.
@@Franchyze923 I used the same code from the GiftHub page and it's the same and I can't run it as a tool says "failed to execute"
@@kostadin121 double check line 5
points = arcpy.GetParameterAsText(0). And check whatever points layer you're trying to use.
Thanks for sharing! Helped me a lot
You're welcome! Glad it was helpful
Thank you so much, great tutorial.
You're welcome! Glad it was helpful
Hello Sir your ide background is totally black, code are not visible can you share me the code !!
Thank You
Just added the code to GitHub
github.com/franchyze923/Code_From_Tutorials/tree/master/Arcgis%20Scripting%20with%20Python%20Arcpy
I'm not getting your 22nd line of code, can you explain me
We had to rename the output file because it contained parenthesis () and was causing an error. If you watch video 8, that is when we first do it and I explain it a little better. ruclips.net/video/6ZgvoGNPVwQ/видео.html
Amazing! It worked for me. Also, I'm sure there is a way to input the fields that we want to loop through :)
Awesome! Thanks for watching
I'm over here just making toolboxes...