Re: [Geopriv] loc-filters additional requirements

"Brian Rosen" <br@brianrosen.net> Wed, 15 July 2009 17:04 UTC

Return-Path: <br@brianrosen.net>
X-Original-To: geopriv@core3.amsl.com
Delivered-To: geopriv@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 92B8428C10D for <geopriv@core3.amsl.com>; Wed, 15 Jul 2009 10:04:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level:
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[AWL=0.046, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jFXMip1b9+pe for <geopriv@core3.amsl.com>; Wed, 15 Jul 2009 10:04:43 -0700 (PDT)
Received: from ebru.winwebhosting.com (ebru.winwebhosting.com [74.55.202.130]) by core3.amsl.com (Postfix) with ESMTP id 9142428C22A for <geopriv@ietf.org>; Wed, 15 Jul 2009 10:03:47 -0700 (PDT)
Received: from neustargw.va.neustar.com ([209.173.53.233] helo=BROS3VMxp) by ebru.winwebhosting.com with esmtpa (Exim 4.69) (envelope-from <br@brianrosen.net>) id 1MR4gS-0003dZ-TN; Wed, 15 Jul 2009 08:38:09 -0500
From: Brian Rosen <br@brianrosen.net>
To: "'Thomson, Martin'" <Martin.Thomson@andrew.com>, 'Hannes Tschofenig' <Hannes.Tschofenig@gmx.net>, geopriv@ietf.org
References: <E51D5B15BFDEFD448F90BDD17D41CFF105F6F5F4@AHQEX1.andrew.com> <00a901ca04c2$1ee5e5b0$1116a20a@nsnintra.net> <021f01ca04c8$00eef0f0$02ccd2d0$@net> <E51D5B15BFDEFD448F90BDD17D41CFF10601F52F@AHQEX1.andrew.com>
In-Reply-To: <E51D5B15BFDEFD448F90BDD17D41CFF10601F52F@AHQEX1.andrew.com>
Date: Wed, 15 Jul 2009 09:38:11 -0400
Message-ID: <035e01ca0551$80d5de30$82819a90$@net>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Acn5TRxINTTHp815S82qVXlemBtMxwLZ8X+gAASWxiAABDYNsAAeHDUA
Content-Language: en-us
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - ebru.winwebhosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - brianrosen.net
X-Source:
X-Source-Args:
X-Source-Dir:
Subject: Re: [Geopriv] loc-filters additional requirements
X-BeenThere: geopriv@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Geographic Location/Privacy <geopriv.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/geopriv>, <mailto:geopriv-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/geopriv>
List-Post: <mailto:geopriv@ietf.org>
List-Help: <mailto:geopriv-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/geopriv>, <mailto:geopriv-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Jul 2009 17:04:44 -0000

How about:
<include type="xpath">/tuple/status/gp:geopriv/gp:location-info/gml:location </include>
and
<include type="xpath">/tuple/status/gp:geopriv/gp:location-info/cl:civicAddress</include>

That is neither brittle nor cumbersome.

Brian

> -----Original Message-----
> From: Thomson, Martin [mailto:Martin.Thomson@andrew.com]
> Sent: Tuesday, July 14, 2009 7:35 PM
> To: Brian Rosen; Hannes Tschofenig; geopriv@ietf.org
> Subject: RE: [Geopriv] loc-filters additional requirements
> 
> If I get you right, you want to be able to just use the information
> that is directly expressed in the PIDF to do everything.  Then you
> don't need a loc-filters document.  What you need is a much (much)
> smarter implementation of RFC 4661 - a specification that is already
> difficult to implement.
> 
> I know how to force inclusion of geodetic in the fashion you suggest,
> but it's cumbersome, indirect and brittle:
> 
>  <what>
>    <include type="xpath">
>      //gp:location-info/*[@srsName="urn:ogc:def:crs:EPSG::4326" or
> @srsName="urn:ogc:def:crs:EPSG::4979"]
>    </include>
>  </what>
> 
> How a PA is expected to see this and infer that it needs to perform
> geocoding, is probably beyond the ken of many.  The PA could just
> recognize the string and infer from that, but that's massively brittle.
> 
> I sat down and figured out how something like this might be implemented
> by a generic(-ish) PA.  You need to know that only GML geometries have
> an srsName attribute (which is actually not true: srsName cannot be
> namespace qualified, so this relies on an assumption).  Then the
> solution requires that the PA have further specialized knowledge.  Once
> you get to that sort of complexity, it's not that hard to just do
> something simple:
> 
>    <what><lf:locationType>geodetic</lf:locationType></what>
> 
> At some point, you need to know about the content in order to do the
> geocoding.  Why overcomplicate matters trying to avoid putting this
> knowledge in the filter?
> 
> Someone once submitted a centroid draft.  Derived properties in the
> PIDF could lead to some confusion.  Again, the same argument applies.
> 
> Quality filters need proper feedback to be properly useful [1].  Even
> with the proposed filters, this is necessary.  It's very easy to
> implement filters that don't actually achieve the intended goal.
> 
> --Martin
> 
> [1] http://tools.ietf.org/html/draft-thomson-simple-cont-presence-val-
> req
> 
> > -----Original Message-----
> > From: Brian Rosen [mailto:br@brianrosen.net]
> > Sent: Wednesday, 15 July 2009 7:14 AM
> > To: 'Hannes Tschofenig'; Thomson, Martin; geopriv@ietf.org
> > Subject: RE: [Geopriv] loc-filters additional requirements
> >
> > I'm particularly interested in keeping the same functionality for
> > filtering
> > for SIP and HELD, so I don't want to see HELD-specific solutions.
> >
> > I think you could easily force a civic by requiring country code
> field,
> > with
> > something similar for the geo.
> >
> > I suspect, but haven't thought out how to do something similar to
> force
> > a
> > particular shape
> >
> > I'd probably go along with adding quality filters, but I'd prefer we
> > first
> > make the quality parameters actual elements in a PIDF instead of
> > implicitly
> > using something like the circle radius.  We could then ask for a
> > specific
> > value or range of those elements of the PIDF.
> >
> > Brian
> >
> > > -----Original Message-----
> > > From: geopriv-bounces@ietf.org [mailto:geopriv-bounces@ietf.org] On
> > > Behalf Of Hannes Tschofenig
> > > Sent: Tuesday, July 14, 2009 4:32 PM
> > > To: 'Thomson, Martin'; geopriv@ietf.org
> > > Subject: Re: [Geopriv] loc-filters additional requirements
> > >
> > > Hi Martin,
> > >
> > > This functionality is not directly related to the original goal of
> > the
> > > filters document that tried to limit the amount of notifications
> that
> > > are
> > > being sent to the watcher.
> > >
> > > Anyway, functionality (1) is already in the HELD specification and
> > has
> > > also
> > > been re-used in the HTTP dereference document (that was actually
> the
> > > reason
> > > for having more functionality than just an HTTP lookup). Also
> > providing
> > > the
> > > functionality in this document would be very much inline with the
> > Deref
> > > document. This, I believe, is a good idea.
> > >
> > > Regarding functionality (2): This is neither in HELD nor in Deref.
> If
> > > you
> > > believe it is useful then we should add it to the Deref document as
> > > well. In
> > > general, we should think about how to keep this type of
> functionality
> > > (from
> > > a semantic point of view) roughly aligned and separated from the
> > actual
> > > transport.
> > >
> > > You mentioned the quality aspects: As a brief note I wanted to
> > mention
> > > that
> > > some basic functionality (in the form of the 'responseTime'
> > attribute)
> > > is
> > > already in the HELD base specification and is therefore inherited
> by
> > > the
> > > Deref document. As such, I believe it should be provided also in
> this
> > > document.
> > >
> > > Ciao
> > > Hannes
> > >
> > >
> > > >I apologise for not getting these in earlier, but this came
> > > >out of a discussion that James Polk and I had over his filters
> > > >draft.  We concluded that the draft would become informational
> > > >and would provide a "cookbook" type of assistance to
> > > >implementers rather than defining new filters.
> > > >
> > > >To that end, there were a few fairly basic filters that could
> > > >not be accommodated by the current loc-filters document.  We
> > > >decided to raise these in the GEOPRIV WG:
> > > >
> > > >  1. location type:  A requirement to specify the desired
> > > >location type: geodetic or civic.  This would be a simple
> > > >addition and would either filter out the undesired type, or -
> > > >if the PA supported it - allow for the application of
> > > >(reverse) geo-coding.
> > > >
> > > >  2. location shape: For geodetic locations, it might be
> > > >desirable to have the server perform shape conversion.  For
> > > >instance, on a serving node it's possible to make certain
> > > >assumptions about shapes that result in a smaller shape when
> > > >converting.  This could be significantly better than leaving a
> > > >client to perform any conversions (perhaps based on
> > > >draft-thomson-geopriv-uncertainty) without that additional
> > > information.
> > > >
> > > >I also have some more general requirements on quality that I
> > > >would like to see included (see
> > > >draft-thomson-geopriv-location-quality).  These might require
> > > >a somewhat different approach, as they regard the continuous
> > > >nature of location information.  I would have liked for these
> > > >to be considered, but am pragmatic enough to accept dealing
> > > >with these at a later date.
> > > >
> > > >In casting unsubstantiated dispersions about the maturity of
> > > >this document, these are the issues that I believe were not
> > > >covered.  ...and need to be.  I hope that this is adequate
> > > >substantiation.
> > > >
> > > >--Martin
> > > >
> > > >p.s. We probably also need to go to SIMPLE to discuss the
> > > >addition of a != operator in 4661.  There was a good use case
> > > >for that included in James' document, but my notes don't
> > > >elaborate on it.
> > > >
> > > >---------------------------------------------------------------
> > > >---------------------------------
> > > >This message is for the designated recipient only and may
> > > >contain privileged, proprietary, or otherwise private information.
> > > >If you have received it in error, please notify the sender
> > > >immediately and delete the original.  Any unauthorized use of
> > > >this email is prohibited.
> > > >---------------------------------------------------------------
> > > >---------------------------------
> > > >[mf2]
> > > >_______________________________________________
> > > >Geopriv mailing list
> > > >Geopriv@ietf.org
> > > >https://www.ietf.org/mailman/listinfo/geopriv
> > > >
> > >
> > > _______________________________________________
> > > Geopriv mailing list
> > > Geopriv@ietf.org
> > > https://www.ietf.org/mailman/listinfo/geopriv
> >
> 
> -----------------------------------------------------------------------
> -------------------------
> This message is for the designated recipient only and may
> contain privileged, proprietary, or otherwise private information.
> If you have received it in error, please notify the sender
> immediately and delete the original.  Any unauthorized use of
> this email is prohibited.
> -----------------------------------------------------------------------
> -------------------------
> [mf2]