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

[FEATURE+FIX] GeoCore implementation update #1828

Merged

Conversation

Alex-NRCan
Copy link
Member

@Alex-NRCan Alex-NRCan commented Feb 19, 2024

Description

GeoCore implementation update
Add-Layer fix when adding GeoCore layer with uuid
GeoChart linkage with GeoCore

Fixes: #1214 #1499 #1742 #1806
Commented: #793
Related to: #43 #790

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Hosted here as of Feb 19th 17h: https://alex-nrcan.github.io/geoview/

Checklist:

  • I have build (rush build) and deploy (rush host) my PR
  • I have connected the issues(s) to this PR
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have created new issue(s) related to the outcome of this PR is needed
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

This change is Reviewable

@Alex-NRCan Alex-NRCan self-assigned this Feb 19, 2024
@Alex-NRCan Alex-NRCan requested a review from jolevesq February 19, 2024 21:40
@Alex-NRCan Alex-NRCan force-pushed the feat-geochart-geocore branch 2 times, most recently from c83b5f2 to 6f6456e Compare February 20, 2024 16:26
@jolevesq jolevesq requested review from ychoquet and DamonU2 February 20, 2024 16:40
Copy link
Member

@jolevesq jolevesq left a comment

Choose a reason for hiding this comment

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

Reviewed 21 of 21 files at r1, 1 of 2 files at r2, 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @Alex-NRCan, @DamonU2, and @ychoquet)


packages/geoview-core/src/core/utils/config/config-validation.ts line 70 at r1 (raw file):

  // TODO: Refactor - Environment - How to edit this configuration easily per environment?
  /** The default geocore url */
  static CONFIG_GEOCORE_URL = 'https://geocore-stage.api.geo.ca';

To we should keep it packages\geoview-core\src\core\utils\constant.ts like other constant for the moment


packages/geoview-core/src/core/utils/config/reader/uuid-config-reader.ts line 26 at r1 (raw file):

import { logger } from '@/core/utils/logger';

// The GeoChart Json object coming out of the GeoCore response

Should packages configuration (i.e. gechart) as may not only be geocart

Or wrapped the whole type thing in a region with the package comment


packages/geoview-core/src/core/utils/config/reader/uuid-config-reader.ts line 326 at r1 (raw file):

    return listOfGeoviewLayerConfig;
  }

Wrap geochart config in a region


packages/geoview-core/src/core/utils/config/reader/uuid-config-reader.ts line 354 at r1 (raw file):

  /**
   * Generates GeoView layers and geocharts configurations, from GeoCore API, using a list of UUIDs.

package configuration (i.e. geochart)


packages/geoview-core/src/geo/layer/other/geocore.ts line 124 at r1 (raw file):

      // Generate the url
      // TODO: Check - Is the metadataAccessPath still used? Because it seems to be incompatible with the rest now?

It is but this is not he atttribute name when you call geocore url

@Alex-NRCan Alex-NRCan force-pushed the feat-geochart-geocore branch from 6f6456e to 1e2322d Compare February 20, 2024 19:51
Copy link
Member

@DamonU2 DamonU2 left a comment

Choose a reason for hiding this comment

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

Reviewed 20 of 21 files at r1, 1 of 2 files at r2, 1 of 1 files at r3.
Reviewable status: 20 of 22 files reviewed, 5 unresolved discussions (waiting on @Alex-NRCan, @jolevesq, and @ychoquet)

Copy link
Member Author

@Alex-NRCan Alex-NRCan left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 2 files at r4, 5 of 5 files at r5, all commit messages.
Reviewable status: all files reviewed, 5 unresolved discussions (waiting on @jolevesq and @ychoquet)


packages/geoview-core/src/core/utils/config/config-validation.ts line 70 at r1 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

To we should keep it packages\geoview-core\src\core\utils\constant.ts like other constant for the moment

Done.


packages/geoview-core/src/core/utils/config/reader/uuid-config-reader.ts line 26 at r1 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

Should packages configuration (i.e. gechart) as may not only be geocart

Or wrapped the whole type thing in a region with the package comment

Done.


packages/geoview-core/src/core/utils/config/reader/uuid-config-reader.ts line 326 at r1 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

Wrap geochart config in a region

Done.


packages/geoview-core/src/core/utils/config/reader/uuid-config-reader.ts line 354 at r1 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

package configuration (i.e. geochart)

Done.


packages/geoview-core/src/geo/layer/other/geocore.ts line 124 at r1 (raw file):

Previously, jolevesq (Johann Levesque) wrote…

It is but this is not he atttribute name when you call geocore url

Done.

Add-Layer fix when adding GeoCore layer with uuid
GeoChart linkage with GeoCore
…aarray and the allfeaturesdataarray

Added subscriptions to better synch the featureinfo-geochart stores
Fix pour charts:[] dans configuration par défaut du GeoChart
Added geocoreids on the raw-add-layers template page
@Alex-NRCan Alex-NRCan force-pushed the feat-geochart-geocore branch from ae5e3ee to fc1be1d Compare February 20, 2024 21:04
Copy link
Member

@jolevesq jolevesq left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 5 files at r5, 1 of 1 files at r6, 4 of 4 files at r7, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ychoquet)

Copy link
Member

@jolevesq jolevesq left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 2 files at r4.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ychoquet)

Copy link
Member Author

@Alex-NRCan Alex-NRCan left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r6.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ychoquet)

@Alex-NRCan Alex-NRCan marked this pull request as ready for review February 21, 2024 13:11
@jolevesq jolevesq merged commit dc2a362 into Canadian-Geospatial-Platform:develop Feb 21, 2024
9 checks passed
@Alex-NRCan Alex-NRCan deleted the feat-geochart-geocore branch February 21, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Geocore layer signal processed before time
3 participants