[Qgis-user] Raster Calculator and LN
Nicolas Cadieux
nicolas.cadieux at archeotec.ca
Tue Mar 24 09:28:46 PDT 2015
Hi,
Could it be that for your layer, 0 = null? In that case, could this be the source of the problem? Try changing the null value to test... Just an idea.
Nicolas Cadieux M.Sc.
Les Entreprises Archéotec inc.
8548, rue Saint-Denis Montréal H2P 2H2
Téléphone: 514.381.5112 Fax: 514.381.4995
www.archeotec.ca
Le 2015-03-24 10:24, "george-silva [via OSGeo.org]" <ml-node+s1560n5195151h42 at n6.nabble.com> a écrit :
Hello everyone, It seems that we have a bug on raster calculator. I tried searching the web for this, but here's the story: I'm developing a plugin that makes extensive use of the raster calculator. So far so good. I can enter my custom expressions and it seems to be working fine. However one of my formulas contains a LN (natural log). So, to test this properly I've created a raster all with 1 value. The LN for 1 is 0, so the whole raster should be zeroed. The raster calculator, even while programming or using the software, tells me that the expression is valid. That's not the case. Questions: 1) Is LN not implemented in the raster calculator? Is implemented? What is the syntax? Is it documented? 2) Workarounds? Is it a bug? I'm trying to look my redmine password so I can file a bug or contribute with documents for testing. Thanks George -- George R. C. Silva SIGMA Consultoria ---------------------------- http://www.consultoriasigma.com.br/
_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-user
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Raster-Calculator-and-LN-tp5195151.html
To start a new topic under Quantum GIS - User, email ml-node+s1560n4125267h38@n6.nabble.com
To unsubscribe from Quantum GIS - User, click here .
NAML
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Raster-Calculator-and-LN-tp5195151p5195208.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150324/cd856e4a/attachment.html>
More information about the Qgis-user
mailing list