CSV 📄

CSV (Comma-Separated Values)

Open Beta
.csv · text/csv

CSV med WKT-geometri er et universelt tekstformat for utveksling av geodata. Åpnes i alle regnearkprogrammer, importeres enkelt til databaser og brukes i skript for databehandling.

Eksporter CSV nå ✨ Åpen beta — gratis, ingen begrensninger

Hovedfunksjoner

Tekstformat
WKT-geometri
Åpnes i Excel
Enkel import til database

Om CSV-formatet

CSV is a simple table: a row per object, columns separated by commas. Geography is put into it in two ways, and we use both at once: the full geometry of an object is written as text in WKT format, and next to it come the latitude and longitude of a representative point — for a line and a polygon that is a point on the object itself, not a nominal center outside it.

The format is chosen when the map is needed as data rather than as a picture: to count objects in a table, to merge with an export from your own system, to load into a database, to hand to a colleague without a GIS, to run through a script. CSV is read by literally everything — from Excel to pandas.

The output is a single file in UTF-8 encoding. One layer gives an ordinary table; if several layers are selected, they are gathered into one file, and the first column _layer shows where the row came from — it makes splitting the data back apart easy. OSM attributes go as separate columns, and the coordinates are in WGS84 rounded to seven decimal places, which is about a centimeter.

Hvilket program åpner CSV-filer

Følgende programmer og applikasjoner kan åpne, redigere og arbeide med CSV (Comma-Separated Values) (.csv)-filer eksportert fra OSM2CDR:

📈Excel 💻Google Sheets 💻Python (pandas) 📐R 💻PostGIS 🌎QGIS

Format specifications

Hvem bruker CSV-kart

🏗
Datautveksling
Passing geodata to where there is no GIS: anyone can open a table.
💻
Import til database
Loading into PostgreSQL, MySQL or a warehouse with a single import command.
📊
Excel/Google Sheets
Work in a familiar spreadsheet: filters, pivots, counting objects by type.
🎨
Behandlingsskript
Processing with Python or R scripts without installing geo libraries.
🗺
ETL-pipelines
An intermediate layer in an ETL pipeline between the export and the target system.

Slik eksporterer du CSV

1
Velg område
Tegn et rektangel eller polygon på det interaktive kartet på osm2cdr.ru
2
Velg CSV
Velg CSV (Comma-Separated Values) fra listen over 127 tilgjengelige eksportformater
3
Eksporter
Klikk Eksporter og motta .csv-filen din på 1–5 minutter
4
Last ned
Last ned den ferdige CSV-filen og åpne den i Excel

Slik åpner du filen etter eksporten

Populære kart i CSV

Free

Få karteksporter i CSV (Comma-Separated Values)

Last ned profesjonelle CSV-kart fra OpenStreetMap. Umiddelbar generering, uansett område.

Gratis / eksport
Eksporter CSV nå →

Ofte stilte spørsmål

Kan jeg åpne CSV-kartet i Excel?
Hvordan importerer jeg CSV til PostGIS?
How do I open the file in Excel without garbled characters?
What are the _layer, lat and lon columns?
What coordinate system do the coordinates come in?

Sammenlign med andre formater

Convert to CSV and back

CSV guides and tutorials

Relaterte formater

Ofte eksportert sammen

Related Articles