Skip to content
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

Replace Google maps with Cesium #1720

Closed
robyngit opened this issue Apr 14, 2021 · 4 comments
Closed

Replace Google maps with Cesium #1720

robyngit opened this issue Apr 14, 2021 · 4 comments
Assignees
Labels
ADC CI-16 Geospatial search improvements (ADC deliverable) arctic data center cesium enhancement Epic
Milestone

Comments

@robyngit
Copy link
Member

robyngit commented Apr 14, 2021

Replace the Google map that is currently used in the DataCatalogView and DataCatalogViewWithFilters with a Cesium map

Related issues: #1436, #1514, #1520

@robyngit robyngit self-assigned this Apr 14, 2021
robyngit added a commit that referenced this issue Apr 14, 2021
- Add an initial model for the Cesium map with a default "home position" and geohash functions
- Render the Cesium map in the DataCatalogView in place of the Google map
- Display the geohash grid and update when the user zooms or pans
- This is a WIP: the map does not yet interact with the search

Relates to issue #1720
@mbjones
Copy link
Member

mbjones commented Apr 14, 2021

Sounds good. I think for a while at least this should be a configurable choice, not outright removal of the Google Map options. If most themes move to using Cesium, then we could deprecate the google maps support and remove it in a later release, but not without sufficient notice and discussion with various MetacatUI deployments.

@laurenwalker
Copy link
Member

Let's do the development for this on a separate branch than the Cesium work for portals and PDG. Keeping that development work on different branches will prevent us from having to delay releases until both are done.

robyngit added a commit that referenced this issue May 3, 2021
- The Google map is now shown by default

Relates to issue #1720
@robyngit
Copy link
Member Author

robyngit commented May 3, 2021

The development for this issue is now in the branch named feature-#1720-cesium-data-catalog, and the choice of whether to use Google maps or Cesium in the search catalog is now configurable.

robyngit added a commit that referenced this issue May 5, 2021
- Add functions to navigate home and get current position in the CesiumView

Relates to issue #1720, #1724
robyngit added a commit that referenced this issue Oct 1, 2021
- The DataCatalogView was still referencing the CesiumModel and the CesiumView which we will no longer use

Relates to #1720
@laurenwalker
Copy link
Member

I converted this to an Epic since this work will likely happen in stages. @robyngit Feel free to add issues for individual steps, such as planning, design, and the coding/implementation steps.

@laurenwalker laurenwalker changed the title Replace Google map with Cesium map Replace Google maps with Cesium Dec 21, 2021
robyngit added a commit that referenced this issue Jan 19, 2022
- Fix issue with getCameraPosition where height was not calculated correctly
- Fix bug where updateViewExtent showed an error message when edge points couldn't be found

Relates to #1720
@laurenwalker laurenwalker self-assigned this Mar 17, 2022
@robyngit robyngit removed their assignment Mar 18, 2022
laurenwalker added a commit that referenced this issue Jul 8, 2022
…h views unless explicitly omitted. Related to #1720 with the DataCatalogView/CatalogSearchView refactor.
laurenwalker added a commit that referenced this issue Jul 8, 2022
laurenwalker added a commit that referenced this issue Jul 8, 2022
robyngit added a commit that referenced this issue Apr 6, 2023
robyngit added a commit that referenced this issue Apr 6, 2023
- Fix coordiante order in creating Geohash feature
- Fix bug where SpatialFilter failed when view extent crossed the antimeridian
- The geohashes are finally drawn correctly on the map and the correct hashstrings for the view area are identified for the search! 🎉

Relates to #1720
robyngit added a commit that referenced this issue Apr 10, 2023
robyngit added a commit that referenced this issue Apr 12, 2023
- Enable adding outlines to GeoJSON
- Enable setting colors with alpha values in Cesium layer color palettes
- Enable setting the min and max for a color palette dynamically
- Use all of these features to set reasonable defaults for the Cesium Geohash layer

Issues #2123, #2124, #2125, #1720
robyngit added a commit that referenced this issue Apr 17, 2023
robyngit added a commit that referenced this issue Apr 18, 2023
Problems found during testing of changes made for issue #1720
robyngit added a commit that referenced this issue Apr 19, 2023
robyngit added a commit that referenced this issue Apr 20, 2023
- Use all new classes in the Catalog Search View to resolve CSS conflicts and to make styling between themes, and between the old and new catalog, consistent
- Move all Catalog Search styles out of the common CSS file to the catalog search CSS file
- Improve the layout and styling of the catalog
- Fix an issue with routing to the old data catalog view when the mode is specific in the URL

Issues #1720, #2065
robyngit added a commit that referenced this issue May 4, 2023
Other minor fixes and improvements:
- Add configurable collection-wide min and max precision values in Geohashes (set max to 9 rather than 6)
- Always validate precisions and bounds in methods that use them in Geohashes collection
- Account for bounding boxes that cross the antimeridian or have north < south when calculating area
- Fix issue where the search results remained in "loading" state when the search was cancelled (e.g. the request URL didn't change, happens when the Cesium camera view has not changed sufficiently)
- Decrease limit of number of geohashes in spatial filter to respect Solr's boolean clauses limit
- Fix issue where pager was hidden when there were 25-50 results
- Remove old CesiumGeohashes view
- Remove unused methods from CesiumGeohash model & Geohashes collection

Issues: #2119, #1720
robyngit added a commit that referenced this issue May 5, 2023
- Account for view extents that cross the prime meridian
- Tweak the max num of geohashes to display in Geohash layer

Issues: #2119, #1720
robyngit added a commit that referenced this issue May 5, 2023
Allow collapsing the filters panel, other minor improvements.

Relates to #1720
robyngit added a commit that referenced this issue May 5, 2023
- Set them to collapsible for the new catalog view
- Fix bugs with the toggleFilter and BooleanFilter
- Update the default search filters

Issues #1720, #1520
@robyngit robyngit modified the milestones: 2.24.0, 2.25.0 May 15, 2023
@robyngit robyngit added ADC CI-16 Geospatial search improvements (ADC deliverable) arctic data center labels May 17, 2023
robyngit added a commit that referenced this issue May 22, 2023
Plus minor modifications/fixes to Geohashes

Issue #1720
robyngit added a commit that referenced this issue May 22, 2023
Fix the remove spatial filters method

Issue #1720
robyngit added a commit that referenced this issue May 24, 2023
- Add types to models
- Minor fixes found during testing

Issue #1720
robyngit added a commit that referenced this issue May 25, 2023
- 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
robyngit added a commit that referenced this issue May 25, 2023
robyngit added a commit that referenced this issue May 30, 2023
robyngit added a commit that referenced this issue May 30, 2023
Prevent input values from getting cleared when user presses "Enter" in the min and max inputs.

Issue #1720
robyngit added a commit that referenced this issue Jun 5, 2023
Add the logic to create and update a metricsModel in the new SearchResultsView.

Issue #1720
robyngit added a commit that referenced this issue Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADC CI-16 Geospatial search improvements (ADC deliverable) arctic data center cesium enhancement Epic
Development

No branches or pull requests

3 participants