CSV 📄

CSV (Comma-Separated Values)

Open Beta
.csv · text/csv

CSV ar WKT ģeometriju ir universāls teksta formāts ģeodatu apmaiņai. Atveras jebkurā izklājlapu lietojumprogrammā, viegli importējams datubāzēs un tiek izmantots datu apstrādes skriptos.

Eksportēt CSV tūlīt ✨ Atklātā beta versija — bezmaksas, bez ierobežojumiem

Galvenās iespējas

✓Teksta formāts
✓WKT ģeometrija
✓Atveras programmā Excel
✓Vienkārša importēšana datubāzē

Par CSV formātu

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.

Kura programma atver CSV failus

Tālāk norādītās programmas un lietotnes var atvērt, rediģēt un strādāt ar CSV (Comma-Separated Values) (.csv) failiem, kas eksportēti no OSM2CDR:

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

Format specifications

Kas izmanto CSV kartes

🏗
Datu apmaiņa
Passing geodata to where there is no GIS: anyone can open a table.
💻
Datubāzes imports
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.
🎨
Apstrādes skripti
Processing with Python or R scripts without installing geo libraries.
🗺
ETL plūsmas
An intermediate layer in an ETL pipeline between the export and the target system.

Kā eksportēt CSV

1
Atlasiet apgabalu
Uzzīmējiet taisnstūri vai daudzstūri interaktīvajā kartē vietnē osm2cdr.ru
2
Izvēlieties CSV
Atlasiet CSV (Comma-Separated Values) no 127 pieejamo eksporta formātu saraksta
3
Eksportēt
Noklikšķiniet uz Eksportēt un saņemiet savu .csv failu 1–5 minūtēs
4
Lejupielādēt
Lejupielādējiet gatavo CSV failu un atveriet to programmā Excel

Kā atvērt pēc eksporta

Populāras kartes formātā CSV

Free

Eksportējiet kartes formātā CSV (Comma-Separated Values)

Lejupielādējiet profesionālas CSV kartes no OpenStreetMap. Tūlītēja ģenerēšana, jebkurš apgabals.

Bezmaksas / eksports
Eksportēt CSV tūlīt →

Biežāk uzdotie jautājumi

Vai CSV karti var atvērt programmā Excel? ▼
Kā importēt CSV programmā 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? ▼

Salīdziniet ar citiem formātiem

Convert to CSV and back

CSV guides and tutorials

Saistītie formāti

Bieži eksportē kopā

Related Articles