Open jkall opened 5 years ago
This works as expected, but might need a clarification:
Maybe it could be solved by a bar message saying that no line layer was selected and that obsids will be lined up at equal distances instead?
One way could be to create a virtual line layer if its not selected and sample dem:s from that one (as well as line up the obsids according to it), but this is not how it works at the moment.
The plot is very useful now in docked mode as an added advantage of the new design.
Yes, a useful feature. Documentation is needed. A short notice in message bar would be nice. When this is included in master branch then the wiki needs to be updated as well. New screenshots and etc. A good starting issue to fix for non-developers if someone wants to contribute.
Added an info message about it.
Good morning Henrik and Joseph I'm Stefano from ARPAT, the new feature of section plot is very useful but unlucky it does actually a problem. I have selected one obs_line and some obs_points but obtain alternatively:
I'm not able, as in previous, to draw obs_points bars end dem trace by obs_line together. Where I wrong ?
Thank you very much in advance
Stefano
Hi! I'm not sure why you get that problem.
First, check if you have followed these steps:
Do you still get the problem?
Regards, Henrik
Hi Henrik I'm sure all the Stephen are done. It's really strange my Qgis is Hannover ltr. Bars and dem profile work separate but not together Ottieni BlueMail per Android Il giorno 15 Mar 2021, alle ore 14:09, HenrikSpa @.***> ha scritto:
Hi!
I'm not sure why you get that problem.
First, check if you have followed these steps:
system. WGS84 doesn't work.
stratigraphy and are located in proximity to your profile line layer. (if
they are located far away from the line, they might be projected at the
first or last line node, if that node happens to be the closest one).
Select your line layer (obs_lines) and select the line you want to use.
Start the plot.
On the settings tab, select a dem layer under "Digital Elevation Models"
and choose Layers > Geology under "Bars". Also check that you have a
barwidth > 0.0.
Do you still get the problem?
Regards,
Henrik
Probably the problem stay in and old version of midvattdn db. I have this warning: _2021-03-19T16:08:33 INFO The database version appears to be older than 1.6.3. An upgrade is suggested! See https://github.com/jkall/qgis-midvatten-plugin/wiki/6.-Database-management#upgrade-database__ I've tried the instruction to upgrade it but they do not work _2021-03-19T16:08:44 CRITICAL Usage error: The layer obs_lines was not found! I'll do manually :-)
If you manage to update the database and it still doesn't work, please let me know and we can look at the problem again!
Thamk you very much Henrik I don't understand, I've imported in new sqlite obs_points, stratigraphy and draw a line but it still do not work. Again I can visualize in profile bar when obs_points is active and I've no possibilities to select dem or obs_lines with dem trace but with no bars. I've attached mi old mico_old.sqlite and new mico_new.sqlite database. removed removed I am very grateful to you
Stefano
I've found the problem starting from a new midvatten db with two only logs and a simple section. As you can see prgrma do not recognize obs_points layer. Why ? Probably has to do with new view_obs_points ? error.pdf
Here my simple midv removed
I loaded your supplied mico.sqlite and bottom.tif using Midvatten version 1.6.4 and QGIS version 3.16.3-Hannover.
Everything seems to work for me!
I loaded the Midvatten database using:
5. I made sure the layer bottom.tif is visible. This is mandatory!
I get both the line representing the bottom and the stratigraphy.
I was wrong about my step 5. It's no longer mandatory to have the DEM visible for it to work. It works while its not visible also.
One more thing!
Make sure you only have exactly ONE layer named obs_points and ONE layer named obs_lines in the layer list in QGIS!
I've developed too a new qgis project with only mico.sqie and bottom tif and everything work also for me :-) Probably there is some problem on old qgis project.
Thank you very much Henrik, and as always grateful to have given big future to my dear old Dbgeo :-D :-D
Good evening and weekend,
At soon,
Stefano
This issue affects the "simon_merge" branch.
This branch allows the user to invoke section plot independently of if a polyline layer is the active layer. This might be OK, if it is obvious which of all layers that contains the profile defining the section to be plotted. But it may be difficult for the user to know how to define which is the profile line to be used for section plot.
But it also seems that something more is missing, because whenever a section plot is invoked without polyline layer activated, there are no digital elevation models listed in the section plot ui. On the other hand, if the section plot is invoked with a polyline layer activated, then the single band rasters are listed among possible digital elevation models.
Besides from this bug, the new section plot design which is found in the simon_merge branch is a great enhancement, far superior to the previous design.