beacen.

GPX import limits field answer 143

Why does beacen say my GPX is too large to import?

The short answer

beacen’s iPhone GPX importer limits file size to 20 MiB and route points to 100,000. A file can exceed either limit independently. Read the error first, make a copy and edit the part causing the problem. After an export, check point count, size, segment breaks and important turns before using the new file.

Bytes and points measure different things.

A short track can be a large XML document if each point includes several sensor readings and long extensions. A much smaller document can contain a very large number of positions if each point is written simply. On iPhone, “This GPX file is too large to import” refers to the byte ceiling. A message about too many route points identifies a different reason to edit the file.

Imagine a compact 16 MiB file with 120,000 track points. Shortening the track name or stripping whitespace will leave it over the point limit. Now consider a 22 MiB file with 60,000 points. Its point count alone would fit. A copy exported with just the navigation geometry may fit the byte allowance while keeping every bend. Preserve the original if its sensor data matters to you.

Byte limit20 MiB

Inspect the exported file size. Extra fields add bytes at every sampled position.

Geometry limit100,000 route points

Count positions along the navigable line. Reducing XML whitespace leaves that count unchanged.

Wrong objectWaypoints only

Check for a track or route. A smaller collection of pins still cannot supply a course.

Keep the information the outing actually needs.

For a recording of several days, splitting at overnight stops can solve both problems and make the route easier to select on a phone. Verify that each export contains only its intended day. An editor can show several separate stages but still export all of them in one document. Two filenames with different names are not evidence that you have exported different stages.

For one continuous outing with a very dense trace, simplify a copy using a tool that preserves the shape to a chosen tolerance or point budget. Inspect hairpins, parallel paths, river crossings and short changes of direction. Removing every tenth point blindly can cut off the very turn you need. If the original has gaps, preserve the segment boundaries so the new track does not bridge them.

What if the smaller file still fails?

Open the new GPX independently and compare the start, finish and most complicated junction with the original. Check file size in bytes and the number of route or track points. A collection of standalone waypoints is a different type of content. Removing the line to meet a limit can leave a small file that contains nothing beacen can navigate.

If the next error says the file is invalid, empty or cannot be read, treat that as new information. For example, a failed download saved with a GPX extension can contain a web page. Re-export from the source or inspect the contents before doing another round of simplification. Note the exact message, file size and point count if you need support.

Sources & scope

What this answer is based on.

The byte and point limits and error wording come from the beacen iPhone route importer and its tests. The example file sizes and recording intervals are illustrative.

More in GPX files

Related questions