-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
New CatalogSearchView with configurable filters & Cesium map #2127
Conversation
When it's configured to use it instead of the older version Fixes #2064
- Replace similar calculations with the view's getDegreesFromCartesian function - Make the getDegreesFromCartesian less repetitive by iterating through the position keys - Also standardize formatting in the view Relates to #1720
- Make CesiumGeohash an extension of CesiumVectorData instead of MapAsset - Add Geohash specific properties to the CesiumGeohash model (e.g. precisionAltMap, bounds, level, geohashes, etc.) - Add a ToJSON function to the CesiumGeohash model that converts geohash & search result information to a JSON object - Create listeners for updating Geohashes when the bounds & altitude change - Add ability to update the data source in the CesiumVectorData model - Always set ClampToGround to true for geohashes Relates to #1720, #2063, #2070, #2076
Cesium throws an error when the latitude is -90 Relates to #1720
To improve performance when map is focused on poles or zoomed in and at ground level perspective Relates to #1720
When it's configured to use it instead of the older version Fixes #2064
- Replace similar calculations with the view's getDegreesFromCartesian function - Make the getDegreesFromCartesian less repetitive by iterating through the position keys - Also standardize formatting in the view Relates to #1720
- Make CesiumGeohash an extension of CesiumVectorData instead of MapAsset - Add Geohash specific properties to the CesiumGeohash model (e.g. precisionAltMap, bounds, level, geohashes, etc.) - Add a ToJSON function to the CesiumGeohash model that converts geohash & search result information to a JSON object - Create listeners for updating Geohashes when the bounds & altitude change - Add ability to update the data source in the CesiumVectorData model - Always set ClampToGround to true for geohashes Relates to #1720, #2063, #2070, #2076
Cesium throws an error when the latitude is -90 Relates to #1720
To improve performance when map is focused on poles or zoomed in and at ground level perspective Relates to #1720
…m/NCEAS/metacatui into feature-#1720-cesium-data-catalog
Also externalize the main template Relates to #1520
@rushirajnenuji this is ready to test when you're ready! I'm doing some testing on my own and also working on writing unit tests and a guide (in docs), but that's no reason to wait on a review. |
The latest version, as of the time of writing, is deployed at https://test.arcticdata.io/ |
Plus minor modifications/fixes to Geohashes Issue #1720
Fix the remove spatial filters method Issue #1720
- Add types to models - Minor fixes found during testing Issue #1720
- Add guide for customizing the CatalogSearchView - Add guide for configuring Cesium in portals - Update the general Cesium guide - Other minor doc updates - Minor CSS tweak Issue #1720
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this PR on my local development instance and the changes look good. I did run into some performance issues (loading latency) but it looks like we already have a ticket for that (#2145).
Thank you for working on this feature, this will be a great addition to MetacatUI.
This pull request introduces the new
CatalogSearchView
, set to replace both theDataCatalogView
andDataCatalogViewWithFilters
(although these will remain functional but deprecated). The updated catalog view takes advantage of the Filters infrastructure, initially designed for portals, to enable straightforward configuration of repository search filters. Additionally, it transitions from Google Maps to the more versatile Cesium map, which offers a 3D globe representation of the world instead of a 2D projection.While a few tasks remain, this feature is nearing completion. As such, I am opening this draft pull request to start gathering feedback.
Here's a current snapshot of the
CatalogSearchView
within the ADC: