You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it is not causing a problem (or we have not yet detected it) but the issue still persists. Anything wents wrong in the code and should be checked one day. Low priority though.
http://forum.travelmapping.net/index.php?topic=2073
Oops, never mind. Looking again at what's going on in the OP, these two issues are unrelated. Will post in that forum topic soon. And maybe give this issue a good think later on.
Marking datacheck false positives occurs in lines 2472-2493 -- before the HighwayGraph is initialized, and thus before the HIDDEN_JUNCTION entries are appended to datacheckerrors.
The root of the problem here is that we have a group of datacheck errors that are only going to be detected when graph generation happens. Maybe the answer is that the master graph needs to be generated every time to allow these datachecks to occur, but only generate all of the subgraphs (the time consuming part) when there's no -k flag. Then move the FP/unmarked FP stuff to after that graph is generated.
The solution of generating just the master graph every time makes sense, I can look into this later on.
However: HIDDEN_JUNCTION suffers from the same problem as VISIBLE_HIDDEN_COLOC, due to indeterminate point ordering in the QuadTree.
When I run the modified siteupdate.py (move lines 2246-2517 to just before line 3223) on my machine (with most systems commented out to speed the process up), I get fra.a009;A9/A709/E15/E80@+A709_W;;;HIDDEN_JUNCTION;4
Running the canonical siteupdate.py with all systems, I get fra.e15;E15/E80/A9/A709@+A709_W;;;HIDDEN_JUNCTION;4
Meanwhile, on-site, we have fra.e15;E15/A9/A709/E80@+A709_W;;;HIDDEN_JUNCTION;4
Just changing the data in the Waypoints fields (say, to the label on the route in question, +A709_W in this case) is not sufficient, as the datacheck error itself can change. Note the fra.a009 vs fra.e15.
Activity
michihdeu commentedon Oct 24, 2016
Dunno why it happened and what has been changed but it's OK now...
michihdeu commentedon Nov 1, 2016
The error is back with the latest update. I'm 100% sure that it was fine before!
It seems that there are similar issues with FPs which are still indicated as error: http://tm.teresco.org/forum/index.php?topic=335.msg4177#msg4177.
rickmastfan67 commentedon Nov 13, 2016
Alerting @terescoj @jteresco so he's fully aware of this.
jteresco commentedon Aug 1, 2017
This one doesn't seem to be causing a problem now. Can we close?
michihdeu commentedon Aug 1, 2017
I think it is not causing a problem (or we have not yet detected it) but the issue still persists. Anything wents wrong in the code and should be checked one day. Low priority though.
yakra commentedon Oct 26, 2018
http://forum.travelmapping.net/index.php?topic=2073Oops, never mind. Looking again at what's going on in the OP, these two issues are unrelated. Will post in that forum topic soon. And maybe give this issue a good think later on.
yakra commentedon Oct 27, 2018
All of the HIDDEN_JUNCTION entries in datacheckfps.csv are showing up in unmatchedfps.log.
yakra commentedon Oct 27, 2018
DataProcessing/siteupdate/python-teresco/siteupdate.py
Line 2485 in 5b718fe
seems to be returning FALSE. But why?<--Nope. Not returning:dis not actuallyin datacheckerrors-- see below.DataProcessing/siteupdate/python-teresco/siteupdate.py
Line 1571 in 5b718fe
[vinfo.unique_name]means this datum is an array, consisting of one element,vinfo.unique_name, right? As far as I can tell, this should work...yakra commentedon Oct 27, 2018
DataProcessing/siteupdate/python-teresco/siteupdate.py
Line 1571 in 5b718fe
happens as part of
DataProcessing/siteupdate/python-teresco/siteupdate.py
Lines 1422 to 1435 in 5b718fe
The HighwayGraph is initialized on line 3047:
DataProcessing/siteupdate/python-teresco/siteupdate.py
Lines 3041 to 3047 in 5b718fe
Marking datacheck false positives occurs in lines 2472-2493 -- before the HighwayGraph is initialized, and thus before the HIDDEN_JUNCTION entries are appended to datacheckerrors.
yakra commentedon Oct 27, 2018
#32 (comment)
My suspicion is that around that time Jim ran a site update with either the "-k" or "--skipgraphs" switch.
yakra commentedon Oct 27, 2018
@jteresco, is it safe to move lines 2246-2517 to just before line 3223?
jteresco commentedon Oct 27, 2018
The root of the problem here is that we have a group of datacheck errors that are only going to be detected when graph generation happens. Maybe the answer is that the master graph needs to be generated every time to allow these datachecks to occur, but only generate all of the subgraphs (the time consuming part) when there's no -k flag. Then move the FP/unmarked FP stuff to after that graph is generated.
michihdeu commentedon Oct 27, 2018
Yes, it would be great to generate the master graph with every update. I don't like that errors appear and disappear without knowing the reason.
yakra commentedon Oct 27, 2018
The solution of generating just the master graph every time makes sense, I can look into this later on.
However: HIDDEN_JUNCTION suffers from the same problem as VISIBLE_HIDDEN_COLOC, due to indeterminate point ordering in the QuadTree.
When I run the modified siteupdate.py (move lines 2246-2517 to just before line 3223) on my machine (with most systems commented out to speed the process up), I get
fra.a009;A9/A709/E15/E80@+A709_W;;;HIDDEN_JUNCTION;4Running the canonical siteupdate.py with all systems, I get
fra.e15;E15/E80/A9/A709@+A709_W;;;HIDDEN_JUNCTION;4Meanwhile, on-site, we have
fra.e15;E15/A9/A709/E80@+A709_W;;;HIDDEN_JUNCTION;4Just changing the data in the Waypoints fields (say, to the label on the route in question,
+A709_Win this case) is not sufficient, as the datacheck error itself can change. Note thefra.a009vsfra.e15.Merge pull request #115 from yakra/siteupdate5
yakra commentedon Nov 3, 2018
@si404, I've updated the HIDDEN_JUNCTION FP entries:
yakra/HighwayData@ab5301f
michihdeu commentedon Nov 11, 2018
It works! Thanks @yakra 👍