Posts

Showing posts with the label GIS

Module 5 Photo Interpretation and Remote Sensing: Supervised and Unsupervised Classification

Image
    Hello all, in this week of  Photo Interpretation and Remote Sensing, we learned how digital imagery is classified both unsupervised and supervised. Unsupervised classification is done manually and does not use a predetermined classification that matches pixels. Supervised classification is done under the supervision of an already established set of "spectral signatures". We used ERDAS Imagine to classify the images and ArcGIS to make the layout.  This image uses a band combination that helps each feature stand out and avoid being spectrally confused. The main image shows the classifications, explained in the legend on the side. The distance map shows the accuracy of the classification. Brighter spots on the distance map were more likely to have been spectrally confused.  Thank you,  Joel Sexson

Module 4 Photo Interpretation and Remote Sensing: Multispectral and Panchromatic Remote Sensing

Image
 Hello all, in this week of Photo Interpretation and Remote Sensing, we learned about how remote sensing data is represented in multispectral bands, as well as using greyscale and spectral enhancements to learn about brightness, sharpness, and contrast in imagery. We used ERDAS Imagine to analyze the images and ArcGIS to make layouts.  This image uses true color imagery to showcase the brightness of the snow on top of the mountains in contrast to the dark green vegetation surrounding it.  This image uses a unique band combination (shown in the legend) to showcase the variation in brightness of the water.  This image uses false color imagery to showcase the dark blue/black water in contrast to the red vegetation around it. The vegetation is not actually red, this is just a false color image.  Thank you, Joel Sexson

Module 3 Photo Interpretation and Remote Sensing: Intro to ERDAS Imagine and Digital Data

Image
 Hello all, in this week of Photo Interpretation and Remote Sensing we practiced using ERDAS Imagine to analyze remote sensing digital data. We also learned about the EMR spectrum and how data is digitized differently to get higher resolutions, e.g. radiometric or spatial resolution with maximum pixel amount and pixel size, respectively.  This map depicts the small subset of an image that had been exported from ERDAS Imagine to ArcGIS to be able to display it in a more friendly way. The image's data (such as the area and classification) was preserved over the exportation, which made the whole process quite easy.  Thank you, Joel Sexson

Module 2 Photo Interpretation and Remote Sensing: Land Use and Land Classification

Image
 Hello all, in module 2 of my PI&RS course, we practiced land use/land classification (LULC) on a photo. We also got practice with digitally truthing to test out the accuracy of our classifications.  I have included the map from the exercise below. The map shows the LULC in slightly transparent colors and the accuracy of the random points. The legend gives a brief description of each type of LULC code. This exercise was useful in learning how to use some interpretation skills that I learned from the previous model on classifying areas within a photo.  Thank you, Joel Sexson

Module 1 Photo Interpretation and Remote Sensing: Visual Interpretation

Image
      Hello all, in the first module of my PI&RS course, we practiced three different methods of visual interpretation. We used aerial photos and practiced identifying features based on tone, texture, shadows, shape/size, association, and patterns. We also compared a true-color image to its false-color counterpart to understand the contrast between how colors are displayed between the two methods.      I have included the map layouts of my visual interpretations from Exercises 1 and 2, but not the map from Exercise 3 which involved the color method comparisons.      The first map depicts the interpretation of different levels of tone and texture on an aerial photo. The tone ranged from very dark to very light and the texture ranged from very fine to very coarse. The texture was easier to determine than the tone which caused the tone portion of the exercise to take longer; however, I was able to complete it fully in the end.    ...

Module 6 GIS Programming: Working with Geometries

Image
 Hello all, in the final week of GIS Programming we learned how to work with geometric data from ArcGIS in Python. This included each level of geometric data, from features and arrays down to just point and coordinate data. We also practiced writing data to a text file and using the nested for loops to reach different levels of data. The getPart method was used in particular to skip a loop and retrieve the coordinate data for the rivers.  I've included a small text file section where I printed the OID, vertex ID, x,y coordinates, and the feature's name (from left to right).      The assignment was very logical and did not create too many problems for me. I need to remember to close the text file at the end so that the processes will actually occur and write to the text file. I've included a flowchart of the logic of my script below: Thank you,     Joel Sexson

