Performing Split By Attributes on OBJECTID?












2














Using ArcGIS Desktop, 10.5.1, I need to "explode" a singlepart polygon FGDB Feature Class into separate FCs.



For example, if the input FC contains 3 polygons, the output will be 3 separate FCs, each containing a single polygon.



I am using the Split By Attributes tool.



How do I split by the input FC's Objectid field?



When I open the tool, it does not include the Objectid as an allowed Split Field:



enter image description here










share|improve this question





























    2














    Using ArcGIS Desktop, 10.5.1, I need to "explode" a singlepart polygon FGDB Feature Class into separate FCs.



    For example, if the input FC contains 3 polygons, the output will be 3 separate FCs, each containing a single polygon.



    I am using the Split By Attributes tool.



    How do I split by the input FC's Objectid field?



    When I open the tool, it does not include the Objectid as an allowed Split Field:



    enter image description here










    share|improve this question



























      2












      2








      2







      Using ArcGIS Desktop, 10.5.1, I need to "explode" a singlepart polygon FGDB Feature Class into separate FCs.



      For example, if the input FC contains 3 polygons, the output will be 3 separate FCs, each containing a single polygon.



      I am using the Split By Attributes tool.



      How do I split by the input FC's Objectid field?



      When I open the tool, it does not include the Objectid as an allowed Split Field:



      enter image description here










      share|improve this question















      Using ArcGIS Desktop, 10.5.1, I need to "explode" a singlepart polygon FGDB Feature Class into separate FCs.



      For example, if the input FC contains 3 polygons, the output will be 3 separate FCs, each containing a single polygon.



      I am using the Split By Attributes tool.



      How do I split by the input FC's Objectid field?



      When I open the tool, it does not include the Objectid as an allowed Split Field:



      enter image description here







      arcgis-desktop split-by-attribute






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 18 at 21:27









      PolyGeo

      53.1k1779238




      53.1k1779238










      asked Dec 18 at 19:07









      Stu Smith

      1,9011330




      1,9011330






















          2 Answers
          2






          active

          oldest

          votes


















          2














          One solution would be to create a new field named ID or something similar. Then Calculate Field and set it equal to OBJECTID, which does show up in the field calculator. Then you can use the new ID field as the Split Field in the Split By Attributes tool.






          share|improve this answer





















          • This works! FWIW, I find it odd that OBJECTID isn't available "out of the box"...
            – Stu Smith
            Dec 18 at 22:36










          • Yeah, me too. I've run into this same problem for a few other tools too. Creating a second ID column always seems to do the trick.
            – lambertj
            Dec 18 at 22:49



















          1














          Create a new field and populate with your OBJECTID values, then split by that field






          share|improve this answer











          We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.














            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "79"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f306444%2fperforming-split-by-attributes-on-objectid%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            One solution would be to create a new field named ID or something similar. Then Calculate Field and set it equal to OBJECTID, which does show up in the field calculator. Then you can use the new ID field as the Split Field in the Split By Attributes tool.






            share|improve this answer





















            • This works! FWIW, I find it odd that OBJECTID isn't available "out of the box"...
              – Stu Smith
              Dec 18 at 22:36










            • Yeah, me too. I've run into this same problem for a few other tools too. Creating a second ID column always seems to do the trick.
              – lambertj
              Dec 18 at 22:49
















            2














            One solution would be to create a new field named ID or something similar. Then Calculate Field and set it equal to OBJECTID, which does show up in the field calculator. Then you can use the new ID field as the Split Field in the Split By Attributes tool.






            share|improve this answer





















            • This works! FWIW, I find it odd that OBJECTID isn't available "out of the box"...
              – Stu Smith
              Dec 18 at 22:36










            • Yeah, me too. I've run into this same problem for a few other tools too. Creating a second ID column always seems to do the trick.
              – lambertj
              Dec 18 at 22:49














            2












            2








            2






            One solution would be to create a new field named ID or something similar. Then Calculate Field and set it equal to OBJECTID, which does show up in the field calculator. Then you can use the new ID field as the Split Field in the Split By Attributes tool.






            share|improve this answer












            One solution would be to create a new field named ID or something similar. Then Calculate Field and set it equal to OBJECTID, which does show up in the field calculator. Then you can use the new ID field as the Split Field in the Split By Attributes tool.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 18 at 19:11









            lambertj

            1,8501523




            1,8501523












            • This works! FWIW, I find it odd that OBJECTID isn't available "out of the box"...
              – Stu Smith
              Dec 18 at 22:36










            • Yeah, me too. I've run into this same problem for a few other tools too. Creating a second ID column always seems to do the trick.
              – lambertj
              Dec 18 at 22:49


















            • This works! FWIW, I find it odd that OBJECTID isn't available "out of the box"...
              – Stu Smith
              Dec 18 at 22:36










            • Yeah, me too. I've run into this same problem for a few other tools too. Creating a second ID column always seems to do the trick.
              – lambertj
              Dec 18 at 22:49
















            This works! FWIW, I find it odd that OBJECTID isn't available "out of the box"...
            – Stu Smith
            Dec 18 at 22:36




            This works! FWIW, I find it odd that OBJECTID isn't available "out of the box"...
            – Stu Smith
            Dec 18 at 22:36












            Yeah, me too. I've run into this same problem for a few other tools too. Creating a second ID column always seems to do the trick.
            – lambertj
            Dec 18 at 22:49




            Yeah, me too. I've run into this same problem for a few other tools too. Creating a second ID column always seems to do the trick.
            – lambertj
            Dec 18 at 22:49













            1














            Create a new field and populate with your OBJECTID values, then split by that field






            share|improve this answer











            We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.



















              1














              Create a new field and populate with your OBJECTID values, then split by that field






              share|improve this answer











              We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

















                1












                1








                1






                Create a new field and populate with your OBJECTID values, then split by that field






                share|improve this answer












                Create a new field and populate with your OBJECTID values, then split by that field







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 18 at 19:11









                Maksim

                6,24621340




                6,24621340



                We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.




                We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f306444%2fperforming-split-by-attributes-on-objectid%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

                    Alcedinidae

                    RAC Tourist Trophy