UNPKG

transitive-js

Version:

A tool for generating dynamic stylized transit maps that are easy to understand.

2 lines (1 loc) 16.2 kB
{"stops":[{"stop_id":"999","stop_name":"CHEVERLY METRO STATION","stop_lat":38.916552,"stop_lon":-76.915104},{"stop_id":"1305","stop_name":"CAPITOL HEIGHTS METRO STATION","stop_lat":38.889571,"stop_lon":-76.913313},{"stop_id":"2124","stop_name":"LANDOVER METRO STATION","stop_lat":38.933994,"stop_lon":-76.890005},{"stop_id":"2278","stop_name":"NW 18TH ST & NW PENNSYLVANIA AV","stop_lat":38.899316,"stop_lon":-77.041633},{"stop_id":"2640","stop_name":"MEDICAL CENTER METRO/NAVAL MED CTR & NIH","stop_lat":39.000062,"stop_lon":-77.096948},{"stop_id":"2658","stop_name":"NEW CARROLLTON METRO STATION","stop_lat":38.946912,"stop_lon":-76.870445},{"stop_id":"3542","stop_name":"GROSVENOR METRO STATION","stop_lat":39.029243,"stop_lon":-77.103838},{"stop_id":"3666","stop_name":"N GEORGE MASON DR & LEE HW","stop_lat":38.896343,"stop_lon":-77.133643},{"stop_id":"3969","stop_name":"TWINBROOK METRO STATION","stop_lat":39.062389,"stop_lon":-77.120792},{"stop_id":"4271","stop_name":"WHEATON METRO STATION","stop_lat":39.038565,"stop_lon":-77.050776},{"stop_id":"4364","stop_name":"FRIENDSHIP HEIGHTS METRO STATION","stop_lat":38.960997,"stop_lon":-77.085767},{"stop_id":"4387","stop_name":"BETHESDA METRO STATION","stop_lat":38.984431,"stop_lon":-77.094151},{"stop_id":"4567","stop_name":"NOMA-GALLAUDET U (NEW YORK AVE) METRO STATION","stop_lat":38.907413,"stop_lon":-77.002981},{"stop_id":"4613","stop_name":"BENNING RD METRO STATION","stop_lat":38.890418,"stop_lon":-76.937662},{"stop_id":"4664","stop_name":"MORGAN BOULEVARD METRO STATION","stop_lat":38.893586,"stop_lon":-76.868498},{"stop_id":"4697","stop_name":"LARGO TOWN CENTER METRO STATION","stop_lat":38.900269,"stop_lon":-76.84454},{"stop_id":"4710","stop_name":"BROOKLAND-CUA METRO","stop_lat":38.933232,"stop_lon":-76.994474},{"stop_id":"4905","stop_name":"WOODLEY PARK-ZOO METRO STATION","stop_lat":38.925,"stop_lon":-77.05235},{"stop_id":"4912","stop_name":"CLEVELAND PARK METRO STATION","stop_lat":38.935852,"stop_lon":-77.058624},{"stop_id":"4941","stop_name":"VAN NESS-UDC METRO STATION","stop_lat":38.944519,"stop_lon":-77.063716},{"stop_id":"4956","stop_name":"DUPONT CIRCLE METRO STATION","stop_lat":38.911129,"stop_lon":-77.044428},{"stop_id":"5017","stop_name":"L'ENFANT PLAZA METRO STATION","stop_lat":38.884886,"stop_lon":-77.0216},{"stop_id":"5030","stop_name":"DEANWOOD METRO STATION","stop_lat":38.907945,"stop_lon":-76.935569},{"stop_id":"5110","stop_name":"STADIUM ARMORY METRO STATION","stop_lat":38.885982,"stop_lon":-76.977168},{"stop_id":"5305","stop_name":"FORT TOTTEN METRO STATION","stop_lat":38.951808,"stop_lon":-77.001864},{"stop_id":"5548","stop_name":"NW I ST & NW 14TH ST","stop_lat":38.900919,"stop_lon":-77.032087},{"stop_id":"5635","stop_name":"FARRAGUT NORTH METRO STATION","stop_lat":38.903297,"stop_lon":-77.039502},{"stop_id":"5660","stop_name":"TENLEYTOWN METRO STATION","stop_lat":38.947849,"stop_lon":-77.079299},{"stop_id":"6479","stop_name":"EASTERN MARKET METRO STATION","stop_lat":38.884148,"stop_lon":-76.99501},{"stop_id":"6553","stop_name":"POTOMAC AVE METRO","stop_lat":38.880874,"stop_lon":-76.985397},{"stop_id":"6671","stop_name":"RHODE ISLAND METRO STATION","stop_lat":38.920778,"stop_lon":-76.995682},{"stop_id":"6718","stop_name":"NW 18TH ST & NW F ST","stop_lat":38.897225,"stop_lon":-77.041623},{"stop_id":"6963","stop_name":"TAKOMA METRO STATION","stop_lat":38.975432,"stop_lon":-77.017421},{"stop_id":"7333","stop_name":"FEDERAL CENTER METRO STATION","stop_lat":38.884981,"stop_lon":-77.015536},{"stop_id":"7474","stop_name":"GALLERY PLACE CHINATOWN METRO STATION","stop_lat":38.898354,"stop_lon":-77.021527},{"stop_id":"7588","stop_name":"METRO CENTER METRO STATION","stop_lat":38.898327,"stop_lon":-77.027777},{"stop_id":"7671","stop_name":"FEDERAL TRIANGLE METRO STATION","stop_lat":38.893789,"stop_lon":-77.027896},{"stop_id":"7812","stop_name":"MCPHERSON SQ METRO STATION","stop_lat":38.901335,"stop_lon":-77.031958},{"stop_id":"7932","stop_name":"FARRAGUT WEST METRO STATION","stop_lat":38.901366,"stop_lon":-77.039482},{"stop_id":"7969","stop_name":"NW 18TH ST & NW G ST","stop_lat":38.898113,"stop_lon":-77.041589},{"stop_id":"7970","stop_name":"NW 18TH ST & NW I ST","stop_lat":38.901415,"stop_lon":-77.041545},{"stop_id":"7971","stop_name":"NW 18TH ST & NW K ST","stop_lat":38.902492,"stop_lon":-77.041724},{"stop_id":"7993","stop_name":"ROCKVILLE METRO STATION","stop_lat":39.085452,"stop_lon":-77.146689},{"stop_id":"8040","stop_name":"FOGGY BOTTOM METRO STATION","stop_lat":38.900705,"stop_lon":-77.050026},{"stop_id":"8100","stop_name":"PATRICK HENRY DR & N HARRISON ST","stop_lat":38.893235,"stop_lon":-77.133554},{"stop_id":"8113","stop_name":"N HARRISON ST & LEE HW","stop_lat":38.896293,"stop_lon":-77.137679},{"stop_id":"9360","stop_name":"SHADY GROVE METRO STATION","stop_lat":39.11999,"stop_lon":-77.164761},{"stop_id":"9720","stop_name":"CRYSTAL CITY METRO STATION","stop_lat":38.857817,"stop_lon":-77.050346},{"stop_id":"9838","stop_name":"NATIONAL AIRPORT METRO STATION","stop_lat":38.853003,"stop_lon":-77.043475},{"stop_id":"10352","stop_name":"VAN DORN METRO STATION","stop_lat":38.799263,"stop_lon":-77.129111},{"stop_id":"11332","stop_name":"ROSSLYN METRO STATION","stop_lat":38.895493,"stop_lon":-77.071954},{"stop_id":"11602","stop_name":"DUNN LORING MERRIFIELD METRO STATION","stop_lat":38.883146,"stop_lon":-77.228654},{"stop_id":"11610","stop_name":"VIENNA METRO STATION","stop_lat":38.877881,"stop_lon":-77.271363},{"stop_id":"12282","stop_name":"EAST FALLS CHURCH METRO STATION","stop_lat":38.886042,"stop_lon":-77.156567},{"stop_id":"12488","stop_name":"COURTHOUSE METRO STATION","stop_lat":38.891331,"stop_lon":-77.084823},{"stop_id":"12631","stop_name":"BALLSTON METRO","stop_lat":38.882238,"stop_lon":-77.11155},{"stop_id":"12648","stop_name":"CLARENDON METRORAIL STATION","stop_lat":38.887176,"stop_lon":-77.094987},{"stop_id":"12872","stop_name":"UNION STATION METRO STATION","stop_lat":38.89777,"stop_lon":-77.006402},{"stop_id":"12874","stop_name":"JUDICIARY SQUARE METRO STATION","stop_lat":38.896121,"stop_lon":-77.016312},{"stop_id":"12900","stop_name":"CAPITOL SOUTH METRO STATION","stop_lat":38.885669,"stop_lon":-77.005892},{"stop_id":"12906","stop_name":"SMITHSONIAN METRO STATION","stop_lat":38.887587,"stop_lon":-77.028174},{"stop_id":"12922","stop_name":"VIRGINIA SQUARE METRO STATION","stop_lat":38.883074,"stop_lon":-77.103809},{"stop_id":"12926","stop_name":"ARLINGTON CEMETERY METRO STATION","stop_lat":38.884612,"stop_lon":-77.062795},{"stop_id":"12928","stop_name":"PENTAGON METRO STATION","stop_lat":38.869474,"stop_lon":-77.053777},{"stop_id":"12930","stop_name":"PENTAGON CITY METRO STATION","stop_lat":38.862961,"stop_lon":-77.059142},{"stop_id":"13107","stop_name":"ADDISON ROAD METRO STATION","stop_lat":38.886702,"stop_lon":-76.89329},{"stop_id":"13986","stop_name":"BRADDOCK RD METRORAIL STATION","stop_lat":38.814052,"stop_lon":-77.053434},{"stop_id":"13995","stop_name":"KING STREET METRO STATION","stop_lat":38.806506,"stop_lon":-77.060796},{"stop_id":"14118","stop_name":"WEST FALLS CHURCH METRO","stop_lat":38.900738,"stop_lon":-77.188871},{"stop_id":"14816","stop_name":"FRANCONIA SPRINGFIELD METRO","stop_lat":38.766196,"stop_lon":-77.168487},{"stop_id":"16051","stop_name":"GLENMONT METRO STATION","stop_lat":39.061743,"stop_lon":-77.053097},{"stop_id":"20078","stop_name":"SILVER SPRING METRO STATION","stop_lat":38.993658,"stop_lon":-77.032307},{"stop_id":"21029","stop_name":"FOREST GLEN METRO STATION","stop_lat":39.015465,"stop_lon":-77.042667},{"stop_id":"22094","stop_name":"WHITE FLINT METRO STATION","stop_lat":39.047162,"stop_lon":-77.112782},{"stop_id":"25426","stop_name":"MINNESOTA AVE METRO STATION","stop_lat":38.898313,"stop_lon":-76.947716},{"stop_id":"27236","stop_name":"RT 29 LEE HWY & DANVILLE ST","stop_lat":38.894556,"stop_lon":-77.092735},{"stop_id":"27239","stop_name":"RT 29 LEE HWY & CLEVELAND ST","stop_lat":38.89469,"stop_lon":-77.091399},{"stop_id":"27247","stop_name":"RT 29 LEE HWY & HIGHLAND ST","stop_lat":38.89503,"stop_lon":-77.094856},{"stop_id":"27253","stop_name":"RT 29 LEE HWY & ADAMS ST","stop_lat":38.895342,"stop_lon":-77.088201},{"stop_id":"27263","stop_name":"RT 29 LEE HWY & SPOUT RUN PKWY","stop_lat":38.895841,"stop_lon":-77.097472},{"stop_id":"27266","stop_name":"RT 29 LEE HWY & MONROE ST","stop_lat":38.895833,"stop_lon":-77.104384},{"stop_id":"27268","stop_name":"RT 29 LEE HWY & VEITCH ST","stop_lat":38.895981,"stop_lon":-77.085936},{"stop_id":"27277","stop_name":"RT 29 LEE HWY & #3206","stop_lat":38.896186,"stop_lon":-77.101108},{"stop_id":"27279","stop_name":"RT 29 LEE HWY & #1802-1804","stop_lat":38.896293,"stop_lon":-77.082252},{"stop_id":"27280","stop_name":"RT 29 LEE HWY & OAKLAND ST","stop_lat":38.896249,"stop_lon":-77.106058},{"stop_id":"27281","stop_name":"RT 29 LEE HWY & GEORGE MASON DR","stop_lat":38.896228,"stop_lon":-77.133152},{"stop_id":"27282","stop_name":"RT 29 LEE HWY & EDISON ST","stop_lat":38.89628,"stop_lon":-77.130728},{"stop_id":"27289","stop_name":"RT 29 LEE HWY & CULPEPER ST","stop_lat":38.896389,"stop_lon":-77.126815},{"stop_id":"27294","stop_name":"RT 29 LEE HWY & QUINCY ST","stop_lat":38.896724,"stop_lon":-77.10802},{"stop_id":"27300","stop_name":"RT 29 LEE HWY & STAFFORD ST","stop_lat":38.896998,"stop_lon":-77.112407},{"stop_id":"27301","stop_name":"RT 29 LEE HWY & RANDOLPH ST","stop_lat":38.896978,"stop_lon":-77.110115},{"stop_id":"27302","stop_name":"RT 29 LEE HWY & UTAH ST","stop_lat":38.897132,"stop_lon":-77.114251},{"stop_id":"27309","stop_name":"RT 29 LEE HWY & GLEBE RD","stop_lat":38.897285,"stop_lon":-77.124083},{"stop_id":"27311","stop_name":"RT 29 LEE HWY & THOMAS ST","stop_lat":38.897433,"stop_lon":-77.115226},{"stop_id":"27321","stop_name":"RT 29 LEE HWY & QUINN ST","stop_lat":38.897798,"stop_lon":-77.078215},{"stop_id":"27328","stop_name":"RT 29 LEE HWY & ALBEMARLE ST","stop_lat":38.897965,"stop_lon":-77.122099},{"stop_id":"27330","stop_name":"RT 29 LEE HWY & VERMONT ST","stop_lat":38.898044,"stop_lon":-77.11645},{"stop_id":"27336","stop_name":"RT 29 LEE HWY & FORT MYER DR","stop_lat":38.898332,"stop_lon":-77.073047},{"stop_id":"27338","stop_name":"RT 29 LEE HWY & WOODROW ST","stop_lat":38.898557,"stop_lon":-77.119599},{"stop_id":"27402","stop_name":"K ST NW & 15TH ST NW (MAIN)","stop_lat":38.902459,"stop_lon":-77.034819},{"stop_id":"27403","stop_name":"K ST NW & 14TH ST NW (MAIN)","stop_lat":38.902451,"stop_lon":-77.032186},{"stop_id":"27404","stop_name":"K ST NW & 16TH ST NW (MAIN)","stop_lat":38.902462,"stop_lon":-77.036823},{"stop_id":"27405","stop_name":"K ST NW & 17TH ST NW (MAIN) WEST","stop_lat":38.902456,"stop_lon":-77.039724},{"stop_id":"29143","stop_name":"RT 29 LEE HWY & N GREENBRIER CT","stop_lat":38.896282,"stop_lon":-77.136147},{"stop_id":"32057","stop_name":"N GEORGE MASON DR & PATRICK HENRY DR","stop_lat":38.894329,"stop_lon":-77.131685},{"stop_id":"32075","stop_name":"E ST NW & 19TH ST NW","stop_lat":38.895995,"stop_lon":-77.043466}],"routes":[{"agency_id":"DC","route_id":"ORANGE","route_short_name":"Orange","route_long_name":"Metrorail Orange Line","route_type":1,"route_color":"f89038"},{"agency_id":"DC","route_id":"RED","route_short_name":"Red","route_long_name":"Metrorail Red Line","route_type":1,"route_color":"e94333"},{"agency_id":"DC","route_id":"BLUE","route_short_name":"Blue","route_long_name":"Metrorail Blue Line","route_type":1,"route_color":"0d7bba"},{"agency_id":"DC","route_id":"80","route_short_name":"3Y","route_long_name":null,"route_type":3,"route_color":null}],"patterns":[{"pattern_id":"526355af","stops":[{"stop_id":"11610"},{"stop_id":"11602"},{"stop_id":"14118"},{"stop_id":"12282"},{"stop_id":"12631"},{"stop_id":"12922"},{"stop_id":"12648"},{"stop_id":"12488"},{"stop_id":"11332"},{"stop_id":"8040"},{"stop_id":"7932"},{"stop_id":"7812"},{"stop_id":"7588"},{"stop_id":"7671"},{"stop_id":"12906"},{"stop_id":"5017"},{"stop_id":"7333"},{"stop_id":"12900"},{"stop_id":"6479"},{"stop_id":"6553"},{"stop_id":"5110"},{"stop_id":"25426"},{"stop_id":"5030"},{"stop_id":"999"},{"stop_id":"2124"},{"stop_id":"2658"}],"pattern_name":"Orange to NEW CARROLLTON METRO STATION (DC_2658) from VIENNA METRO STATION (DC_11610)","route_id":"ORANGE"},{"pattern_id":"77312cf9","stops":[{"stop_id":"9360"},{"stop_id":"7993"},{"stop_id":"3969"},{"stop_id":"22094"},{"stop_id":"3542"},{"stop_id":"2640"},{"stop_id":"4387"},{"stop_id":"4364"},{"stop_id":"5660"},{"stop_id":"4941"},{"stop_id":"4912"},{"stop_id":"4905"},{"stop_id":"4956"},{"stop_id":"5635"},{"stop_id":"7588"},{"stop_id":"7474"},{"stop_id":"12874"},{"stop_id":"12872"},{"stop_id":"4567"},{"stop_id":"6671"},{"stop_id":"4710"},{"stop_id":"5305"},{"stop_id":"6963"},{"stop_id":"20078"},{"stop_id":"21029"},{"stop_id":"4271"},{"stop_id":"16051"}],"pattern_name":"Red to GLENMONT METRO STATION (DC_16051) from SHADY GROVE METRO STATION (DC_9360)","route_id":"RED"},{"pattern_id":"22e60626","stops":[{"stop_id":"14816"},{"stop_id":"10352"},{"stop_id":"13995"},{"stop_id":"13986"},{"stop_id":"9838"},{"stop_id":"9720"},{"stop_id":"12930"},{"stop_id":"12928"},{"stop_id":"12926"},{"stop_id":"11332"},{"stop_id":"8040"},{"stop_id":"7932"},{"stop_id":"7812"},{"stop_id":"7588"},{"stop_id":"7671"},{"stop_id":"12906"},{"stop_id":"5017"},{"stop_id":"7333"},{"stop_id":"12900"},{"stop_id":"6479"},{"stop_id":"6553"},{"stop_id":"5110"},{"stop_id":"4613"},{"stop_id":"1305"},{"stop_id":"13107"},{"stop_id":"4664"},{"stop_id":"4697"}],"pattern_name":"Blue to LARGO TOWN CENTER METRO STATION (DC_4697) from FRANCONIA SPRINGFIELD METRO (DC_14816)","route_id":"BLUE"},{"pattern_id":"4e499fd0","stops":[{"stop_id":"3666"},{"stop_id":"32057"},{"stop_id":"8100"},{"stop_id":"8113"},{"stop_id":"29143"},{"stop_id":"27281"},{"stop_id":"27282"},{"stop_id":"27289"},{"stop_id":"27309"},{"stop_id":"27328"},{"stop_id":"27338"},{"stop_id":"27330"},{"stop_id":"27311"},{"stop_id":"27302"},{"stop_id":"27300"},{"stop_id":"27301"},{"stop_id":"27294"},{"stop_id":"27280"},{"stop_id":"27266"},{"stop_id":"27277"},{"stop_id":"27263"},{"stop_id":"27247"},{"stop_id":"27236"},{"stop_id":"27239"},{"stop_id":"27253"},{"stop_id":"27268"},{"stop_id":"27279"},{"stop_id":"27321"},{"stop_id":"27336"},{"stop_id":"32075"},{"stop_id":"6718"},{"stop_id":"7969"},{"stop_id":"2278"},{"stop_id":"7970"},{"stop_id":"7971"},{"stop_id":"27405"},{"stop_id":"27404"},{"stop_id":"27402"},{"stop_id":"27403"},{"stop_id":"5548"}],"pattern_name":"3Y to NW I ST & NW 14TH ST (DC_5548)","route_id":"80"}],"places":[{"place_id":"from","place_name":"Start: 1401 Wilson Blvd","place_lat":38.894624,"place_lon":-77.074159},{"place_id":"to","place_name":"End: Union Station","place_lat":38.89788,"place_lon":-77.00597}],"journeys":[{"journey_id":"option_0","journey_name":"routes Orange, Red via METRO CENTER METRO STATION","segments":[{"type":"WALK","from":{"type":"PLACE","place_id":"from"},"to":{"type":"STOP","stop_id":"11332"}},{"type":"TRANSIT","pattern_id":"526355af","from_stop_index":8,"to_stop_index":12},{"type":"TRANSIT","pattern_id":"77312cf9","from_stop_index":14,"to_stop_index":17},{"type":"WALK","from":{"type":"STOP","stop_id":"12872"},"to":{"type":"PLACE","place_id":"to"}}]},{"journey_id":"option_1","journey_name":"routes Blue, Red via METRO CENTER METRO STATION","segments":[{"type":"WALK","from":{"type":"PLACE","place_id":"from"},"to":{"type":"STOP","stop_id":"11332"}},{"type":"TRANSIT","pattern_id":"22e60626","from_stop_index":9,"to_stop_index":13},{"type":"TRANSIT","pattern_id":"77312cf9","from_stop_index":14,"to_stop_index":17},{"type":"WALK","from":{"type":"STOP","stop_id":"12872"},"to":{"type":"PLACE","place_id":"to"}}]},{"journey_id":"option_2","journey_name":"routes 3Y, Red via K ST NW & 17TH ST NW (MAIN) WEST","segments":[{"type":"WALK","from":{"type":"PLACE","place_id":"from"},"to":{"type":"STOP","stop_id":"27321"}},{"type":"TRANSIT","pattern_id":"4e499fd0","from_stop_index":27,"to_stop_index":35},{"type":"WALK","from":{"type":"STOP","stop_id":"27405"},"to":{"type":"STOP","stop_id":"5635"}},{"type":"TRANSIT","pattern_id":"77312cf9","from_stop_index":13,"to_stop_index":17},{"type":"WALK","from":{"type":"STOP","stop_id":"12872"},"to":{"type":"PLACE","place_id":"to"}}]}]}