Module 5 GIS Programming: Explore and Manipulate Data

Image
 Hello all, in the 5th week of GIS Programming we learned how to deal with data. As the title of the module states, we explored data using things like describe functions and search cursors, and we manipulated data by learning about insert/update cursors and how to create different data (such as creating a file geodatabase or a dictionary).      The assignment was to create a script that made a new file geodatabase, copied over feature classes from one folder to the geodatabase, and then populated a dictionary using data from a search cursor done on the cities layer in the fGDB.      Below is a picture of the flowchart of my script:       The results of the script are shown above. There are print statements throughout the script to explain what processes were happening and when they were completed. The only problem that I ran into with the script actually helped me learn how to determine if my script is working the way I want it to i...

Module 4 GIS Programming: Geoprocessing

Image
        Hello all, the fourth week of GIS Programming (4102/5103) was an introduction to running geoprocessing tools using ModelBuilder in ArcGIS and a main focus on using Python scripts to run geoprocesses. The first thing to learn about using Python for GIS is to import arcpy and set your workspace to begin the code. Some main things to watch out for when using GIS tools in Python are things such as allowing outputs to be overwritten, using the correct syntax for the tools, making sure data exists, and assigning features to variables in the script. These can allow for the scripts to run smoother and without errors.      The first part of this assignment included using the Clip, Select, and Erase tools in ArcGIS using a ModelBuilder. The logic of the model was relatively simple and could erase the selected soil areas that were not prime for farming.      The second part of the assignment asked for the use of the AddXY, Buffer,...

Module 3 GIS Programming: Debugging and Error Handling

Image
     Hello all, the third week of GIS Programming (4102/5103) was to teach us how to debug code and handle errors within the code. The first main way to find errors in code is to check the module first to check for syntax errors. If a syntax error occurs, none of the code will even run because Python can not understand what was written. After finding potential syntax errors, runtime errors could be identified either by running the code to see the error message or by running a debug tool. I personally find it easier to run the code and see the error message but I understand that at times a debug tool would be very useful. We also learned of another way of handling errors to allow the script to run without necessarily fixing the problem. A try-except statement can capture an exception (or error) and allow the script to keep running without that part of the script. You can also use it to print the error that occurred, which can be helpful in fixing the error.    ...

Module 2 GIS Programming: Python Fundamentals

Image
      Hello all, the second week of GIS Programming (4102/5103) was focused on learning the fundamentals of Python. This included topics such as loops, formatting, lists, sets, and many other basic functions/methods used in Python scripting. As I've said before, the Zandbergen (2020) book helped a lot with figuring out how to do a lot of this. This week we were tasked first with creating a set of names and splitting it into a list. This was simple enough and was a good introduction to creating and indexing a list. The harder parts of the assignment were correcting the dice code and creating a randomly generated list using a while loop.  I've provided my results from the code down below:     The dice code had two errors, which took me longer than I expected to figure out. The first error was a syntax mistake in a print code that needed to be cast. The second error was simply a capitalized X instead of a lowercase x. I have included a flowchart of the logic b...

Module 1 GIS Programming: Python Environments and Flowcharts

Image
       Hello all, the first week of the Summer 2023 GIS Programming course (GIS4102/5103) at UWF was an introduction to basic Python, including its environments and some syntax, as well as the logic, principles, and design of flowcharts. Since I've had no prior coding experience, the first week was very daunting. However, taking my time to do some extra practice outside of the exercises and readings really helped quell those fears and prepare me for the work. I cannot recommend the   www.w3schools.com/python/   tutorial enough for beginners to understand Python. It is interactive, explanatory, and has exercises built in. I would also like to make note of the  Agarwal et. Al. (2010) reading for a good introduction to flowcharts, which helped me to create mine.      Module 1 introduced us to Python environments with a main focus on IDLE and ArcGIS Notebooks (integrated Jupyter Notebooks in ArcGIS). IDLE and ArcGIS are the same in that they...