[Geojson] Question regarding RFC 7946: Interior and Exterior Linear Rings

Chris Goodman <Chris.Goodman@objectconsulting.com.au> Tue, 23 May 2017 07:19 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 B52F41294CD for <geojson@ietfa.amsl.com>; Tue, 23 May 2017 00:19:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level:
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 kj40ktZFi0L8 for <geojson@ietfa.amsl.com>; Tue, 23 May 2017 00:19:14 -0700 (PDT)
Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-hk2apc01on0137.outbound.protection.outlook.com [104.47.124.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 451C6127601 for <geojson@ietf.org>; Tue, 23 May 2017 00:19:13 -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=c40yKTmWg3wXrRZd7EoK8HNUGu5kbkwWelLEQg9pd24=; b=Xdx+8Ud5RiZK0yPjvLRoIcoujgwwWJhkihGfJrzpp49JsuQjaMmCejy7MNafmNplZHnmCx5ty7zhN128ce5CX1IbalCqzom2JH/+itfE2EHJ2/gBgo147OwZpO+d0x839juJK+uB3murcppuM3CDBHyPAM+mlERucKywtIR0mis=
Received: from PS1PR06MB1241.apcprd06.prod.outlook.com (10.169.63.153) by PS1PR06MB1242.apcprd06.prod.outlook.com (10.169.63.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Tue, 23 May 2017 07:19:06 +0000
Received: from PS1PR06MB1241.apcprd06.prod.outlook.com ([fe80::7c39:f800:9a58:fef1]) by PS1PR06MB1241.apcprd06.prod.outlook.com ([fe80::7c39:f800:9a58:fef1%14]) with mapi id 15.01.1101.019; Tue, 23 May 2017 07:19:06 +0000
From: Chris Goodman <Chris.Goodman@objectconsulting.com.au>
To: "geojson@ietf.org" <geojson@ietf.org>
Thread-Topic: Question regarding RFC 7946: Interior and Exterior Linear Rings
Thread-Index: AdLTlNsJfTfwJuR/TfadPHgLQ5NxCQ==
Date: Tue, 23 May 2017 07:19:06 +0000
Message-ID: <PS1PR06MB1241E7092910654915B99732AAF90@PS1PR06MB1241.apcprd06.prod.outlook.com>
Accept-Language: en-AU, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Chris.Goodman@objectconsulting.com.au;
x-originating-ip: [61.69.102.70]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; PS1PR06MB1242; 7:u0xxWmkC8ASxvwpeRbjw8Q9aQbRF6IWdcNuegEQWiYJv2WmQNeTXxEyMae/zVcY1l+2yTyE+Yrj87DygvNOKMqvP8EuQJEmdtMTTXSfszXgoNVfEvqc4+J68FbzTkCjGkuQeB+IAMyD9ZKvu+XDngKP5A5c9f1l0gA4c9GAHOZkArTu6IQAt50ycUvvPFWc8MhZYCz2tGTW4oHxaCOwqML1Knxs1TPTaFLKaDLIU5p6D5+rZ/JvWtV4cMt1QurETaWMYFPUwjcgKY5kLe/u8Ij0MGC4WrzgUaMvZRMfSOovQEQW1DLYRQR3cO4tCmSFuOWYyYxK9isijnsYf75o4wQ==
x-ms-traffictypediagnostic: PS1PR06MB1242:
x-ms-office365-filtering-correlation-id: f3fff4bc-8ae0-4401-ce44-08d4a1abffcb
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:PS1PR06MB1242;
x-microsoft-antispam-prvs: <PS1PR06MB1242B207D19D7B560E1C2229AAF90@PS1PR06MB1242.apcprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(46150409022019)(21748063052155)(17755550239193);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123558100)(20161123555025)(6072148); SRVR:PS1PR06MB1242; BCL:0; PCL:0; RULEID:; SRVR:PS1PR06MB1242;
x-forefront-prvs: 0316567485
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39410400002)(39400400002)(39450400003)(39830400002)(252514010)(38730400002)(110136004)(3280700002)(86362001)(53936002)(2900100001)(8936002)(2906002)(7736002)(74316002)(6506006)(5640700003)(33656002)(6436002)(6306002)(72206003)(54896002)(3660700001)(55016002)(99286003)(9686003)(66066001)(236005)(2501003)(5630700001)(2351001)(478600001)(790700001)(6116002)(3846002)(102836003)(5250100002)(25786009)(74482002)(97736004)(8676002)(81166006)(1730700003)(189998001)(50986999)(42882006)(54356999)(5660300001)(6916009)(7696004); DIR:OUT; SFP:1102; SCL:1; SRVR:PS1PR06MB1242; H:PS1PR06MB1241.apcprd06.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
received-spf: None (protection.outlook.com: objectconsulting.com.au does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_PS1PR06MB1241E7092910654915B99732AAF90PS1PR06MB1241apcp_"
MIME-Version: 1.0
X-OriginatorOrg: objectconsulting.com.au
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2017 07:19:06.4605 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 627874b3-5313-4155-9129-9f7f680869ac
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR06MB1242
Archived-At: <https://mailarchive.ietf.org/arch/msg/geojson/1JEWEhDbzWszDVsIXbOY5FPdP28>
X-Mailman-Approved-At: Tue, 23 May 2017 01:18:36 -0700
Subject: [Geojson] Question regarding RFC 7946: Interior and Exterior Linear Rings
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: Tue, 23 May 2017 07:20:15 -0000

Polygons with more than one of these rings, the first MUST be
      the exterior ring, and any others MUST be interior rings.  The
      exterior ring bounds the surface, and the interior rings (if
      present) bound holes within the surface.


Q1. If an interior linear ring (hole) is not completely inside the exterior ring (border) of a polygon, is it an illegal polygon?

GeoJson.io allows such an interior ring to be imported. Perhaps it is a bug.

Q2. If the interior ring is not clockwise, then what is the expected behaviour of the polygon?

Q3. Should 'interior linear ring' and 'exterior linear ring' be formally defined in the RFC?

Q4. If two interior linear rings overlap, then is the result the union of the two holes?


Regards, Chris
Chris Goodman
Supervising Consultant
M:  +61 419 482 620
Office:  +61 3 8615 4500
Web: www.objectconsulting.com.au
Email: chris.goodman@objectconsulting.com.au<mailto:chris.goodman@objectconsulting.com.au>