GIS Python Tutorial: Getting Started with ArcPy and VS Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2021
  • Class is in session! In this video, I will show you how you can use the integrated development environment (IDE) called Visual Studio for writing Python computer code. I will then show you how you can take code that you write in Visual Studio and run it inside of the ArcGIS Pro GIS software environment. I use a coding exercise of reading in a comma separated values (CSV) file using Python and then turning content from the CSV into a shape file using ArcPy. I'll walk you through all the steps in the process and explain all of the code in detail. This video will be particularly useful for people that want to start doing more advanced Python coding using ArcPy with an industry-standard coding environment like Visual Studio. This tutorial was recorded during one of my lectures at the Rochester Institute of Technology.
    Source Code files and other materials used in the video are available for free to download from this link:
    gisfordisastermanagement.com/y...
    Software and References:
    Csv: docs.python.org/3/library/csv...
    VS Code: code.visualstudio.com/
    Python download: python.org/downloads
    If you liked this and other videos on the geographic information science channel, please like these videos, leave comments, or subscribe to this channel so you can stay informed of new videos.
    Subscribe to this channel:
    th-cam.com/users/GIScienc...
    Also, feel free to contact me if you have any questions, I love hearing from the TH-cam community.
    Thanks for stopping by!
    Brian Tomaszewski, Ph.D.
    @bangeobrian
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 46

  • @Chris-zi1we
    @Chris-zi1we ปีที่แล้ว +7

    I just started as a GIS technician doing utilities mapping, but i'm hoping to work my way up towards a more analytical role in the future. Your channel has been so helpful for learning the more technical skills I need to move forward. Thank you so much for making this publicly available, you're amazing for that!!

    • @GIScienceRIT
      @GIScienceRIT  ปีที่แล้ว +1

      My pleasure! I'm glad you find these videos useful be sure to look at other videos on the channel to grow your technical skill set especially with programming. Also be sure to subscribe to the channel and hit the notification icon to stay up to date on new videos, thank you again!

    • @h.t.4498
      @h.t.4498 ปีที่แล้ว +1

      The same way how I plan to ship myself to future)

  • @iceiceisaac
    @iceiceisaac 2 ปีที่แล้ว +2

    Thank you so much. Glad you are using VS code

  • @zuric2008
    @zuric2008 2 ปีที่แล้ว +1

    This is so helpful. I started learning with Python but really have come to like VS Code a lot more.

    • @GIScienceRIT
      @GIScienceRIT  2 ปีที่แล้ว

      Fantastic I'm glad you found the video useful and yes definitely look more into VS code

  • @aniokohchideravictor2130
    @aniokohchideravictor2130 4 หลายเดือนก่อน +1

    Hello Brian, Thank you so much i followed your tutorial and it made so much sense after i tried doing a lab myself with Canadian earthquake data. i did lot of troubleshooting but you made python fun for me.

    • @GIScienceRIT
      @GIScienceRIT  4 หลายเดือนก่อน

      Thank you I'm glad that you found value in the tutorial appreciate you taking the time to write a comment. Happy learning and stay tuned for more videos!

  • @faceclutch5555
    @faceclutch5555 2 ปีที่แล้ว +1

    This is awesome! Thanks. I am going to try to automate some of the mapping queries I need to do at work. It's a repetitive work which requires looking at radius of review around an object (oil well) to gather data.

    • @GIScienceRIT
      @GIScienceRIT  2 ปีที่แล้ว

      Also be sure to check out other python videos on the channel to grow your skill-set thanks for the feedback and for the support!

  • @yonglizhou1818
    @yonglizhou1818 3 หลายเดือนก่อน

    Thank you very much for the tutorial!

    • @GIScienceRIT
      @GIScienceRIT  3 หลายเดือนก่อน

      Glad it was helpful!

  • @adamcenturione8631
    @adamcenturione8631 4 หลายเดือนก่อน +1

    Ya this cool I've been doing the Python scripting books and this is a great complement

  • @tieholara5900
    @tieholara5900 10 หลายเดือนก่อน

    Thank you for this material. I hope to interact with you more!!!

    • @GIScienceRIT
      @GIScienceRIT  10 หลายเดือนก่อน

      Thank you! Be sure to subscribe to the channel and hit the notification icon to stay up to date a new videos, thank you for the support

  • @miu6413
    @miu6413 ปีที่แล้ว

    Great work keep it up...

    • @GIScienceRIT
      @GIScienceRIT  ปีที่แล้ว

      Thank you so much for the kind feedback! Be sure to hit the Subscribe button and hit the notification icon to stay up to date on new videos, thank you again and happy coding!

  • @xiaoming-nz5qw
    @xiaoming-nz5qw 2 หลายเดือนก่อน

    I do really want to say "thank you" to you.

    • @GIScienceRIT
      @GIScienceRIT  2 หลายเดือนก่อน

      You are welcome! Thanks for the nice comment and happy learning!

  • @stephenngatia9519
    @stephenngatia9519 2 ปีที่แล้ว +2

    Hi Brian, Thank you for this amazing video. Could you share a link to the course materials. Thank you

    • @GIScienceRIT
      @GIScienceRIT  2 ปีที่แล้ว

      If you look in the video subscription you should find the link that gives you all the course materials thank you for your interests

  • @rowan5188
    @rowan5188 2 ปีที่แล้ว +1

    I wish you were my professor!

  • @charaznable1114
    @charaznable1114 ปีที่แล้ว +1

    40:00, loading code needs refresh sometimes

  • @shishirlamsal1944
    @shishirlamsal1944 2 ปีที่แล้ว +2

    hello there!! should i have prior knowledge of python to follow your GIS and Python series ?

    • @GIScienceRIT
      @GIScienceRIT  2 ปีที่แล้ว

      It might help to have some background knowledge but if you don't have any you should be able to follow the lawn well thanks for the interest

  • @jasonma5931
    @jasonma5931 ปีที่แล้ว +2

    hi Brian , I have tried to execute the classDeature parameter: from arcpy but it give me this error : File "", line 22, in File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\management.py", line 2025, in CreateFeatureclass raise e ExecuteError: ERROR 000622: Failed to execute (Create Feature Class). Parameters are not valid. ERROR 000628: Cannot set input into parameter spatial_reference.
    I am using the ArcGIS 10.8 not the pro does it matter ? , Thanks for help@Brain

    • @GIScienceRIT
      @GIScienceRIT  ปีที่แล้ว

      Perhaps double check how you're setting up the projection file? If it can't find it using the external path to the prj file it might not work feel free to contact me directly the troubleshoot more

    • @GIScienceRIT
      @GIScienceRIT  ปีที่แล้ว

      bmtski@rit.edu

    • @jasonma5931
      @jasonma5931 ปีที่แล้ว

      @@GIScienceRIT Thanks sir, Im just using the California counties projection files not the one you use are using in the wrj_1984 projection , I m not sure if I had to create that prior to your tutorial

    • @jasonma5931
      @jasonma5931 ปีที่แล้ว

      @@GIScienceRIT shall I email you from here , so I did maybe the external path:
      root_directory = 'C:\\Downloads\\project1\\Chapter_2_Exercise_2_final_datasets\\

  • @charaznable1114
    @charaznable1114 ปีที่แล้ว +1

    10:00, explains x,y coordinates.

    • @GIScienceRIT
      @GIScienceRIT  ปีที่แล้ว

      This refers to the referencing of places on the surface of the Earth in a Cartesian grid

    • @GIScienceRIT
      @GIScienceRIT  ปีที่แล้ว

      en.m.wikipedia.org/wiki/Cartesian_coordinate_system

    • @charaznable1114
      @charaznable1114 ปีที่แล้ว

      @@GIScienceRIT thank you, I put comments as a bookmark for myself, great video!

  • @charactercount803
    @charactercount803 2 ปีที่แล้ว +1

    How do I sign up for your class?

    • @GIScienceRIT
      @GIScienceRIT  2 ปีที่แล้ว

      If you're interested in taking my class, feel free to email me directly we can talk about possibly doing an audit or you can come enroll at the Rochester Institute of Technology!

    • @charactercount803
      @charactercount803 2 ปีที่แล้ว

      @@GIScienceRIT awesome, what is your email address ? I'm about to graduate with my bachelor's degree and looking to further my education in GIS while working in the field .

  • @sahubrothers4165
    @sahubrothers4165 2 ปีที่แล้ว

    I wanna do course of cartography how would i?

    • @GIScienceRIT
      @GIScienceRIT  2 ปีที่แล้ว

      You might enjoy this video on the channel if you're looking for lessons on cartography

    • @GIScienceRIT
      @GIScienceRIT  2 ปีที่แล้ว +1

      th-cam.com/video/MjVw2plCDpE/w-d-xo.html

    • @sahubrothers4165
      @sahubrothers4165 2 ปีที่แล้ว +1

      @@GIScienceRIT o ya but i’m looking for cartography universities in europe

    • @GIScienceRIT
      @GIScienceRIT  2 ปีที่แล้ว +1

      cartographymaster.eu/

  • @miu6413
    @miu6413 ปีที่แล้ว

    You better explained codes line by line but you need to to more detail oriented while explaining code ....