Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Indexer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Indexer
Commits
910fc6b2
Commit
910fc6b2
authored
2 years ago
by
Zhibin Mai
Browse files
Options
Downloads
Patches
Plain Diff
Add document for geo-shape decimation
parent
a9f074e1
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!387
Geoshape decimation
Pipeline
#140051
failed
2 years ago
Stage: review
Stage: build
Stage: coverage
Stage: containerize
Stage: scan
Stage: deploy
Stage: integration
Changes
1
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/tutorial/GeoShapeDecimation.md
+22
-0
22 additions, 0 deletions
docs/tutorial/GeoShapeDecimation.md
with
22 additions
and
0 deletions
docs/tutorial/GeoShapeDecimation.md
0 → 100644
+
22
−
0
View file @
910fc6b2
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.
This diff is collapsed.
Click to expand it.
Zhibin Mai
@zmai
mentioned in commit
afe50c36
·
2 years ago
mentioned in commit
afe50c36
mentioned in commit afe50c3635ad8b18cd57c9b4d8de1ab021a86efd
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment