Question: Make the script interactive, i.e., prompt the user for input where applicable(e.g., path, filename, distances). Assure that the arcpy environment settings are correct. Use any
Make the script interactive, i.e., prompt the user for input where applicable (e.g., path, filename, distances). Assure that the arcpy environment settings are correct. Use any vector file to test your code.
The script should allow for the following operations:
- Use an alternative conditional and the os exists() function to check that the vector file exist.
- If the file exists, generate a buffer.
- If the file does not exist, print a message to the screen informing the user of this error.
- Please remember to add comments to your code.
- Make sure that you use an IDLE version that uses Python 3 and has access to arcpy.
Step by Step Solution
There are 3 Steps involved in it
To create a Python script using arcpy that allows the user to generate a buffer on a vector file if ... View full answer
Get step-by-step solutions from verified subject matter experts
