Dropped a hack in order to support negative lat/lon values, and added one to handle missing direction_ids.