Difference between revisions of "Sandbox 2"

From Transit.Wiki
Line 1: Line 1:
{{DISPLAYTITLE:Vitamin B{{ssub|12}}}}
+
Bus stop map for [[TriMet 1]].
  
{{#compound_query:[[City::Redwood City]][[Category:Points of interest]];icon=mm_20_red.png
+
Not every trip serve every stop. See timetable for details.
|[[City::Redwood City]][[Category:Rail stations]];icon=Rail20.png
+
 
|[[City::Redwood City]][[-Ferry::+]];icon=Ferry20.png;
+
{{#get_web_data:
|[[City::Redwood City]][[Category:Bus stops]];?latlong;?-Place=Bus;?Served by=Line;?-Rail=Bus;?-Bus=Bus;?-Busway=Bus;?-Ferry=Ferry;icon=Bus20.png
+
url=http://transitunlimited.org/extensions/feedgen.php?service=trimetstops&command=1
|format=googlemaps|zoomstyle=small|width={{{width|400}}}|height={{{height|400}}}|zoom=12|{{#if:{{{kml|}}}|gkml={{{kml|}}}}}|kmlrezoom=yes|default=test}}
+
|format=XML
 +
|use xpath
 +
|data=displayname=/resultSet/route/dir/stop/@desc,id=/resultSet/route/dir/stop/@locid,latitude=/resultSet/route/dir/stop/@lat,longitude=/resultSet/route/dir/stop/@lng
 +
}}
 +
 
 +
{{#ask: [[-Place::TriMet 1]]|?latlong|height=550|format=googlemaps|width=90%|icon=mm_20_red.png
 +
|locations={{#for_external_table:
 +
{{{latitude}}},{{{longitude}}}~{{{displayname}}}~Stop id: [{{fullurl:Departure times}}?id={{{id}}}&agency=lametro {{{id}}}] ~File:Bus20.png;
 +
}}
 +
}}
 +
 
 +
{{#external_value:latitude}}

Revision as of 07:15, 19 April 2013

Bus stop map for TriMet 1.

Not every trip serve every stop. See timetable for details.

Caught exception parsing XML: String could not be parsed as XML

Loading map...

Error: no local variable "latitude" was set.