Re: [Geojson] RFC 7946 - composing geometry objects with "mixed" positions

Tim Schaub <tim.schaub@gmail.com> Wed, 26 April 2017 16:12 UTC

Return-Path: <tim.schaub@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 63FFB1314A0 for <geojson@ietfa.amsl.com>; Wed, 26 Apr 2017 09:12:10 -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 tc7VFRJGoMls for <geojson@ietfa.amsl.com>; Wed, 26 Apr 2017 09:12:08 -0700 (PDT)
Received: from mail-wr0-x234.google.com (mail-wr0-x234.google.com [IPv6:2a00:1450:400c:c0c::234]) (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 4D169131498 for <geojson@ietf.org>; Wed, 26 Apr 2017 09:12:08 -0700 (PDT)
Received: by mail-wr0-x234.google.com with SMTP id w50so2987858wrc.0 for <geojson@ietf.org>; Wed, 26 Apr 2017 09:12:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=kERXZ2Ax6yN9raMO8J2Xjz9tcieVU2/383YqNCaegmY=; b=GRLWaDL63XgAHfYK3UBpV5aeZ0WYVf2n6UCHuGN6VW5SapluuiNU4Nuyr8JtshvrvO GlzqWtzRwRFb2ywbJlcct7/gworNrCTSZF4b+Bsl3xqoXOBk6lutxdBMq4ZU8FSz4Yb/ zBTDZOrAB6DT/RnUd4Ds0LMOnWtxopbEiVbuYBjnCNLN2po0C1v0zBWuziikg1yWgDfR ce+BzPSw/7uEAKlb0c0aY9v5OHgyw1cuhQHcSI8gjZXfgYhJbJ7qdGTtrjrb9r2MWcx6 JipeS0DVHIezFN277GzNI+GSqhhyB2g4qiBjsCYDW4m4IIdMR/DVEkCAllUcEayHpJlb Smbw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=kERXZ2Ax6yN9raMO8J2Xjz9tcieVU2/383YqNCaegmY=; b=jp/mtrX20VP/LQD9REEIQPh5q3vqsECsC1U3x5ew2QJroX1PDLCFzlqcpinqzmxnn+ GQIeCvKTHzfL6ujvEIewB3095vP0tLIR6kwcOgkxrmlU7Rp+ncTQjuBtu9e+9QHuHG2g OOLeiKBxi13s7j20+XICwchP1ILq46t3OMYrNGPjtpwHVKvzoOxj01DuLsJAMqMzKG1T BHusRRk5sR8lwZFPs8U0ymC0hGh+Yql8IjCTzg3hF7NJFuG94rIGGFbdr6AXC1YwRtKC OEvlCjHeufskMFuw4ykamGsTwQi38pG11SXj8V0XJkBNmbVhqp66Onz6vqBGriD4oR+L 8c2w==
X-Gm-Message-State: AN3rC/41ngC0AT4/IFNW88j7WJYfs2f0MVwbZbxeib9wdtV/F2ypx8og kC0WLLLSfVA0lGF1NKKzWQE1X+xzag==
X-Received: by 10.223.164.13 with SMTP id d13mr376586wra.37.1493223126526; Wed, 26 Apr 2017 09:12:06 -0700 (PDT)
MIME-Version: 1.0
References: <CAENDquxrvzBNRa_doW2TprbE=OQfu9RJRs7RpT29zSLtye9_jg@mail.gmail.com> <b25f82c9-c10a-40a1-5e32-13ac778f0195@dret.net>
In-Reply-To: <b25f82c9-c10a-40a1-5e32-13ac778f0195@dret.net>
From: Tim Schaub <tim.schaub@gmail.com>
Date: Wed, 26 Apr 2017 16:11:55 +0000
Message-ID: <CAKdrn+e2ddGdc=w82hV7mveF=f_HF5nDi86J0JzmMqoLDpONHQ@mail.gmail.com>
To: Erik Wilde <erik.wilde@dret.net>, Udo Schochtert <u.schochtert@gmail.com>, geojson@ietf.org
Content-Type: multipart/alternative; boundary="f403045f21d006fb60054e141abf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/geojson/6b64mMcP3dwsNh1Ul2HIzgQOBMc>
Subject: Re: [Geojson] RFC 7946 - composing geometry objects with "mixed" positions
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: Wed, 26 Apr 2017 16:12:10 -0000

There will be parsers that make assumptions about the consistency of
dimensions. So while not strictly invalid, you'll likely sacrifice
interoperability if you plan to share data with inconsistent dimensions.

Tim

On Wed, Apr 26, 2017 at 8:59 AM Erik Wilde <erik.wilde@dret.net> wrote:

> hello udo.
>
> On 2017-04-25 14:31, Udo Schochtert wrote:
> > my question is if the following MultiPoint (composed by"mixed"
> > positions) would be valid as well
> >
> > {
> >   "type": "MultiPoint",
> >   "coordinates": [
> >     [100.0, 0.0],
> >     [101.0, 1.0, 1.0]
> >   ]
> > }
> >
> > that would also apply to other geometries composed by"mixed" positions
> > as well (e.g. LineString, Polygon, etc.). correct?
>
> that's a good question. afaict, there is nothing in the spec language
> that keeps you from doing this. however, the semantics are unspecified.
> it is not clear if positions without elevations should have elevation
> zero or "inherit" the elevation of the last elevation-labeled position.
> my suggestion would be to not use this "mixed model", but that's just my
> personal opinion.
>
> cheers,
>
> dret.
>
> --
> erik wilde | mailto:erik.wilde@dret.net |
>             | http://dret.net/netdret    |
>             | http://twitter.com/dret    |
>
> _______________________________________________
> GeoJSON mailing list
> GeoJSON@ietf.org
> https://www.ietf.org/mailman/listinfo/geojson
>