2

Using ArcGIS Desktop 10.6.1. I have a large dataset that I need to view sequentially by month AND year. Instead of using Select by Attribute for each month/year combo (i.e. February 2017-May 2019 for 28 total feature classes).

Can this be done in ModelBuilder?

Data is currently in a file geodatabase and I'm looking to export each date/month as a feature class.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jun 12, 2019 at 17:47

1 Answer 1

3

If the field holding your dates are of date data type, then:

(If the field is already text and year-month then all you need is Split By Attributes)

With Split By Attributes you probably dont need to use ModelBuilder and Iterators.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
answered Jun 12, 2019 at 17:53
3
  • Excellent! I actually don't need to extract a date. They are two standalone columns - one as Month and one as Year. Would you suggest I concatenate the two into one new column and then use Split by Attributes? Commented Jun 12, 2019 at 18:04
  • Nice! No you can pass both fields to Split By Attributes Commented Jun 12, 2019 at 18:05
  • 1
    Yeah, I tried selecting both fields in Split By Attributes and nothing happened. I just concatenated both fields into one new column and ran it again. It worked! Thanks so much for the help! Commented Jun 12, 2019 at 18:18

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.