GregStarting at ArcGIS for Desktop 10.1, null values in an attribute table are returned as the string 'None' in the Field Calculator using Python. Knowing this, an if/elif statement can be used to find whether values are null or not. Here is an example that checks if a field contains null values: if !INVERT! <> 'None': !INVERT_ELEVATION! = !DEM_ELEVATION! - !INVERT! RegardsAnthony
if !INVERT! <> 'None': !INVERT_ELEVATION! = !DEM_ELEVATION! - !INVERT!
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.