I have 1200 points in my "source" feature class and 550 points in my target one. With Hawths Tools, it takes about 6-7 seconds to create the output csv file contains the closest target point to each source. I had a couple of operations to do to those files so that's why I would like to program something.
I'm a beginner so I don't know all the methods and properties of all object. I try to do two loops, looking, one by one, with target point is nearest to each source points. That's 660,000 operations. My application is doing about 100 checks/seconds so that's roughly 1h50 minutes. It's ridiculous. I want to simplify my job, not giving me the time to go buy a coffee each time.
I didn't find any code explaining how I could do it in less that 10 seconds...
Thanks!


Sign In
Create Account

Canada
Back to top
United States










