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

#9368: adding support 3D tiles resources in catalog for CSW #9443

Merged
merged 8 commits into from
Sep 18, 2023

Conversation

mahmoudadel54
Copy link
Contributor

@mahmoudadel54 mahmoudadel54 commented Sep 14, 2023

Description

Adding a support for 3D Tiles resources in CSW metadata.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Feature

Issue

#9368

What is the current behavior?
adding CSW metadata in catalog doesn't support 3D Tiles if exists within it
#9368

What is the new behavior?
A support for 3D Tiles resources in CSW metadata is added and now user can add 3D tiles via CSW to the map.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • No

Other useful information

@mahmoudadel54 mahmoudadel54 added enhancement Good first issue BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch C027-COMUNE_FI-2023-SUPPORT labels Sep 14, 2023
@mahmoudadel54 mahmoudadel54 added this to the 2023.02.01 milestone Sep 14, 2023
@mahmoudadel54 mahmoudadel54 requested a review from MV88 September 14, 2023 09:00
@mahmoudadel54 mahmoudadel54 self-assigned this Sep 14, 2023
@mahmoudadel54 mahmoudadel54 linked an issue Sep 14, 2023 that may be closed by this pull request
8 tasks
Copy link
Contributor

@MV88 MV88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a first round of review, since I'm not able to test it

web/client/configs/localConfig.json Outdated Show resolved Hide resolved
web/client/components/catalog/RecordItem.jsx Outdated Show resolved Hide resolved
web/client/api/catalog/__tests__/CSW-test.js Outdated Show resolved Hide resolved
web/client/api/catalog/CSW.js Outdated Show resolved Hide resolved
web/client/api/catalog/__tests__/CSW-test.js Outdated Show resolved Hide resolved
web/client/utils/CoordinatesUtils.js Outdated Show resolved Hide resolved
web/client/utils/__tests__/CoordinatesUtils-test.js Outdated Show resolved Hide resolved
web/client/utils/__tests__/CoordinatesUtils-test.js Outdated Show resolved Hide resolved
…romOWS' function to 'transformExtentToObj' and add decription to test file for coordinateUtils
@mahmoudadel54 mahmoudadel54 requested a review from MV88 September 18, 2023 08:03
Copy link
Contributor

@MV88 MV88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, some other changes requested

web/client/configs/localConfig.json Outdated Show resolved Hide resolved
web/client/utils/CoordinatesUtils.js Outdated Show resolved Hide resolved
web/client/components/catalog/RecordItem.jsx Outdated Show resolved Hide resolved
@tdipisa
Copy link
Member

tdipisa commented Sep 18, 2023

@MV88 as agreed in our call, let's merge the PR as soon as the review is passed. We will proceed to test the solution early after by updating the involved downstream project.

Description: \n 1- Edit in function description in CoordinatesUtils. \n 2- Remove not needed cfg in localConfig
@mahmoudadel54 mahmoudadel54 requested a review from MV88 September 18, 2023 10:01
Copy link
Contributor

@MV88 MV88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some minor changes

web/client/components/catalog/RecordItem.jsx Show resolved Hide resolved
web/client/translations/data.it-IT.json Outdated Show resolved Hide resolved
web/client/utils/CoordinatesUtils.js Outdated Show resolved Hide resolved
Description: \n - edit IT translation. \n - edit transformExtentToObj description/
@mahmoudadel54 mahmoudadel54 requested a review from MV88 September 18, 2023 11:22
@MV88 MV88 merged commit 936c030 into geosolutions-it:master Sep 18, 2023
@tdipisa
Copy link
Member

tdipisa commented Sep 18, 2023

@mahmoudadel54 (FYI @MV88) first test result reported a couple of things that need to be fixed.

  1. Expanding the metadata item in the list to see a full description the preview is not entirely visualized and the item toolbar is not in the right position

image

This test has been performed by including this metadata template in the CSW source advanced configuration.

  1. The test element "3D tile Layer" has been included but it should be removed since there is not a request for this and it is not needed

image

@tdipisa
Copy link
Member

tdipisa commented Sep 19, 2023

@mahmoudadel54 (FYI @MV88) first test result reported a couple of things that need to be fixed.

  1. Expanding the metadata item in the list to see a full description the preview is not entirely visualized and the item toolbar is not in the right position

This test has been performed by including this metadata template in the CSW source advanced configuration.

Since it is not related to the updated provided with this PR I've created a new issue to capture this (see #9461).

  1. The test element "3D tile Layer" has been included but it should be removed since there is not a request for this and it is not needed

This need to be fixed as part of #9368 @mahmoudadel54

@ElenaGallo
Copy link
Contributor

@mahmoudadel54 please backport this to 2023.02.xx. Thanks

mahmoudadel54 added a commit to mahmoudadel54/MapStore2 that referenced this pull request Oct 15, 2023
…r CSW (geosolutions-it#9443)

* geosolutions-it#9368: adding support 3D tiles resources in catalog for CSW
* geosolutions-it#9368: enable reading metadata from csw for 3d tiles
* geosolutions-it#9368: resolve comment of removing unneeded code in localConfig
* geosolutions-it#9368: resovle comment: provide more generic test data for testing 3d tiles in csw in test file
* geosolutions-it#9368: resolve comment about renaming 'getCesiumBoundFromOWS' function to 'transformExtentToObj' and add decription to test file for coordinateUtils
* resolving review changes
Desription:
* resolving review comments
Description: \n 1- Edit in function description in CoordinatesUtils. \n 2- Remove not needed cfg in localConfig
* resolve review comments
Description: \n - edit IT translation. \n - edit transformExtentToObj description/
@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Oct 16, 2023
tdipisa pushed a commit that referenced this pull request Oct 16, 2023
…alog for CSW (#9599)

* #9368: adding support 3D tiles resources in catalog for CSW (#9443)

* #9368: adding support 3D tiles resources in catalog for CSW
* #9368: enable reading metadata from csw for 3d tiles
* #9368: resolve comment of removing unneeded code in localConfig
* #9368: resovle comment: provide more generic test data for testing 3d tiles in csw in test file
* #9368: resolve comment about renaming 'getCesiumBoundFromOWS' function to 'transformExtentToObj' and add decription to test file for coordinateUtils
* resolving review changes
Desription:
* resolving review comments
Description: \n 1- Edit in function description in CoordinatesUtils. \n 2- Remove not needed cfg in localConfig
* resolve review comments
Description: \n - edit IT translation. \n - edit transformExtentToObj description/

* #9368: resolve test report comments (#9465)

description: remove not needed span indicator for 3d layer in catalog sidebar+ remove all relevant translates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Catalog Tool update to support 3D tiles resources in CSW metadata
4 participants