October 2017
Intermediate to advanced
382 pages
11h 26m
English
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning. Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "After we have our map, we can use add_layer to add our stations_item to the preceding map1."
A block of code is set as follows:
for fc in fcs:
fields = arcpy.ListFields(os.path.join(input_ds, fc))
field_names = [field.name for field in fields]
for k, v in field_domains.iteritems():
if k in field_names:
arcpy.AssignDomainToField_management(fc, k, v)
Any command-line input or output is written ...