Tag Info

Hot answers tagged


you could also do this: min( !f1!, !f2!) in field calculator, with the parser set to python


You should be able to do a simple 'select by expression' where DATECOLUMN like "% 12%" This is assuming your date is a string column. Essentially; the query is using the 'pattern' that is formed, and saying "Find me every record where there's a space, followed by 12, follow by a colon. Since your data is in 24h format, the only records criteria that ...


Reiterating the comments as an answer for the convenience of others: Always make sure that each layer has a unique shapefile associated with it, otherwise data losses will be likely if more than one layer is based on the same shapefile and you edit its attributes.


I actually just did something very similar to this in another script, so I'll drop this here if anyone finds it useful. It's 10 lines if you remove the comments. import collections #Summarizes the second number in a list of tuples by the occurrences in the first #e.g., [["a", 1], ["b", 2], ["a", 3], ["c", 7], ["d", 0], ["c", -1]] -> #{'a': 4, 'c': 6, ...


Before getting to the solution to your question, I need to clarify exactly what you're wanting to divide/compare. If you're wanting the areas in all of red vs all of green, you can skip this part. However, if you want to directly compare the areas of name and type within the same total boundary, you'll need to first clip red to the extents of green. Your ...


Try this: Add a new text field Using Field Calculator concatenate the block name field with the ZIP4 field - python e.g. str(!blockName!) + ' ' + str(!ZIP4!) Right click on the step 1 field and select Summarize (keep defaults). This should give you a summary table of all block names by ZIP4 values.


This functionality is under the "Show all features" Button:


I came up with a solution. It sounds complicated but we are looking at six tools and an iteration here! I copy my Shapefile A, use the dissolve Tool to dissolve shapefile A by Name. Then I use this created Shapefile as a in the Split Tool as the Split feature for Shapefile A. I insert into my model Iterate Feature and chose my Split output as a Workspace ...

Only top voted, non community-wiki answers of a minimum length are eligible