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:
- Always save a
.umapor GeoJSON backup first: Before testing any bulk import, export the full map as.umapor export the layer as GeoJSON, GPX, or KML so every vertex and style survives on disk. - Use WKT inside CSV when you must open Excel: As forum contributors advised in that bike-lane thread, Well-Known Text stores an entire
LINESTRINGgeometry 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. - 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:
- Import routes in native geometry formats: Upload GeoJSON, JSON, KML, KMZ, or GPX files up to 10 MB, or paste raw GeoJSON, KML, or GPX snippets up to 1 MB. Tasmap preserves polylines, GPX tracks, and polygons with inner cutouts automatically, up to 1,000 elements per batch, 5,000 points per route or area, and 20,000 points total.
- Reserve CSV, TSV, and XLSX for places: Spreadsheet uploads and pasted tables map columns to latitude and longitude, addresses, or place names to create point markers cleanly, without pretending a flat table row can define a multi-vertex road corridor.
- Edit route details without re-uploading geometry: After importing or drawing a route, select any line on the canvas to edit its dedicated label, description, links, solid or dashed stroke, color, width, and directional arrows directly in the browser. For dense routes imported from GeoJSON or GPX, selecting the line surfaces representative control points at your current zoom level and smoothly adjusts intermediate vertices when you drag.
- Use Story or Cards when routes need rich notes: Keep maintenance logs out of cramped spreadsheet cells by writing structured paragraphs in the main article and linking phrases directly to each route, so readers highlight the corridor as they read.
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
- uMap: import data from CSV without overwriting polyline data?, OpenStreetMap Community Forum. Bike infrastructure mapper reporting polylines turning into dots after CSV round-trip and community solutions covering WKT, GPX, GeoJSON, and KML.
- uMap/Guide/Import data files, OpenStreetMap Wiki. Official format matrix confirming uMap CSV import creates points only while GeoJSON, GPX, KML, and
.umappreserve full geometry. - RFC 7946, The GeoJSON Format, IETF. Specification defining LineString and MultiLineString geometry objects paired with feature properties.
Related reading
Import GeoJSON, KML, or GPX routes safely and edit route descriptions without risking spreadsheet geometry overwrites at tasmap.app.