Тёмный
No video :(

How to use "if statement" in "field calculator" | ArcMap | python 

GIS for Everyone
Подписаться 795
Просмотров 13 тыс.
50% 1

In this video I'll show you how to use "if statement" in field calculator.
This technique can be super helpful when we want to fill a field according to values in another field.
There is also another example for using "if statement" in field calculator which is for comparing the values of two fields.
#arcmap #gis #python #if_statement #arcpy #field_calculator

Опубликовано:

 

28 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@Adiyasa2011
@Adiyasa2011 2 года назад
First video I found where I actually was able to make a statement work ! :D
@santiagorestrepoc.5804
@santiagorestrepoc.5804 Год назад
Fantastic explanation! Cleared my way! Thanks.
@jonathanplaistowe8394
@jonathanplaistowe8394 2 года назад
Thank you so much! You explained it so clearly.
@niloofarmohtat5448
@niloofarmohtat5448 Год назад
It was super helpful! Thank you so much.
@marieyusefie
@marieyusefie 2 года назад
I am grateful for the amount of time and effort
@edris8037
@edris8037 2 года назад
Well done 👏
@michaelp1856
@michaelp1856 Год назад
This has advanced my knowledge of Python at least 2 times - thanks! How would it be written if there are 3 fields invloved: - if A = a condition, then multiply B by a constant to generate C?
@gisforeveryone8605
@gisforeveryone8605 Год назад
I'm happy that it helped. Sorry for the delay. you need to introduce b when you are defining the function. for example: def test(a, b): if a == 'Australia' or b == 1: return 5 else: return 0 and in the bottom window: test( !Country_Re! , !OBJECTID! )
@fjantpop4370
@fjantpop4370 Год назад
Thanks!
@Rahadian440
@Rahadian440 2 года назад
thanks a lotttt
@oalenchiwara2597
@oalenchiwara2597 2 года назад
I appreciate your effort. This is really a good work🙏
@Rahadian440
@Rahadian440 2 года назад
thanks a lotttt
@Rahadian440
@Rahadian440 2 года назад
thanks a lotttt
Далее
Field Calculator in ArcGIS
11:03
Просмотров 3,4 тыс.
I Built a WATERPARK In My House!
26:28
Просмотров 20 млн
Whoa
01:00
Просмотров 41 млн
ChatGPT Made me a Map!
15:12
Просмотров 187 тыс.
Basic Field Calculator
10:53
Просмотров 34 тыс.
Visualising data in NetCDF format
39:56
Просмотров 64 тыс.
ArcGIS Pro - Using Python Codeblock in Calculate Field
11:29
18 Оператор if - elif - else в Python
4:09
Просмотров 11 тыс.
ArcGIS Dashboards: Data Expressions 101
13:20
Просмотров 8 тыс.
I Built a WATERPARK In My House!
26:28
Просмотров 20 млн