Veri Formatları 5 dk okuma

GeoJSON: Web için Coğrafi Veri Formatı

GeoJSON, coğrafi veri yapılarını temsil etmek için JSON tabanlı bir format standardıdır. Web harita uygulamalarında en yaygın kullanılan formattır.

Son güncelleme: 19 Haziran 2026

GeoJSON Nedir?

GeoJSON, 2008 yılında geliştirilen ve 2016'da IETF RFC 7946 standardı olarak kabul edilen açık bir coğrafi veri formatıdır. JSON (JavaScript Object Notation) tabanlı bu format, web API'leri ve JavaScript harita kütüphaneleri ile mükemmel uyum içinde çalışır.

GeoJSON Geometri Tipleri

  • Point: Tekil nokta (koordinat çifti)
  • LineString: Çizgi veya yol
  • Polygon: Kapalı alan
  • MultiPoint, MultiLineString, MultiPolygon: Çoklu geometriler
  • GeometryCollection: Karma geometri koleksiyonu
  • Feature: Özellikli geometri (properties ile)
  • FeatureCollection: Birden fazla feature

Örnek GeoJSON

{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [32.8597, 39.9334]
  },
  "properties": {
    "name": "Ankara",
    "population": 5700000
  }
}