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

Ln (natural logarithm) button in Raster Calculator #20233

Closed
qgib opened this issue Jan 21, 2015 · 2 comments
Closed

Ln (natural logarithm) button in Raster Calculator #20233

qgib opened this issue Jan 21, 2015 · 2 comments
Labels
Feature Request Rasters Related to general raster layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Jan 21, 2015

Author Name: Mark Cresswell (Mark Cresswell)
Original Redmine Issue: 12030

Redmine category:raster_calculator


It would be great if an 'Ln' logarithm function was available in the Raster Calculator. This would allow temperature and other geophysical parameters to be calculated from thermal radiance bands. The plugin 'RasterCalc' solved this for older versions of QGIS, but is not compatible with the current release.

@qgib
Copy link
Contributor Author

qgib commented Mar 24, 2015

Author Name: George Rodrigues da Cunha Silva (George Rodrigues da Cunha Silva)


This is true. I'm developing a plugin that obviously depends on such calculation.

For what I can see in the repository, it seems simple to implement, but I do not have c++ skills or the environment to properly rig everything and do all the testing.

These are the supported nodes:

https://github.com/qgis/QGIS/blob/release-2_8/src/analysis/raster/qgsrastercalcnode.h#L38

We should support log and logn.

This is where the magic happens:

https://github.com/qgis/QGIS/blob/release-2_8/src/analysis/raster/qgsrastermatrix.cpp

@qgib
Copy link
Contributor Author

qgib commented Mar 24, 2015

Author Name: Jürgen Fischer (@jef-n)


implemented in 7019db8


  • resolution was changed from to fixed/implemented
  • fixed_version_id removed Future Release - High Priority
  • status_id was changed from Open to Closed

@qgib qgib added Feature Request Rasters Related to general raster layer handling (not specific data formats) labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Rasters Related to general raster layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant