Skip to content

Instantly share code, notes, and snippets.

@aaronpk
Created September 5, 2016 23:30
Show Gist options
  • Save aaronpk/9850f17c7558991b3dbef668acd34308 to your computer and use it in GitHub Desktop.
Save aaronpk/9850f17c7558991b3dbef668acd34308 to your computer and use it in GitHub Desktop.
sample route for testing
Display the source blob
Display the rendered blob
Raw
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"Name": "Mariott Downtown",
"RouteName": "XOXO",
"Attr_TravelTime": 2,
"CurbApproach": 3,
"icon": "mariott",
"address": "520 SW Broadway, Portland, OR 97205",
"street": "SW Broadway & Alder",
"schedule": {
"8": "Thu: 6pm - 2am",
"9": "Fri: 9am - 2am",
"10": "Sat: 9am - 2am",
"11": "Sun: 9am - 2am"
}
},
"geometry": {
"type": "Point",
"coordinates": [
-122.6790958642959,
45.520311883418934
]
}
},
{
"type": "Feature",
"properties": {
"Name": "Hilton",
"RouteName": "XOXO",
"Attr_TravelTime": 2,
"CurbApproach": 3,
"icon": "hilton",
"address": "921 SW 6th Ave, Portland, OR 97204",
"street": "SW Broadway & Taylor",
"schedule": {
"8": "Thu: 6pm - 2am",
"9": "Fri: 9am - 2am",
"10": "Sat: 9am - 2am",
"11": "Sun: 9am - 2am"
}
},
"geometry": {
"type": "Point",
"coordinates": [
-122.68051743507387,
45.51769958629577
]
}
},
{
"type": "Feature",
"properties": {
"Name": "Ace Hotel",
"RouteName": "XOXO",
"Attr_TravelTime": 2,
"CurbApproach": 3,
"icon": "acehotel",
"address": "1022 SW Stark St, Portland, Oregon, 97205",
"street": "SW 10th & Stark",
"schedule": {
"8": "Thu: 6pm - 2am",
"9": "Fri: 9am - 2am",
"10": "Sat: 9am - 2am",
"11": "Sun: 9am - 2am"
}
},
"geometry": {
"type": "Point",
"coordinates": [
-122.6814615726471,
45.522131023013806
]
}
},
{
"type": "Feature",
"properties": {
"Name": "Embassy Suites",
"RouteName": "XOXO",
"Attr_TravelTime": 2,
"CurbApproach": 3,
"icon": "embassy",
"address": "319 SW Pine St, Portland, OR 97204",
"street": "SW 3rd & Pine",
"schedule": {
"8": "Thu: 6pm - 2am",
"9": "Fri: 9am - 2am",
"10": "Sat: 9am - 2am",
"11": "Sun: 9am - 2am"
}
},
"geometry": {
"type": "Point",
"coordinates": [
-122.67402380704878,
45.521074876815305
]
}
},
{
"type": "Feature",
"properties": {
"Name": "Jupiter Hotel",
"RouteName": "XOXO",
"Attr_TravelTime": 2,
"CurbApproach": 3,
"icon": "jupiter",
"address": "800 E Burnside St, Portland, Oregon, 97214",
"street": "SE 9th & Burnside",
"schedule": {
"8": "Thu: 6pm - 2am",
"9": "Fri: 9am - 2am",
"10": "Sat: 9am - 2am",
"11": "Sun: 9am - 2am"
}
},
"geometry": {
"type": "Point",
"coordinates": [
-122.65690863132475,
45.52294660989203
]
}
},
{
"type": "Feature",
"properties": {
"Name": "Revolution Hall",
"RouteName": "XOXO",
"Attr_TravelTime": 2,
"CurbApproach": 3,
"icon": "xoxo",
"address": "1300 SE Stark St, Portland, Oregon, 97214",
"street": "SE 13th & Stark",
"schedule": {
"8": "Thu: 6pm - 2am",
"9": "Fri: 9am - 2am",
"10": "Sat: 9am - 2am",
"11": "Sun: 9am - 6pm"
}
},
"geometry": {
"type": "Point",
"coordinates": [
-122.652624,
45.519289
]
}
},
{
"type": "Feature",
"properties": {
"Name": "Yale Union",
"RouteName": "XOXO",
"Attr_TravelTime": 2,
"CurbApproach": 3,
"icon": "yaleunion",
"address": "1001 SE Morrison St, Portland, Oregon, 97214",
"street": "SE 10th & Morrison",
"schedule": {
"8": "Thu: No Pickups",
"9": "Fri: 6pm - 2am",
"10": "Sat: 6pm - 2am",
"11": "Sun: No Pickups"
},
"show_on": [
"9",
"10"
]
},
"geometry": {
"type": "Point",
"coordinates": [
-122.65550315380096,
45.51725228872825
]
}
},
{
"type": "Feature",
"properties": {
"Name": "XOXO Outpost",
"RouteName": "XOXO",
"Attr_TravelTime": 2,
"CurbApproach": 3,
"icon": "xoxo",
"address": "419 NE 10th Ave, Portland, Oregon, 97232",
"street": "NE 10th & Flanders",
"schedule": {
"8": "Thu: No Pickups",
"9": "Fri: No Pickups",
"10": "Sat: No Pickups",
"11": "Sun: 6pm - 2am"
},
"show_on": [
"11"
]
},
"geometry": {
"type": "Point",
"coordinates": [
-122.655806,
45.526041
]
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "LineString",
"coordinates": [
[
-122.67913341522215,
45.52033067648403
],
[
-122.68108606338501,
45.51666215120336
],
[
-122.68561363220215,
45.51791007803842
],
[
-122.68312454223631,
45.522585798722176
],
[
-122.67342567443846,
45.51999991762157
],
[
-122.67312526702881,
45.520691502116385
],
[
-122.67518520355225,
45.521202667801106
],
[
-122.67436981201172,
45.52257076487323
],
[
-122.67443418502809,
45.52308191348417
],
[
-122.65460729598998,
45.5229315761395
],
[
-122.65467166900635,
45.51930832462607
],
[
-122.65164613723755,
45.51935342877618
],
[
-122.65164613723755,
45.5171883887855
],
[
-122.66505718231201,
45.517248529910106
],
[
-122.66737461090086,
45.51729363571138
],
[
-122.67190217971802,
45.51846637385355
],
[
-122.67394065856932,
45.51936846348487
],
[
-122.67894029617308,
45.52070653646753
],
[
-122.67913341522215,
45.52033067648403
]
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment