params ▾ | timestamp | NPoints | Length | WKT | GeoJSON | poly | Image |
---|---|---|---|---|---|---|---|

0 | 2021-09-14 18:48:40.209832 | 208 | 0.0386234402280487 | WKT | GeoJSON | poly | image |

-0.001000-0.001000-0.001000 | 2021-09-20 04:38:42.631207 | 22 | 0.0364005494464056 | WKT | GeoJSON | poly | image |

X, Y, Z are parameters for the following postgis equation. The default values are chosen according to the size of the original geometry to give a slighty bigger geometry, without too many nodes.

Note that:- X > 0 will give a polygon bigger than the original geometry, and guaranteed to contain it.
- X = 0 will give a polygon similar to the original geometry.
- X < 0 will give a polygon smaller than the original geometry, and guaranteed to be smaller.

SQL requests:

- X > 0:
`ST_Union(ST_MakeValid(ST_SimplifyPreserveTopology(geom, 0.00001)), ST_Buffer(ST_SimplifyPreserveTopology(ST_SnapToGrid(ST_Buffer(geom, X), Y), Z)))`

- X = 0:
`ST_Buffer(ST_SimplifyPreserveTopology(ST_SnapToGrid(ST_Buffer(geom, X), Y), Z)))`

- X < 0:
`ST_Intersection(geom, ST_Buffer(ST_SimplifyPreserveTopology(ST_SnapToGrid(ST_Buffer(geom, X), Y), Z)))`