CSV 📄

CSV (Comma-Separated Values)

Open Beta
.csv · text/csv

CSV với hình học WKT là định dạng văn bản phổ quát để trao đổi dữ liệu địa lý. Mở được trong mọi ứng dụng bảng tính, dễ dàng nhập vào cơ sở dữ liệu và được dùng trong các tập lệnh xử lý dữ liệu.

Xuất CSV ngay ✨ Open Beta — miễn phí, không giới hạn

Tính năng chính

Định dạng văn bản
Hình học WKT
Mở được trong Excel
Dễ nhập vào cơ sở dữ liệu

Giới thiệu về định dạng CSV

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.

Chương trình nào mở được tệp CSV

Các chương trình và ứng dụng sau có thể mở, chỉnh sửa và làm việc với tệp CSV (Comma-Separated Values) (.csv) được xuất từ OSM2CDR:

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

Format specifications

Ai sử dụng bản đồ CSV

🏗
Trao đổi dữ liệu
Passing geodata to where there is no GIS: anyone can open a table.
💻
Nhập vào cơ sở dữ liệu
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.
🎨
Tập lệnh xử lý
Processing with Python or R scripts without installing geo libraries.
🗺
Quy trình ETL
An intermediate layer in an ETL pipeline between the export and the target system.

Cách xuất CSV

1
Chọn khu vực
Vẽ một hình chữ nhật hoặc đa giác trên bản đồ tương tác tại osm2cdr.ru
2
Chọn CSV
Chọn CSV (Comma-Separated Values) từ danh sách 127 định dạng xuất khả dụng
3
Xuất
Nhấn Xuất và nhận tệp .csv của bạn trong 1-5 phút
4
Tải xuống
Tải tệp CSV đã sẵn sàng và mở trong Excel

Cách mở tệp sau khi xuất

Bản đồ phổ biến ở định dạng CSV

Miễn phí

Nhận bản đồ xuất ở định dạng CSV (Comma-Separated Values)

Tải bản đồ CSV chuyên nghiệp từ OpenStreetMap. Tạo tức thì, bất kỳ khu vực nào.

Miễn phí / lần xuất
Xuất CSV ngay →

Câu hỏi thường gặp

Tôi có thể mở bản đồ CSV trong Excel không?
Làm thế nào để nhập CSV vào 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?

So sánh với các định dạng khác

Định dạng liên quan

Thường được xuất cùng nhau

Related Articles