Question: Clip-Layer vs Filter-Expression
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
for me the clip layer looks very special. It can only be used for 3D-Models and not for all the other layers. Like i understood the same result can be done by using filter-expressions of [distance](https://docs.mapbox.com/style-spec/reference/expressions/#distance) which works on all geometric layers. So, why not using this expression also for the models? Or does the clip works different and will really cut the features at the edge?
Contributor guide
Research direction
No source file or test is named. Start with the linked distance expression documentation and compare it with clip-layer behavior for 3D models and other geometric layers. Done means clearly documenting whether clipping cuts features at the edge, why distance may not apply to models, and whether a concrete change is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, web-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100