dancingsushii / geo-specific-diffpriv

Plugin for PostgersSQL achieving data minimisation with a help of differential privacy on geospatial databases.
MIT License
0 stars 0 forks source link

PostGIS: Find & test Spatial Functions (for our agreegation methods) #6

Closed mariidpm closed 2 years ago

mariidpm commented 2 years ago

From our tech report: 1) Geometric center; 2) Bounding rectangle; 3) Clustering of points (DBSCAN) [27]; 4) Hexagons; 5) Aggregation per administrative units.

mariidpm commented 2 years ago

PostGIS Spatial Functions defined in chapter 8 of their documentation

1) Geometric center;

2) Bounding rectangle;

3) Clustering of points (DBSCAN) [27];

4) Hexagons;

5) Make line (note: as we have points, the line is the same point, not sure how useful it is (as per our dataset) but it's the other function I could make work for us)

dancingsushii commented 2 years ago

@mariidpm Mari, nice work! I've already mentioned it once with Inga but didn't discuss it with you. Imho the last method is too complex to implement. I used it in the tech report because back then I thought it might look very interesting for our previous use case. But for now, I think we should change it. What do you think?

mariidpm commented 2 years ago

@dancingsushii sounds good, I couldn't find anything in postgis for it, so happy to switch for another method which we can use in postgis