-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Communicate good practice for defining geofences in the Best Practices doc #1268
Comments
Based on the discussion within SDW and elsewhere, what I am hoping for is at least two conventions/standards around geofences. One really capable as Scott described on the thread and call capable of handling range of use cases and nuanced representations - corridor along a road, dynamic protected airspace, etc,. The other would be a more rudimentary representation, easier to define and transmit. I learned at least a couple participants in the Auto WG in practice use polygons, collection of lat/long points from which it is reasonable to calculate whether a given location is inside or out. One of the two participants also uses circles in addition to polygons which only needs one coordinate and a radius. There are open source libraries that do just that. In the mail thread I wondered about GIS backed, where it is feasible to lookup if a given location is inside some geographic boundaries (which side of a river, inside or out of a municipality). Depending on where the fence is acted upon, in cloud or on vehicle or device, and its connectivity it may have to have cached data for be able to make that determination. Precision certainly matters for many use cases and require more complex definitions but for other cases approximation is more than enough. |
The Testbed-17 API-X task includes a UAS geofencing use case if that would be of interest. |
In the minutes, I noted that the Web platform has no native representation of location, and so geofences can't be natively represented. Geofences seem (to me) to be a modern way of expressing a feature geometry, together with a desired application behaviour, perhaps based on spatial criteria. What is really interesting about geofencing on the Web is that they point to a capability of the Web platform that has yet to be standardized, which is, support for maps and location. "Wait a minute", you say, "nobody said anything about maps." Hear me out. In MapML, we have specified the There is a specification effort in the W3C / WICG, called the geolocation-sensor API, which intends to modernize the existing geolocation API. One of the BIG requests for the geolocation-sensor API is to support geofencing capabilities. It seems that support for geofencing is currently blocked on privacy considerations: allowing a web site to track the user agent 'in the background' means that web sites can / will surveil users' location, even without being in the foreground. How to bring this concept to the platform without compromising the privacy of the user and enabling big-brother background location surveillance? If the browser itself had a concept of maps and location, as suggested by MapML, the browser (not the web site) could do the geospatial processing (in the background) for a set of features identified in advance, and yield the accessible result (a notification) when the geospatial criteria are met, without the server receiving the user's location in the background. |
I think a "geofence" is a particular kind of "feature geometry" with particular semantics. There are many other kinds: representative point, bounding box, footprint,... All would benefit from a 'web native' representation, but I think we would be heading the wrong way if we established "geofence" as the main web native geometry expression. One could also argue that a "geofence" is the bounding geometry of a particular feature: generally a feature that exists to monitor and report on movement. That would put the semantics at the feature level, rather than the "geofence" being one geometry of a feature (data item representing e.g. a gun / child / robotic lawn mower). |
I wasn't suggesting that. What I was saying is that the Web needs a
I am suggesting that geofences of all kinds could be realized through the application of a "main native geometry expression" (your term) through the
Or maybe any feature that the user + website deem to be worthy of such an interaction? |
Here's the summary from the SDW-IG plenary call, 22 Jul 2021 (minutes):
|
Summary:
|
@ogcscotts - tagging you with a reminder to add links to the existing work in OGC. Thanks. |
The OGC write-ups on GeoFences can be found in the ANSI Unmanned Aircraft Standardization Collaborative (UASSC) Roadmap document here: https://www.ansi.org/standards-coordination/collaboratives-activities/unmanned-aircraft-systems-collaborative. Not quite a draft spec yet, but I will convert the requirements into a new document. |
@cperey mentioned to me that Michael McCool, the chair of Web of Things WG (several sub WGs) has some suggestions as stubs/places that would probably be useful starting points for writing up the geofencing section. Consider this me reaching out to @mmccool. Michael, could you provide your suggestions here, as a comment in this issue? |
@lvdbrink I have text ready per my earlier comment - happy to insert, but just not sure to which branch I should issue a pull request |
@ogcscotts that's great! Use gh-pages... right @situx ? |
Correct, you can use gh-pages for that |
Based on discussion we had on the mailing list and in the SDWIG plenary session in May (minutes), we have come to the conclusion that
Based on conclusion 1, we have said we want to add a best practice about geofencing to the Best Practices document.
@ogcscotts and @claraboyd volunteered to take this action.
Conclusion 2 indicates new work. As a first step, I propose we describe this lack we identified as a Gap in the Gaps section of the Best Practices doc. Next, we can search for people who are willing to take on a work item to fill this gap.
Background / summary of discussion so far
As @tguild told us, the Automotive group would like to come up with a modest set of parameters that could influence whether an application is permitted to sample data on a vehicle. One of the parameters is geofence boundaries, which is what they want the SDWIG's input on. Their geofence could be in the form of an amorphous shape on a map, boundary of municipalities, counties, regions or a radius.
OGC staff has done some work looking into geofences and has a lot of knowledge available (see this report). They found we have an appropriate suite of standards and knowledge for geofences. Geofences may be defined in increasingly complex ways, starting with a point and radius to a box to an arbitrary polygon to a buffer around a corridor. And those fences can be 2D or 3D in geometry and have temporal characteristics for a period of validity. Finally, geofences include or exclude, e.g., leaving a fenced area can result in a trigger or entering a fenced area can trigger an action.
There are privacy considerations to this. AR also has geofencing use cases.
The text was updated successfully, but these errors were encountered: