-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(geometry): remove CityGmlGeometryLodFilter and related files #664
Conversation
WalkthroughThe changes in this pull request involve the removal of the Changes
Possibly related PRs
📜 Recent review detailsConfiguration used: .coderabbit.yaml ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (6)
💤 Files with no reviewable changes (5)
🔇 Additional comments (2)engine/runtime/action-processor/src/geometry/mapping.rs (2)
The import reordering maintains good code organization. Line range hint While CityGmlGeometryLodFilterFactory has been removed, I notice that GeometryLodFilterFactory is still present in the factories list. Please verify if this is intentional and that there are no dependencies between these components. ✅ Verification successfulGeometryLodFilter is a standalone implementation, removal of CityGmlGeometryLodFilter is safe After examining the implementation, I can confirm that GeometryLodFilter is a generic LOD filter that works with any feature's LOD metadata. It has no dependencies on CityGML-specific functionality. The implementation:
The removal of CityGmlGeometryLodFilter appears to be part of a clean-up, while keeping this more generic implementation that can handle LOD filtering for any geometry type. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for any remaining references or dependencies between the LOD filter implementations
# Search for references to both filter types
echo "Searching for references to both LOD filters..."
rg -l "GeometryLodFilter|CityGmlGeometryLodFilter"
# Check for any remaining imports or uses
echo "Checking for any remaining imports or uses..."
ast-grep --pattern 'use $$$CityGmlGeometryLodFilter$$$'
# Look for any tests or documentation mentioning both
echo "Looking for related tests or documentation..."
rg -l "lod.*filter|LOD.*filter" -g '**/*test*.rs' -g '**/*.md'
Length of output: 813 Script: #!/bin/bash
# Let's examine the content of the LOD filter implementation and related files
# Check the implementation of GeometryLodFilter
echo "=== GeometryLodFilter Implementation ==="
cat engine/runtime/action-processor/src/geometry/lod_filter.rs
# Check for any references in errors
echo -e "\n=== LOD Filter Related Errors ==="
cat engine/runtime/action-processor/src/geometry/errors.rs
# Check the schema definition
echo -e "\n=== Action Schema Definition ==="
cat engine/schema/actions.json | grep -A 10 -B 10 "GeometryLodFilter"
# Look for any migration or changes in git history
echo -e "\n=== Recent Changes Related to LOD Filters ==="
git log --oneline -p -- engine/runtime/action-processor/src/geometry/lod_filter.rs
Length of output: 12128 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
✅ Deploy Preview for reearth-flow canceled.
|
Overview
What I've done
What I haven't done
How I tested
Screenshot
Which point I want you to review particularly
Memo
Summary by CodeRabbit
New Features
CityGmlGeometryLodFilter
processor, impacting the filtering of CityGML geometries based on Level of Detail (LOD).Bug Fixes
Chores
CityGmlGeometryLodFilterFactory
.Documentation