Web Design Discussion > General Web Design Discussion

View Associated Routes

<< < (2/6) > >>

michih:
I think it's not possible to know all mapview url options and how to get them.
I've submitted an issue for a tutorial on the web page: https://github.com/TravelMapping/Web/issues/41.

mapcat:
Sorry for not specifying that I was referring to the link underneath the route shield above the table on a page like this one. Click on it and you get a map of the highway in all states it passes through, plus its bannered brethren.

I agree that it would be better to arrange the table geographically rather than alphabetically.

Another potential issue is that it groups completely unrelated routes together: see what it does with rte=a1

yakra:

--- Quote from: mapcat on January 30, 2016, 10:15:20 am ---Another potential issue is that it groups completely unrelated routes together: see what it does with rte=a1

--- End quote ---
http://tm.teresco.org/hbtest/mapview.php?u=mapcat&rte=a1&rg=DEU
http://tm.teresco.org/hbtest/mapview.php?u=mapcat&rte=a1&sys=deua

Hey, me like!
http://tm.teresco.org/hbtest/mapview.php?u=yakra&rte=US2&rg=NY,VT,NH,ME

So, a solution could be... integrating info from the route's _con.csv file...
Look at the prefixes of each fileroot in the Roots column, and see what regions are needed to display.


--- Quote from: mapcat on January 30, 2016, 10:15:20 am ---Another potential issue is that it groups completely unrelated routes together: see what it does with rte=a1

--- End quote ---
Trying to figure out why the map at that link was panned and centered where it was, I discovered that it's displaying MA1A. Now that, I would call a bona fide error.
It should be "Route = A1," rather than "Route contains A1". Or, Thing342, did you initially see problems implementing it that way?

Nice feature overall; well done. I'd completely missed it till Jim & mapcat pointed it out. When was it added?

yakra:

--- Quote from: mapcat on January 29, 2016, 08:21:38 pm ---I-70 in Indiana would produce a map/table for I-70 in all states it enters, but not the various I-70 business routes.
--- End quote ---
To do it using the current functionality:
http://tm.teresco.org/hbtest/mapview.php?u=mapcat&rte=I-70&sys=usai
http://tm.teresco.org/hbtest/mapview.php?u=yakra&rte=I-84&sys=usai

Playing around some more with URL customization...

The "connected routes" method I mentioned in my last post, for just the eastern I-84:
http://tm.teresco.org/hbtest/mapview.php?u=yakra&rte=I-84&rg=PA,NY,CT,MA

...Or just the eastern US2:
http://tm.teresco.org/hbtest/mapview.php?u=yakra&rte=US2&rg=NY,VT,NH,ME

Eastern US2 sans child routes:
http://tm.teresco.org/hbtest/mapview.php?u=yakra&rte=US2&sys=usaus&rg=NY,VT,NH,ME


--- Quote from: mapcat on January 29, 2016, 08:21:38 pm ---Or make it a user option to include the business routes
--- End quote ---
Having the ability to surf to all of this stuff in one or two clicks would be swell.


--- Quote from: mapcat on January 29, 2016, 08:21:38 pm ---(and possibly child interstates).
--- End quote ---
I'm envisioning using a wildcard in the rte= parameter, e.g. rte=I-*70

Another possibility: adding a ban= parameter could enable displaying just the Bus, but not Alt, routes for example.
There would need to be some value to represent bannerless routes, e.g. ban=! or ban=NULL etc., to be able to display mainline routes along with some-but-not-all bannered routes (e.g. mainline + Bus but not Alt, or mainline + BL but not BS).
I don't consider this a priority, mind you; I'm just brainstorming about what's possible.

michih:
@yakra, I like your ideas and agree that it's low priority. Please submit a github issue so that the ideas don't get lost. Thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version