The GeoJSON Format
RFC 7946

Document Type RFC - Proposed Standard (August 2016; Errata)
Last updated 2017-07-14
Replaces draft-butler-geojson
Stream IETF
Formats plain text pdf html bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Martin Thomson
Shepherd write-up Show (last changed 2016-05-14)
IESG IESG state RFC 7946 (Proposed Standard)
Consensus Boilerplate Yes
Telechat date
Responsible AD Alissa Cooper
Send notices to "Martin Thomson" <martin.thomson@gmail.com>
IANA IANA review state Version Changed - Review Needed
IANA action state RFC-Ed-Ack
Internet Engineering Task Force (IETF)                         H. Butler
Request for Comments: 7946                                     Hobu Inc.
Category: Standards Track                                        M. Daly
ISSN: 2070-1721                                                  Cadcorp
                                                                A. Doyle

                                                              S. Gillies
                                                                  Mapbox
                                                                S. Hagen

                                                               T. Schaub
                                                             Planet Labs
                                                             August 2016

                           The GeoJSON Format

Abstract

   GeoJSON is a geospatial data interchange format based on JavaScript
   Object Notation (JSON).  It defines several types of JSON objects and
   the manner in which they are combined to represent data about
   geographic features, their properties, and their spatial extents.
   GeoJSON uses a geographic coordinate reference system, World Geodetic
   System 1984, and units of decimal degrees.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 7841.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc7946.

Butler, et al.               Standards Track                    [Page 1]
RFC 7946                         GeoJSON                     August 2016

Copyright Notice

   Copyright (c) 2016 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Requirements Language . . . . . . . . . . . . . . . . . .   4
     1.2.  Conventions Used in This Document . . . . . . . . . . . .   4
     1.3.  Specification of GeoJSON  . . . . . . . . . . . . . . . .   4
     1.4.  Definitions . . . . . . . . . . . . . . . . . . . . . . .   5
     1.5.  Example . . . . . . . . . . . . . . . . . . . . . . . . .   5
   2.  GeoJSON Text  . . . . . . . . . . . . . . . . . . . . . . . .   6
   3.  GeoJSON Object  . . . . . . . . . . . . . . . . . . . . . . .   6
     3.1.  Geometry Object . . . . . . . . . . . . . . . . . . . . .   7
       3.1.1.  Position  . . . . . . . . . . . . . . . . . . . . . .   7
       3.1.2.  Point . . . . . . . . . . . . . . . . . . . . . . . .   8
       3.1.3.  MultiPoint  . . . . . . . . . . . . . . . . . . . . .   8
       3.1.4.  LineString  . . . . . . . . . . . . . . . . . . . . .   8
       3.1.5.  MultiLineString . . . . . . . . . . . . . . . . . . .   8
       3.1.6.  Polygon . . . . . . . . . . . . . . . . . . . . . . .   9
       3.1.7.  MultiPolygon  . . . . . . . . . . . . . . . . . . . .   9
       3.1.8.  GeometryCollection  . . . . . . . . . . . . . . . . .   9
       3.1.9.  Antimeridian Cutting  . . . . . . . . . . . . . . . .  10
       3.1.10. Uncertainty and Precision . . . . . . . . . . . . . .  11
     3.2.  Feature Object  . . . . . . . . . . . . . . . . . . . . .  11
     3.3.  FeatureCollection Object  . . . . . . . . . . . . . . . .  12
   4.  Coordinate Reference System . . . . . . . . . . . . . . . . .  12
   5.  Bounding Box  . . . . . . . . . . . . . . . . . . . . . . . .  12
     5.1.  The Connecting Lines  . . . . . . . . . . . . . . . . . .  14
     5.2.  The Antimeridian  . . . . . . . . . . . . . . . . . . . .  14
     5.3.  The Poles . . . . . . . . . . . . . . . . . . . . . . . .  14
   6.  Extending GeoJSON . . . . . . . . . . . . . . . . . . . . . .  15
     6.1.  Foreign Members . . . . . . . . . . . . . . . . . . . . .  15
   7.  GeoJSON Types Are Not Extensible  . . . . . . . . . . . . . .  16
     7.1.  Semantics of GeoJSON Members and Types Are Not Changeable  16
   8.  Versioning  . . . . . . . . . . . . . . . . . . . . . . . . .  17

Butler, et al.               Standards Track                    [Page 2]
Show full document text