Re: [Geojson] Requests for comments on GeoJSON Events draft

Matthias Müller <matthias_mueller@tu-dresden.de> Wed, 04 January 2017 11:42 UTC

Return-Path: <matthias_mueller@tu-dresden.de>
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 581C21293EC for <geojson@ietfa.amsl.com>; Wed, 4 Jan 2017 03:42:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.299
X-Spam-Level:
X-Spam-Status: No, score=-7.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-3.1] autolearn=ham autolearn_force=no
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 hTPpShp9oHts for <geojson@ietfa.amsl.com>; Wed, 4 Jan 2017 03:42:01 -0800 (PST)
Received: from mailout5.zih.tu-dresden.de (mailout5.zih.tu-dresden.de [141.30.67.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CF1FA12711D for <geojson@ietf.org>; Wed, 4 Jan 2017 03:42:00 -0800 (PST)
Received: from mail.zih.tu-dresden.de ([141.76.14.4]) by mailout5.zih.tu-dresden.de with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from <matthias_mueller@tu-dresden.de>) id 1cOjx8-0004qJ-8l; Wed, 04 Jan 2017 12:41:58 +0100
Received: from [141.30.100.134] (helo=troposphere) by server-50.mailclusterdns.zih.tu-dresden.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (envelope-from <matthias_mueller@tu-dresden.de>) id 1cOjx8-0001uV-4Q; Wed, 04 Jan 2017 12:41:58 +0100
From: Matthias Müller <matthias_mueller@tu-dresden.de>
To: geojson@ietf.org, 'Sean Gillies' <sean.gillies@gmail.com>
References: <CAOodmJomw-0VymQYyPHLCR+Ds+dpEmFe=2j+FnZGh19bf1DUbg@mail.gmail.com>
In-Reply-To: <CAOodmJomw-0VymQYyPHLCR+Ds+dpEmFe=2j+FnZGh19bf1DUbg@mail.gmail.com>
Date: Wed, 04 Jan 2017 12:41:57 +0100
Message-ID: <013e01d2667f$8e320c10$aa962430$@tu-dresden.de>
X-Mailer: Microsoft Outlook 15.0
MIME-Version: 1.0
Thread-Index: AQGuphRnd6Ke3Gz3Euomur3Tbk5bUKFvnNTQ
Content-Language: de
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0137_01D26687.EFBF8590"
X-TUD-Original-From: matthias_mueller@tu-dresden.de
X-TUD-Virus-Scanned: mailout5.zih.tu-dresden.de
Archived-At: <https://mailarchive.ietf.org/arch/msg/geojson/jcnMfuUSpgjHw7cgKSTBWqGZdls>
Subject: Re: [Geojson] Requests for comments on GeoJSON Events draft
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: Wed, 04 Jan 2017 11:42:03 -0000

Hi Sean,

 

Three comments / questions:

 

1) Are (time) intervals end-inclusive or end-exclusive? There are different policies around and this topic is excluded by RFC 3339. The definition also affects topological relations (e.g. adjacency tests between two or more intervals, containment tests between intervals and points).

 

End-inclusive examples:

2017-01-04T23:02:00 / 2017-01-04T23:03:00 -> includes the 2017-01-04T23:03:00 instant

2017-01-04T23:02:00 / 2017-01-04T23:03:59.999 -> excludes the 2017-01-04T23:03:00 instant

2017-01-04 / 2017-01-06 -> includes 2017-01-06

 

End-exclusive examples:

2017-01-04T23:02:00 / 2017-01-04T23:03:00 -> excludes the 2017-01-04T23:03:00 instant

2017-01-04 / 2017-01-06 -> excludes 2017-01-06

 

Pro/Con: Seems that end-inclusive is more intuitive for dates, while end-exclusive is more intuitive for time There’s no policy that is great for both cases.

 

 

2) [editorial]: “As with instants, the values of "start" and "stop" are RFC 3339 date/time strings.” -> “stop” should be “end”.

 

3) Does the spec permit truncated / imprecise time stamps, such as “2006” or “2006-12-01T12:00”?

 

 

 

Matthias

 

 

From: GeoJSON [mailto:geojson-bounces@ietf.org] On Behalf Of Sean Gillies
Sent: Wednesday, January 04, 2017 10:33 AM
To: geojson@ietf.org
Subject: [Geojson] Requests for comments on GeoJSON Events draft

 

Hi and Bonne Année all,

With help from many of you, I've been working on a GeoJSON extension for event-like features

     <https://github.com/sgillies/geojson-events> https://github.com/sgillies/geojson-events

and have drafted a spec:


     <https://sgillies.github.io/geojson-events/draft-gillies-geojson-events.html> https://sgillies.github.io/geojson-events/draft-gillies-geojson-events.html
     <https://sgillies.github.io/geojson-events/> https://sgillies.github.io/geojson-events/

It's pared down dramatically from what we discussed in the past. Fuzzy time periods are out and so are temporal bounding boxes because the use cases for these are rare. GeoJSON has been doing well so far without any representation of fuzzy geometry and I think the situation is about the same for time.

I received an suggestion to consider ISO 8601 style time intervals. This would allow a single string value to represent an instant or interval,

    "when": "2017-01-04/2017-01-05"

 

instead of 

    "when": {"start": "2017-01-04", "stop": "2017-01-05"}

but this seems harder to use because support for it in parsers is rare.

I was asked about recurring intervals like "every other Friday," but I think this isn't necessary. GeoJSON doesn't have a concept of non-literal geometries either.

Some time ago we arrived at rough consensus that "moving objects" and "event-like features" are either different things or very different models of the same things. Moving objects are not specified in my draft.

 

I have two objectives for this draft:

* To establish a common representation for time in GeoJSON that mappers of events, whether they are scientists or journalists or historians, can share.

* To set an example for other extension projects.

I'd love comments on how it can be improved to better meet those objectives. Thanks!

-- 

Sean Gillies