Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behavior of "Fill Above" and "Fill Below" in profile tool #54422

Closed
1 of 2 tasks
fiddlersfan opened this issue Aug 30, 2023 · 0 comments · Fixed by #54642
Closed
1 of 2 tasks

Unexpected behavior of "Fill Above" and "Fill Below" in profile tool #54422

fiddlersfan opened this issue Aug 30, 2023 · 0 comments · Fixed by #54642
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Profile tool

Comments

@fiddlersfan
Copy link
Contributor

What is the bug or the crash?

If you use a raster with nan values in the new profile tool, they will be displayed correctly in the line view. In those places a gap is displayed. In the "Fill above" and "Fill below" mode, however, the nan values are not displayed as a gap but a continuous polygon is created. Here I would actually expect that the space in between with nan values remains empty and only the space below real values is filled.

"Line":

grafik

"Fill Below":

grafik

Steps to reproduce the issue

  1. Load any raster data with nan values into qgis
  2. Draw the profile section through areas with values and with nan values
  3. Switch "Profile Chart Appearance" between "Line" and "Fill below"

Versions

<style type="text/css"> p, li { white-space: pre-wrap; } </style>
QGIS-Version 3.32.2-Lima QGIS-Codeversion c0b8833
Qt-Version 5.15.3
Python-Version 3.9.5
GDAL-Version 3.7.1
PROJ-Version 9.2.1
EPSG-Registraturdatenbankversion v10.088 (2023-05-13)
GEOS-Version 3.12.0-CAPI-1.18.0
SQLite-Version 3.41.1
PDAL-Version 2.5.5
PostgreSQL-Client-Version 15.2
SpatiaLite-Version 5.1.0
QWT-Version 6.1.6
QScintilla2-Version 2.13.1
BS-Version Windows 10 Version 2009
       
Aktive Python-Erweiterungen
Coordtransform 1.1
latlontools 3.6.4
mup_functions 0.5
plugin_reloader 0.9.1
profiletool 4.2.2
qfieldsync v4.1.1
QuickOSM 2.0.1
searchlayers 3.0.10
db_manager 0.1.20
MetaSearch 0.3.6
processing 2.12.99
QGIS-Version 3.32.2-Lima QGIS-Codeversion [c0b8833](https://github.com/qgis/QGIS/commit/c0b8833964) Qt-Version 5.15.3 Python-Version 3.9.5 GDAL-Version 3.7.1 PROJ-Version 9.2.1 EPSG-Registraturdatenbankversion v10.088 (2023-05-13) GEOS-Version 3.12.0-CAPI-1.18.0 SQLite-Version 3.41.1 PDAL-Version 2.5.5 PostgreSQL-Client-Version 15.2 SpatiaLite-Version 5.1.0 QWT-Version 6.1.6 QScintilla2-Version 2.13.1 BS-Version Windows 10 Version 2009

Aktive Python-Erweiterungen
Coordtransform
1.1
latlontools
3.6.4
mup_functions
0.5
plugin_reloader
0.9.1
profiletool
4.2.2
qfieldsync
v4.1.1
QuickOSM
2.0.1
searchlayers
3.0.10
db_manager
0.1.20
MetaSearch
0.3.6
processing
2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@fiddlersfan fiddlersfan added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Aug 30, 2023
benoitdm-oslandia added a commit to benoitdm-oslandia/QGIS that referenced this issue Oct 20, 2023
benoitdm-oslandia added a commit to benoitdm-oslandia/QGIS that referenced this issue Oct 20, 2023
benoitdm-oslandia added a commit to benoitdm-oslandia/QGIS that referenced this issue Oct 31, 2023
benoitdm-oslandia added a commit to benoitdm-oslandia/QGIS that referenced this issue Nov 2, 2023
benoitdm-oslandia added a commit to benoitdm-oslandia/QGIS that referenced this issue Dec 5, 2023
benoitdm-oslandia added a commit to benoitdm-oslandia/QGIS that referenced this issue Dec 5, 2023
benoitdm-oslandia added a commit to benoitdm-oslandia/QGIS that referenced this issue Dec 20, 2023
ptitjano pushed a commit to benoitdm-oslandia/QGIS that referenced this issue Jan 26, 2024
benoitdm-oslandia added a commit to benoitdm-oslandia/QGIS that referenced this issue Feb 12, 2024
benoitdm-oslandia added a commit to benoitdm-oslandia/QGIS that referenced this issue Mar 12, 2024
nyalldawson pushed a commit to nyalldawson/QGIS that referenced this issue Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Profile tool
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants