|
|
__init__(self,
address,
port,
conn,
map_path,
free_move_only,
hmac_key)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
location(self,
id='',
lat='',
lon='',
acc='',
hmac='')
Handle incoming location from $HOSTNAME:$PORT/location?$PARAMS. |
source code
|
|
|
|
add_match(self,
time,
id,
x,
y,
acc,
way_segment)
Add a new set of values to the known locations and remove an old one
if necessary. |
source code
|
|
|
|
|
|
|
initial_fuzzy_match(self,
x,
y,
previous_x,
previous_y,
acc,
candidates=None)
Perform initial map match based on fuzzy logic using the peach
package. |
source code
|
|
|
|
|
|
|
calculate_angle(self,
start1,
end1,
start2,
end2)
Calculate the angle between two lines identified by start and end
points. |
source code
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|