Re: [Geojson] GeoJSON 2.0

"Stefan Hagen" <stefan@dilettant.eu> Tue, 03 May 2016 22:19 UTC

Return-Path: <stefan@dilettant.eu>
X-Original-To: geojson@ietfa.amsl.com
Delivered-To: geojson@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 035B212D8A7 for <geojson@ietfa.amsl.com>; Tue, 3 May 2016 15:19:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=dilettant.eu
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1QLcBUvW9Hlf for <geojson@ietfa.amsl.com>; Tue, 3 May 2016 15:19:29 -0700 (PDT)
Received: from mailrelay11.public.one.com (mailrelay11.public.one.com [195.47.247.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2BFBA12D9B5 for <geojson@ietf.org>; Tue, 3 May 2016 15:19:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dilettant.eu; s=20140924; h=from:reply-to:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=7B4ZXnGFsTQ32czZt3KyOMGg8ZrZblyvOPJHJrVdXEI=; b=qtLJDByV0wYBRUqRjiRSn0TfP/OEQfdejMhPH8wOHe4E0GiKNHYEVnCfg1ZvB+8UEDyd3mBlcsV40 pwOdRFYQ5jWsvlNQJejkAPzwD9tT4b0kdAzLqDReS1IVVlhcmCFoxWY1w6QSeeMCz63+loM3O88CIm idY77DmxUDHDoaBw=
X-HalOne-Cookie: 94aed1390358be06cb7b8c7a86d872d6bf316139
X-HalOne-ID: 17d4983e-117d-11e6-9f8d-b82a72d06996
Received: from webmail9 (unknown [46.30.211.130]) by smtpfilter3.public.one.com (Halon Mail Gateway) with SMTP; Tue, 3 May 2016 22:19:24 +0000 (UTC)
X-Originating-IP: 145.253.86.34
User-Agent: One.com webmail 18.2.2
In-Reply-To: <CAOodmJoxWQoio7vj7H5dYnm7Ek6_kcgkuqSUvLpHP3HP5eza4w@mail.gmail.com>
References: <CAOodmJoxWQoio7vj7H5dYnm7Ek6_kcgkuqSUvLpHP3HP5eza4w@mail.gmail.com>
Date: Wed, 04 May 2016 00:19:24 +0200
MIME-Version: 1.0
Message-ID: <1462313964351.100374.21894@webmail8>
To: Sean Gillies <sean.gillies@gmail.com>
From: Stefan Hagen <stefan@dilettant.eu>
Content-Type: multipart/alternative; boundary="----------21892-1462313964351-1"
Archived-At: <http://mailarchive.ietf.org/arch/msg/geojson/0JhPjaeBlrd10KjJ052QafV8ZcU>
Cc: geojson@ietf.org
Subject: Re: [Geojson] GeoJSON 2.0
X-BeenThere: geojson@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: stefan@dilettant.eu
List-Id: IETF GeoJSON WG <geojson.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/geojson>, <mailto:geojson-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/geojson/>
List-Post: <mailto:geojson@ietf.org>
List-Help: <mailto:geojson-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/geojson>, <mailto:geojson-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 May 2016 22:19:32 -0000

Hi all,

On 3 May 2016 at 20:02:29 +02:00, Sean Gillies <<sean.gillies@gmail.com>> wrote:

> Hi all,
> 
> Getting to the finish requires us to reconcile two concerns:
> 1. We have consensus that WGS84 longitude and latitude only will maximize interoperability.
> 2. The above is a breaking change (whether you agree the contract it breaks was even working in the first place or not) and has to be done in a way that does (ideally) no harm to implementers of <http://geojson.org> GeoJSON.
> 
> 
> As Martin Thomson has suggested, and Dirk-Willem hinted at previously, I propose we consider creating a GeoJSON version 2.0 to make the break while giving implementers of the historical spec a unique name for what they're implementing: "GeoJSON 1.0".
> 
> GeoJSON 1.0 would continue to be defined at <http://geojson.org/geojson-spec.html>. It has no standard media type and no standard file extension.
> 
> GeoJSON 2.0 would be our current draft with the change to "MUST NOT use CRS other than the default". Its media type is "application/geo+json" and its file extensions are ".geojson" and ".json". The media type "application/geo+json" would always mean "GeoJSON 2.0".
> 
> I think it makes the most sense to, as previously suggested, add a "version" member to the top-level object and give it a value of "2.0":
> 
> {"type": "FeatureCollection", "version": "2.0", ... }
> 
> On receiving a GeoJSON document with no version member, a parser could try to guess the version by looking for a "crs" member. If absent, the document is practically equivalent to GeoJSON 2.0.
> My apologies for the circular route we've taken to get here, but we've certainly considered the alternatives to not versioning GeoJSON thoroughly and have found them unacceptable.
> I second Sean's "motion" as version indicators are like dentist appointments (sorry for that one) and because the v1.0 part of the proposal also nicely documents the ongoing relevance of the community that brought GeoJSON v1.0 into existence.

Stefan
--
read: hagen.link
talk: eventually