Copying shapefile to Feature Dataset using ArcPy?Using Python, Batch Project output won't drop into feature...

How can changes in personality/values of a person who turned into a vampire be explained?

How many copper coins fit inside a cubic foot?

Crack the bank account's password!

Buying a "Used" Router

Can you say "leftside right"?

What is formjacking?

Minimum Viable Product for RTS game?

How do I make my single-minded character more interested in the main story?

I am a loser when it comes to jobs, what possibilities do I have?

Expression for "unconsciously using words (or accents) used by a person you often talk with or listen to"?

Multiple null checks in Java 8

Do the speed limit reductions due to pollution also apply to electric cars in France?

Boss asked me to sign a resignation paper without a date on it along with my new contract

Why does this quiz question say that protons and electrons do not combine to form neutrons?

70s or 80s B-movie about aliens in a family's television, fry the house cat and trap the son inside the TV

Partial derivative with respect to three variables

How do I narratively explain how in-game circumstances do not mechanically allow a PC to instantly kill an NPC?

What is the Buddhist view in Socratic questioning?

typeof generic and casted type

Identify non-coding regions from a genome annotation

Identical projects by students at two different colleges: still plagiarism?

Resorting data from a multidimensional list

Is the tritone (A4 / d5) still banned in Roman Catholic music?

How to make transparent background from pdf to png



Copying shapefile to Feature Dataset using ArcPy?


Using Python, Batch Project output won't drop into feature dataset?How to maintain GlobalIDs while copying shapefile data into ESRI FGDB feature class?ArcGIS 000210 error copy to feature classArcpy Copy Feature Classes with Overwrite to specific feature datasetsarcpy.SubsetFeatures_ga output not saving in correct feature datasetCopy query feature layer into a feature class - error 000732How To Loop in A Dataset and Delete Specific Fields in All Feature Classes With ArcPYArcPy Feature Class to Feature Class blank results - ArcGIS ProClip_analysis producing an extra output in Arcpy?Copying tables results in duplication of some tables, feature classes and relationship classes













0















How do I copy a shapefile to a Feature Dataset?



Here is is my script.




import arcpy



import os



arcpy.env.workspace = "C:/temp"



dataset1 = "C:/SDE.gdb/temp1"



arcpy.CopyFeatures_management("scrap.shp", "dataset1")




Instead of copying the scrap.shp located in c:/temp into the dataset called "temp1"...it creates a point feature class called "temp1" in the root of SDE.gdb










share|improve this question









New contributor




user137548 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    How do I copy a shapefile to a Feature Dataset?



    Here is is my script.




    import arcpy



    import os



    arcpy.env.workspace = "C:/temp"



    dataset1 = "C:/SDE.gdb/temp1"



    arcpy.CopyFeatures_management("scrap.shp", "dataset1")




    Instead of copying the scrap.shp located in c:/temp into the dataset called "temp1"...it creates a point feature class called "temp1" in the root of SDE.gdb










    share|improve this question









    New contributor




    user137548 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      How do I copy a shapefile to a Feature Dataset?



      Here is is my script.




      import arcpy



      import os



      arcpy.env.workspace = "C:/temp"



      dataset1 = "C:/SDE.gdb/temp1"



      arcpy.CopyFeatures_management("scrap.shp", "dataset1")




      Instead of copying the scrap.shp located in c:/temp into the dataset called "temp1"...it creates a point feature class called "temp1" in the root of SDE.gdb










      share|improve this question









      New contributor




      user137548 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      How do I copy a shapefile to a Feature Dataset?



      Here is is my script.




      import arcpy



      import os



      arcpy.env.workspace = "C:/temp"



      dataset1 = "C:/SDE.gdb/temp1"



      arcpy.CopyFeatures_management("scrap.shp", "dataset1")




      Instead of copying the scrap.shp located in c:/temp into the dataset called "temp1"...it creates a point feature class called "temp1" in the root of SDE.gdb







      arcpy shapefile data copy






      share|improve this question









      New contributor




      user137548 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      user137548 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 15 secs ago









      PolyGeo

      53.5k1780240




      53.5k1780240






      New contributor




      user137548 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 13 mins ago









      user137548user137548

      1




      1




      New contributor




      user137548 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      user137548 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      user137548 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          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
          });


          }
          });






          user137548 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f313261%2fcopying-shapefile-to-feature-dataset-using-arcpy%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          user137548 is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          user137548 is a new contributor. Be nice, and check out our Code of Conduct.













          user137548 is a new contributor. Be nice, and check out our Code of Conduct.












          user137548 is a new contributor. Be nice, and check out our Code of Conduct.
















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f313261%2fcopying-shapefile-to-feature-dataset-using-arcpy%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

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

          Meter-Bus Содержание Параметры шины | Стандартизация |...