AnsweredAssumed Answered

loop through geostatistical layers in a folder

Question asked by inmud05 on Mar 13, 2015
Latest reply on Jun 11, 2015 by jiaxin11

Hello everyone,

I'm trying to write a python script to loop through geostatistical layers in a folder (a snapshot is attached below), then loop through another folder which contains a  point shapefile (a snapshot attached as well), find the match between the two  based on names (e.g., 1a1a0.lyr vs 1a1a0 in the 'dateid' field), and last, use a 'GA layer to point' to the matching points. So how can I accomplish this task? More specifically, how do I create a nested loop to match the layers with the points of one shapefile?

Many thanks,


These are a sample of layers


This is the attribute table of points