[Qgis-user] problem with raster calculator

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Fri May 15 06:41:20 PDT 2015


Hi,

Try  "layer at 1" * -1   and not (layer at band1 * -1).

Nicolas

Le 2015-05-15 05:22, Giacomo Fontanelli-2 [via OSGeo.org] a écrit :
> Dear forum
>
> here is my problem.
>
> I've got a raster layer with pixel value ranging from -8 to -15.
>
> I found that Qgis fails when I do (layer at band1 * -1) because it 
> produces a map with only NaN.
>
> I can do any operation except multiplication by a negative number.
>
> Can you help me?
>
> Thank you
>
> _______________________________________________
> Qgis-user mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=5205883&i=0>
> 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/problem-with-raster-calculator-tp5205883.html 
>
> To start a new topic under Quantum GIS - User, email 
> ml-node+s1560n4125267h38 at n6.nabble.com
> To unsubscribe from Quantum GIS - User, click here 
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4125267&code=bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg==>.
> NAML 
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> 
>





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/problem-with-raster-calculator-tp5205883p5205915.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/20150515/ea6947f5/attachment.html>


More information about the Qgis-user mailing list