Skip to content
Snippets Groups Projects
Commit afe50c36 authored by Zhibin Mai's avatar Zhibin Mai Committed by David Diederich
Browse files

Add document for geo-shape decimation

(cherry picked from commit 910fc6b2)
parent f7c02d09
Branches
Tags
6 merge requests!604Merge Delta changes from M16 master to M18 master,!600Merge Delta changes from M16 master to M18 master,!599Merge Delta changes from M16 to M18 master,!598Merged from M16,!522M14 cherrypick to m16 master,!405Cherry-pick 'Geoshape decimation' into release/0.17
In order to improve indexing and search performance for documents with large geometry, the geo-shape of the following
GeoJSON types in the original shape attribute and virtual shape attribute if exists are decimated
by implementing Ramer–Douglas–Peucker algorithm:
- LineString
- MultiLineString
- Polygon
- MultiPolygon
In order to reduce the risk when extended evaluation of the solution is still on going, a feature flag that is managed by
the Partition Service is applied to the solution.
Here is an example to enable this feature by setting the property "indexer-decimation-enabled" in a given data partition:
```
{
"indexer-decimation-enabled": {
"sensitive": false,
"value": "true"
}
}
```
If the property "indexer-decimation-enabled" is not created or the property value is set to "false" (String type) in the
given data partition, the geo-shape decimation will be ignored.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment