{"id":287,"date":"2025-03-21T14:29:45","date_gmt":"2025-03-21T19:29:45","guid":{"rendered":"https:\/\/sites.owu.edu\/geog-293\/?p=287"},"modified":"2025-03-21T14:29:45","modified_gmt":"2025-03-21T19:29:45","slug":"hollinger-week-1","status":"publish","type":"post","link":"https:\/\/sites.owu.edu\/geog-293\/2025\/03\/21\/hollinger-week-1\/","title":{"rendered":"Hollinger Week 1"},"content":{"rendered":"<p><strong>Chapter 1:\u00a0<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Quick Answers to Review Questions:\u00a0<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#1: It is a general purpose language, free and open source, and works cross-platform (but this doesn\u2019t typically matter for ArcGIS runs only on Windows).<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#2: It means that Python does not need compilation in binary before running.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#3: Scripting is automating functionality in another program, while programming focuses more on the development of applications.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#4:\u00a0 ArcGIS Pro uses Python 3. The current version at the time this book was written was Python 3.9.18.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#5: Investing time and effort into learning Python is important because while it can take time to write scripts, in the end they can be used for repetitive tasks, or adjusted and reused for multiple projects, so automating some of your workflow saves time in the long run! Python also has a lot of other application so it\u2019s a very transferable skill beyond ArcGIS.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#6 The main goal of developing scripts for ArcGIS Pro is to automate a task that would typically need to be done manually.\u00a0<\/span><\/li>\n<\/ul>\n<p><strong>Chapter 2:<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Quick Answers to Review Questions:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#1: Integrated Development Environment<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#2:\u00a0 Python is an interpreted language because when you enter commands they are interpreted and then carried out.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#3: IDLE<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#4: Primarily IDLE and PyCharm in this book, but Microsoft Visual Studio and Eclipse are widely used for Python generally as well.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#5: Syntax will always be the same for all editors, but there will be differences in how scripts are created, organized, and tested. IDLE is good for beginners and simpler scripts, but PyCharm has more functionality. PyCharm can handle multiple versions and environments, while IDLE needs a different version for each Python version and environment.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">#6:\u00a0 IDLE is installed by default with every Python installation and PyCharm needs to be installed by you. To access and configure IDLE if you have ArcGIS Pro on your computer all you have to do is navigate to a script, right-click, and hit \u201cEdit with IDLE (ArcGIS Pro)\u201d and it will automatically use the active ArcGIS Pro environment. PyCharm is a bit more complicated. Simply put \u2014 you need to Open a New Project and then set a Custom Environment (selecting conda and arcgispro-py3) when starting a new project. You can also set the interpreter for new projects going forward and change it for an existing project.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400\">No questions from me this week! I have used PyCharm, IDLE, and Python before so this was all a good refresher! <\/span><\/p>\n<p><strong>Applications I Googled:\u00a0<\/strong><\/p>\n<p><span style=\"font-weight: 400\">One of the applications I found was a python GIS flood tool. It uses \u201ccommonly available topographic data and commercial geographic information system\u201d to make flood vulnerability mapping more accessible to communities where it might otherwise not be!\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">This is the example map they gave:<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-290\" src=\"https:\/\/sites.owu.edu\/geog-293\/wp-content\/uploads\/sites\/189\/2025\/03\/USGS_pygft_floodextent-300x184.png\" alt=\"\" width=\"386\" height=\"237\" srcset=\"https:\/\/sites.owu.edu\/geog-293\/wp-content\/uploads\/sites\/189\/2025\/03\/USGS_pygft_floodextent-300x184.png 300w, https:\/\/sites.owu.edu\/geog-293\/wp-content\/uploads\/sites\/189\/2025\/03\/USGS_pygft_floodextent-768x470.png 768w, https:\/\/sites.owu.edu\/geog-293\/wp-content\/uploads\/sites\/189\/2025\/03\/USGS_pygft_floodextent.png 846w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/p>\n<p><span style=\"font-weight: 400\">Source: <\/span><a href=\"https:\/\/www.usgs.gov\/software\/python-gis-flood-tool-pygft\"><span style=\"font-weight: 400\">https:\/\/www.usgs.gov\/software\/python-gis-flood-tool-pygft<\/span><\/a><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">This next one isn\u2019t necessarily python related, but they used ArcGIS to simulate a Zombie outbreak, which way zombies would travel, and model where they would go next. They didn\u2019t explicitly mention Python, but I have used Python and ArcPy for one of the methods they used (Buffer Analysis) so I\u2019m sure it could be incorporated for further Zombie prediction in this area and beyond!\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-291\" src=\"https:\/\/sites.owu.edu\/geog-293\/wp-content\/uploads\/sites\/189\/2025\/03\/zombie_3-lg-300x221.jpg\" alt=\"\" width=\"395\" height=\"291\" srcset=\"https:\/\/sites.owu.edu\/geog-293\/wp-content\/uploads\/sites\/189\/2025\/03\/zombie_3-lg-300x221.jpg 300w, https:\/\/sites.owu.edu\/geog-293\/wp-content\/uploads\/sites\/189\/2025\/03\/zombie_3-lg.jpg 576w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><\/p>\n<p><span style=\"font-weight: 400\">Source: <\/span><a href=\"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/the-undead-liven-up-the-classroom\/\"><span style=\"font-weight: 400\">https:\/\/www.esri.com\/about\/newsroom\/arcuser\/the-undead-liven-up-the-classroom\/<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Chapter 1:\u00a0 Quick Answers to Review Questions:\u00a0 #1: It is a general purpose language, free and open source, and works cross-platform (but this doesn\u2019t typically matter for ArcGIS runs only on Windows). #2: It means that Python does not need <span class=\"readmore\"><a href=\"https:\/\/sites.owu.edu\/geog-293\/2025\/03\/21\/hollinger-week-1\/\">Continue Reading<\/a><\/span><\/p>\n","protected":false},"author":2177,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-287","post","type-post","status-publish","format-standard","hentry","category-chapter-notes"],"_links":{"self":[{"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/posts\/287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/users\/2177"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":2,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":293,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/posts\/287\/revisions\/293"}],"wp:attachment":[{"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}