Skip to content

Conversation

@stefanocudini
Copy link
Member

@stefanocudini stefanocudini commented Dec 18, 2025

Fix issue #11749 introducing the FlatGeobuf format support as new layer loaded from remote resource.

Flatgeobuf library version supported is last 4.3.3

and added a new .fgb files and metadata sample for CI tests here:
https://github.com/stefanocudini/MapStore2/tree/fix-11749-flatgeobuf/web/client/test-resources/flatgeobuf

Description

  • new FlatGeobuf API catalog and connect in metadataexplorer
  • load dynamically flatgeobuf library dep
  • some unit tests flatgebouf api and catalog api
  • define FlatGeobuf OL Layer
  • define FlatGeobuf Cesium Layer (3D mode)
  • enable Mapinfo identify for flatgeobuf layers
  • update docs about FlatGeobu specs
  • use loader with strategy using default bbox OL
  • style editor enabled flatgeobuf layer type

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

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

What is the new behavior?
Support loading FlatGeobuf (remote .fgb files) from catalog

flatgeobuf.mp4

Breaking change

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

  • Yes, and I documented them in migration notes
  • No

Other useful information

  • In this PR the visual style editor is not working due to the lack of specific rules for this format
  • to optimize metadata retrieve we need to replace .deserialize() with new method .readMetadata() when available in flatgeobuf lib > v4.4.5
    just merged here:
    flatgeobuf/flatgeobuf@15f137c

@stefanocudini stefanocudini added this to the 2025.02.01 milestone Dec 18, 2025
@stefanocudini stefanocudini self-assigned this Dec 18, 2025
@stefanocudini stefanocudini added the New Feature used for new functionalities label Dec 18, 2025
@stefanocudini stefanocudini linked an issue Dec 18, 2025 that may be closed by this pull request
5 tasks
@stefanocudini stefanocudini changed the title load flatgeobuf catalog FlatGeobuf format support Dec 18, 2025
api catalog in metadataexplorer

load dynamic fgb module

unit tests flatgebouf api

FlatGeobuf OL Loader
FlatGeobuf Cesium Loader

upgrade flatgeobuf 4.3.3

enable Mapinfo identify flatgeobuf layers

update docs

fix strategy

style editor enabled flatgeobuf layer type

fix lints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Feature used for new functionalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for FlatGeobuf by MapStore

1 participant