What is GeoJSON used for?
GeoJSON represents geographic features as JSON and works well with web maps, GIS software, scripts, and open-data workflows.
How is GPX represented in GeoJSON?
Tracks and routes become line features, waypoints become point features, and available elevation is included as a third coordinate.