Author Topic: NY: NY 27 Minor Point Concern  (Read 8696 times)

0 Members and 1 Guest are viewing this topic.

Online Markkos1992

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 3316
  • Last Login:Today at 08:52:04 pm
NY: NY 27 Minor Point Concern
« on: September 30, 2021, 05:41:27 pm »
SFernSt>-CR77

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4445
  • Last Login:Today at 04:12:46 pm
  • I like C++
Re: NY: NY 27 Minor Point Concern
« Reply #1 on: September 30, 2021, 09:21:05 pm »
https://github.com/TravelMapping/HighwayData/pull/5167

How to find some of these programmatically:

gisplunge /home/yakra/gis/data/ny/SimplifiedStreets_shp/SimplifiedStreetSegmentQrt.shp; cat * | sort | uniq
• in this corner, SHIELD = C, CT
• in that corner, SHIELD = P, S, SC, SH, U, UB
grep -F -f > ny.i666.wpt #LOL
siteupdate
look at nearmisspoints.log

Might not work at grade-separated interchanges
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4445
  • Last Login:Today at 04:12:46 pm
  • I like C++
Re: NY: NY 27 Minor Point Concern
« Reply #2 on: September 30, 2021, 10:37:51 pm »
grep '^ny\.' _clang/logs/nearmisspoints.log | egrep -v '^ny\.i[0-9]{3}[a-z]{,6} |MARKED FP|^ny\.[un][sy][0-9]{3}[a-z]{,6} I-[0-9]|^ny\.[un][sy][0-9]{3}[a-z]{,6} US[0-9]|^ny\.[un][sy][0-9]{3}[a-z]{,6} NY[0-9]|^ny\.[un][sy][0-9]{3}[a-z]{,6} CR[0-9]|^ny\.[un][sy][0-9]{3}[a-z]{,6} [A-Z]?[0-9][A-Z]?|^ny\.[a-z]+ [A-Z]?[0-9][A-Z]?' | sed 's~ NMP.*~~' | tr -d '()' | tr , ' ' > nycr.log # :P

1301 &^%$#@ results across 338 routes!

