AnsweredAssumed Answered

How to use a variable with the function calculate () with ArcGIS API for Python

Question asked by explo_carto on Oct 31, 2018
Latest reply on Nov 1, 2018 by explo_carto

calculate(where, calc_expression, sql_format='standard')

 

lst_country = ["country1","country2","country3"]

 

for country in lst lst_country:

      update_result = commune_flayer.calculate(where="nom = country", calc_expression={"field": "date_horaire", "value": provinces.attributes['date_horaire']})

 

Thanks

Outcomes