Hot answers tagged arcgis-10.2
The problem is in the OR expression. A nested Con() statement works Int(Con(IsNull("%A%"), %B%, Con("%A%"==0, %B%, float(%Max%) + "%A%"))) Your OR expression seems to be evaluating to NoData and receiving NoData as output. See the help here
As an alternative to trying to get this to work in non-GIS software like Windows Explorer, I recommend that you simply use the Catalog window of ArcMap to right-click on an MXD and choose Item Description. If you leave the Item Description window open then you can just click on other *.mxd files to see their previews loaded. When you see the one you ...
To compliment the other answers it looks like the Python Addin Tool is drawing a graphic and not a SKETCH which is what you would use in .NET. To my knowledge when drawing graphics on a map a graphic does not honour the snapping environment (I may be wrong on that?). Looking at your screen shot they appear to be simple rectangles. An alternative approach ...
Don't know right now if it's possible but if you click in each color symbol generated by color ramp you can choose your outline color for each symbol. EDIT: Yo can convert your polygons into lines and make a ramp color simbology for the lines and other symbology to the polygon with transparent outline.
first simple solution: force text type # Read the csv csv.register_dialect("xls", lineterminator="\n") f = open(incsv, "r") reader = csv.reader(f, dialect = "xls") # Add fields to fc desc = arcpy.Describe(incsv) for field in desc.fields: arcpy.AddField_management(outfc,field.name,"TEXT") #force text format # the fieldnames fields = desc.fields ...
All this code is overkill, you can convert your entire table into a layer using the Make XY Event Layer tool, in one line of code! See the code sample on the help page of the tool. If you need the dataset to be permanent then you can use the Copy Features tool, another line of code! These could be strung together within modelbuilder or called from within a ...
Only top voted, non community-wiki answers of a minimum length are eligible