Hi,

Try  "layer@1" * -1   and not (layer@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@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 
> [email protected]
> 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.
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to