Convert gpx and colormapping defines to enum