Re: [Geojson] Question on Redundancy

Sean Gillies <sean.gillies@gmail.com> Thu, 06 July 2017 17:28 UTC

Return-Path: <sean.gillies@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 9F88812EC47 for <geojson@ietfa.amsl.com>; Thu, 6 Jul 2017 10:28:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 dJ-jNOc0sxBM for <geojson@ietfa.amsl.com>; Thu, 6 Jul 2017 10:28:01 -0700 (PDT)
Received: from mail-yb0-x232.google.com (mail-yb0-x232.google.com [IPv6:2607:f8b0:4002:c09::232]) (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 5292C131557 for <geojson@ietfa.amsl.com>; Thu, 6 Jul 2017 10:28:01 -0700 (PDT)
Received: by mail-yb0-x232.google.com with SMTP id 84so3104146ybe.0 for <geojson@ietfa.amsl.com>; Thu, 06 Jul 2017 10:28:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fMPhDQmDfVLmzWMqUOAUOxJBV59ePNLDICnpfWf5nSY=; b=VI7fn35GNTlHTfioazyHqFSmreonw+X5PwB4YGrsIydcok/Z6uckixR9QmxwSQe6+J D1e+6b9vNPJmWIiSNHXPSmKmmoGXtFGdxiC+ck54RHha5g09QzGrpuGUnlcy8kpMgbYU zmzzxFZ0Lb1g7mVZ+LW8qnDZEn1AY9/pcpkTl3pdbS06x7E57BoTIi+96DaSOba64Q2a H7MQ0r88bQ4t8b2nbE8UhybHuhsRXPThC2MklacAkTYBLaGrNXuuKkF4z8NKGQ/D1TJX uju3u0U6sd9awICceJ/VjwpaGCCcQmZJlC6omMYQYUg01/o3RrQIm0bs5PkXGTVNThcX 8ANQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fMPhDQmDfVLmzWMqUOAUOxJBV59ePNLDICnpfWf5nSY=; b=TlMaTLPIqpWLDHE6sWOI0yubbTia92HXKa7MMRx27OeljS0ky5KOKSLzWteBOZDSkY QP6u4ZoMTk1V/ImlWH2uJt12EWVpQIFOKSFVpOo1/Z5BloKUqLtQri6/362HmqkAx0TN qRnp2EMZART2oOB0zv+6oB3q/mWN0qpTQ5TmfeeatT9Pn/5I/bPS963Lb89VyTNdUsYh gr4gZGj/wYmEo1YqYpkL7qSPYRzz9DI2msxGWX7EtTaYpIGqufkwHzKICTyfwWhJ0w4h 65CDQ3J2jT4FyxfuRul0mybnU+TB6y+CLAo0eZD29YRMnIOWGltdCULc1qghg7WUM/Ny NNLw==
X-Gm-Message-State: AIVw112nTbYxx17HmfhB9XRLlFx7kCx3q/8sEVMfUZ9l+Z+Gt0FoHhvf OsKmIn3ooecL7Odl1m9eADz/2BMvNQ==
X-Received: by 10.37.163.66 with SMTP id d60mr906530ybi.119.1499362080382; Thu, 06 Jul 2017 10:28:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.138.196 with HTTP; Thu, 6 Jul 2017 10:27:59 -0700 (PDT)
In-Reply-To: <PS1PR06MB12414B65F1645C4146396BE6AAD60@PS1PR06MB1241.apcprd06.prod.outlook.com>
References: <PS1PR06MB12414B65F1645C4146396BE6AAD60@PS1PR06MB1241.apcprd06.prod.outlook.com>
From: Sean Gillies <sean.gillies@gmail.com>
Date: Thu, 06 Jul 2017 19:27:59 +0200
Message-ID: <CAOodmJok2dsKgsj1_EqY_qXLQ1Jvq_7Jc7ecLwCVH4MsUQX6+Q@mail.gmail.com>
To: Chris Goodman <Chris.Goodman@objectconsulting.com.au>
Cc: "geojson@ietfa.amsl.com" <geojson@ietfa.amsl.com>
Content-Type: multipart/alternative; boundary="94eb2c19a6b431014d0553a97031"
Archived-At: <https://mailarchive.ietf.org/arch/msg/geojson/LAzYjJGQotbp02lx6KkF1yBkYRU>
Subject: Re: [Geojson] Question on Redundancy
X-BeenThere: geojson@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 06 Jul 2017 17:28:04 -0000

Hello Chris,

The GeoJSON authors and working group didn't identify a use case for a
linear ring outside the context of a polygon and did not define the type.

I would have to go back through the archives to see why redundancy was
settled upon, but I suspect it had to do with a desire to distinguish
between closed curves and curves accidentally left open.

I hope this helps,

On Mon, Jul 3, 2017 at 3:06 AM, Chris Goodman <
Chris.Goodman@objectconsulting.com.au> wrote:

> Hello, In the IETF standard https://tools.ietf.org/html/
> rfc7946#section-3.1.6 3.1.6
> <https://tools.ietf.org/html/rfc7946#section-3.1.6>.  Polygon
>
>
>
>
>
>    To specify a constraint specific to Polygons, it is useful to
>
>    introduce the concept of a linear ring:
>
>
>
>    o  A linear ring is a closed LineString with four or more positions.
>
>
>
>    o  The first and last positions are equivalent, and they MUST contain
>
>       identical values; their representation SHOULD also be identical.
>
>
>
>
>
> The last point is redundant. Why didn’t the standard define a LinearRing
> as a new type and avoid the redundancy?
>
>
>
> For example, in an IOT  LoRa network, the low data and small packet size
> places constraints on the data. The redundancy could be avoided if we
> assume the closing coordinate has the same values as the first.
>
>
>
> Regards, Chris
>
>
>
>
>
> *Chris Goodman*
>
> Supervising Consultant
> M:  +61 419 482 620 <+61%20419%20482%20620>
>
> Office:  +61 3 8615 4500 <+61%203%208615%204500>
>
> Web: *www.objectconsulting.com.au <http://www.objectconsulting.com.au>*
>
> Email: chris.goodman@objectconsulting.com.au
>
>
>
> _______________________________________________
> GeoJSON mailing list
> GeoJSON@ietf.org
> https://www.ietf.org/mailman/listinfo/geojson
>
>


-- 
Sean Gillies