diff --git a/CHANGELOG.md b/CHANGELOG.md index 410ab6ee2..ef4b71faa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,29 @@ ### Fixed +--- + +## v2.43.0 - 2024-03-06 + +### Changed +- StreetSmart: if started as control, it is not available in 3D mode. + +--- +## v2.42.0 - 2024-02-07 + +### Fixed +- SchoolRoutePlanning: Fixed showing the route with OL 8.2.0. + +--- +## v2.41.2 - 2024-01-18 +### Fixed +- Boris: In the Calculation tab, the building position is only displayed for EFH + +--- +## v2.39.0 - 2023-11-01 +### Added +- The new addon [statisticDashboard](https://bitbucket.org/geowerkstatt-hamburg/addons/src/dev/statisticDashboard/) A tool to display statistical data. Further details: [statisticDashboard documentation](https://bitbucket.org/geowerkstatt-hamburg/addons/src/dev/statisticDashboard/doc/config.json.md) + --- ## v2.34.0 - 2023-06-07 ### Changed diff --git a/addonsConf.json b/addonsConf.json index 0cee5f48b..6d20df6b6 100644 --- a/addonsConf.json +++ b/addonsConf.json @@ -213,5 +213,9 @@ }, "wholeCityList": { "type": "tool" + }, + "TemplateAdmin": { + "path": "cosi/TemplateAdmin", + "type": "tool" } } diff --git a/boris/components/BorisComponent.vue b/boris/components/BorisComponent.vue index 2c25744a9..1a60f70f9 100644 --- a/boris/components/BorisComponent.vue +++ b/boris/components/BorisComponent.vue @@ -19,8 +19,17 @@ export default { FloorComponent }, computed: { - ...mapGetters("Tools/BorisComponent", ["active", "id", "icon", "renderToWindow", "resizableWindow", "initialWidth", "initialWidthMobile", "keepOpen", "filteredLayerList", "isAreaLayer", "isStripesLayer", "textIds", "selectedPolygon", "selectedLayerName", "selectedLanduse", "selectedBrwFeature", "convertedBrw", "buttonValue", "buildingDesigns", "positionsToStreet", "selectedOption", "isProcessFromParametricUrl", "paramUrlParams"]), - ...mapGetters("Tools/Print", ["printFileReady", "fileDownloadUrl", "filename", "printStarted", "progressWidth"]), + ...mapGetters("Tools/BorisComponent", [ + "active", "id", "icon", "renderToWindow", "resizableWindow", "initialWidth", + "initialWidthMobile", "keepOpen", "filteredLayerList", "isAreaLayer", + "isStripesLayer", "textIds", "selectedPolygon", "selectedLayerName", + "selectedLanduse", "selectedBrwFeature", "convertedBrw", "buttonValue", + "buildingDesigns", "positionsToStreet", "isProcessFromParametricUrl", + "paramUrlParams", "selectedBuildDesign", "selectedPositionToStreet" + ]), + ...mapGetters("Tools/Print", [ + "printFileReady", "fileDownloadUrl", "filename", "printStarted", "progressWidth" + ]), /** * Gets a list of layers without the stripes-layers * @return {Array} filteredListWithoutStripes which is used to select by date @@ -89,8 +98,7 @@ export default { newValue === "GR Grünland" || newValue === "EGA Erwerbsgartenanbaufläche" || newValue === "F forstwirtschaftliche Fläche" || - newValue === "LAD Läden (eingeschossig)" - ) { + newValue === "LAD Läden (eingeschossig)") { if (oldValue === "MFH Mehrfamilienhäuser" || oldValue === "GH Geschäftshäuser (mehrgeschossig, Wertanteil Erdgeschoss)" || oldValue === "BH Bürohäuser") { @@ -98,6 +106,12 @@ export default { } } } + if (newValue === "EFH Ein- und Zweifamilienhäuser") { + this.setSelectedBuildDesign("eh Einzelhaus (freistehend)"); + } + else { + this.setSelectedBuildDesign(""); + } this.matchPolygonFeatureWithLanduse({feature: this.selectedPolygon, selectedLanduse: newValue}); } }, @@ -128,8 +142,8 @@ export default { } }, selectedLayerName () { - this.setBuildingDesigns(["eh Einzelhaus (freistehend)", "dh Doppelhaushälfte", " dd Doppelhaus (ganzes Doppelhaus)", "rm Reihenmittelhaus", "rm Reihenmittelhäuser", "re Reihenendhaus", "g geschlossene Bauweise", "a abweichende Bauweise (Gartenhofhaus)"]); - this.setPositionsToStreet(["F Frontlage", "E Ecklage", "P Pfeifenstielgrundstück", "H Hinterlage (in 2. Reihe durch Wegerecht erschlossen)"]); + this.setBuildingDesigns(this.buildingDesigns); + this.setPositionsToStreet(this.positionsToStreet); } }, created () { @@ -179,15 +193,28 @@ export default { } }, /** - * Handles option-change for individual property conversion + * Handles option-change of the building design for the individual property conversion + * @param {String} event the selected option + * @param {String} subject contains subject information for the select: building design oder position to street + * @returns {void} + */ + handleBuildingDesignOptionChange (event, subject) { + const eventValue = event.target.value; + + this.setSelectedBuildDesign(eventValue); + this.updateSelectedBrwFeature({converted: subject, brw: eventValue}); + this.sendWpsConvertRequest({state: this}); + }, + /** + * Handles option-change of positon to street for the individual property conversion * @param {String} event the selected option * @param {String} subject contains subject information for the select: building design oder position to street * @returns {void} */ - handleOptionChange (event, subject) { + handlePositionToStreetOptionChange (event, subject) { const eventValue = event.target.value; - this.setSelectedOption(eventValue); + this.setSelectedPositionToStreet(eventValue); this.updateSelectedBrwFeature({converted: subject, brw: eventValue}); this.sendWpsConvertRequest({state: this}); }, @@ -343,30 +370,30 @@ export default { class="d-flex mb-2" >