Code: [Select]
for r in `cut -f1 -d' ' nycr.log | uniq`; do
  results=`grep "^$r " nycr.log | tr ' ' '%'`
  echo -en "$r:\tOpen "$(expr $(echo "$results" | wc -l) '*' 2)" tabs? (y/n) "; read OK
  if [ "$OK" = y ]; then
    pluma ~/ytm/HighwayData/hwy_data/NY/*/$r.wpt
    ( for result in $results; do
        echo "$result" | sed -r 's~^(.*)%(.*)%(.*)%(.*)$~https://travelmapping.net/hb/showroute.php?r=\1\&lat=\3\&lon=\4\&zoom=17~'
        echo "$result" | sed -r 's~^(.*)%(.*)%(.*)%(.*)$~http://maps.google.com/?ll=\3,\4\&cbp=12,0,,0,5\&cbll=\3,\4\&layer=c~'
      done
    ) | xargs firefox
  fi
done
US219BusSal | US219BusSal
Total routes checked: 338/338
Total intersections checked: 1301/1301
« Last Edit: November 09, 2021, 12:00:16 pm by yakra »
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2860
  • Last Login:Today at 08:28:42 pm
Re: NY: NY 27 Minor Point Concern
« Reply #3 on: September 30, 2021, 10:58:26 pm »
I definitely was not consistent in using numbered county routes when drafting usany 10+ years ago.  I am not sure our map sources had them all that often.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4445
  • Last Login:Today at 04:12:46 pm
  • I like C++
Re: NY: NY 27 Minor Point Concern
« Reply #4 on: September 30, 2021, 11:54:06 pm »
I definitely was not consistent in using numbered county routes when drafting usany 10+ years ago.  I am not sure our map sources had them all that often.
I'm sure there was a lot less available on Google back then.
207 "CR" labels as of 35d3e1070e. A decent-sized chunk.
336 "CR" labels as of 54a6976001. I'm surprised that many have been added in the meantime.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Online Markkos1992

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 3316
  • Last Login:Today at 08:52:04 pm
Re: NY: NY 27 Minor Point Concern
« Reply #5 on: October 01, 2021, 07:56:14 am »
It looks like your NY 5 change led to a duplicate label error.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4445
  • Last Login:Today at 04:12:46 pm
  • I like C++
Re: NY: NY 27 Minor Point Concern
« Reply #6 on: October 01, 2021, 11:01:49 am »
Blast! I was just looking at the HB, even paying a little more attention to the I-790 area... and forgot that there might be an AltLabel.

I'll get the first batch of "Operation NYCR" changes in along with the fix.
This all will receive a pass thru siteupdate, to
• generate unusedaltlabels.log and automate removal
• check datacheck.log, primarily for duplicate labels ironically enough.

https://github.com/TravelMapping/HighwayData/pull/5169
Looked at 336 of those 1301 results so far. At least progress is quick.
« Last Edit: October 01, 2021, 12:07:13 pm by yakra »
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4445
  • Last Login:Today at 04:12:46 pm
  • I like C++
Re: NY: NY 27 Minor Point Concern
« Reply #7 on: October 02, 2021, 12:09:03 am »
Is this a pentagon? Does it say 162A?
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Online Markkos1992

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 3316
  • Last Login:Today at 08:52:04 pm

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4445
  • Last Login:Today at 04:12:46 pm
  • I like C++
Re: NY: NY 27 Minor Point Concern
« Reply #9 on: October 03, 2021, 03:34:13 pm »
Sure looks like a pentagon. Try to take a closer look though, and GMSV imagery predates the sign.
What the hey, changed. Shapefiles have 162A too.

Here's 9 more routes: https://github.com/TravelMapping/HighwayData/pull/5177
Total routes checked: 30/338
Total intersections checked: 524/1301
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Online Markkos1992

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 3316
  • Last Login:Today at 08:52:04 pm
Re: NY: NY 27 Minor Point Concern
« Reply #10 on: October 03, 2021, 03:50:12 pm »
FYI, I added a comment about NY 5 in the pull request.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4445
  • Last Login:Today at 04:12:46 pm
  • I like C++
Re: NY: NY 27 Minor Point Concern
« Reply #11 on: November 09, 2021, 12:44:01 pm »
Phase 1B
The regex above was not quite right. Instead:

grep '^ny\.' _303r/logs/nearmisspoints.log | egrep -v '^ny\.i[0-9]{3}[a-z]{,6} |MARKED FP|^ny\.[un][sy][0-9]{3}[a-z]{,6} I-[0-9]|^ny\.[un][sy][0-9]{3}[a-z]{,6} US[0-9]|^ny\.[un][sy][0-9]{3}[a-z]{,6} NY[0-9]|^ny\.[un][sy][0-9]{3}[a-z]{,6} CR[0-9]|^ny\.[un][sy][0-9]{3}[a-z]{,6} [A-Z]?[0-9]+[A-Z]? |^ny\.[a-z]+ [A-Z]?[0-9][A-Z]?' | sed 's~ NMP.*~~' | tr -d '()' | tr , ' ' > nycr1b.log

diff nycr1{a,b}.log | grep '^> ' | sed 's~^..~~' > nycr1B.log
yields 9 more points to check.
NY54: 2ndMiloRd -> CR30



Phase 2
Same deal as above, with NMP tolerance doubled & previous results filtered out. Only 90 more points to check.

Total routes checked: 67/67
Total intersections checked: 90/90

And that's a wrap. More noise than signal at this point. Further increasing NMP tolerance will only mean more noise & less signal.
https://github.com/TravelMapping/HighwayData/pull/5306
« Last Edit: November 09, 2021, 03:48:56 pm by yakra »
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca