remove main from afskencoder
dirty hack: convert DD to DMS coordinates