69 reputation
15
bio website bcit.ca
location Vancouver, BC
age 40
visits member for 2 years, 7 months
seen Sep 12 '12 at 22:45

I am a GIS student in the process of completing my practicum for a mining company located in the heart of downtown Vancouver.


Nov
13
awarded  Notable Question
Mar
18
awarded  Popular Question
Jun
6
comment Batch intersect from a text file using Python (ArcGIS)
It was suggested to me to add a dictionary to assign values to the temp_polys. example: {'temp_poly0':'original_filename1', 'temp_poly1':'original_filename2', etc} This solution sounds intriguing but I am unsure as to how to implement it. Can anyone help?
Jun
5
comment Batch intersect from a text file using Python (ArcGIS)
Yes, I would like to keep any intermediate intersects, but I don't want the names to change. I think your solution would be suitable for my needs, i.e., perhaps a new subfolder in each applicable tree. But I'm not sure how I would write this code-wise.
Jun
5
asked Batch intersect from a text file using Python (ArcGIS)
Jun
4
comment Directing output to a mirrored file tree. ArcGIS, Python
Thank you nmpeterson. I will try this out.
Jun
4
accepted Directing output to a mirrored file tree. ArcGIS, Python
Jun
1
asked Directing output to a mirrored file tree. ArcGIS, Python
May
30
awarded  Autobiographer
May
29
comment Using Batch Project Script to read from a text file as Input
Awesome, this worked like a charm. Thanks, so much.
May
29
accepted Using Batch Project Script to read from a text file as Input
May
29
asked Using Batch Project Script to read from a text file as Input
May
22
awarded  Supporter
May
16
comment Testing if shapefiles intersect from a list using intersect: ArcGIS
Thanks a lot Roy. This is definitely something that can benefit me.
May
16
accepted Testing if shapefiles intersect from a list using intersect: ArcGIS
May
16
asked Testing if shapefiles intersect from a list using intersect: ArcGIS
May
10
awarded  Scholar
May
10
accepted ArcGIS 10 Python script to search directories and subdirectories for intersects and clip them
May
2
comment ArcGIS 10 Python script to search directories and subdirectories for intersects and clip them
First I want to search through Subdirectories. This is what I have so far, syntax error on if statement: import os, arcpy, sys basedir = sys.argv[1] #dirnames uses a recursive function to list subdirs: def dirsearch(basedir): [dirpath,dirnames,filenames]=os.walk(basedir) if dirnames.length == 0 intersectfeatures(dirpath) else: for dir in dirnames: dirsearch(dir) # a method that does the intersecting of all fcs in a directory def intersectfeatures(dirpath): arcpy.envworkspace=dirpath fclist=arcpy.ListFeatureClasses() for fc in fclist:
May
2
comment ArcGIS 10 Python script to search directories and subdirectories for intersects and clip them
Thanks The data is in a load of directories mostly with shapefiles. This is my code so far: import os, arcpy, sys basedir = sys.argv[1] #dirnames uses a recursive function to list subdirs: def dirsearch(basedir): [dirpath,dirnames,filenames]=os.walk(basedir) if dirnames.length == 0 intersectfeatures(dirpath) else: for dir in dirnames: dirsearch(dir) # a method that does the intersecting of all fcs in a directory def intersectfeatures(dirpath): arcpy.envworkspace=dirpath fclist=arcpy.ListFeatureClasses() for fc in fclist: