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

Carl Reed <carl.n.reed@gmail.com> Tue, 10 January 2017 18:00 UTC

Return-Path: <carl.n.reed@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 3C87A129562 for <geojson@ietfa.amsl.com>; Tue, 10 Jan 2017 10:00:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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_LOW=-0.7, 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 Ghrse4kHkTSc for <geojson@ietfa.amsl.com>; Tue, 10 Jan 2017 10:00:30 -0800 (PST)
Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::22d]) (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 2DBEF12711D for <geojson@ietf.org>; Tue, 10 Jan 2017 10:00:30 -0800 (PST)
Received: by mail-oi0-x22d.google.com with SMTP id u143so147666524oif.3 for <geojson@ietf.org>; Tue, 10 Jan 2017 10:00:30 -0800 (PST)
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=g5nBp8/4O2a4hVrE8/Z0x8wwJt5pyVAaqdOGtrXmfjk=; b=ZlVZkPCOcvdu+pWktzH71+RI3pVlJyq9cR+Jw/my6wr9E2mXXYUZyFc5FQfvtSL7m0 VNy/aDUyugA+LBck+u/VzE26OlWNTheD6H+Zagj3OysC29vh3+SvXZBxtRUblzBMwWEq SMrhgqjDbRrrcDWXW5qsbtOKIsqbQwJZqE0cNjovaLle+dfdANQXTmsq7R1hoxa557cr ZvoYXWBLi7Y1vziywT8NR2oR3LDgTSTEMMVrpj3m+oqBgAsLyb7Y1CsAFou9osglNsGk RD+299SzZXHHFCuQdLKZ/c28mBFSdjUYLp0Q7H6/gc3IQ0A9znBC0jdwZOYwq3ATG3Nz 9zuw==
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=g5nBp8/4O2a4hVrE8/Z0x8wwJt5pyVAaqdOGtrXmfjk=; b=o9LWWCS1XwBlqw1B60szEUL3aVGh+8/FKrvbpIqDJhPifKzE+yiC262DMtM4JY1FWO HUWIFeCodu0rkdm0SS6dV/0q2Ab5m8tbc1zwDsfDw0SlYrUZYIpPYBhnIAaDgZvIjwM8 0x1AhQ+GwU5irAfKxT4P50ZV4SExDxfYiPCbVGb1HaFfhKep8kHKI5Q/3WTj07rsXYpH Hx6Ojp3h41WIynuG+xvZVa71DnSuWZqpCvaQ26+aG4Cawn3hH0nNhSeNvy86wpoefe43 16HLOJaBr2CmkYp1MEVlNrfCyS0xdhhwFpVDePV8HnprVlkZLhdXSXuh+vX4UAaNo+oD hkMg==
X-Gm-Message-State: AIkVDXJuPt5dOu2EffJ6GdzOxu4/7lZP+EtRWNzO8SsE9XfpDfsjEm8mN0/OZLecvSe3RcKu485AVrpILDeE6g==
X-Received: by 10.157.33.3 with SMTP id i3mr2226564otb.185.1484071229378; Tue, 10 Jan 2017 10:00:29 -0800 (PST)
MIME-Version: 1.0
Received: by 10.157.35.98 with HTTP; Tue, 10 Jan 2017 10:00:28 -0800 (PST)
In-Reply-To: <CAOodmJqy=iGcsfTmL7ZRiV_yEThWOEEO=PMH7Fg=+hTC51+3YA@mail.gmail.com>
References: <CAOodmJomw-0VymQYyPHLCR+Ds+dpEmFe=2j+FnZGh19bf1DUbg@mail.gmail.com> <5c9ebf53b24d4fce8c9fe3903b3e6177@SRV016VEX.cadcorp.net> <CAOodmJqAJsw8wR_WrKaWHWWb73ngD=u8Q6-zER_8L6rTWL-FCg@mail.gmail.com> <022c2c55-b456-fa7f-1999-00508366fb96@tu-dresden.de> <CAOodmJqy=iGcsfTmL7ZRiV_yEThWOEEO=PMH7Fg=+hTC51+3YA@mail.gmail.com>
From: Carl Reed <carl.n.reed@gmail.com>
Date: Tue, 10 Jan 2017 11:00:28 -0700
Message-ID: <CAJcQiLdb0Y11pShh61LLhdcsui6QAkMY6Yv6Xi+-TSvEwW3ONQ@mail.gmail.com>
To: Sean Gillies <sean.gillies@gmail.com>
Content-Type: multipart/alternative; boundary="001a113e04b472e3900545c14255"
Archived-At: <https://mailarchive.ietf.org/arch/msg/geojson/-GSvNYBA7WXtkgoX_4OejanN-0U>
Cc: geojson@ietf.org
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: Tue, 10 Jan 2017 18:00:33 -0000

Sean -

While I am no expert on modeling time, I do have some questions and
observations.

Perhaps it is a mistake to not be consistent with or even reference RFC
3339 (which is a profile of ISO 8601). I believe that you can specify a
DATE only that is 8601 compliant. I would also suggest that you consider
the use of case of an event that crosses time zones. How will that use case
be handled? And what about time zone offsets. 8601 states that if a time
zone (UTC offset) is not specified, then local time is assumed. However, in
my mind assuming local time introduces potential ambiguities that could
impact interoperability. Finally, I would suggest that any temporal
extensions to GeoJSON use a vocabulary that is consistent with a raft of
international standards that deal with time/temporal/timeseries.

For example, your use of "instant" is consistent with international best
practice and as documented in ISO 19108 (see below). The actual ISO
definition is "instant: point representing position in time". However, your
use of "interval" may not be entirely consistent as "interval" is often
used in the context of the time scale. An interval scale offers a basis for
measuring duration.

Below are some publicly accessible ISO documents (no fees) that deal with
time.

ISO 19103:2015 Geographic information -- Conceptual schema language
infostore.saiglobal.com/store/PreviewDoc.aspx?saleItemID=2636892

ISO 19108:2002 Geographic information — Temporal schema (recomfirmed in
2015)
http://people.ischool.berkeley.edu/~ryanshaw/pdf/ISO_19108.pdf

Examples of using and referencing these standards can be found in most any
OGC standard that has a temporal component. For example, from the recently
published OGC PubSub standrd: "The UML shown in this standard is considered
conceptual and abstract, and should not be interpreted as an implementation
strategy for bindings that extend and implement this standard. For example,
TM_Instant from ISO 19108 is used to represent time instants for conceptual
clarity, but bindings and implementations of this standard may realize
TM_Instant as a GML TimeInstant, an ISO 8601 date string, or any other
representation that is consistent with TM_Instant."

I know that you want to keep this extension simple but my concern is
clarity of the wording and consistency with international best practice,
both of which lead to enhanced interoperability.

Thanks for listening.

Regards

Carl

On Tue, Jan 10, 2017 at 1:05 AM, Sean Gillies <sean.gillies@gmail.com>
wrote:

> Indeed, Matthias, thanks for pointing out this issue with RFC 3339. Being
> able to use a date (no time) is important for some applications. I'll
> remove the normative reference to RFC 3339.
>
> On Sat, Jan 7, 2017 at 5:27 PM, Matthias Müller <
> Matthias_Mueller@tu-dresden.de> wrote:
>
>> Hi Sean,
>>
>> the interval definition looks perfect to me.
>>
>> To verify the time string question, I took a re-read of RFC 3339 and
>> stumbled over this passage in section 5:
>>
>> "The following section defines a profile of ISO 8601 for use on the
>>    Internet.  It is a conformant subset of the ISO 8601 extended format.
>>    Simplicity is achieved by making most fields and punctuation
>>    mandatory."
>>
>> The BNF is this:
>>
>> full-date       = date-fullyear "-" date-month "-" date-mday
>> partial-time    = time-hour ":" time-minute ":" time-second
>>                      [time-secfrac]
>> full-time       = partial-time time-offset
>> date-time       = full-date "T" full-time
>>
>>
>> My reading of this is that RFC 3339 demands the date-time representation
>> for all timestamps (all the examples in the RFC seem to support this view).
>> This requires at least 1-second precision and make the use of time second
>> fractions optional.
>> This is reasonable for the purpose of RFC 3339 but may conflict with your
>> intentions for GeoJSON Events.
>>
>>
>> Matthias
>>
>>
>> On 07.01.2017 13:52, Sean Gillies wrote:
>>
>>> Dear all,
>>>
>>> Thanks for the feedback. I've made sure that the draft uses start/end
>>> (following the Activity Streams 2.0 spec and suggestions here) and
>>> explains that the values are on the boundary of intervals. Version -01
>>> of the draft is now at
>>> https://sgillies.github.io/geojson-events/draft-gillies-geoj
>>> son-events.html.
>>>
>>> On Thu, Jan 5, 2017 at 1:37 PM, Martin Daly <Martin.Daly@cadcorp.com
>>> <mailto:Martin.Daly@cadcorp.com>> wrote:
>>>
>>>     You know me: I think that the “when” object belongs **inside** the
>>>     “properties” object.____
>>>
>>>     __ __
>>>
>>>     If everyone did it like that then the implementations would
>>>     (eventually, if they don’t already) support structure within the
>>>     “properties” object, which, I think, is more interoperable than N
>>>     new objects alongside “properties”.____
>>>
>>>     __ __
>>>
>>>     And, purely subjectively, I’d stick with start/end.____
>>>
>>>     __ __
>>>
>>>     Martin____
>>>
>>>     __ __
>>>
>>>     __ __
>>>
>>>     *From:*GeoJSON [mailto:geojson-bounces@ietf.org
>>>     <mailto:geojson-bounces@ietf.org>] *On Behalf Of *Sean Gillies
>>>     *Sent:* 04 January 2017 09:33
>>>     *To:* geojson@ietf.org <mailto: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-geoj
>>> son-events.html
>>>     <https://sgillies.github.io/geojson-events/draft-gillies-geo
>>> json-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____
>>>
>>>
>>>
>>> --
>>> Sean Gillies
>>>
>>>
>>> _______________________________________________
>>> GeoJSON mailing list
>>> GeoJSON@ietf.org
>>> https://www.ietf.org/mailman/listinfo/geojson
>>>
>>>
>> _______________________________________________
>> GeoJSON mailing list
>> GeoJSON@ietf.org
>> https://www.ietf.org/mailman/listinfo/geojson
>>
>
>
>
> --
> Sean Gillies
>
> _______________________________________________
> GeoJSON mailing list
> GeoJSON@ietf.org
> https://www.ietf.org/mailman/listinfo/geojson
>
>


-- 
Carl Reed, PhD
Carl Reed and Associates

Mobile: 970-402-0284

"When the power of love overcomes the love of power the world will know
peace." Jimi Hendrix