I'm having a very difficult time adding NULL values to a unique value renderer. I am using 3 fields and I want to enter in all possible combinations even though I don't have all the values in the data, but it says that <Null> is an invalid type. I have no idea how they want you to enter NULL manually. I even tried creating all the values in the data, but the tool to add all values wouldn't add value triplets even though the data was saved and clearly present. I reentered the data and some values would show up and not others.
Thanks,
Nathan
NULL is a translation of an appropriate nodata value, you can't enter NULL. If the groupings are strings and you are using
UniqueValueRenderer—ArcGIS Pro | Documentation
you would have to provide a text value to represent nodata/null/none
Thanks Dan,
Do you know what NULL would be for a short?
None... in python,
a nodata value could be anything, it is the user that decides for the mostpart
For text, it could be None, "", '', "this is my nodata value" ...
For integers that can only be in the range 0 to 255, then -1 could be used for a nodata value.
Some packages, like numpy, scipy etc, use the concept of
NaN ... that is... not a number
NaT ... that is ... not a time
You really have to provide what you have and what you want to do, rather than figuring out the "null" thing for now. What are your groupings as per the link I sent.
Hi Dan,
What I am referring to is how to type in NULL in the UI? If the NULL values are in the data, it will add them. If I want to type them in, it says invalid data type if I type in <Null>.
value column
-1, -1, -1
2, 0, -1
2, 1, -1
3, 0, -1
3, -1, -1
3, 1, -1
4, 0, -1
-1, -1, 1
Your values are integers, hence you have to use an integer to represent nodata
Hi Dan,
I was able to get it to work by extracting the .aprx and editing the XML. NULL was stored as <Null> in the XML.