def ConvertRawInstruction(projection, raw): #:RawInstruction) 
    lambertCoordinates = (raw.Latitude, raw.Longitude)
    (easting,northing) = LambertConverter.toLambert(projection, lambertCoordinates)
    position = Spatial.Position(easting, northing, raw.Feet)
    return FlightTypes.Instruction(position, raw.Knots) # instruction
Beispiel #2
0
def decodeLocation(projection, latitude, longitude):
    return LambertConverter.toLambert(projection, latitude, longitude)