def routeMessageToGAERoute(msg):
    posMsgs = msg.positions;
    ps =[]
    for p in posMsgs:
        ps.append(gpos.timedPosMessageToGAETimedPosition(p))
    return GAERoute(positions=ps)
 def storeTimedPosition(self, request):
     gtimed = gpos.timedPosMessageToGAETimedPosition(request)
     gtimed.put()
     return ReplyInfoMessage(info="Stored")
 def storeTimedPosition(self, request):
     gtimed = gpos.timedPosMessageToGAETimedPosition(request)
     gtimed.put()    
     return ReplyInfoMessage(info="Stored")