Skip to content

Fix #11749 Improve flatgeobuf implementation#12329

Merged
allyoucanmap merged 10 commits into
geosolutions-it:masterfrom
allyoucanmap:issue_11749
May 6, 2026
Merged

Fix #11749 Improve flatgeobuf implementation#12329
allyoucanmap merged 10 commits into
geosolutions-it:masterfrom
allyoucanmap:issue_11749

Conversation

@allyoucanmap

@allyoucanmap allyoucanmap commented May 4, 2026

Copy link
Copy Markdown
Contributor

Description

This PR introduces following fixes:

  • review streaming of flatgeobuf features
  • add bbox to allow zoom to action
  • review style workflow
  • include reprojection workflow
  • detection of geometry type from features if header info is missing

Please check if the PR fulfills these requirements

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

  • Bugfix

Issue

What is the current behavior?

#11749

What is the new behavior?

This PR improve flatgeobuf layers

Breaking change

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

  • No

Other useful information

Comment thread web/client/components/map/cesium/plugins/FlatGeobufLayer.js
Comment thread web/client/utils/FlatGeobufLayerUtils.js Outdated
@allyoucanmap allyoucanmap merged commit d3013dc into geosolutions-it:master May 6, 2026
12 checks passed
@allyoucanmap

Copy link
Copy Markdown
Contributor Author

@ElenaGallo please test this on dev, thanks

huntsmarinho pushed a commit to huntsmarinho/MapStore2 that referenced this pull request May 31, 2026
…ions-it#12329)

---------

Co-authored-by: stefanocudini <stefano.cudini@gmail.com>
tdipisa added a commit that referenced this pull request Jun 1, 2026
* Add Portuguese (pt-PT) translation

Complete European Portuguese translation covering ~97% of UI strings.
Translated using MapStore2 translation format with proper pt-PT locale.

* #12207: Fix - ScaleBox plugin - Custom scales not reported on map load (#12212)

* #12207: Fix - ScaleBox plugin - Custom scales not reported on map load

* update test

* code cleanup

* #12094: Fix dropdown menu overflow when adding links to text widget in TextEditor (#12260)

Description:
- Add linkModalDirection prop to CompactRichTextEditor to control dropdown positioning and prevent
off-screen overflow when adding links in the dashboard editor and edit annotation screen
- add unit test

* Fix #12146: ArcGIS support for FeatureService (#12235)

* #12146: ArcGIS support for FeatureService

