Author Topic: Morocco Route Nationale (marn)  (Read 15924 times)

0 Members and 1 Guest are viewing this topic.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4554
  • Last Login:Yesterday at 02:35:49 pm
Re: Morocco Route Nationale (marn)
« Reply #45 on: November 07, 2019, 04:31:50 pm »
Might even be open to a discussion about potentially removing that datacheck altogether.

Seconded.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4234
  • Last Login:February 13, 2024, 07:19:36 pm
  • I like C++
Re: Morocco Route Nationale (marn)
« Reply #46 on: November 08, 2019, 02:30:10 pm »
OTOH, it can help capture the occasional set of garbage coords such as (0,0).
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline vdeane

  • Sr. Member
  • ****
  • Posts: 387
  • Gender: Female
  • Last Login:Yesterday at 09:14:41 pm
    • New York State Roads
Re: Morocco Route Nationale (marn)
« Reply #47 on: November 09, 2019, 10:37:34 pm »
I was not yet on board when LONG_SEGMENT errors were declared being "always a true error" and I don't see any point why they should be.
Thinking about this some more.
This was really just to aid in the old CHM map-drawing engine, and is not really relevant any more for TM, with the switch to interactive maps.
The idea was to avoid long segments that would not have been plotted due to crossing completely over a given viewport / bounding box without having any points within it.
For example, the Portland map would have looked more or less like this one (generated with https://github.com/yakra/tmtools/tree/master/canvas),

except that the small segment of ME35 crossing over the SW corner was left out.

So we can see that even with the datacheck included, we still weren't always guaranteed proper results.

Less of a big deal because there's little to no need for the small city/area maps, with the interactive Leaflet maps.
A region map will by definition contain every highway segment in that region.
Less of a big deal because even if we don't see TM routes in a neighboring region when looking at a region map, we at least have OSM & other tilesets to get our bearings & some context.
Even if we did add routes within a bounding box for a given region, I wouldn't cry about missing a route segment from my MA map in a faraway corner of CT or NY.
Doing such, or re-adding CHM style maps seems unlikely. Especially with the variation in viewport sizes due to different screen resolutions / window sizes, it'd be too complicated code for too little gain.

TLDR; I'm fine with leaving these marked FP as they currently are.
Might even be open to a discussion about potentially removing that datacheck altogether.
Of course, the original CHM maps would have also had boundaries, major bodies of water, and I think major place names.  I wonder how hard it would be to add those things to the "TM Blank White" and "TM Blank Black" views?
Please note: All comments here represent my own personal opinion and do not reflect the official position of NYSDOT or its affiliates.