GeoJSON vs CSV — Quin triar?

GeoJSON emmagatzema la geometria completa (polígons, línies, punts), CSV només dades tabulars amb coordenades en columnes. GeoJSON és més potent, CSV és més universal.

Criteris GeoJSON CSV
Polígons/línies
Obrir a Excel
Mapes web
Senzillesa
Atributs

Quan utilitzar-lo GeoJSON

Per a mapes web, emmagatzematge de geometria i Leaflet/Mapbox.

Quan utilitzar-lo CSV

Per a dades de punts, Excel i importació a bases de dades.

Exporta a GeoJSON Exporta a CSV