I am trying to iterate on a spatial join on point data. I want to get the attribute of a polygon onto a point dataset. I can do it fine for one features but have loads of points to get through so want to use the iterate function which I have not used before. I have attempted this but the spatial join needs to have an input value - what value do I tell it to use as I want it to use all the features in my geodatabase but it wont me select this - only wants me to select one feature.
So far I have got this far.
Solved! Go to Solution.
Replace Iterate Dataset with Iterate Feature Classes . And make sure that all feature Classes in Geodatabase are point feature classes that only you want to spatial join.
Replace Iterate Dataset with Iterate Feature Classes . And make sure that all feature Classes in Geodatabase are point feature classes that only you want to spatial join.
Thank you very much – it works now.
Megan Isaacs
GIS Manager
Tel 0141 354 1410
www.force9energy.com<http://www.force9energy.com/>
272 Bath Street, Glasgow, G2 4JR.
T: 0141 354 1410 F: 0141 354 1411.
Force 9 Energy Partners LLP, registered number OC355316
This email and any attachments may contain privileged and/or confidential information. If you are not the intended recipient please
advise the sender immediately and delete this message. This message does not form part of any contract unless so stated.
Thanks, it works but does slightly different job than I thought it will. Do you know how can I update it all into one output file, not to create the same number of outputs as the inputs? I would like to just go to that one file and delete fields I don't need. When I do it manually, I do spatial join > get output > I take this output and run it against another layer > and so on and repeat it around 20 times, which is taking lots of time.
In the below, 202403cog is input folder with 20 shapefiles, SSCovCheck is a list of unit postcodes. Any idea? Thanks