Tasmap

2026-11-27

uMap CSV Reimport Overwrites Polylines With Dots: Fixes

Plain CSV files store one coordinate pair per row and cannot describe how vertices connect into a line. When you export a uMap layer as CSV to edit attributes in Excel and reimport it with Replace layer content enabled, uMap reads each row as a point and turns every drawn bike lane or trail into dots.

Every municipal bike coordinator or trail volunteer eventually tries the same shortcut. Drawing twenty cycling corridors on screen works smoothly, yet updating street names, surface notes, or funding phases one popup at a time feels slow. Exporting the layer to CSV, cleaning up text columns in Excel or Google Sheets, and reimporting seems like the obvious batch-editing path.

In a June 2026 OpenStreetMap Community Forum thread, a bike infrastructure mapper described that exact round-trip: after exporting a polyline layer to CSV, editing fields, and reimporting, every drawn bike lane disappeared and turned into single-point dots.

Why CSV turns lines into points on reimport

The OpenStreetMap Wiki guide for importing data files into uMap states the limitation plainly under its CSV rules: Only points will be imported, because the importer looks for lat and lon prefix column headers and assigns one marker per row.

Plain comma-separated tables lack ordered vertex arrays or line geometry types. Once a polyline leaves a map editor as a flat lat/lon table, the sequence connecting vertex A to vertex B is gone. Reimporting that table with Replace layer content checked overwrites the original line layer with standalone dots.

Safe ways to bulk-edit polylines in uMap

If you want to keep working inside uMap without losing drawn routes, follow three safeguards before touching a spreadsheet:

  1. Always save a .umap or GeoJSON backup first: Before testing any bulk import, export the full map as .umap or export the layer as GeoJSON, GPX, or KML so every vertex and style survives on disk.
  2. Use WKT inside CSV when you must open Excel: As forum contributors advised in that bike-lane thread, Well-Known Text stores an entire LINESTRING geometry inside a single cell. Excel opens a WKT-formatted CSV normally, giving you one row per polyline for bulk attribute edits while preserving the connected vertices on reimport.
  3. Never check Replace layer content against a plain CSV: Import test files into a brand-new layer first so existing polylines stay untouched until you confirm every route rendered properly.

Separating line geometry from attribute editing in Tasmap

Round-trip spreadsheet exports become risky whenever one file carries both drawn line coordinates and editorial copy. Keeping drawn routes in the map editor while handling spreadsheets strictly for point data avoids accidental geometry loss.

In Tasmap, the Data workspace enforces a clear boundary between tabular lists and geometry files:

When to stay with WKT spreadsheets vs a hosted editor

If your workflow depends on running formulas across hundreds of road segments in Excel or QGIS before publishing, keeping a master GeoJSON or WKT-enabled GIS dataset as your source of truth and importing fresh GeoJSON snapshots into your web map keeps geometry predictable.

For project teams maintaining 10 to 200 bike lanes, shuttle loops, or walking trails where non-GIS staff only need to revise descriptions, statuses, and styling, importing the routes once from GeoJSON or GPX and editing copy inside the browser eliminates CSV overwrite accidents completely.

References

Related reading

Import GeoJSON, KML, or GPX routes safely and edit route descriptions without risking spreadsheet geometry overwrites at tasmap.app.

← back to blog