finish write support for GPX