* fix DynamicPanel layout, improve tests (#12135)

Fix #12114 DynamicPanel layout

* Fix #12240 TOC Layer item won't move when drag and drop (#12241)

* Custom Tick Labels Support in Chart Axis #12266 (#12280)

* Add custom axis tick values and labels to charts

* fix tooltips

---------

Co-authored-by: Lorenzo Natali <lorenzo.natali@geosolutionsgroup.com>

* #12271: Rules manager - clear cache on standalone geofence and multiple gs instances does not work fully (#12279)

* #12271: Rules manager - clear cache on standalone geofence and multiple gs instances does not work fully
Description:
- handle clear cache functionality for multi gs instances for stand-alone geofence
- create menu gs instances called CSCleanCacheMenu
- add translations
- add unit tests

* - fix renaming issue of comp name

* - update some unit tests for RuleService
- remove api function 'cleanCacheGSInstance' in favor ofof expanding 'cleanCache' function
- resolvve review comments

* #12232: Validate catalog service credentials before saving to prevent silent failures & misleading errors (#12233)

* #12232: Validate catalog service credentials before saving to prevent silent failures & misleading errors
Description:
- for authenticated services, add async credential check via WMS GetCapabilities request
- Show clear, localized error messages instead of silent failures in SecurityPopup
- Prevent invalid credentials from being stored or saved to maps
- Add unit tests and i18n translations (EN, IT, FR, ES, DE)

* - fix typo in unit test in SecurityPopupDialog-test file

* - revert edits in localConfig

* #11589: correct urls in config.yaml to fix issue of print profiles not compatible with windows (#12269)

* #11589: correct urls in config.yaml to fix issue of print profiles not compatible with windows
- update the urls that has missing file:// part in config.yaml

* - add migration guide for the edits in config.yaml file

* Update .clabot

* Fix #12291 Switching CRS causes jumps between zoom levels. (#12292)

* fix #12160: correct theme variables to filter widget and wizard components (#12295)

- Replace hardcoded colors with theme variables in wizard.less
- remove the hardcoded text color in widgetbuilder/util/filterBuilder file

* #12237: fix the background selector show an error in console (#12242)

* #12237: fix the background selector show an error in console
Description:
- Refactored BackgroundSelector.jsx
- Moved the logic for detecting and adding the missing Ellipsoid terrain from the main function body into a React.useEffect hook

* - resolve review comment of import useEffect instead of using React.useEffect in web/client/components/background/BackgroundSelector.jsx file

* fix #12094: fix link popup widget in map layer TOC widget (#12294)

* fix #12094: fix link popup widget in map layer TOC widgets

* - undo unnecessary edits

* #12166: Allow configurable defaults for Printing (#12263)

* #12166: Allow configurable defaults for Printing
Description:
- introduce 'initialSpecSettings' to print plugin cfg to allow custom default print values
- Create 'INIT_PRINT_SPEC_FROM_CONFIG' action to dispatch config values on plugin mount
- add unit tests

* - add reset print spec logic and epic for print state management
- introduce `RESET_PRINT_SPEC` action to revert print settings to initial defaults
- add `resetMountPrintEpic` to listen for `MAP_PLUGIN_LOAD` dispatches reset if print was previously mounted to ensure a clean state

* - enhance reset print spec reducer

* - resolve review comment by adding guard to ensure initialSpecSettings exists and has keys before calling initPrintSpec in componentDidMount in plugins/Print file

* Fix #12262 - Improve documentation with clear db update policy (#12293)

* Fix #12262 - Improve documentation with clear db update policy

* minor fix

---------

Co-authored-by: Tobia Di Pisa <tobia.dipisa@geosolutionsgroup.com>

* Update User Guide - extrusionOutline option for extruded features #12275 (#12278)

* add_12275

* add2_12275

* add3_12275

* Update docs/user-guide/annotations.md

* Update docs/user-guide/layer-settings.md

---------

Co-authored-by: Tobia Di Pisa <tobia.dipisa@geosolutionsgroup.com>

* Update User Guide - Improve CRS selector component (#12290)

* add-12284

* review_12284

---------

Co-authored-by: Tobia Di Pisa <tobia.dipisa@geosolutionsgroup.com>

* Update User Guide - Map editor on Geostories #12274

Co-authored-by: Tobia Di Pisa <tobia.dipisa@geosolutionsgroup.com>

* Groupe open/panoramax streetview support (#11822)

* Adapt Mapstore2 for Panoramax support

map.forEachFeatureAtPixel in openlayers/Map.jsx adapted for detection of features of type RenderFeature used for MVT layers. By doing that, MVT layers are clickable and the intersected features are return on clic
TileProviderLayer for being able to create MVT layer and display it.

* Add and configure Panoramax plugin in StreetView component

- Create a viewer using pnx-photo-viewer to display pictures.
- Add a Panoramax VectorTileLayer using OpenLayers styling to match other providers.
- Handle click events: retrieve picture data directly from the layer datas, or call the API if the data is not found.

* Translate panoramax emptySelection message in French, English, Spanish, Italian and German

* Remove unused DEFAULT_SRS constant

Removed unused DEFAULT_SRS constant from panoramax.js to match the eslint configuration

* minor fixes

* Fix style support for RenderFeature

* fixed more french issues

* fixed json style

* Fix typo and french issues

* return pre computed geom instead of getting it from the original feature in startpoint/endpoint geom function

---------

Co-authored-by: Lorenzo Natali <lorenzo.natali@geosolutionsgroup.com>

* Update .clabot

* Update .clabot

* Fix #12318 - add translations for userSession (#12319)

* Fix #12301 Dynamic projection definitions (#12313)


---------

Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>

* Fix #11762 :Added support for downloading vector layers as Geojson (#12322)

* Fix #12302: Disable cropping WMS layers to map projection extent. (#12303)

* Fix #12301 zoom to extent with padding null throw an error (#12325)

* Update mip.md (#12326)

* #12330: RULES MANAGER - Add possibility to have an extra list of geoserver urls where cache can be invalidated (#12334)

* #12330: RULES MANAGER - Add possibility to have an extra list of geoserver urls where cache can be invalidated
- introduce root level cfg called 'additionalGsInstancesUrls'
- handle clear cache of gs instance and its slaves if existing for single clear cache and clear all
- create rulemanager-test epic file
- add unit tests

* - fix renaming func hasConfiguredGSSlaves

* - add JSDoc and config examples for GS slave expansion
- Add comprehensive JSDoc to `hasConfiguredGSSlaves` and `expandInstancesWithSlaves`

* Introduce slider varient for Dynamic filter #12268 (#12311)

* Update Changelog for version 2026.01.01 (#12339)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Fix #11749 Improve flatgeobuf implementation (#12329)


---------

Co-authored-by: stefanocudini <stefano.cudini@gmail.com>

* Fix #12301 projection export workflow and unregistered projection warning (#12342)

* Fix #12349 Crs compability check fails when terrain laer is a part of background group (#12350)

* #12346: Add requestRuleRefreshHash handling to Cesium layer plugins (#12352)

* Fix #12353 Click events not working outside the projection extent (#12356)

* Fix #12301 restore fallback to empty map in mapsave selector (#12358)

* Update .clabot (#12362)

* #12354: fix Issue with mouse coordinates for certain CRS not showing lat, lng for custom geographic CRSs (#12357)

- fix the regression issue in editing 'getPosition' function in 'mouseposition/MousePosition.jsx'
- add unit test for edits

* Fix #12302 Set cropToProjectionExtent to false by default behavior (#12361)

* Fix #12301 Improve parsing of axis orientation (#12359)

* Fix #12309 - Add usergroups to default monitoredState (#12310)

* Fix 12309 - Add usergroups to default monitoredState

* Fixed old test

* Fixed old test

* Moved monitored state. add doc

* Revise migration guide for version update

Updated migration guide version from 2026.01.00 to 2026.01.02.

* Update .clabot (#12366)

* Fix .clabot formatting (#12369)

* Fix #11930 Catalog Refactor  and integration of Geonode api in the Catalog. (#12107)


---------

Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>
Co-authored-by: Suren <dsuren1@gmail.com>

* Update data.pt-PT.json

* Fix #11930 Add title translations and tests (#12370)

* Fix #11926 layout and location of timeline plugin (#12332)


---------

Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>

* Fix #11749 flatgeobuf styleditor cors (#12374)

* Fix #12371 WMS GetMap unhandled error for custom requestsConfigurationRules (#12372)

* Fix #12381 Review configuration related to Catalog (#12382)

* Fix #12375 New Catalog issue with WFS service (#12378)

* Fix #12377 New Catalog UI issue on Dashboard (#12379)

* Fix #12376 New Catalog: Advanced settings issue on Dashboard (#12380)

* Fix #12383 Remove duplicated catalog components (#12384)

* Fix #12383 Remove duplicated catalog components

* restore clickable item in resource card

* Fix #12375 Review catalog identifier (#12385)

* Fix #12375 Review catalog identifier

* revert test

* change how hash are created

* change export of hashCode

* Fix #12323 - Add milestone check action (#12324)

* Rename job for clarity in workflow

* Add City of Rome Geoportal link to README

* Fix #12377 Update position of InfoPopover for table and counter widgets (#12388)

* Dynamic Filter Widget: "APPLY DIMENSION" to update Time and Elevation #12267 (#12347)

* Fix #12390 Advanced Settings are not visible on the TMS (#12393)

* Fix #12371 additional condition to prevent tile exception reloding (#12397)

* docs: add recommendation to use externalized configuration for database setup (#12396)

* Update .gitignore (#12398)

* Add User Guide - Export button resulting layer from a geoprocessing operation (#12364)

* Fix ESLint/Prettier: remove embedded newline in pageInfoInfinite string (line 2089)

* Fix #12411 New Catalog UI - Minor style issues (#12414)

* Extend Apply dimension to connect with Chart Axis current Time. #12408 (#12413)

* Slider cache issue fixes

* Apply dimension for axis

* fix: show tick label instead of value

* configure hover only for custom Ticks

* update elevation chart after when it's value from params changes

* fix: avoid negative max height

* fix: translations

* fix: labels

* fix: local env crash due to invalid cleanup

* fix: apply clean up fordeleted filter interaction

---------

Co-authored-by: Suren <dsuren1@gmail.com>
Co-authored-by: mahmoud adel <58145645+mahmoudadel54@users.noreply.github.com>
Co-authored-by: Stefano Cudini <stefano.cudini@gmail.com>
Co-authored-by: RowHeat <40065760+rowheat02@users.noreply.github.com>
Co-authored-by: Lorenzo Natali <lorenzo.natali@geosolutionsgroup.com>
Co-authored-by: Tobia Di Pisa <tobia.dipisa@geosolutionsgroup.com>
Co-authored-by: Anup Dahal <adahal39@gmail.com>
Co-authored-by: ElenaGallo <56537133+ElenaGallo@users.noreply.github.com>
Co-authored-by: Nakouban Camara <nakouban.rc@gmail.com>
Co-authored-by: allyoucanmap <stefano.bovio@geosolutionsgroup.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Simone Giannecchini <simboss1@gmail.com>
Co-authored-by: Brice Lecomte <86045852+Brice150@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Activate the Zoom to for FGB format inside the TOC Support for FlatGeobuf by MapStore

2 participants