datatypes of lon and lat changed to double
datatype of ids changed to long!
order of the waypoints...