I'm trying to work on my first arcpy script and am running into some troubles. The objective is to create a new field, check several existing fields (Cnt1,2,3 and Pop1,2,3) for missing data (-99 value) and if find missing data populate new field with a 0, if not then populate the field with the result from a simple calculation. From a separate related post I got some feedback that the problem was that I am concatenating the values, not adding them and this if-elif statement might need to be within a function and then called. Any advice greatly appreciated!
Subscribe to:
Post Comments (Atom)
arcpy - Changing output name when exporting data driven pages to JPG?
Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...
-
I have a python script and I use it through my toolbox but I use it many times in a day. Is it possible to assign a keyboard shortcut to my ...
-
I want to implement a feature in my app (gmap powered) to highlight the area on mouse over. Much like the functionality in wikimapia. Check ...
-
I have some multi-spectral data, where the individual bands are separate Raster files. How do I layer stack these rasters so that I get one ...
No comments:
Post a Comment