Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I would like to run a process to:

1) find all shapefiles in muliple folders/directories (i.e., the directory for each differen folder is "G:\Projects\"variable project #"\GIS\Shapefiles)

2) Add a field for inserting "variable project #" from the file path name(i.e., truncate the file path name to only include "variable project #")

3)Then export and merge these features into a temporary folder.

...if I could even do stpes 1-2 above, it would be a tremendous help. This files are in a couple hundred folders and, due to the length of the file path, it is a bit onerous to try to batch process these manually...

Any help would be greatly apprecited,

Thanks!

share|improve this question
1  
Hi - Are using ArcGIS? You could add the ArcGIS tag and perhaps python to your question. –  djq Jan 10 '13 at 22:40
3  
What is your comfort level with writing your own scripts/code? Also what language(s)? There are multiple ways of addressing your problem but it's too broad without some more information. –  Kevin Jan 10 '13 at 23:28
add comment

closed as too localized by Devdatta Tengshe, PolyGeo, whuber Jun 10 '13 at 13:07

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

I would suggest FME from Safe for this kind of job. If you dont have a license you can download the demo version. Else you could use python or anything to script what you want.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.