You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are currently two operators that you can use to access tags in XYZ -- , for OR and + for AND.
Multiple tags of OR tags are easy to handle. AND gets trickier -- we effectively support two at the moment, though you can manually add more with + in the URL.
What is trickier is grouping ANDs with ORs to simulate a WHERE.
In order to select the 38 and 48 bus lines from SF Muni in this dataset, we need to append operated_by_name@san_francisco_municipal_transportation_agency to each bus name@ tag.
There are currently two operators that you can use to access tags in XYZ --
,
forOR
and+
forAND
.Multiple tags of
OR
tags are easy to handle.AND
gets trickier -- we effectively support two at the moment, though you can manually add more with+
in the URL.What is trickier is grouping
AND
s withOR
s to simulate aWHERE
.https://s3.amazonaws.com/xyz-demo/scenes/xyz_tangram/index.html?space=pcwNR9I9&token=AOsE9k2EdCdT8lEX12PDZ38&basemap=refill-dark&buildings=1&randomColors=0&points=0&lines=0&outlines=0&highlight=0&roads=1&water=0&tags=name%4036%2Coperated_by_name%40san_francisco_municipal_transportation_agency%2Cname%4033&property=vehicle_type#12.564472524535331/37.7568/-122.4332
In order to select the 38 and 48 bus lines from SF Muni in this dataset, we need to append
operated_by_name@san_francisco_municipal_transportation_agency
to each busname@
tag.tags=name@48+operated_by_name@san_francisco_municipal_transportation_agency,name@48,name@38+operated_by_name@san_francisco_municipal_transportation_agency,name@48
While I am wary about creating a query builder, a simple WHERE assistant using
AND
s will be a powerful addition to selecting tags withOR
.Possible interface options:
where
button next toand
andor
-- select yourwhere
first, and then yourOR
s 🤔The text was updated successfully, but these errors were encountered: