# Generate indices from 2 layers

**URL:** <https://community.pix4d.com/t/generate-indices-from-2-layers/12451>\
**Category:** General Ag Questions/Troubleshooting\
**Created:** [April 21, 2020, 9:48am UTC](https://community.pix4d.com/t/generate-indices-from-2-layers/12451 "2020-04-21T09:48:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![newtech.crieppam](https://avatars.discourse-cdn.com/v4/letter/n/977dab/32.png) [@newtech.crieppam](https://community.pix4d.com/u/newtech.crieppam)\
**Post date:** [April 21, 2020, 9:48am UTC](https://community.pix4d.com/t/generate-indices-from-2-layers/12451/1 "2020-04-21T09:48:10Z")

</div>

Good morning all!  
I just created 2 orthomosaics in Pix4DFields, one in RGB and the other in RE + NIR. No problem to create the VARI, NDRE and TGI indices. But if I want to create a new index using the 2 spectrum sources (for example NDVI), I cannot combine this information (NIR and RED).  
Is it impossible or did I forget to do something?  
Thank you for your reply

---

<div class="post-metadata">

**Author:** ![Fernanda\_Bosmediano](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/fernanda_bosmediano/32/323_2.png) [@Fernanda\_Bosmediano](https://community.pix4d.com/u/Fernanda_Bosmediano)\
**Post date:** [April 22, 2020, 1:21pm UTC](https://community.pix4d.com/t/generate-indices-from-2-layers/12451/2 "2020-04-22T13:21:18Z")

</div>

Hi,

Have you check our article: [Generate a vegetation index](https://support.pix4d.com/hc/en-us/articles/360000891623-Generate-a-vegetation-index) ? Maybe this can help you. There you can find that we can create custom indices depending on the available bands from your imported images, these are listed as buttons under _Reflectance Map Bands_ . We can generate more indices, but we do not have the feature of generating composite maps yet. However, you can generate bands separately by using formula red=red, and NIR=NIR by the index calculator and then use QGIS/ArcGIS to create the composite map with individual reflectance maps

Let us know if you have some more questions

Regards,

---

<div class="post-metadata">

**Author:** ![newtech.crieppam](https://avatars.discourse-cdn.com/v4/letter/n/977dab/32.png) [@newtech.crieppam](https://community.pix4d.com/u/newtech.crieppam)\
**Post date:** [April 22, 2020, 2:05pm UTC](https://community.pix4d.com/t/generate-indices-from-2-layers/12451/3 "2020-04-22T14:05:34Z")

</div>

Ok thank you for this info.  
I had already read the article on how to generate new indexes.  
I am testing Mapper in parallel, and I saw that we could make composite maps on this software. However, some functions (min, max are not available …)  
I will have to start in ARCGIS …

---

<div class="post-metadata">

**Author:** ![Fernanda\_Bosmediano](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/fernanda_bosmediano/32/323_2.png) [@Fernanda\_Bosmediano](https://community.pix4d.com/u/Fernanda_Bosmediano)\
**Post date:** [April 23, 2020, 6:40am UTC](https://community.pix4d.com/t/generate-indices-from-2-layers/12451/4 "2020-04-23T06:40:50Z")

</div>

Let us know how it goes. If you have some questions, please do not hesitate to contact us back

Have a nice day
