CSV 📄

CSV (Comma-Separated Values)

Open Beta
.csv · text/csv

O CSV com geometria WKT é um formato de texto universal para intercâmbio de geodados. Abre em qualquer aplicação de folha de cálculo, importa-se facilmente para bases de dados e é usado em scripts de processamento de dados.

Exportar CSV agora ✨ Beta Aberta — gratuito, sem limites

Principais características

Formato de texto
Geometria WKT
Abre no Excel
Importação fácil para base de dados

Sobre o formato 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.

Que programa abre ficheiros CSV

Os seguintes programas e aplicações podem abrir, editar e trabalhar com ficheiros CSV (Comma-Separated Values) (.csv) exportados do OSM2CDR:

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

Format specifications

Quem utiliza mapas CSV

🏗
Intercâmbio de dados
Passing geodata to where there is no GIS: anyone can open a table.
💻
Importação para bases de dados
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.
🎨
Scripts de processamento
Processing with Python or R scripts without installing geo libraries.
🗺
Pipelines de ETL
An intermediate layer in an ETL pipeline between the export and the target system.

Como exportar para CSV

1
Selecionar área
Desenhe um retângulo ou polígono no mapa interativo em osm2cdr.ru
2
Escolher CSV
Selecione CSV (Comma-Separated Values) na lista de 127 formatos de exportação disponíveis
3
Exportar
Clique em Exportar e receba o seu ficheiro .csv em 1-5 minutos
4
Descarregar
Descarregue o ficheiro CSV pronto e abra-o no Excel

Como abrir depois da exportação

Mapas populares em CSV

Free

Obtenha exportações de mapas em CSV (Comma-Separated Values)

Descarregue mapas profissionais em CSV a partir do OpenStreetMap. Geração instantânea, qualquer área.

Gratuito / exportação
Exportar CSV agora →

Perguntas frequentes

Posso abrir o mapa CSV no Excel?
Como importar CSV para 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?

Comparar com outros formatos

Convert to CSV and back

CSV guides and tutorials

Formatos relacionados

Frequentemente exportados em conjunto

Related Articles