Hi all,
I have 150 Low Voltage Service points for which I have TracePoints1 printed in the General Notes area. At these points, I want to produce separate json by doing upstream traces for each of them. After throwing a flag at each of these starting points one by one, it will produce json, then the first flag will be cleared, it will move to the next point, throw a flag there and produce json. The process will repeat this way for 150 starting points. How can I do that?
I want to get the AssetID parameters of the circuit breakers by generating json from 150 starting points.
I want to make a process automation for these processes from the points I marked on the map. How can I do these things with Python?
PS:
Solved! Go to Solution.
This toolbox https://github.com/Esri/Utility-Data-Management-Support-Tools contains a tool called batchtrace. It can do what you are describing.
https://esri.github.io/Utility-Data-Management-Support-Tools/docs/3.0/BatchTrace.html
This toolbox https://github.com/Esri/Utility-Data-Management-Support-Tools contains a tool called batchtrace. It can do what you are describing.
https://esri.github.io/Utility-Data-Management-Support-Tools/docs/3.0/BatchTrace.html
Thank you @JohnAlsup
I reviewed the toolkit but I'm getting errors, is there a source showing how it works?
Can you try the version here? https://github.com/Esri/Utility-Data-Management-Support-Tools/tree/Preview3.1.2
Make sure to remove the old toolbox(best to delete it) and restart pro. If that does not work, I can pull the 3.1 code and look at a fix for that issue
You are right @MikeMillerGIS,
I ran the updated version and I don't get any errors. But this time I see that you have bypassed many of my starting points. I get a "No valid starting locations found" notification. When I examined the data, I could not see any problems at the starting points.
I used the parameter (notes = 'Trace1') for the starting point. I want to trace 2999 points, but as a result I get 310 output.
Do you have different tiers in your data? What tier is your downstream trace set up for? You might need a different trace config per tier/per junction. You would need a field on the junction class with the trace config name and the code can pull the trace config from that field
There are no different tiers, I am trying to trace within the same tier. Each tracking starting point is within the same tier.
In the screenshot, starting points 317009 and 317010 are in the same tier. It gives error 317010, I do not get any errors when I trace on the map. There are many examples like this, why can't it find the starting point?
Yes, when I trace with the GP tool, I do not get an error at the same point. I don't understand this anyway