<div dir="ltr"><div dir="ltr">qgis-user donde hiciste cross-postign es una lista en ingles... hay que escribir en ingles alli'<div><br></div><div>a pesar de esto... a la primera busqueda me sale la solucion</div><div><a href="https://stackoverflow.com/questions/13589390/how-to-use-numpy-where-with-logical-operators">https://stackoverflow.com/questions/13589390/how-to-use-numpy-where-with-logical-operators</a></div><div><br></div><div>supongo buscaste verdad?</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature">Luigi Pirelli<br><br>**************************************************************************************************<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank">https://github.com/luipir</a><br>* Mastering QGIS 2nd Edition:<br>* <a href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition" target="_blank">https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition</a><br>* Hire me: <a href="http://goo.gl/BYRQKg" target="_blank">http://goo.gl/BYRQKg</a><br>**************************************************************************************************</div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, 27 Oct 2018 at 02:13, Eddison Araya <<a href="mailto:eddisonjose@gmail.com">eddisonjose@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hola!!<b> estoy usando el SCP PLUGING </b>y <b>en la calculadora de bandas de SCP </b>uso esta fórmula para mejorar una clasificación:<div><br></div><div><div><div><img src="cid:ii_jnqopwej1" alt="image.png" width="486" height="101"><br></div></div><div><br><div><p class="MsoNormal" style="text-align:justify;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496"><span style="font-size:12pt;line-height:107%">np.where("NDVI_1.tif">0.6,
2, "clasificacion1")</span></a></p><p class="MsoNormal" style="text-align:justify;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496"><span style="font-size:12pt;line-height:107%"><br></span></a></p><p class="MsoNormal" style="text-align:justify;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496"><span style="font-size:12pt;line-height:107%">Y me funciona muy bien! pero como puedo hacer para poner por ejemplo:  </span></a><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496" style="font-size:14.6667px"><span style="font-size:12pt;line-height:17.12px">np.where (</span></a><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496" style="font-size:11pt"><span style="font-size:12pt;line-height:107%"> </span></a><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496" style="font-size:14.6667px"><span style="font-size:12pt;line-height:17.12px">"NDVI_1.tif">0.6 & </span></a><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496" style="font-size:14.6667px"><span style="font-size:12pt;line-height:17.12px">"NDVI_1.tif"< 0.8, 2, </span></a><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496" style="font-size:14.6667px"><span style="font-size:12pt;line-height:17.12px">"clasificacion1") ?</span></a></p><p class="MsoNormal" style="text-align:justify;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496" style="font-size:14.6667px"><span style="font-size:12pt;line-height:17.12px">Pongo esa fórmula y me da error! no funciona y deseo poner un rango, que me clasifique entre 0.6 a 0.8 de NDVI</span></a></p><p class="MsoNormal" style="text-align:justify;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Gracias</p><p class="MsoNormal" style="text-align:justify;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><br></p><p class="MsoNormal" style="text-align:justify;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Eddison</p><p class="MsoNormal" style="text-align:justify;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><a name="m_5820778701596959751_m_2587756434805892962__Hlk492552496" style="font-size:14.6667px"><span style="font-size:12pt;line-height:17.12px"><br></span></a></p></div></div></div></div>
</div></div>
_______________________________________________<br>
QGIS-es mailing list<br>
<a href="mailto:QGIS-es@lists.osgeo.org" target="_blank">QGIS-es@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/qgis-es" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-es</a><br>
</blockquote></div>