Difference between revisions of "Template:LA Metro bus map"
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>Bus stop map for [[{{BASEPAGENAME}}]]. | <includeonly>Bus stop map for [[{{BASEPAGENAME}}]]. | ||
− | + | It is possible that not every trip serve every stop. See timetable for details. | |
{{#get_web_data: | {{#get_web_data: | ||
− | url=http:// | + | url=http://webservices.nextbus.com/service/publicXMLFeed?command=routeConfig&a=lametro&r={{{route|{{#ifeq:{{#show:{{BASEPAGENAME}}| ?rnum}}|0||{{#show:{{BASEPAGENAME}}| ?rnum}}}}{{#ifeq:{{#show:{{BASEPAGENAME}}| ?rlet}}|'||{{#show:{{BASEPAGENAME}}| ?rlet}}}}}}} |
− | |format= | + | |format=XML |
|use xpath | |use xpath | ||
− | |data=latitude= | + | |data=latitude=/body/route/stop/@lat,displayname=/body/route/stop/@title,longitude=/body/route/stop/@lon,id=/body/route/stop/@stopId |
}} | }} | ||
Line 16: | Line 16: | ||
}} | }} | ||
− | Source: | + | Source: Transit agency via NextBus API. |
</includeonly> | </includeonly> |