Skip to content

[fix] WMS layer fixes 2 - #3149

Merged
igorDykhta merged 8 commits into
masterfrom
igr/wms-layer-fixes
Jul 4, 2025
Merged

[fix] WMS layer fixes 2#3149
igorDykhta merged 8 commits into
masterfrom
igr/wms-layer-fixes

Conversation

@igorDykhta

@igorDykhta igorDykhta commented Jul 4, 2025

Copy link
Copy Markdown
Collaborator
  • custom deck WMSLayer for now before deck.gl upgrade
  • use loaders.gl/wms 4.3.2
  • export data - warning for wms layers - no data
  • remove double error
  • improvements for add wms tileset dialog
  • changes to wms layer configurator

Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
@igorDykhta
igorDykhta requested review from Copilot and ilyabo July 4, 2025 00:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds experimental WMS layer support across configuration, data loading, constants, core layers, and UI.

  • Introduces a new WMSDatasetMetadata type, refresh logic (refreshWMSMetadata), and loader (getWMSCapabilities).
  • Adds a WMSLayer implementation in both Kepler.gl layers and Deck.gl composite layers.
  • Updates application config, constants, and UI components (icons, forms, panels) to integrate WMS settings.

Reviewed Changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/utils/src/application-config.ts Relocated and re-ordered enableWMSLayer flag
src/table/src/dataset-utils.ts Added refreshWMSMetadata and WMS capabilities loader
src/constants/src/dataset.ts Defined new WMSDatasetMetadata type
src/constants/src/layers.ts Removed WMS from editor-available layers
src/layers/src/wms-layer/wms-layer.ts Updated core WMS layer implementation
src/layers/src/wms-layer/wms-layer-icon.tsx Replaced icon SVG paths
src/deckgl-layers/src/wms/wms-layer.ts Added Deck.gl composite WMS layer copy
Comments suppressed due to low confidence (3)

src/table/src/dataset-utils.ts:259

  • The parameter name wsmUrl appears to be a typo; consider renaming it to wmsUrl for consistency.
export async function getWMSCapabilities(wsmUrl: string): Promise<WMSCapabilities> {

src/constants/src/layers.ts:567

  • Removing LAYER_TYPES.wms from EDITOR_AVAILABLE_LAYERS will hide the WMS layer option in the editor. Confirm if this removal is intentional.
  LAYER_TYPES.geojson

src/table/src/dataset-utils.ts:242

  • [nitpick] Consider adding unit tests for refreshWMSMetadata and wmsCapabilitiesToDatasetMetadata to validate WMS metadata parsing and error handling.
async function refreshWMSMetadata(datasetInfo: CreateTableProps): Promise<any | null> {

Comment thread src/table/src/dataset-utils.ts
Comment thread src/layers/src/wms-layer/wms-layer-icon.tsx
igorDykhta and others added 5 commits July 4, 2025 03:47
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
@igorDykhta
igorDykhta merged commit a05b3cf into master Jul 4, 2025
8 checks passed
@igorDykhta
igorDykhta deleted the igr/wms-layer-fixes branch July 4, 2025 13:49
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.

3 participants