Convert GPX to FGB

Turn GPX files into FlatGeobuf. A FlatGeobuf with the features and their attributes in the source's coordinate system and a spatial index.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop GPX files on the dialor turn it to pick what to do

Tracks, routes and waypoints as map features.One FGB file with a spatial index and every feature's attributes.

  1. What you get

    A FlatGeobuf file with the features and their attributes in the source's coordinate system, plus a spatial index. The conversion produces one file.

    Waypoints become points, routes become lines, and tracks become multilines with a part for each segment. A layer column names the GPX layer each feature comes from: waypoints, routes, tracks, route_points or track_points.

  2. Points of their own

    Every route point and track point also becomes a point of its own. Each carries its time in UTC and the values the device logged with it, such as satellites, heart rate as hr and cadence as cad.

    The track_fid and route_fid columns tie each point to its track or route. Columns that no feature fills are left out.

  3. What changes or is dropped

    Features without a geometry are left out. Lists and nested values become JSON text.

    The shapes are written in 2D, so only the ele column of points keeps heights. Lines and multilines do not carry elevation.

GPX and FGB.What each format is.

The formats

From · GPX

GPX

GPS tracks, routes and waypoints in XML.

Extensions
.gpx
MIME type
application/gpx+xml
Kind
Text and data
To · FGB

FlatGeobuf

FlatGeobuf, a compact binary format for map features that streams over the web.

Extensions
.fgb
MIME type
application/flatgeobuf
Kind
Text and data

In your code.The same GPX to FGB conversion through the API, for your app or your agent.

terminal
$ cv convert report.gpx report.fgb
$ cv convert report.gpx report.fgb

Questions.What people ask about GPX to FGB.

01OF 04

Only for points. The shapes are written in 2D, so the ele column of points holds the heights and lines do not.

Use the layer column. Its values are waypoints, routes, tracks, route_points and track_points.

Yes, on the points. Route and track points carry the values the device logged, such as hr for heart rate and cad for cadence.

Yes. Use merge GPX to join them, then convert the result.

More conversions.Other ways in and out of GPX and FGB.