Tag Info

New answers tagged

0

i am not sure if you got this answered . i am not very good with model builder , but your basis of your problem seemed similar to the one i had when i was making layers for each unique value within a feild. I was using the value for the deinfation query and the name. But i ran into problems as the value could be john/ street. So when it was used in the ...


0

You should be able to use this option: http://resources.arcgis.com/en/help/main/10.1/index.html#//001w00000008000000 I am sure you can get there with field mappings if that doesn't work, but it would likely be a lot more lines of code than what youd expect. https://geonet.esri.com/thread/30539


0

Just an idea but if your output was a GeoDatabase Featureclass rather than a Shapefile you could use the Alter Field tool to rename it back as part of the work flow of the model?


0

This seems like something that should be very easy but requires an extra step. The solution I came up with is to create a dictionary.csv file in excel containing a "Key" (layer #), and a string (name). Use the table select tool to select rows from the dictionary where the key is equal to the layer #. This will output a new table containing only a single ...


0

If the 35 AOI's are 35 polygons in a single dataset then you iterate through these using the Feature Selection iterator. The output of this would be your clipping layer.


1

Here's a way to implement Chris W's answer without the need for ArcGIS. (It does require gdal/ogr, free and open source.) When gdal/ogr is installed, run the code below from a command terminal (mac/linux/windows). To get the list of fields Chris mentions: ogr2ogr -f csv fields.csv union.shp -where "0=1" Search + replace that text to create the math ...


0

First create a field on your table to summarize the values in. Then take a look at Calculate Field. In the below, update the Expression parameter to include all the field names you want to sum per row.


1

Field calculator (Python) def TotalTHem(fid, layerName,wildcard): mxd = arcpy.mapping.MapDocument("CURRENT") lr=arcpy.mapping.ListLayers(mxd, layerName )[0] destFields=arcpy.ListFields(lr) dNames=[row.name.upper() for row in destFields] list2add=[] for fname in dNames: if wildcard in fname:list2add.append(fname) with ...


2

you could use some Python scripting, I assume that the field "resultfield" exists and that you can identify the fields to sum based on one common string (i.e. "score") : import arcpy allfields = arcpy.ListFields("featureclassname") scorefields = [x.name for x in allfields if x.name.find("score")>-1] with arcpy.da.UpdateCursor("featureclassname", ...


5

Export your table to a text format. Grab the header row and paste it to a new file. Delete irrelevant column headings (could also turn them off prior to export to avoid this step), and then use find/replace functions to change the delimiting characters to proper syntax for the formula (ie quotes around field names, a plus sign in the middle). Copy and paste ...



Top 50 recent answers are included