The GeoJSON Format
draft-ietf-geojson-01

The information below is for an old version of the document
Document Type Active Internet-Draft (geojson WG)
Last updated 2016-04-05 (latest revision 2016-03-06)
Replaces draft-butler-geojson
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html bibtex
Stream WG state Waiting for WG Chair Go-Ahead
Document shepherd Martin Thomson
Shepherd write-up Show (last changed 2016-03-26)
IESG IESG state AD is watching
Consensus Boilerplate Yes
Telechat date
Responsible AD Alissa Cooper
Send notices to "Martin Thomson" <martin.thomson@gmail.com>
GeoJSON                                                        H. Butler
Internet-Draft                                                 Hobu Inc.
Intended status: Standards Track                                 M. Daly
Expires: September 7, 2016                                       Cadcorp
                                                                A. Doyle
                                                                     MIT
                                                              S. Gillies
                                                             Mapbox Inc.
                                                               T. Schaub
                                                             Planet Labs
                                                                S. Hagen

                                                          March 06, 2016

                           The GeoJSON Format
                         draft-ietf-geojson-01

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.
   This document recommends a single coordinate reference system based
   on WGS 84.  Other coordinate reference systems are not recommended.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on September 7, 2016.

Butler, et al.          Expires September 7, 2016               [Page 1]
Internet-Draft                   GeoJSON                      March 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  . . . . . . . . . . . . . . . . . . . . . . . .   7
   3.  GeoJSON Object  . . . . . . . . . . . . . . . . . . . . . . .   7
     3.1.  Geometry Object . . . . . . . . . . . . . . . . . . . . .   7
       3.1.1.  Position  . . . . . . . . . . . . . . . . . . . . . .   7
       3.1.2.  Point . . . . . . . . . . . . . . . . . . . . . . . .   8
       3.1.3.  MultiPoint  . . . . . . . . . . . . . . . . . . . . .   8
       3.1.4.  LineString  . . . . . . . . . . . . . . . . . . . . .   9
       3.1.5.  MultiLineString . . . . . . . . . . . . . . . . . . .   9
       3.1.6.  Polygon . . . . . . . . . . . . . . . . . . . . . . .   9
       3.1.7.  MultiPolygon  . . . . . . . . . . . . . . . . . . . .   9
       3.1.8.  Geometry Collection . . . . . . . . . . . . . . . . .  10
     3.2.  Feature Object  . . . . . . . . . . . . . . . . . . . . .  10
     3.3.  Feature Collection Object . . . . . . . . . . . . . . . .  10
   4.  Coordinate Reference System . . . . . . . . . . . . . . . . .  10
   5.  Bounding Box  . . . . . . . . . . . . . . . . . . . . . . . .  11
     5.1.  The connecting lines  . . . . . . . . . . . . . . . . . .  12
     5.2.  The Antimeridian  . . . . . . . . . . . . . . . . . . . .  13
     5.3.  The Poles . . . . . . . . . . . . . . . . . . . . . . . .  13
   6.  Extending GeoJSON . . . . . . . . . . . . . . . . . . . . . .  14
     6.1.  Foreign members . . . . . . . . . . . . . . . . . . . . .  14
     6.2.  GeoJSON types are not extensible  . . . . . . . . . . . .  15
     6.3.  Semantics of GeoJSON members and types are not changeable  15
Show full document text