This format can...
This format has the following options: compact .
This module supports a subset of the GeoJSON format.
GeoJSON is a poor fit for GPSBabel's internal data structures as GPSBabel was designed more around common GPS features (waypoints, tracks, routes) than about GIS-style concepts like MultiPolygons or Geometry Collections. In reality, for all but the most simple uses (such as converting a format that GPSBabel supports well to something like Leaflet, you should not expect high fidelity transfers through this format.
Initially, only write support for waypoints and tracks is available. Waypoints are converted to a FeatureCollection of Points. The properties for name and description are written, where available. Tracks are converted to a LineString.
Potential future work includes the ability to read Point Features and/or LineStrings as these would map into our concept of waypoints and routes/tracks. The potentially nested/recursive nature of GeoJSON in general would be an awkward implementation.
Initial development was free-handed by looking at the GeoJSON RFC. Corner cases were handled by using GDAL's ogr2ogr to convert GPX to JSON and compare the output. The results were then JSON validated and viewed on JSON web viewer.