Travel Mapping

Highway Data Discussion => Updates to Highway Data => Topic started by: Markkos1992 on September 30, 2021, 05:41:27 pm

Title: NY: NY 27 Minor Point Concern
Post by: Markkos1992 on September 30, 2021, 05:41:27 pm
SFernSt>-CR77 (https://www.google.com/maps/@41.0424703,-71.9267278,3a,37.5y,55.1h,83.84t/data=!3m6!1e1!3m4!1sXuW0vQSZn7372N39csH0jg!2e0!7i13312!8i6656)
Title: Re: NY: NY 27 Minor Point Concern
Post by: yakra 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
Title: Re: NY: NY 27 Minor Point Concern
Post by: yakra 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
Title: Re: NY: NY 27 Minor Point Concern
Post by: Jim 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.
Title: Re: NY: NY 27 Minor Point Concern
Post by: yakra 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.
Title: Re: NY: NY 27 Minor Point Concern
Post by: Markkos1992 on October 01, 2021, 07:56:14 am
It looks like your NY 5 change led to a duplicate label error.
Title: Re: NY: NY 27 Minor Point Concern
Post by: yakra 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.
Title: Re: NY: NY 27 Minor Point Concern
Post by: yakra on October 02, 2021, 12:09:03 am
Is this a pentagon? (https://www.google.com/maps/@42.4896238,-76.3282605,3a,15y,178.04h,91.53t/data=!3m10!1e1!3m8!1sH6l0nP_Y8yRRarHJdEArHQ!2e0!5s20190901T000000!7i16384!8i8192!9m2!1b1!2i37) Does it say 162A?
Title: Re: NY: NY 27 Minor Point Concern
Post by: Markkos1992 on October 02, 2021, 08:06:29 am
Is this a pentagon? (https://www.google.com/maps/@42.4896238,-76.3282605,3a,15y,178.04h,91.53t/data=!3m10!1e1!3m8!1sH6l0nP_Y8yRRarHJdEArHQ!2e0!5s20190901T000000!7i16384!8i8192!9m2!1b1!2i37) Does it say 162A?

This map does indicate that Irish Settlement Rd is CR162A (https://www2.tompkinscountyny.gov/files2/gis/maps/pdfs/CoHwyMaps/CoHwyMapColor.pdf). 
Title: Re: NY: NY 27 Minor Point Concern
Post by: yakra 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
Title: Re: NY: NY 27 Minor Point Concern
Post by: Markkos1992 on October 03, 2021, 03:50:12 pm
FYI, I added a comment about NY 5 in the pull request.
Title: Re: NY: NY 27 Minor Point Concern
Post by: yakra on November 09, 2021, 12:44:01 pm
Phase 1B
The regex above (https://forum.travelmapping.net/index.php?topic=4617.msg25548#msg25548) 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