Re: [Geojson] PR #199: CRS

Martin Thomson <martin.thomson@gmail.com> Fri, 22 April 2016 07:04 UTC

Return-Path: <martin.thomson@gmail.com>
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 CD7CE12D834 for <geojson@ietfa.amsl.com>; Fri, 22 Apr 2016 00:04:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 QgrdskygRnJP for <geojson@ietfa.amsl.com>; Fri, 22 Apr 2016 00:04:42 -0700 (PDT)
Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56FB312D542 for <geojson@ietf.org>; Fri, 22 Apr 2016 00:04:42 -0700 (PDT)
Received: by mail-ig0-x22c.google.com with SMTP id g8so8264970igr.0 for <geojson@ietf.org>; Fri, 22 Apr 2016 00:04:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=ErikZshIuZK6NmH+XdB2/oAoe/1gZmQ8IVEbakZBwZs=; b=whyVoaM3X36pal5Z0kYYFIG2BAFZZyeBVpSqLXTxeFZaeaYzp+yNPleeT1I9xBb0H3 43RUle5nuzwN7TTjHNNEbbFs9iTcRMzk4Gx4WuYyP3unmEMoDp3bXOIYzw2PGcs5JpqH cKIBMV35Jdzog0SRLLGfB8mXXRSG6nzlCEDjtSDLdhTNv/xV/DltsbLndu5xzNhfPrfu XzTscIK3WtsqkBQTxpz6Lomv2Y/yvU9r1xyHRy9SA+MaD05EJ0L+FI8jRx4JdAK9D9Nt vri0+9VS9BqpldBw73gbT8HZLF32xaXmZnXaWsDSOI1k5eyn23qzqEUdlcRJdkakOVX+ xwRA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=ErikZshIuZK6NmH+XdB2/oAoe/1gZmQ8IVEbakZBwZs=; b=mlWlSyZjvr5659muT8jutdl9wArmENp++xgBXN8yYTTjLUsOh77IcSeVF9Q2nfMUNe Cwz68odehsmhOi814xytAv0I5ExWVlUNAZ5i7supvZGi+jk16opLNT3aEyUBJZ+hIQnp pmTf3g5ofCb49+JRJADNNDVQEcSKCcewZTP9/a+Wxl3SjjX4MTiZCTKs3gzCxHh0771o g/BkzaMHYS3oWTgBbDVCQnrwqAOw5b2v6cLJBYhlaH9Wvu95mi1BoI+lAY5mz99a6omH tasztiBA1UxsqhIL0zg0eUb0NSdQXUERXgcSllVKmPYqVjlR7R1Cp+KK1CRW+J9sFi9Y PcHA==
X-Gm-Message-State: AOPr4FWgqlzNGoQoyh3xE47Ki6ANkWdeN5cbRExq2eQmWkDThysZ3is9DHRS82WFvrKUVjPh0MGbS7Z4zGi1nw==
MIME-Version: 1.0
X-Received: by 10.50.221.67 with SMTP id qc3mr2557484igc.77.1461308681599; Fri, 22 Apr 2016 00:04:41 -0700 (PDT)
Received: by 10.36.43.82 with HTTP; Fri, 22 Apr 2016 00:04:41 -0700 (PDT)
In-Reply-To: <CAKdrn+emyk3isnyzjrVTih8=rGz894Wkdi6SvE+uYvGPJKAikg@mail.gmail.com>
References: <CABkgnnWUzLhitZkqahnk-EMwcp5LXS6+=-oUOkd6nzOTjRJEpA@mail.gmail.com> <6784219190a64d97b571b2edb28918be@DEV003VEX.cadcorp.net> <CABkgnnWZ9DeDxo11JqCCeHHOETGZe8jS5Bdg4w2JkYmjMXeGzg@mail.gmail.com> <CAKdrn+emyk3isnyzjrVTih8=rGz894Wkdi6SvE+uYvGPJKAikg@mail.gmail.com>
Date: Fri, 22 Apr 2016 17:04:41 +1000
Message-ID: <CABkgnnUTq0ByVtnEBK9B7CU9-J1zco0kpkiigQ=Y00U8is5f8w@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Tim Schaub <tim.schaub@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/geojson/8FyYeVIsWsG262qxnCRsDAYbGqI>
Cc: Martin Daly <Martin.Daly@cadcorp.com>, "geojson@ietf.org" <geojson@ietf.org>
Subject: Re: [Geojson] PR #199: CRS
X-BeenThere: geojson@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
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: Fri, 22 Apr 2016 07:04:44 -0000

On 22 April 2016 at 00:58, Tim Schaub <tim.schaub@gmail.com> wrote:
> Once you say that you can
> only understand the axis order if you also have a database of every
> possible CRS, you make lightweight web clients impractical.

That's a very narrow use case.  I find that geographical data tends to
be much less useful without being able to relate it to other
geographical data (such as maps, other features I know about, etc...).

Quoting now from some smart individual on github (not me):

>>>
>From @martinthomson's comment above:

> GeoJSON documents MUST NOT use a coordinate reference system other than the one defined here.

This is such clear, simple language. I think the spec would be
significantly approved if we would use it. I'm wondering what negative
outcomes we might expect if we adopted it.

Many of us use GeoJSON-like serializations in situations like
@sgillies describes above, and I imagine we would continue to write
and/or use lenient parsers to do this. I don't think that these
lenient (or CRS agnostic) parsers would disappear if the spec mandated
that alt-CRS not be used.

Even a strict parser would have to allow a crs member (as a foreign
member), so existing alt-CRS GeoJSON documents would still be valid in
tomorrow's compliant parsers. GeoJSON doesn't specify the range of
allowed numbers for coordinates, so writing a parser that throws in
the face of large/small values would be going beyond what is specified
(and fragile).

Maybe this is discussion for a mailing list, but I'm curious to hear
(again) objections to this language[...]