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
Not immediately important in that nothing directly related to a ConnectedRoute is used in user data or specified in QS parameters.
It will be more important in the future, such as when TravelMapping/Web#421 is implemented, if the ConnectedRoute name is shown in the web browser title bar.
It probably is good to have unique names that we can refer to ConnectedRoutes by, so we can talk about "I-35 (S. Texas)", "I-35 (N. Texas - S. Minnesota)" and "I-35 (N. Minnesota)", rather than just... "I-35".
We shouldn't just check for duplicate blank names, but any duplicate name within a system. The string to analyze should be something like route + banner + ' ' + groupname. I see no harm in having duplicate names in different systems.
Not sure whether there are cases where it could be correct without any name entry?
Are there cases where it would be fine to omit the name entries? I don't think so but haven't thought much about it.
In addition, are there cases where it could be fine to omit the name entry for one connected route but specify it for the other route(s) only? Again, didn't think about it much but I guess that there should be no exceptions.
I think it would be nice to get a list of potential data errors - as you usually do - to check this before introducting the new check.
In addition, are there cases where it could be fine to omit the name entry for one connected route but specify it for the other route(s) only? Again, didn't think about it much but I guess that there should be no exceptions.
If there are multiple rows with the same Route+Banner combination, each row should have a nonblank Name.
This would suggest having another datacheck for ConnectedRoutes with a blank name that should be non-blank.
(I think per a not-so-recent forum thread, there's some stuff I'd need to fix in my regions... Nova Scotia maybe; anywhere else?)
Perhaps DUPLICATE_CONRTE_NAME
and BLANK_CONRTE_NAME
Since the DatacheckEntry class is designed to store a chopped root, it makes sense to store the ConnectedRoute's first chopped root as the route with the error, and not list any waypoint labels. deuhe.b262;;;;BLANK_CONRTE_NAME;481 (481 is the line # in deub_con.csv) deuhe.b262;;;;DUPLICATE_CONRTE_NAME;481 deurp.b262;;;;BLANK_CONRTE_NAME;480
Theoretically, datacheck.php could detect these error codes, and change the link to point to a ConnectedRoute in the HB, or mapview, or even the _con.csv file on GitHub.
If so, I think that the original issue text should be revised?
If a _con.csv file has more than one route for the system without name entry, a data error should be reported
-->
If a _con.csv file has more than one route for the system and minimum one route has noname entry, a data error should be reported
Nope. It is a ConnectedRoutes that should be combined into one. Why did the other check not find it?
Edit: Not sure which "other check" I meant but wasn't there a data check dealing with disconnected connected routes? @yakra I didn't find it in the manual. Was it just script magic?
If there are multiple routes with the same Route+Banner combination, each route should have a nonblank Name.
We might add the "(Main)" example to the manual. However, I'm not sure if there is consensus on it (I think minimum @si404 and me usually do it this way)
If there are multiple routes with the same Route+Banner combination, each route should have a nonblank Name.
We might add the "(Main)" example to the manual. However, I'm not sure if there is consensus on it (I think minimum @si404 and me usually do it this way)
I'm not sure about the text (I'm too limited in expressing it) and - I think we need to agree on the change on the forum (poll) although the rule is just a "should" - we should know if there are a lot of "errors" out there before we ask for the rule modification. I just fixed four or five issues with systems I drafted and even more in systems @si404 originally drafted when the regions were maintained by him. I fear that there could be a lot of trouble for other contributors....
Nope. It is a ConnectedRoutes that should be combined into one. Why did the other check not find it?
Edit: Not sure which "other check" I meant but wasn't there a data check dealing with disconnected connected routes? @yakra I didn't find it in the manual. Was it just script magic?
Nope. It is a ConnectedRoutes that should be combined into one.
I'd say "Yep. It is ConnectedRoutes that should be combined into one." ;)
It gets flagged same as the others, because there are multiple B180 entries, and one with no groupName.
If it had been deub;B180;;Dorf;deust.b180 it wouldn't have been flagged.
Which means we need yet a 3rd datacheck to flag these cases!
Why did the other check not find it?
Edit: Not sure which "other check" I meant but
I assumed you meant the first shell script upthread.
That check didn't flag it because there's one blank groupName and one for Altenburg, no duplicates.
wasn't there a data check dealing with disconnected connected routes? @yakra I didn't find it in the manual. Was it just script magic?
DISCONNECTED_ROUTE only looks within individual ConnectedRoute entries, making sure the endpoint coords of adjacent chopped Routes match up.
For deub;B180;;Altenburg;deuth.b180,deusn.b180har,deuth.b180gah,deusn.b180, it compares
deuth.b180 <-> deusn.b180har
deusn.b180har <-> deuth.b180gah
deuth.b180gah <-> deusn.b180
deust.b180 is only one chopped Route, so it doesn't get checked against anything else.
we should know if there are a lot of "errors" out there before we ask for the rule modification. I just fixed four or five issues with systems I drafted and even more in systems @si404 originally drafted when the regions were maintained by him. I fear that there could be a lot of trouble for other contributors....
I'll get my corrections in too, and after everything is merged we can see what kind of clutter is left over.
*I left these in to remind myself, once they hit the HB in devel status, to take a closer look at whether a couple routes should get implied concurrencies.
Ok, most are maintained by Si, mapmikey and nezinscot do also have some issues to be checked. If they could be convinced that the rule modification is fine.... @yakra Do you want to give it a try?
On the one hand, using the existing rules, we could say
I-95 (Florida - Maine)
US52 (North Dakota - South Carolina)
US67 (Texas - Iowa)
...though that might make people think there's another "main" piece of the same highway of comparable stature?
An argument can be made that in cases like these "(Main)" might be more clear.
I'm not sure about the text (I'm too limited in expressing it)
I know what you mean. What solution to propose, where and how, isn't immediately straightforward.
We already allow "(Main)" because we use it and there is no rule forbiding it 😉
It should be in the manual either after If the route is lengthy and spans multiple regions
or after If a route is more local (shorter) (preferred because it is not concerned by number of regions and it is kinda "last option if nothing else fits"?)
"How to word" is my issues.... If one route sticks out due to its length, and all other route(s) are very short compared to it or even just spurs, the main route should simply be named "(Main)"
Activity
yakra commentedon Jun 10, 2020
Not immediately important in that nothing directly related to a ConnectedRoute is used in user data or specified in QS parameters.
It will be more important in the future, such as when TravelMapping/Web#421 is implemented, if the ConnectedRoute name is shown in the web browser title bar.
It probably is good to have unique names that we can refer to ConnectedRoutes by, so we can talk about "I-35 (S. Texas)", "I-35 (N. Texas - S. Minnesota)" and "I-35 (N. Minnesota)", rather than just... "I-35".
We shouldn't just check for duplicate blank names, but any duplicate name within a system. The string to analyze should be something like
route + banner + ' ' + groupname. I see no harm in having duplicate names in different systems.Not sure what you mean by this.
michihdeu commentedon Jun 10, 2020
Are there cases where it would be fine to omit the
nameentries? I don't think so but haven't thought much about it.In addition, are there cases where it could be fine to omit the
nameentry for one connected route but specify it for the other route(s) only? Again, didn't think about it much but I guess that there should be no exceptions.I think it would be nice to get a list of potential data errors - as you usually do - to check this before introducting the new check.
yakra commentedon Jun 10, 2020
Anywhere a ConnectedRoute name would be unique within a system. Staying with the deub example,
etc. all look fine of course.
http://travelmapping.net/devel_new/manual/syshwylist.php#rework02
In terms of usability & keeping unique names, it should be fine.
From a manual / style guide perspective? Having another look at the manual, I see...
This would suggest having another datacheck for ConnectedRoutes with a blank name that should be non-blank.
(I think per a not-so-recent forum thread, there's some stuff I'd need to fix in my regions... Nova Scotia maybe; anywhere else?)
Perhaps
DUPLICATE_CONRTE_NAMEand
BLANK_CONRTE_NAMESince the
DatacheckEntryclass is designed to store a chopped root, it makes sense to store the ConnectedRoute's first chopped root as the route with the error, and not list any waypoint labels.deuhe.b262;;;;BLANK_CONRTE_NAME;481(481 is the line # in deub_con.csv)deuhe.b262;;;;DUPLICATE_CONRTE_NAME;481deurp.b262;;;;BLANK_CONRTE_NAME;480Theoretically, datacheck.php could detect these error codes, and change the link to point to a ConnectedRoute in the HB, or mapview, or even the _con.csv file on GitHub.
michihdeu commentedon Jun 10, 2020
Sure. That's what I meant in combination to the OP. I just didn't repeat it because I thought it's obvious:
yakra commentedon Mar 17, 2021
This datacheck would flag the bad data in https://github.com/TravelMapping/HighwayData/blob/3d8499cb152eb76e44ec43d40e745eafaa42e8b4/hwy_data/_systems/usatxf3_con.csv
...as would #423
yakra commentedon May 22, 2021
Tagged the wrong issue in #430.
yakra commentedon Feb 16, 2022
DUPLICATE_CONRTE_NAMEshell scriptAs of 0df0a8c1d1f5469a7b534ed899108c9101690acb
yields
michihdeu commentedon Feb 16, 2022
@yakra if N6 is wrong:
The first N7 entry must also be wrong!
https://travelmapping.net/devel/manual/syshwylist.php#conncname
the Name field is used to distinguish between otherwise identically named routes (same Route and Banner fields)fraidf.n007has the same Route + Banner but is in a different region which is not enough according to the manual.The chopped name is fine though: https://travelmapping.net/devel/manual/syshwylist.php#ccity
City: Used to distinguish between otherwise identically named routes of the same highway in the same region.michihdeu commentedon Feb 16, 2022
If so, I think that the original issue text should be revised?
If a
_con.csvfile has more than one route for the system withoutnameentry, a data error should be reported-->
If a
_con.csvfile has more than one route for the system and minimum one route has nonameentry, a data error should be reported8 remaining items
michihdeu commentedon Feb 16, 2022
Nope. It is a ConnectedRoutes that should be combined into one. Why did the other check not find it?
Edit: Not sure which "other check" I meant but wasn't there a data check dealing with disconnected connected routes? @yakra I didn't find it in the manual. Was it just script magic?
michihdeu commentedon Feb 16, 2022
Your examples are very long main routes and each a very short spur or whatever. I think that the main routes should get a
(Main)"name"https://travelmapping.net/devel/manual/syshwylist.php#conncname_multirows
We might add the "(Main)" example to the manual. However, I'm not sure if there is consensus on it (I think minimum @si404 and me usually do it this way)
yakra commentedon Feb 16, 2022
Sounds good; I like this idea.
Just now fixing up Texas, I got to https://travelmapping.net/devel/manual/syshwylist.php#conncname_shorter
So I then went to https://travelmapping.net/devel/manual/syshwylist.php#ccity and arrived at "(Main)" that way.
This works for FM2760, but those I/US routes don't pass the
a route is more local (shorter)test.Agree.
csv issues
michihdeu commentedon Feb 16, 2022
I'm not sure about the text (I'm too limited in expressing it) and - I think we need to agree on the change on the forum (poll) although the rule is just a "should" - we should know if there are a lot of "errors" out there before we ask for the rule modification. I just fixed four or five issues with systems I drafted and even more in systems @si404 originally drafted when the regions were maintained by him. I fear that there could be a lot of trouble for other contributors....
michihdeu commentedon Feb 16, 2022
I'm confused. Shouldn't DISCONNECTED_ROUTE catch it?
yakra commentedon Feb 16, 2022
Almost missed this reply...
I'd say "Yep. It is ConnectedRoutes that should be combined into one." ;)
It gets flagged same as the others, because there are multiple B180 entries, and one with no groupName.
If it had been deub;B180;;Dorf;deust.b180 it wouldn't have been flagged.
Which means we need yet a 3rd datacheck to flag these cases!
I assumed you meant the first shell script upthread.
That check didn't flag it because there's one blank groupName and one for Altenburg, no duplicates.
DISCONNECTED_ROUTE only looks within individual ConnectedRoute entries, making sure the endpoint coords of adjacent chopped Routes match up.
deub;B180;;Altenburg;deuth.b180,deusn.b180har,deuth.b180gah,deusn.b180, it comparesI'll get my corrections in too, and after everything is merged we can see what kind of clutter is left over.
yakra commentedon Feb 18, 2022
366 errors in 66 systems as of 0240f504e9dd4d4cdec5009c6a514ff853849d0f
*I left these in to remind myself, once they hit the HB in devel status, to take a closer look at whether a couple routes should get implied concurrencies.
CHE csv issue
michihdeu commentedon Feb 18, 2022
Ok, most are maintained by Si, mapmikey and nezinscot do also have some issues to be checked. If they could be convinced that the rule modification is fine.... @yakra Do you want to give it a try?
yakra commentedon Feb 18, 2022
On the one hand, using the existing rules, we could say
...though that might make people think there's another "main" piece of the same highway of comparable stature?
An argument can be made that in cases like these "(Main)" might be more clear.
I know what you mean. What solution to propose, where and how, isn't immediately straightforward.
Maybe a new rule after https://travelmapping.net/devel/manual/syshwylist.php#conncname_multiregion...
Am I getting ahead of myself here?
I guess there's 2 questions to be answered here:
Yeah, it might be something to take to the forum.
michihdeu commentedon Feb 18, 2022
We already allow "(Main)" because we use it and there is no rule forbiding it 😉
It should be in the manual either after
If the route is lengthy and spans multiple regionsor after
If a route is more local (shorter)(preferred because it is not concerned by number of regions and it is kinda "last option if nothing else fits"?)"How to word" is my issues....
If one route sticks out due to its length, and all other route(s) are very short compared to it or even just spurs, the main route should simply be named "(Main)"yakra commentedon Dec 4, 2022