# The following 1 raster values do not have corresponding entries in the value map

**URL:** <https://community.naturalcapitalalliance.org/t/the-following-1-raster-values-do-not-have-corresponding-entries-in-the-value-map/5613>\
**Category:** Software Support\
**Tags:** pollination\
**Created:** [December 2, 2024, 4:44pm UTC](https://community.naturalcapitalalliance.org/t/the-following-1-raster-values-do-not-have-corresponding-entries-in-the-value-map/5613 "2024-12-02T16:44:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shamajuju](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@shamajuju](https://community.naturalcapitalalliance.org/u/shamajuju)\
**Post date:** [December 2, 2024, 4:44pm UTC](https://community.naturalcapitalalliance.org/t/the-following-1-raster-values-do-not-have-corresponding-entries-in-the-value-map/5613/1 "2024-12-02T16:44:26Z")

</div>

#### What is the issue or question you have?

The Crop Pollination model won’t run. I keep getting this error message:  
The following 1 raster values [0] from “F:\AA\_CRP\Rasters\InVESTPollinationFinal.tif” do not have corresponding entries in the value map"

#### What do you expect to happen?

#### What have you tried so far?

My LULC raster has a “Value” field, which I have reproduced as “lucode”.  
I’ve triple checked that this matches the lucode in the Biophysical Table.  
There are other errors later in the log file, but I can’t get past this.

### Upload the logfile using the 📤 button

[InVEST-natcap.invest.pollination-log-2024-12-02–10\_27\_58.txt](https://community.naturalcapitalalliance.org/uploads/short-url/9Iz5lLd3c89reIoJc2VyGS5lbFG.txt) (7.0 KB)

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [December 6, 2024, 9:47pm UTC](https://community.naturalcapitalalliance.org/t/the-following-1-raster-values-do-not-have-corresponding-entries-in-the-value-map/5613/2 "2024-12-06T21:47:35Z")

</div>

Hi @shamajuju , thanks for posting your logfile and describing what you have tried so far.

> [@shamajuju](#):
>
> My LULC raster has a “Value” field, which I have reproduced as “lucode”.  
> I’ve triple checked that this matches the lucode in the Biophysical Table.  
> There are other errors later in the log file, but I can’t get past this.

The “Value” field of the raster (or the raster attribute table, more precisely) is not actually relevant here. The final error message is usually the most helpful one:

> ValueError: Values in the LULC raster were found that are not represented under the ‘lucode’ column of the Biophysical table. The missing values found in the LULC raster but not the table are: [0].

Your raster contains at least one pixel with a value of 0, but 0 does not appear in the `lucode` column of the biophysical table.

You may choose one of these options:

- add a row in the biophysical table with 0 as the `lucode`
- reclassify the 0 pixels of the raster to a different code that is already in your biophysical table.
- set 0 as the nodata value of the raster. This is often the best choice if the 0 pixels are meant to represent nodata. If a different value is already representing nodata, this may not be a good choice.

---

<div class="post-metadata">

**Author:** ![shamajuju](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@shamajuju](https://community.naturalcapitalalliance.org/u/shamajuju)\
**Post date:** [December 19, 2024, 5:04pm UTC](https://community.naturalcapitalalliance.org/t/the-following-1-raster-values-do-not-have-corresponding-entries-in-the-value-map/5613/3 "2024-12-19T17:04:11Z")

</div>

Thank you, Dave! That was the problem and consider me pleasantly surprised that it was such an easy fix!

Also, thanks for the tip about looking at the last error message - I totally got bogged down with ALL the error messages.

Thanks again!

Sam

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/naturalcapitalproject/original/2X/8/8d95591aa074da87ea0fdd61ca47c1c3c0588aa7.png) [@system](https://community.naturalcapitalalliance.org/u/system)\
**Post date:** [December 26, 2024, 5:04pm UTC](https://community.naturalcapitalalliance.org/t/the-following-1-raster-values-do-not-have-corresponding-entries-in-the-value-map/5613/4 "2024-12-26T17:04:47Z")

</div>

Closed on December 26, 2024, 5:04pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
