2023.02.00-geOrchestra
What's Changed
This release contains updates developed as part of
- MOM MS4 - Phase I
- MOM MS4 - Phase II
- MOM MS4 - Phase III
- MOM MS4 - Phase IV
- VSR MS4 - Phase 1
- VSR MS4 - Phase 2
- VSR MS4 - Phase 3
The MapStore git submodule revision has also been updated to point to the latest stable version of MapStore (2023.02), where the majority of the involved updates have been contributed.
- #647 [Annotations] Geometry title not easy to modify by @dsuren1 in #694
- #682 [Print] Ability to print image legend with an appropriate scale by @dsuren1 in #694
- #646 [Annotations] Disabled annotations are printed by @dsuren1 in #694
- #644 [StreetView Plugin] ability to set parameters for the size of the default window (e.g. to display the date of recording). by @dsuren1 in #694
- #645 [Annotations] Circle object - Mapstore crash entering a value in Radius field before drawing the circle by @dsuren1 in #694
- #681 [Annotation] Circle radius is modified when saving the annotation by @dsuren1 in #694
- #679 [Context Export] Unabble to export map configuration in context manager since 2023.02.RCx by @dsuren1 in #694
- #683 sync localConfig.json with commits in the georchestra/datadir project by @landryb
- #662 Problem with log4j2.properties from datadir by @landryb in #690
- #378 Fix - User session objects with featuregrid by @dsuren1 in #661
- docker - provide unzipped war by @fvanderbiest in #667
- #638: Redirect to requested resource on login by @dsuren1 in #673
- #617 [Annotation] Erreur à l'impression d'annotation modifiée (polygone) by @dsuren1 in #651
- #582 [Print plugin] Ability to rotate the map by @dsuren1 in #651
- #338 support reading/loading raw cloud-optimized geotiff by @dsuren1 in #651
- #642 saving permalink from default map fails by @dsuren1 in #651
- #651 Update MS to latest version (Phase III) by @dsuren1 in #653
- #378 Fix - User session objects with featuregrid by @dsuren1 in #649
- #583 [Share plugin - Permalink] Add a permalink functionality by @dsuren1 in #634
- #584 [Context Manager ] Ability to import/export an application context by @dsuren1 in #634
- #415 Better handle of context access restriction by @dsuren1 in #634
- #634: Update MS to latest version to include Phase II issues by @dsuren1 in #635
- #580 Follow up update to log4j2 in mapstore2 by @offtherailz in #625
- #614 Update to 2023.01.xx by @dsuren1 in #625
- #378: allow to configure hidden columns in featuregrid by @dsuren1 in geosolutions-it/MapStore2#9219 and backported in #628
- #378 Feature grid enabled in context-creator by @dsuren1 in geosolutions-it/MapStore2#9262 and backported in #632
- #616: [Outils d'édition] Edition d'une liste de couches éditables by @dsuren1 in geosolutions-it/MapStore2#9212 and geosolutions-it/MapStore2#9227 and backported in #628
- #615: [Outils d'édition] Rôle contributeur pour filtrer la visibilité de la fonction d'édition by @dsuren1 in geosolutions-it/MapStore2#9210 and backported in #628
- #627: Update to 2023.02 by @dsuren1 in #628
- #629: Added missing configurations by @dsuren1 in #629
Relevant fixes and enhancements
- geosolutions-it/MapStore2#9466 GetFeatureInfo exceptions parameter format configuration
- geosolutions-it/MapStore2#9325 Support for isNull logical operator on date field in layer filter
- geosolutions-it/MapStore2#9575 Issue to write a word on attribute table quick filter
- geosolutions-it/MapStore2#9368 Catalog Tool update to support 3D tiles resources in CSW metadata
- geosolutions-it/MapStore2#9620 GeoProcessing - Enhance error handling use cases
- geosolutions-it/MapStore2#9601 GeoProcessing - it does not includes points style that can result from intersection of polygon and point
- geosolutions-it/MapStore2#9578 Fix fr locales for image in template FI and geoprocessing tool
- geosolutions-it/MapStore2#9605 Problem with operator <> in layer filter for Attribute Table and Widgets
- geosolutions-it/MapStore2#9641 FR translations updates
- geosolutions-it/MapStore2#9594 Fix button alignment for advanced settings in catalog tool and save spinner
- geosolutions-it/MapStore2#9552 Keep the legend state when saving a map
- geosolutions-it/MapStore2#9568 Selection of features with Alt + Mouse in the attribute table does not work
- geosolutions-it/MapStore2#9625 Layer name no longer visualized in Identify drop down for imported vector layers
- geosolutions-it/MapStore2#9647 Fix fr translations
- geosolutions-it/MapStore2#9585 Zoom to layer is not correct for the 3D tiles resources in CSW
- geosolutions-it/MapStore2#9638 Adding GeoProcessing and LongitudinalProfileTool plugins in a context will cause UI issue
- geosolutions-it/MapStore2#9216 Spatial filter is not visible for widgets created by the attribute table
- geosolutions-it/MapStore2#9592 Make COG Source type disabled by default until experimental
- geosolutions-it/MapStore2#9600 Better link or document the proper version in MapStore Documentation in home page
- geosolutions-it/MapStore2#9590 Make COG download metadata by default
- geosolutions-it/MapStore2#9692 Make sure that new projects war generates a mapstore.war file instead of using project name
- geosolutions-it/MapStore2#9510 Improving GeoFence rule filtering capabilities
- geosolutions-it/MapStore2#9589 Notify data projection not compatible / available for COG
- geosolutions-it/MapStore2#9624 Point cloud shading options
- geosolutions-it/MapStore2#9553 Improving readability of long attribute values in attribute table and table widgets
- geosolutions-it/MapStore2#9606 Error with circle annotations + radius selection
- geosolutions-it/MapStore2#9295 Format and Information sheet format fields not populated in GN CSW catalog source
- geosolutions-it/MapStore2#9702 Background selector in contexts won't retain thumbnail in view mode
- geosolutions-it/MapStore2#9728 Form fields not aligned in Layer Filter
- geosolutions-it/MapStore2#9729 Widgets Catalog - format refresh does not work
- geosolutions-it/MapStore2#9676 OpenStreetMap : use HTTPS and endpoint fixes
- geosolutions-it/MapStore2#9734 Widgets Query panel - there is a problem with attribution and query panel that are on the same level
- geosolutions-it/MapStore2#9589 Notify data projection not compatible / available for COG
- geosolutions-it/MapStore2#9761 Capitalize the login plugin content in case of rendering within SideBar
- geosolutions-it/MapStore2#9763 Custom popup renderer are broken by long string tooltip
- geosolutions-it/MapStore2#9775 Visibility limits not working in 3D for detached layers
- geosolutions-it/MapStore2#9814 Further issue with visibility limits in master
- geosolutions-it/MapStore2#9739 Incorrect connection of the parent table with the map and another widget
- geosolutions-it/MapStore2#9806 Do not visualize map sync popup by default for Attribute Table
- geosolutions-it/MapStore2#9824 Added documentation for configuring session timeout
- geosolutions-it/MapStore2#8997 Map Sync issue
- geosolutions-it/MapStore2#9845 Minor fixes to keycloak openid documentation
- geosolutions-it/MapStore2#9823 [Annotations] Disabled annotations are printed
- geosolutions-it/MapStore2#9821 For 3D tiles, the whole catalog component crashes when a status code of type 40X is returned from the server, provide better exception handling
- geosolutions-it/MapStore2#9822 [Annotations] Geometry title not easy to modify
- geosolutions-it/MapStore2#9685 Extend the GeoProcessing tool to work with client side Vector layers as WPS inputs
- geosolutions-it/MapStore2#9840 [StreetView Plugin] ability to set parameters for the size of the default window
- geosolutions-it/MapStore2#9839 [Print] Ability to print image legend with an appropriate scale
- geosolutions-it/MapStore2#9825 Options to enable mapInfo highlight by default
- geosolutions-it/MapStore2#9586 Persist timeline animation settings when saving a map
- geosolutions-it/MapStore2#9889 Unable to export map configuration in context manager
- geosolutions-it/MapStore2#9920 Issue editing WMS layers style on 3D view
- geosolutions-it/MapStore2#9937 [Annotation] Circle radius is modified when saving the annotation
- geosolutions-it/MapStore2#9326 Fixed propertyName override
- geosolutions-it/MapStore2#8913 Fix commit link in projects
- geosolutions-it/MapStore2#9331 Add geoJSONtoWKT conversion and fixed error in sidebar
- geosolutions-it/MapStore2#9333 Minor improvements and updates to readthedocs.io and mkdocs configs
- geosolutions-it/MapStore2#9311 - populate search bar on select
- geosolutions-it/MapStore2#9301 Support to configured formatters and quick filters in feature grid
- geosolutions-it/MapStore2#9274 Fixed highlight layer style
- geosolutions-it/MapStore2#9338 Add Google brand logo in addition to attribution for Photorealistic 3D Tiles
- geosolutions-it/MapStore2#9263 Geoprocessing tools
- geosolutions-it/MapStore2#9313 Error when 3D Tiles layer are not visible
- geosolutions-it/MapStore2#9346 Print plugin is not showing the printable area
- geosolutions-it/MapStore2#9348 Feature editor snapping not working
- geosolutions-it/MapStore2#9309 Adding reducer addTransformer feature to print module
- geosolutions-it/MapStore2#9335 Fix - Default permalink resource type is missing
- geosolutions-it/MapStore2#9241 Fix for Longitudinal profile new version
- geosolutions-it/MapStore2#9369 Setting up readthedocs build.os
- geosolutions-it/MapStore2#9332 Convert WPS download ROI geometries to WKT
- geosolutions-it/MapStore2#9205 Fix - Map details on context map intermittently disappears
- geosolutions-it/MapStore2#9346 ensure the zoom is always round before using it as index
- geosolutions-it/MapStore2#9366 Problems with Bearing measurement
- geosolutions-it/MapStore2#9363 Wrong scale value reported using the scroll wheel
- geosolutions-it/MapStore2#9362 3D Styling issue
- geosolutions-it/MapStore2#9422 Zoom level issue on OpenLayers
- geosolutions-it/MapStore2#9328 set resolve.fallback.http/https/zlib to false in webpack extension build config
- geosolutions-it/MapStore2#9310 Annotation not works with sideBarmenu
- geosolutions-it/MapStore2#9269 fix issue of correct map embed url in sharing map
- geosolutions-it/MapStore2#9163 Bug 3D Tiles offset with Google 3D tiles
- geosolutions-it/MapStore2#9275 Fix issue Invalid date on Firefox
- geosolutions-it/MapStore2#9319 Fix: Exception when printing a annotation (Polygon) with modified vertices
- geosolutions-it/MapStore2#9461: Fix UI issue in catalog tool using custom metadata template
- geosolutions-it/MapStore2#9434: Fix - Advanced map editing in geostory crashes the app
- geosolutions-it/MapStore2#9318 Print plugin - Ability to rotate the map
- geosolutions-it/MapStore2#9320 Support reading/loading of cloud-optimized geotiff (COG)
- geosolutions-it/MapStore2#9455 Longitudinal profile fixes
- geosolutions-it/MapStore2#9367 Fix review of geo processing tool
- geosolutions-it/MapStore2#9381 Fix image featureinfo
- geosolutions-it/MapStore2#9474 Fix adjusted geo processing locales
- geosolutions-it/MapStore2#9498 Longitudinal profile - can no longer print pdf due to tainted canvas map
- geosolutions-it/MapStore2#9473 fix longituindal profile issues - marker and dropup style issue
- geosolutions-it/MapStore2#9473 fix longituindal profile issues - marker offset
- geosolutions-it/MapStore2#9469: COG layer zoom to extent
- geosolutions-it/MapStore2#9508 Fix: Check projection defined when adding COG layer
- geosolutions-it/MapStore2#9515 Fix version used for log4j-slf4j-impl that was causing build issue
- geosolutions-it/MapStore2#9518 Fix Add GeoProcessing doc to the plugin config
- geosolutions-it/MapStore2#9522 Measure annotations issue on 3D mode
- geosolutions-it/MapStore2#9523 Geocarousel section - Click on marker issue
- geosolutions-it/MapStore2#9533 Problem placing widgets in map viewer
- geosolutions-it/MapStore2#9517 Fixed versions for release 2023.02.xx
- geosolutions-it/MapStore2#9364 Release 2023.02.00
- geosolutions-it/MapStore2#9254 Add parametric image parsing to template viewer
- geosolutions-it/MapStore2#9248 Import/export an application context
- geosolutions-it/MapStore2#9279 add icelandic and danish locale support
- geosolutions-it/MapStore2#9272 Fix - fork me on github plugin restored
- geosolutions-it/MapStore2#9287 Fix terser dependency
- geosolutions-it/MapStore2#8969 Update cesium to version 1.106.1
- geosolutions-it/MapStore2#9241 fixed longitudinal profile
- geosolutions-it/MapStore2#9250 Share plugin - Permalink functionality
- geosolutions-it/MapStore2#8927 can import geojson files as layer with query params
- geosolutions-it/MapStore2#9293 Update OpenLayers version 7.4.0
- geosolutions-it/MapStore2#8999 Included missing reducer in search plugin
- geosolutions-it/MapStore2#9001 Made project branch parametric
- geosolutions-it/MapStore2#9250 Save permalink description as metadata
- geosolutions-it/MapStore2#9303 Support for Generic geometry type recognition
- geosolutions-it/MapStore2#9287 Update Node/npm suggested version
- geosolutions-it/MapStore2#9285 support for CQL function parsing and XML conversion
- geosolutions-it/MapStore2#9306 Support for CQL_FILTER in LayerDownload plugin
- geosolutions-it/MapStore2#9251: Better handle of context access restriction
- geosolutions-it/MapStore2#9250: Error handler updated for missing category
- geosolutions-it/MapStore2#9314: Fix - Enhance show/hide attribute edit option on Layer
- geosolutions-it/MapStore2#9326 Fixed propertyName override
- geosolutions-it/MapStore2#8913 fix - commit link in projects
- geosolutions-it/MapStore2#9219 Allow to configure hidden columns in featuregrid
- geosolutions-it/MapStore2#9219: Feature grid in context creator
- geosolutions-it/MapStore2#9180 Attribute Table in read only mode
- geosolutions-it/MapStore2#9179 Include editing support to allowed user groups
- geosolutions-it/MapStore2#8974 Measure plugin is not detecting the correct map type
- geosolutions-it/MapStore2#8973 It is not possible to close the Measure tool when burger menu is configured in a Context
- geosolutions-it/MapStore2#8972 Application crashes in mobile if dashboard maps are generated with an id starting with a number
- geosolutions-it/MapStore2#8982 Issues between charts and filters
- geosolutions-it/MapStore2#8334 Persist viewer type in the map configuration
- geosolutions-it/MapStore2#9011 Persist 3D map orientation after saving a map
- geosolutions-it/MapStore2#7865 improve metadata display interoperability with mapserver/mapproxy
- geosolutions-it/MapStore2#9016: Fix - Catalog panel mode reset on changing map
- geosolutions-it/MapStore2#9014: Fix - Crash on new context when expanding search service options
- geosolutions-it/MapStore2#9036: Fix - Catalog mode and result retention
- geosolutions-it/MapStore2#8905 Allow to set singletile option on a wms catalog entry
- geosolutions-it/MapStore2#9006 wms legend from mapserver not available in 3d mode because of wrong empty scale parameter
- geosolutions-it/MapStore2#9050 Handle filters array on LOAD_FITLTER action
- geosolutions-it/MapStore2#8167 add serverType option to wms & csw catalog entries
- geosolutions-it/MapStore2#9041 [fr-FR] fix tooltip for singleTile option
- geosolutions-it/MapStore2#8055 allow to load 3dtiles tileset via viewer parameters
- geosolutions-it/MapStore2#9031 GetMap format list in GetCapabilities not respected
- geosolutions-it/MapStore2#9034: Fix - Spinner no longer appear when saving a resource
- geosolutions-it/MapStore2#9031 Ensure WMS layer format is still visible after saving a map
- geosolutions-it/MapStore2#9067 clamp to ground changes for 3d tiles in Fill rule
- geosolutions-it/MapStore2#9075. Handle cases when domain is not in format start--end
- geosolutions-it/MapStore2#9020 Change style for 3D tiles or WFS layer on geostory and dashboard
- geosolutions-it/MapStore2#9085 isNull Filter
- geosolutions-it/MapStore2#8965 Allow map widgets also in 3D mode
- geosolutions-it/MapStore2#9058 Icon 1-group-mod is wrong
- geosolutions-it/MapStore2#9056 fixed content type for JSON content in put request
- geosolutions-it/MapStore2#9120 Layer settings performance improvement
- geosolutions-it/MapStore2#9122. LocalizedInput component implementation
- geosolutions-it/MapStore2#9134 improve getFeatureInfo requests interoperability with mapserver & IGN french services
- geosolutions-it/MapStore2#9126 Improve handling of supported GetFeatureInfo formats
- geosolutions-it/MapStore2#9125 Implementation of alias editor and usage in feature grid
- geosolutions-it/MapStore2#9136 Save layer's fields in map
- geosolutions-it/MapStore2#9140 Query panel and LayerFilter alias support
- geosolutions-it/MapStore2#9142 Support for alias in visual style editor
- geosolutions-it/MapStore2#9141 Support for alias in feature info tool
- geosolutions-it/MapStore2#9150. Support for alias in widgets
- geosolutions-it/MapStore2#8967 & geosolutions-it/MapStore2#8968 3D Measurement to vector layer and export
- geosolutions-it/MapStore2#9156 Fix empty alias defaults
- geosolutions-it/MapStore2#9158 Changes to support Google photorealistic 3D tiles
- geosolutions-it/MapStore2#9159 Map views mask is not working
- geosolutions-it/MapStore2#9166 Add search plugin to context creator map
- geosolutions-it/MapStore2#9154 Fixed map crash when expanding timeline with time intervals
- geosolutions-it/MapStore2#9025 WMS caching with custom scales (projection resolutions strategy)
- geosolutions-it/MapStore2#9189 3d height from terrain not working with cesium terrain provider
- geosolutions-it/MapStore2#9164 Map views clipping throws error with geometry preview
- geosolutions-it/MapStore2#9025 WMS caching with custom scales (custom resolutions strategy from WMTS)
- geosolutions-it/MapStore2#9197 Disable apply media editor button while loading a selected item
- geosolutions-it/MapStore2#9025 Available tile grids popup always reports mismatch in geostories and dashboards
- geosolutions-it/MapStore2#9193 Add a cache options checks/info also for default WMS tile grid
- geosolutions-it/MapStore2#9208 Timeline map sync does not update for time ranges visualization
- geosolutions-it/MapStore2#9147 Issue in chart creation from feature grid
- geosolutions-it/MapStore2#9176 Make Map Views tool progress bar more evident
- geosolutions-it/MapStore2#9025 add caching options to wms background settings
- geosolutions-it/MapStore2#9203 Swipe tool UI to be fixed
- geosolutions-it/MapStore2#9139: Fix - New WFS layers no longer visible in dashboards
- geosolutions-it/MapStore2#9172 add flag to always select first layer in toc in identify results
- geosolutions-it/MapStore2#9219: Fix - Session restoration on reload by statically loading FeatureEditor
- geosolutions-it/MapStore2#9241 Longitudinal profile plugin
Documentation update
- geosolutions-it/MapStore2#9559 Update mapstore-migration-guide.md
- geosolutions-it/MapStore2#9675 Update User Guide - Add Point cloud shading options
- geosolutions-it/MapStore2#9764 User Guide - Add Format and Information sheet format fields
- geosolutions-it/MapStore2#9596 Documentation update for COG
- geosolutions-it/MapStore2#9873 Update User Guide - Icon Width and Height options on print legend
- geosolutions-it/MapStore2#9855 User Guide - Add GeoProcessing work with Vector layers
- geosolutions-it/MapStore2#9328 Update User Guide - Add Permalink tool
- geosolutions-it/MapStore2#9334 Update database-setup.md
- geosolutions-it/MapStore2#9165 Update User Guide - Parametric image to template
- geosolutions-it/MapStore2#9299 Update User Guide - Add WPS process
- geosolutions-it/MapStore2#9344 Adding clause in documentation for google photorealistic 3D tiles
- geosolutions-it/MapStore2#9476 User Guide - Change video for Images management in Identify template
- geosolutions-it/MapStore2#9475 Update User Guide - Add Rotation option in Print tool
- geosolutions-it/MapStore2#9482 Update User Guide - Add COG catalog option
- geosolutions-it/MapStore2#9501 User Guide - Add layer zoom to extent option for COG service
- geosolutions-it/MapStore2#9343 User Guide - Add Geoprocessing Tools section
- geosolutions-it/MapStore2#9506 Fixing reference to dev guide in catalog
- geosolutions-it/MapStore2#9284 Update User Guide - Add parametric image parsing to template viewer
- geosolutions-it/MapStore2#9283 Update User Guide - import/export an application context
- geosolutions-it/MapStore2#9281 Update User Guide - Longitudinal profile plugin
- geosolutions-it/MapStore2#9328 Update User Guide - Add Permalink tool
- geosolutions-it/MapStore2#9171 Update User Guide - Alias documentation
- geosolutions-it/MapStore2#9206 Update User Guide - Add the custom tile grids
- geosolutions-it/MapStore2#9177 Update User Guide - Height offset option on display tab
- geosolutions-it/MapStore2#9240 Update User Guide - Add Attribute Table in read only mode
- geosolutions-it/MapStore2#8984 Update User Guide - Add Feature Grid filter by viewport
- geosolutions-it/MapStore2#9171 Update User Guide - Set singletile and server type options on a wms catalog entry
- geosolutions-it/MapStore2#9081 Update User Guide - Clamp to ground for polygons
- geosolutions-it/MapStore2#9112 Update User Guide - New icon group-mod
MapStore documentation**
MapStore latest documentation to use as a reference:
Involved migration guidelines for this RC:
Docker Image
Configuration changes
new.json
changes
To configure COG
layer as background. A configuration similar to one shown below has to be added to new.json
{
...
"layers":{[
...
+ {
+ "type": "cog",
+ "title": "Cloud optimized geotiff",
+ "visibility": false,
+ "sources": [{
+ "url": "https://example.com/coglayer.tif"
+ }],
+ "group": "background"
+ }
...
]}
localConfig.json
changes
If the localConfig.json
has been customized:
- You will have to remove the following entry from
initialState
.
- "maptype": {
- "mapType": "{context.mode === 'desktop' ? 'openlayers' : 'leaflet'}"
- },
- To see advanced settings of Share plugin to center and zoom on a map
"cfg": { ... "advancedSettings": { .... + "centerAndZoom": true } }
- To show
Delete
menu option in Geostory and Dashboard- In
dashboards
"dashboards": [{ .... + "DeleteDashboard" .... }]
- In
geostory
"geostory": [{ .... + "DeleteGeoStory" .... ]}
- In
- To properly reproject the COG layer, the
projectionDefs
array must be updated with the projection configuration required for the COG layers - Also COG layer can be added as static background service to catalog under
initialState.defaultState.catalog.default
{
...
"staticServices": {
"default_map_backgrounds": {
...
"backgrounds":[{
...
+ {
+ "type": "cog",
+ "title": "Cloud optimized geotiff",
+ "visibility": false,
+ "sources": [{
+ "url": "https://example.com/coglayer.tif"
+ }],
+ "group": "background"
+ }
...
}]
}
}
- To visualize the catalog service option to add
COG
layers, the following configuration change has to be made in theMetadataExplorer
plugin
{
...
{
"name": "MetadataExplorer",
"cfg": {
"zoomToLayer": false,
"wrap": true,
+ "serviceTypes": [
+ { "name": "csw", "label": "CSW" },
+ { "name": "wms", "label": "WMS" },
+ { "name": "wmts", "label": "WMTS" },
+ { "name": "tms", "label": "TMS", "allowedProviders": ["OpenStreetMap", "OpenSeaMap", "Stamen"] },
+ { "name": "wfs", "label": "WFS" },
+ { "name": "3dtiles", "label": "3D Tiles" },
+ { "name": "cog", "label": "COG" }
+ ]
}
...
- To enable import and export on Context. Please add the following to
context-creator
{
"context-creator": {
...
+ "ContextImport",
+ "ContextExport"
...
}
- To activate the
permalink
and support redirection functionality, you must add a newpermalink
section to plugins root object oflocalConfig.json
, as shown below
{
"monitorState": [
...
+ {"name": "userrole", "path": "security.user.role"},
...
],
...
+ "permalink": [
+ "Permalink",
+ "FeedbackMask"
+ ]
...
}
- To make Permalink tab visible on the Share panel, the following changes has to be made on the respective modes
{
"desktop": [
...
+ "Permalink",
...
],
"dashboard": [
...
+ "Permalink",
...
],
"geostory": [
...
+ "Permalink",
...
]
}
pluginConfig.json
changes
- Add Permalink plugin configuration to the root and modify Share plugin as shown below to allow
Permalink
in context-creator plugin configuration
{
...
{
"name": "Share",
"glyph": "share",
"title": "plugins.Share.title",
"description": "plugins.Share.description",
"dependencies": [
"SidebarMenu"
],
+ "children": [
+ "Permalink"
+ ],
+ "autoEnableChildren": [
+ "Permalink"
+ ]
},
+ {
+ "name": "Permalink",
+ "glyph": "link",
+ "title": "plugins.Permalink.title",
+ "description": "plugins.Permalink.description"
+ }
...
}
app.jsx
changes
- The app pages must be updated with a new entry to allow
permalink
handling and redirection
+ import Permalink from '@mapstore/product/pages/Permalink';
const appConfig = {
...
pages: [
// my custom pages ...,
+ {
+ name: "permalink",
+ path: "/permalink/:pid",
+ component: Permalink
+ }
]
};
Database Update
-
The database of MapStore should be automatically updated with the creation of the new tables and necessary schema changes. If the auto-update of the database do not work (e.g. some database permission issue in some custom installation) apply the migration script here as an alternative
-
Add new category PERMALINK to
gs_category
table. To update your database you need to apply this SQL scripts to your databaseNote: If the category is missing, MapStore will attempt to create
Permalink
category when creating the first permalink on the applicationPostgreSQL
-- New PERMALINK category INSERT INTO geostore.gs_category(id, name) VALUES (nextval('geostore.hibernate_sequence'), 'PERMALINK') ON CONFLICT DO NOTHING;
H2
-- New PERMALINK category INSERT INTO gs_category(name) VALUES ('PERMALINK');
Oracle
-- New PERMALINK category INSERT INTO gs_category(id, name) VALUES (hibernate_sequence.nextval, ‘PERMALINK');
Log4J migration to Log4j2
- If the file
log4j.properties
in data directory has been customized, it is necessary to replace it with a new file having a different name:log4j2.properties
.
The new file uses a new syntax.
Here an example of the new syntax. See https://logging.apache.org/log4j/2.x/manual/migration.html for migration gudes.
rootLogger.level = INFO
appenders= console, file
appender.console.type = Console
appender.console.name = LogToConsole
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %p %d{yyyy-MM-dd HH:mm:ss.SSS} %c::%M:%L - %m%n
rootLogger.appenderRef.stdout.ref = LogToConsole
rootLogger.appenderRef.console.ref = LogToConsole
appender.file.type = File
appender.file.name = LogToFile2
appender.file.fileName=${sys:catalina.base}/logs/mapstore.log
appender.file.layout.type=PatternLayout
appender.file.layout.pattern=%p %d{yyyy-MM-dd HH:mm:ss.SSS} %C{1}.%M() - %m %n
rootLogger.appenderRef.file.ref = LogToFile2
logger.restsrv.name=it.geosolutions.geostore.services.rest
logger.restsrv.level= INFO
logger.hibernate1.name=org.hibernate
logger.hibernate1.level=INFO
logger.trg1.name=com.trg
logger.trg1.level=INFO
Full Changelog
2022.02.02-geOrchestra...2023.02.00-geOrchestra