Import["file.gpx","Data"] returns an expression of the form . Individual layers are given as a list of rules representing the geometry as well as numerical and textual information associated with the features.