openbikesensor / portal

OpenBikeSensor data collection portal
GNU Lesser General Public License v3.0
36 stars 17 forks source link

Add privacy zones #30

Open opatut opened 3 years ago

opatut commented 3 years ago

Users should be able to edit their privacy zones.

opatut commented 3 years ago

I've assigned myself because I have a WIP branch. I might push it later when we're done merging repos and then unassign myself, for somebody else can then continue to work on that branch. Hit me up if you're interested.

amandel commented 3 years ago

Not sure if you saw https://github.com/openbikesensor/OpenBikeSensorFirmware/issues/216 - I would still stick with our current solution and close the linked issue - might be you have a different opinion?

opatut commented 3 years ago

Yes I saw it. I want to get started with circular regions first, and then expand it maybe later. I think it's a good idea, but I'd rather keep it simple for now. If we store the geometry as GeoJSON and use a GeoJSON library to evaluate the region in the filter, it'll be very easy to upgrade to other shapes (Polygons) in the future.

amandel commented 3 years ago

So we keep the current definition of the privacy areas. On the portal side there there might be the possibility to define different shapes in the future.