Repository navigation
#9241 long profile tool - #9253
Conversation
There was a problem hiding this comment.
I wasn't able to test the upload and the 3D extensively. Anyway I found the following issues.
- Upload file doesn't work.
screencast-localhost_8081-2023.06.27-12_31_25.webm
-
The info tab uses Icons, but it is not clear what are the values. Add at least some labels here, what are the values shown? For instance my first impression was that the arrows indicate max and min altitude, but they indicate the active and passive differences in altitude.
-
"Points" string is not localized (see screen above)
-
the marker is not aligned in 3d mode
screencast-localhost_8081-2023.06.27-12_33_00.webm
- Maximize do not fit the window, overlaps on the right
screencast-localhost_8081-2023.06.27-12_34_04.webm
- When I draw a profile, the geometry is centered without taking into account the panel displacement. Fix this or otherwise is better to not center the geometry at all.
screencast-localhost_8081-2023.06.27-12_57_09.webm
- When I draw outside, I see there is a process failure, but it is not notified to the user. ( Maybe I missed some notifications?
screencast-localhost_8081-2023.06.27-13_00_04.webm
- You regenerated the icons, but apparently no new icon has been added to the proper folder. Please commit also the new icon or revert your chnages to the iconset.
| import {getLayerTitle} from "../utils/LayersUtils"; | ||
| import {currentLocaleSelector} from "./locale"; | ||
|
|
||
|
|
There was a problem hiding this comment.
Not needed new line
|
Here my further feedback on points highlighted above
It was working before, maybe a regression from the previous PR status
I can agree. I can provide 2 options for this:
I agree. thank you for notifying that @offtherailz
I agree. thank you for notifying that @offtherailz
I agree. thank you for notifying that @offtherailz
I assume you would like to have the same of widgets. In this case I agree with that. fully covering the UI is not so nice.
I agree.
This is something we have to definitely handle well. In these cases (and this also happens for example if you load a DXF file specifying a wrong projection) the WPS return with an exception like this one: We have to properly handle the ows:ExceptionReport and notify the user with a popup message in the middle of the screen as we usually do for other plugins.
I've nothing to say in this regard. |
There was a problem hiding this comment.
- fix failing tests
- fix inconsistent state of UI (tabs with emtpy chart and empty data in both tabs) when drawing out of the box

- I noticed that selection of lines in 3d do not work
screencast-localhost_8081-2023.06.28-10_07_57.webm maybe is better to disable it at all? - Inline comments
- icon changes are still present.
Minor things
- PDF may contain also the info shown in the info tab.
- PDF on full screen overflows the page size and goes in the next page, like this. I suggest to reduce a little the vertical size of the chart to make the pdf generate at full screen a 1 page result (or if you need to add the info too, you will need 2 pages, so you can ignore this point.
Longitudinal profile (2).pdf - Selection of the layer. SelectionThis should be better in recognize the two steps (otherwise Selected label" appended string looks strange.

I suggest to show: - IF layer is not selected ""Please select layer in TOC and click on the line feature to generate profile",
- IF layer is selected: ".Selected layer: {layerName}
Click on the line feature to generate the profile."
5240298 to
8ec4bbf
Compare
These two points can be excluded for the moment. @offtherailz please can you review again? |



Description
This pr introduce a new plugin called longitudinal plugin that works in combination of a new wps process gs:LongitudinalProfile that can be found here
to review this locally i suggest to install that jar in a local geoserver proxying to it and publish sfdem layer too,, you can found it here
also by default this is not enabled in main viewer and
can only added in a context
it should also not conflict with the current similar implementation here
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
#9241
What is the new behavior?
Now you can use the longitudinal profile plugin needs wps on geoserver
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information