Module Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Return BinOpPow BinOpAdd BinOpPow BinOpSub NameLoad NameLoad Num BinOpPow BinOpSub NameLoad NameLoad Num Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Num Assign NameStore BinOpDiv BinOpMult NameLoad NameLoad Num Assign NameStore BinOpDiv BinOpMult NameLoad NameLoad Num Assign NameStore BinOpDiv BinOpMult NameLoad NameLoad Num Assign NameStore BinOpDiv BinOpMult NameLoad NameLoad Num Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult Call NameLoad BinOpDiv NameLoad Num Call NameLoad BinOpDiv NameLoad Num BinOpMult BinOpMult BinOpMult Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad BinOpDiv NameLoad Num Call NameLoad BinOpDiv NameLoad Num Assign NameStore BinOpMult Num Call NameLoad Call NameLoad NameLoad Call NameLoad BinOpSub Num NameLoad Return BinOpMult NameLoad NameLoad decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body TryExcept body Expr Yield SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad handlers ExceptHandler type NameLoad body If AttributeLoad NameLoad attr body Pass orelse Raise Call NameLoad BinOpMod Str NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return ListComp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore UnaryOpUSub NameLoad Assign NameStore UnaryOpUSub NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad Num BinOpSub Call NameLoad NameLoad Num body If CompareGt SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad Num body Assign NameStore SubscriptLoad NameLoad Slice BinOpAdd NameLoad Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return BinOpAdd ListLoad NameLoad NameLoad Return ListLoad NameLoad decorator_list Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Lambda arguments args NameParam NameParam defaults TupleLoad NameLoad NameLoad body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Return BinOpMod Str TupleLoad NameLoad Call AttributeLoad Str attr ListComp BinOpMod Str TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num For NameStore Call NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num AugAssignAdd NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num For NameStore Call NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index SubscriptLoad AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num AugAssignAdd NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Dict Assign NameStore Dict Assign NameStore NameLoad ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam defaults body Pass decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If CompareEq NameLoad Str body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore AttributeLoad NameLoad attr body TryExcept body AugAssignAdd SubscriptStore NameLoad Index NameLoad Num handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Index Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore TupleLoad Num Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareLt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore UnaryOpUSub NameLoad Assign NameStore UnaryOpUSub NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list
N/A N/A xml.sax N/A copy math * graphserver.vincenty vincenty N/A INFINITY N/A float inf download_osm N/A N/A left bottom right top N/A N/A N/A  Return a filehandle to the downloaded data. urllib.request urlopen N/A fp N/A urlopen N/A http://api.openstreetmap.org/api/0.5/map?bbox=%f,%f,%f,%f N/A left bottom right top N/A fp N/A dist N/A N/A x1 y1 x2 y2 N/A N/A N/A N/A N/A N/A N/A x2 x1 2 N/A N/A y2 y1 2 0.5 N/A dist_haversine N/A N/A x0 y0 x1 y1 N/A N/A N/A radius 6371000 N/A lon0 N/A N/A x0 PI 180 N/A lat0 N/A N/A y0 PI 180 N/A lon1 N/A N/A x1 PI 180 N/A lat1 N/A N/A y1 PI 180 N/A dLat N/A lat1 lat0 N/A dLon N/A lon1 lon0 N/A a N/A N/A N/A sin N/A dLat 2 N/A sin N/A dLat 2 N/A N/A N/A N/A cos lat0 N/A cos lat1 N/A sin N/A dLon 2 N/A sin N/A dLon 2 N/A c N/A 2 N/A atan2 N/A sqrt a N/A sqrt N/A 1 a N/A N/A radius c N/A Node N/A N/A __init__ N/A N/A self id lon lat N/A N/A N/A N/A self id id N/A N/A self lon lon N/A N/A self lat lat N/A N/A self tags N/A N/A __repr__ N/A N/A self N/A N/A N/A N/A <Node id='%s' (%s, %s) n_tags=%d> N/A N/A self id N/A self lon N/A self lat N/A len N/A self tags N/A N/A Way N/A N/A __init__ N/A N/A self id osm tolerant N/A False N/A N/A N/A self osm osm N/A N/A self id id N/A N/A self nd_ids N/A N/A N/A self tags N/A N/A N/A self tolerant tolerant N/A nds N/A N/A self N/A N/A N/A nd_id N/A self nd_ids N/A N/A N/A N/A N/A N/A N/A N/A self osm nodes N/A nd_id N/A N/A N/A KeyError N/A N/A N/A self tolerant N/A N/A N/A N/A N/A KeyError N/A Way references undefined node '%s' nd_id N/A property geom N/A N/A self N/A N/A N/A N/A N/A N/A nd lon N/A nd lat N/A nd N/A self nds N/A property bbox N/A N/A self N/A N/A N/A l INFINITY N/A b INFINITY N/A r N/A INFINITY N/A t N/A INFINITY N/A N/A x y N/A self geom N/A N/A l N/A min l x N/A r N/A max r x N/A b N/A min b y N/A t N/A max t y N/A N/A l b r t N/A property split N/A N/A self dividers N/A N/A slice_array N/A N/A ar dividers N/A N/A N/A i N/A range 1 N/A N/A len ar 1 N/A N/A N/A N/A dividers N/A N/A ar N/A i 1 N/A N/A left N/A ar N/A N/A i 1 N/A right N/A ar N/A i N/A rightsliced N/A slice_array right dividers N/A N/A N/A left rightsliced N/A N/A ar N/A N/A slices N/A slice_array N/A self nd_ids dividers N/A ret N/A N/A i 0 N/A slice slices N/A N/A littleway N/A N/A copy copy self N/A N/A littleway id N/A -%d i N/A N/A littleway nd_ids slice N/A N/A N/A ret append littleway N/A i 1 N/A ret N/A get_projected_points N/A N/A self reprojection_func N/A N/A N/A N/A x y N/A N/A x y N/A N/A nodedir is a dictionary of nodeid->node objects. If reprojection_func is None, returns unprojected points N/A ret N/A N/A nodeid N/A self nd_ids N/A N/A node N/A N/A N/A self osm nodes N/A nodeid N/A N/A N/A ret append N/A reprojection_func N/A node lon N/A node lat N/A ret N/A to_canonical N/A N/A self srid reprojection_func N/A None N/A N/A Returns canonical string for this geometry N/A N/A SRID=%d;LINESTRING(%s) N/A srid N/A N/A , join N/A N/A %f %f N/A x y N/A N/A x y N/A N/A self get_projected_points N/A length N/A N/A self N/A N/A N/A nodedir is a dictionary of nodeid->node objects N/A ret 0 N/A i N/A range N/A N/A len N/A self nd_ids 1 N/A N/A thisnode N/A N/A N/A self osm nodes N/A N/A N/A self nd_ids N/A i N/A nextnode N/A N/A N/A self osm nodes N/A N/A N/A self nd_ids N/A N/A i 1 N/A ret N/A vincenty N/A thisnode lat N/A thisnode lon N/A nextnode lat N/A nextnode lon N/A ret N/A length_haversine N/A N/A self N/A N/A N/A ret 0 N/A i N/A range N/A N/A len N/A self nds 1 N/A N/A thisnode N/A N/A N/A self osm nodes N/A N/A N/A self nds N/A i N/A nextnode N/A N/A N/A self osm nodes N/A N/A N/A self nds N/A N/A i 1 N/A ret N/A dist N/A thisnode lon N/A thisnode lat N/A nextnode lon N/A nextnode lat N/A ret N/A fromv N/A N/A self N/A N/A N/A N/A N/A self nd_ids N/A 0 N/A property tov N/A N/A self N/A N/A N/A N/A N/A self nd_ids N/A -1 N/A property __repr__ N/A N/A self N/A N/A N/A N/A <Way id='%s' n_nds=%d n_tags=%d> N/A N/A self id N/A len N/A self nd_ids N/A len N/A self tags N/A N/A OSM N/A N/A __init__ N/A N/A self filename_or_stream tolerant N/A False N/A N/A  File can be either a filename or stream/file object. N/A nodes N/A N/A ways N/A N/A superself self OSMHandler N/A N/A N/A xml sax ContentHandler N/A setDocumentLocator N/A N/A self loc N/A N/A N/A N/A classmethod startDocument N/A N/A self N/A N/A N/A N/A classmethod endDocument N/A N/A self N/A N/A N/A N/A classmethod startElement N/A N/A self name attrs N/A N/A N/A N/A name node N/A N/A N/A self currElem N/A Node N/A attrs N/A id N/A float N/A attrs N/A lon N/A float N/A attrs N/A lat N/A N/A N/A name way N/A N/A N/A self currElem N/A Way N/A attrs N/A id superself tolerant N/A N/A N/A name tag N/A N/A N/A N/A N/A self currElem tags N/A N/A attrs N/A k N/A attrs N/A v N/A N/A N/A name nd N/A N/A N/A N/A N/A N/A self currElem nd_ids append N/A attrs N/A ref N/A classmethod endElement N/A N/A self name N/A N/A N/A N/A name node N/A N/A N/A nodes N/A N/A N/A self currElem id N/A self currElem N/A N/A N/A name way N/A N/A N/A ways N/A N/A N/A self currElem id N/A self currElem N/A classmethod characters N/A N/A self chars N/A N/A N/A N/A classmethod N/A N/A N/A N/A N/A xml sax parse filename_or_stream OSMHandler N/A N/A self nodes nodes N/A N/A self ways ways N/A node_histogram N/A N/A dict fromkeys N/A N/A N/A self nodes keys 0 N/A todel N/A N/A way N/A N/A N/A self ways values N/A N/A N/A N/A len N/A way nd_ids 2 N/A N/A N/A N/A todel append N/A way id N/A way_id todel N/A N/A N/A N/A self ways N/A way_id N/A way N/A N/A N/A self ways values N/A N/A node N/A way nd_ids N/A N/A N/A N/A N/A node_histogram N/A node 1 N/A N/A N/A KeyError N/A N/A N/A node_histogram N/A node 1 N/A new_ways N/A N/A N/A id way N/A N/A N/A self ways items N/A N/A split_ways N/A N/A way split node_histogram N/A split_way split_ways N/A N/A N/A new_ways N/A N/A split_way id split_way N/A N/A self ways new_ways N/A connecting_nodes N/A N/A self N/A N/A N/A List of nodes that are the endpoint of one or more ways N/A ret N/A N/A way N/A N/A N/A self ways values N/A N/A N/A ret N/A N/A way fromv N/A N/A self nodes N/A N/A way fromv N/A N/A ret N/A N/A way tov N/A N/A self nodes N/A N/A way tov N/A N/A N/A ret values N/A property download_from_bbox N/A N/A cls left bottom right top N/A N/A N/A  Retrieve remote OSM data. N/A fp N/A download_osm left bottom right top N/A osm N/A cls fp N/A N/A N/A fp close N/A osm N/A classmethod find_nearest_node N/A N/A self lng lat N/A N/A N/A  Brute force effort to find the nearest start or end node based on lat/lng distances. N/A best N/A N/A self nodes N/A N/A N/A N/A N/A self ways N/A N/A N/A N/A N/A self ways keys N/A 0 nd_ids N/A 0 N/A bdist N/A dist N/A best lon N/A best lat lng lat N/A N/A id way N/A N/A N/A self ways iteritems N/A N/A i N/A 0 -1 N/A N/A nd N/A N/A self nodes N/A N/A N/A way nd_ids N/A i N/A d N/A dist lng lat N/A nd lon N/A nd lat N/A N/A d bdist N/A N/A bdist d N/A best nd N/A best N/A bbox N/A N/A self N/A N/A N/A l INFINITY N/A b INFINITY N/A r N/A INFINITY N/A t N/A INFINITY N/A way N/A N/A N/A self ways values N/A N/A N/A ll bb rr tt N/A way bbox N/A l N/A min l ll N/A b N/A min b bb N/A r N/A max r rr N/A t N/A max t tt N/A N/A l b r t N/A property N/A