Re: [Geojson] Question on Redundancy

Chris Goodman <Chris.Goodman@objectconsulting.com.au> Thu, 06 July 2017 23:52 UTC

Return-Path: <Chris.Goodman@objectconsulting.com.au>
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 5A961131983 for <geojson@ietfa.amsl.com>; Thu, 6 Jul 2017 16:52:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=objectconsultingau.onmicrosoft.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 YM7q9SrDEToK for <geojson@ietfa.amsl.com>; Thu, 6 Jul 2017 16:51:59 -0700 (PDT)
Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sg2apc01on0706.outbound.protection.outlook.com [IPv6:2a01:111:f400:febd::706]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 81758131684 for <geojson@ietfa.amsl.com>; Thu, 6 Jul 2017 16:51:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=objectconsultingau.onmicrosoft.com; s=selector1-objectconsulting-com-au; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oTPnrwU5C1al1ctI1Npp9Pcm6Ik9OLJHi5qZtPUEiOA=; b=TNg+rZhqT/MZSsq4X71kd2/jnV4vskSvyOl212Svr9bPnX7X1QzxL6Yn7abp7TkbdQBvzWdwclpOwwZQUX6R0PXEzKPdfMP9/TruuG10Vipq/hgNEw/4FBSuHbXynRPxj6nL0ww4r+0bW8OI/26vdyu9UXt+UAnkNOKe5xji8hk=
Received: from PS1PR06MB1241.apcprd06.prod.outlook.com (10.169.63.153) by PS1PR06MB1244.apcprd06.prod.outlook.com (10.169.63.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Thu, 6 Jul 2017 23:51:51 +0000
Received: from PS1PR06MB1241.apcprd06.prod.outlook.com ([fe80::bd46:db1e:7e01:3926]) by PS1PR06MB1241.apcprd06.prod.outlook.com ([fe80::bd46:db1e:7e01:3926%13]) with mapi id 15.01.1220.018; Thu, 6 Jul 2017 23:51:51 +0000
From: Chris Goodman <Chris.Goodman@objectconsulting.com.au>
To: Sean Gillies <sean.gillies@gmail.com>
CC: "geojson@ietfa.amsl.com" <geojson@ietfa.amsl.com>
Thread-Topic: [Geojson] Question on Redundancy
Thread-Index: AdLzmJzYNnk/U8cuS0Or10qynARekgC5Jl+AAA1hzuA=
Date: Thu, 06 Jul 2017 23:51:51 +0000
Message-ID: <PS1PR06MB12419E82B087027AD0080447AAD50@PS1PR06MB1241.apcprd06.prod.outlook.com>
References: <PS1PR06MB12414B65F1645C4146396BE6AAD60@PS1PR06MB1241.apcprd06.prod.outlook.com> <CAOodmJok2dsKgsj1_EqY_qXLQ1Jvq_7Jc7ecLwCVH4MsUQX6+Q@mail.gmail.com>
In-Reply-To: <CAOodmJok2dsKgsj1_EqY_qXLQ1Jvq_7Jc7ecLwCVH4MsUQX6+Q@mail.gmail.com>
Accept-Language: en-AU, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=objectconsulting.com.au;
x-originating-ip: [61.69.102.70]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; PS1PR06MB1244; 7:b2IR5YPI4K6ERHPk0VKF1lNjvlap8KkQ2Nol4BxOOLMuYfNl6TFWyJ4JrwI/OVKuqoeSe4uj0+arj93NnQ0c/4yJ7ADhFRKjJjDfBGCeXFqde08vRyZ1WUMjsrFDfgj1cD+CxXI0adl2Sz2J3TSA5C8oAxwAL7ieFVi8vtnODg9TMgFOfyxWrgOgQuKIMQEIwybi+aDiudBb0ZKAMCmn8VxVuvcKKj3Wj+yeZ1b/QgicBTqSEGa5/10NFOMpGEQpYVRWHTS/T9+/FZ5zr1Yr2S3UuG5Q1Q8hs05LlBu0N3bfX4jjIVvb+brhvPWUDlyBc8ihQgnCKOEpc1yn4NS1hvZg2mLRARHF902a1J4LSUpT+E2NAom56MNNDpi3nB2sCHIcq7zfPBSLkDRO+C369Hg/iFSYm46hnjFNPCv32cyl/kv7rkCANp9w//cRX4arhT9wQoqvQAqz5rQkngm/EOOaJrc9J4SrDwKUD4c/79onsXIklDzL8nA0WACiqdzI8ysrEjqRm8abj7vd39lLqMgvcFbuve3aaqENJNaCJcw1rKcAQTmVJMRATeaEB2LrLtaf2eWZFT8izWTkFaRtHoCaMNt864VwSQPSFV/xiQd9pQRwqSTxzMh6HgBhFpMxlM+IG5mzzZps6LzZqpZYD016hdJo+MAIj2kzMblX2eLjSDB+l5jFov76VkMPHGOWDFsSON0eKVgjsYJZc/T3tyCeLba5f4irf7suSFVz+gYBaKaSGFwbQfOlNU+6lA6PHuGb1ysQibZhaq/MRNFlXixN+v0K9+dEPIYZyI2MG2s=
x-ms-office365-filtering-correlation-id: 239174c8-55fb-432f-97fe-08d4c4c9f953
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:PS1PR06MB1244;
x-ms-traffictypediagnostic: PS1PR06MB1244:
x-microsoft-antispam-prvs: <PS1PR06MB1244E1D66EF38C7282EFB11BAAD50@PS1PR06MB1244.apcprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(151999592597050)(26388249023172)(236129657087228)(148574349560750)(46150409022019)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(2017060910055)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:PS1PR06MB1244; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:PS1PR06MB1244;
x-forefront-prvs: 03607C04F0
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39400400002)(39410400002)(39450400003)(39830400002)(53484002)(377454003)(252514010)(469094003)(24454002)(51914003)(39060400002)(3846002)(9326002)(8676002)(81166006)(33656002)(606006)(229853002)(42882006)(5250100002)(2900100001)(72206003)(53546010)(966005)(7736002)(6916009)(14454004)(189998001)(2950100002)(3280700002)(110136004)(53936002)(74482002)(3660700001)(5660300001)(9686003)(6246003)(478600001)(8936002)(2906002)(50986999)(6436002)(236005)(54896002)(99286003)(76176999)(55016002)(54356999)(74316002)(102836003)(4326008)(25786009)(6116002)(790700001)(38730400002)(86362001)(66066001)(6506006)(53386004)(6306002)(7696004); DIR:OUT; SFP:1102; SCL:1; SRVR:PS1PR06MB1244; H:PS1PR06MB1241.apcprd06.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_PS1PR06MB12419E82B087027AD0080447AAD50PS1PR06MB1241apcp_"
MIME-Version: 1.0
X-OriginatorOrg: objectconsulting.com.au
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2017 23:51:51.3745 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 627874b3-5313-4155-9129-9f7f680869ac
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR06MB1244
Archived-At: <https://mailarchive.ietf.org/arch/msg/geojson/iZG3_TkI9ueUAW_un9H63ZKEEyY>
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 23:52:02 -0000

Hi Sean,
Thanks for the background. That makes sense.
Regards, Chris

From: Sean Gillies [mailto:sean.gillies@gmail.com]
Sent: Friday, 7 July 2017 3:28 AM
To: Chris Goodman <Chris.Goodman@objectconsulting.com.au>
Cc: geojson@ietfa.amsl.com
Subject: Re: [Geojson] Question on Redundancy

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<mailto: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<tel:+61%20419%20482%20620>
Office:  +61 3 8615 4500<tel:+61%203%208615%204500>
Web: www.objectconsulting.com.au<http://www.objectconsulting.com.au>
Email: chris.goodman@objectconsulting.com.au<mailto:chris.goodman@objectconsulting.com.au>


_______________________________________________
GeoJSON mailing list
GeoJSON@ietf.org<mailto:GeoJSON@ietf.org>
https://www.ietf.org/mailman/listinfo/geojson



--
Sean Gillies