uMap GPX Import Wiped Layer Data? Recovery and Prevention
Importing a new GPX track into an existing uMap layer can overwrite every previous route and waypoint on that layer if Replace layer content is checked or if the layer state glitches during save. Exporting full
.umapbackups before every import and targeting a fresh layer prevents irreversible loss, while non-destructive import tools remove the overwrite trap entirely.
Multi-leg journeys, trail networks, and regional cycling guides grow one GPX file at a time. You finish a new stage, open your uMap project, import the fresh .gpx track, and expect it to sit cleanly beside the tracks you collected over the past year.
In an August 2025 OpenStreetMap Community Forum thread titled Lost all data from a layer, a sailing mapper hit the worst version of that routine. After importing a single new GPX track into an existing uMap layer, every earlier element on that layer vanished. Worse, the layer's built-in version history still showed previous revisions weighing roughly 250 KB, yet clicking Recover left the map blank. Downloading the restored layer as GPX produced only a 1 KB empty file that failed to reimport.
Immediate recovery checks if a uMap layer just went blank
If your routes or markers disappeared right after an import, avoid saving over the remaining history while you check what is still recoverable.
- Do not click Save again: Every extra save pushes older snapshots further down uMap's layer revision list and risks overwriting a clean server version with an empty canvas.
- Download a full
.umaparchive first: Open the Share and download panel and export the entire map in full uMap format rather than downloading a single visible layer as GPX. As the OpenStreetMap Wiki export guide notes,.umappreserves complete map metadata, layer definitions, and geometry structures. Open the.umapfile in a plain text editor to check whether your older feature coordinates are still present in JSON. - Check whether remote data URLs are stalling: In that same August 2025 forum thread, another contributor saw layers vanish intermittently and editing freeze because their map depended on a remote Overpass Turbo URL. If your layer fetches remote data instead of storing uploaded geometry locally, wait and test the source URL directly before assuming local data deletion.
- Test an older revision in a cloned map: If you recover a
.umapor GeoJSON copy from an earlier local download or browser backup, import it into a brand-new uMap map first so you can inspect the recovered tracks safely without touching the live URL.
Why GPX imports wipe existing uMap layers
The OpenStreetMap Wiki guide for importing data files into uMap documents two settings right above the Import button that quietly decide whether old geometry survives:
- Import destination: A dropdown lets you choose either an existing layer or Import in new layer. Picking an existing layer puts new GPX tracks into the same container as your existing work.
- Replace layer content: A checkbox directly underneath overwrites every existing feature inside the chosen layer with the newly uploaded file.
Leaving an active layer selected with Replace layer content checked erases the entire layer in one click. Even when users try to rely on uMap's layer history afterward, forum reports show that clicking Recover on a 250 KB historical version can still fail to repopulate the map canvas or yield a 1 KB empty GPX download.
A safe backup routine if you stay on uMap
If your project remains on uMap, add three habits before importing any new GPX file:
- Export a dated
.umapbackup before every upload: Treat the.umapfile on your local drive or cloud folder as your true source of truth, not the hosted browser revision list. - Always select Import in new layer: Bring every new GPX track into a temporary layer first. Inspect the track, confirm its coordinates and styling, and only merge or retire older layers after verifying everything renders cleanly.
- Keep original GPX files organized by leg: Store raw
.gpxrecordings in a numbered folder so you can rebuild a multi-stage route map in minutes if an online layer glitches.
Non-destructive GPX import and editing in Tasmap
When a map collects routes over months or years, adding a new GPX track should append cleanly and let you verify the result before committing it to your published URL.
In Tasmap, the Data workspace and canvas quick-import are built to keep existing map content intact:
- Additive GPX imports with preview: Upload a GPX file up to 10 MB, or paste raw GPX XML up to 1 MB, and Tasmap parses waypoints, routes, and tracks into a preview before adding them to your map. Existing places, routes, and areas stay untouched.
- Separate styles for routes and tracks: During GPX import, you can assign distinct styles for routes and tracks, or switch to Auto matching when your map holds multiple preset styles.
- Instant undo and clear save control: Dragging a GPX file straight onto the map canvas imports it with smart defaults and shows a bottom bar with one-click Undo and Customize, alongside full
Cmd/Ctrl+Zundo and redo history. Your public link, QR code, and website embed continue showing the last saved version until you deliberately save. - Edit single tracks without re-uploading: Click any imported route on the canvas to revise its title, description, linked photos, solid or dashed line style, color, width, or directional arrows directly in the browser. For dense GPX recordings, selecting a route displays representative control points at your current zoom level and adjusts intermediate vertices smoothly while dragging.
- Known capacity limits: Tasmap handles up to 1,000 elements per import batch, up to 5,000 points per single route or area, and up to 20,000 total points across all routes and areas on a map.
Where uMap remains the better choice
Stick with uMap or a self-hosted GeoJSON workflow when your project requires live Overpass Turbo remote queries, fully open-source self-hosting on your own server, or single-layer uploads carrying more than 1,000 elements or 20,000 total route vertices.
For multi-stage cycling guides, sailing logs, trail directories, and race route pages where losing months of curated GPX tracks to a single bad import is unacceptable, separating additive file import from manual saving and keeping every route editable in place prevents data loss before it happens.
References
- Lost all data from a layer, OpenStreetMap Community Forum. August 2025 thread documenting a uMap GPX import wiping 250 KB of existing layer data and built-in recovery returning a 1 KB empty file.
- uMap/Guide/Import data files, OpenStreetMap Wiki. Documentation of uMap's Import destination dropdown, Import in new layer option, and Replace layer content overwrite setting.
- uMap/Guide/Export data of my uMap, OpenStreetMap Wiki. Reference explaining full
.umapbackup exports compared with single-layer GPX or GeoJSON downloads.
Related reading
- uMap CSV Reimport Overwrites Polylines With Dots: Fixes
- uMap Failed to Save on Ctrl+S? Recovery and Workarounds
- Display Multiple GPX Files on One Interactive Map
Add new GPX tracks without overwriting earlier routes and keep full undo control on Tasmap Free or Pro at tasmap.app.