Friday, April 11, 2025

GIS Portfolio

 We were tasked to create a GIS portfolio for our internship program. It was a great opportunity to put organize the work I have been doing. I chose to create a StoryMap to get more practice utilizing the program. My only challenge was how to include my resume, I chose to add it to google drive and link it to a button in my StoryMap. My final portfolio can be seen at https://arcg.is/0SKWP9.

Sunday, March 30, 2025

GIS event

 We were tasked to hold an GIS event to share information about GIS with friends/family members. I was tasked recently with making two maps depicting Choctawhatchee Riverkeepers PFAS data for the Choctawhatchee and Pea River watersheds which was used in a presentation at the Alabama Rivers Alliance annual Water Rally. For my event I chose to share these maps with my family and give them some background behind the maps, why I chose to represent the data how I did and how GIS helps make the data more approachable.







Sunday, February 16, 2025

Internship- Mid-Semester Update

Over the past several months I have been working to identify spectral recovery patterns for the 2000 Jasper Fire in the Black Hills region of South Dakota. This has been an enjoyable and challenging experience that has given me the opportunity to develop many new geospatial skills and gain considerable knowledge of fire ecology.

I went into this process thinking I would would extract data, apply analysis methods and get direct results but I have been surprised at how many different methods of analysis and definitions of recovery there are in remote sensing. As an example there is no widely accepted definition of "spectral recovery". Each study I found when researching utilized different spectral recovery metrics and different ways of representing "recovery". There were some similarities and general categories of spectral metrics and recovery variables that were used- many studies utilized some sort of percentage of the pre-fire spectral value to determine recovery patterns. Others used the magnitude of the disturbance when the fire occurred as a way of calculating a slope or a point of recovery.

With the help of my mentors I developed my own process of measuring the recovery of the burn scar. I took the pre-fire value and utilized the 80% of pre-fire spectral value as a "recovery" point, which I had seen used in several different studies. One flaw I found when analyzing the data was that this metric was influenced by climate patterns in a way that could give a "false" recovery reading- there was one year that was extremely wet and had a noticeable increase in "recovered" pixels. There were many pixels that "recovered" for that year and then never hit the recovery value again. To me this was not a true representation of recovery. To account for this discrepancy I chose to represent my data in terms of "Years at Recovery", which was the number of years an area hit the 80% of the pre-fire NBR. I have created a map to show this initial analysis. I will be using this recovery metric to try to identify factors that have influenced recovery, such as topography, climate, and proximity to unburned pixels.


Monday, January 27, 2025

Internship- GIS Job Search

    As I have explored job opportunities throughout the program, I have been excited to see all the different ways GIS can be applied. It has always been my goal to find a position where I can contribute to environmental research or conservation efforts. With this in mind I have been focusing my search on various natural resources job boards, government positions and various research centers and non-profit organizations.

    My biggest takeaway is that these positions often require a range of skillsets- scientific communication, experience writing peer-reviewed research papers, proficiency with programming, background knowledge in ecology and natural resources, remote sensing, field work experience, statistics and data analysis, etc. I have even seen some positions that want further skills like website development and management, or social media management. This offers ample opportunity for continuous skill development and refinement, something I am excited about because it is important to me to find a position where I can continue to learn. 

Wednesday, January 15, 2025

Internship Course- Introductory Blog and User Groups

     I was selected for a Virtual Student Federal Service internship with USGS EROS Center analyzing post-fire recovery trends for the 2001 Jasper in the Black Hills Region of South Dakota from August 2024 through May 2025. I am utilizing a combination ESRI ArcGIS Pro, R studio, and Python to analyze datasets including climate, landcover, topography (derived from DEM), Landsat, Aerial LiDAR, Terrestrial LiDAR to assess spectral recovery almost 25 years after the devastating wildfire. I will utilize additional resources such as the USFS datasets, National Hydrography dataset, MTBS datasets and LandFire data to give additional perspective on the area.

Since the internship spans 9 months I have already laid some of the groundwork for spectral recovery and this semester will be building on what I have already done and presenting my findings. My big questions are “How do we define recovery” and “With that definition in mind, what areas are recovered and what factors may be influencing that recovery”. There is no specific standard for determining whether an area has recovered from fire damage and I am utilizing a variety of resources, definitions obtained through the literature, and trends pulled out from the data to assess the recovery patterns that can be observed.

 I also plan to apply deep learning and machine learning algorithms to the LiDAR data and Landsat data to try to recreate an idea of what the forest structure looked like pre-fire. This is important because LiDAR only became available for this area in 2019 so structural characteristics like tree height and canopy density are unable to be determined. If a DL or ML algorithm can make strong predictions based on what is observed spectrally in the Landsat compared to what is observed in the LiDAR data for the same time period, that algorithm can hypothetically be applied to previous Landsat scans as a rough estimation for comparison. It will be interesting to see if areas that are “spectrally recovered” are also recovering their pre-fire forest state, or if they are recovering spectrally while still being classified as “open canopy” as opposed to “closed” or “shrubs” as opposed to “trees”.

I chose to join two different GIS user groups for community engagement as I begin my GIS career. I joined the Women in GIS group and the GIS Association of Alabama. I joined the WIGIS because I appreciated the variety of professional development opportunities they offered. I joined the GIS Association of Alabama to connect with the broader Alabama GIS community.

Tuesday, November 19, 2024

Using ArcGIS Pro for Time Series Analysis of Landsat Data

Project
Run a time series analysis to analyze spectral recovery following the 2000 Jasper Fire in South Dakota.

Data
For this project data was obtained from June 1- August 31 each year from 1995 to 2022. Landsat 5, 7 and 8 sensors were all included and data was selected from Earth Explorer. Data was converted to the NBR spectral index, projected to UTM Zone 13, and clipped 3 meters of the burn boundary using ESPA. 
After downloading, peak of greenness (POG) was estimated using the MTBS NDVI online tool. Python was used to narrow files to those which fell within 5 days in either direction of POG. After the datasets were selected, ArcGIS Pro was used to decode the QA pixel for each dataset and select the clearest images that fell within range of the POG. Each dataset was rated subjectively on a scale of 1-3 with 1 being unsuitable for analysis, 2 being suitable but still very cloudy and 3 being mostly clear. If multiple datasets were suitable for analysis and fell within the 5 day range, the one closest to the actual data was selected. If POG lasted for a longer period of time and multiple clear datasets fell within POG the central dataset was selected. For 2013 a dataset within 5 days of POG was not possible due to limited data sets that covered the burn boundary and fell within the peak of greenness dates, so the dataset that was closest to POG and acceptable for analysis was selected.

Creating and Populating a Mosaic Dataset
Once a suitable POG dataset was selected for each year of analysis, datasets were compiled into a mosaic dataset in ArcGIS Pro using the Create Mosaic Dataset tool followed by the Add Rasters to Mosaic Dataset tool. 

Examples of the Create Mosaic Dataset and Add Rasters to Mosaic Dataset tools


The following steps outline how to populate and mask a mosaic dataset.
After creating a Mosaic Dataset add the desired raster types. The tool has to be run separately for each of the Landsat types. Set the raster type to the appropriate Landsat sensor. The default raster type is "Raster", but if you leave this setting you will pull the .tif files instead of the .xml/ MTL files. If you want to add a cloud mask to your files later on it is necessary to pull the data from the .xml/MTL file. If you pull the .tif files the group name isn't populated so you will be unable to match the appropriate QA band to the appropriate raster.

 For the purposes of my analysis I wanted to add the Spectral Indices as my processing template, which would pull my NBR file. I changed input data to "Folder" and selected the folder with my chosen dataset. I then selected to calculate mosaic statistics and clicked run to add the files to my dataset. Repeat this for all Landsat sensors represented in your datasets.

After all the spectral index files are added to the mosaic dataset, add the QA files. This process is similar to adding the indices but instead of selecting "spectral indices" as the processing template select "QA". After selecting the processing template, click the edit button beside the template. This pulls up the raster functions pane.

 In the raster function page, search for the "remap" function. Drag the remap function to the function editor pane. Remove the identity function and click and drag your mouse from the QA raster to the remap function. An arrow should appear, linking your raster to the function. 

Double click the remap function in the function editor to bring up the remap properties pane. Set the variables to match with the desired pixel values according to the landsat documentation for the specific sensor you selected, Landsat 8 has different pixel values than Landsat 5 and 7. Set the output value to 1. For my map I wanted all clear pixels to remain visible and all others set to "No Data". Make sure the  "Change Unmatched Values to NoData" option is selected.

The raster functions pan can be seen on the left, the function editor appears on the bottom of the screen and the remap properties pane appears above it. The pixel values in this example align with the "clear" pixel values obtained from Landsat 8 documentation on the USGS website. Landsat 5 and 7 use different values to represent clear pixels.




Hit the save button at the top of the function editor. This should bring you back to the "Add Raster to Mosaic Dataset Pane". Deselect the "Estimate Mosaic Dataset Statistics" and click run to add the QA raster. Repeat for all sensors.

This is important for masking: in your attribute table for your mosaic, make sure the GroupName column for your rasters is present. Your raster group name should match up to the corresponding QA pixel group name. The Tag column should match the processing template chosen when uploading your rasters.

Attribute table for the mosaic dataset. Can be accessed by right clicking the mosaic dataset and selecting "Open Table"


To create a mask template access the catalog pane and right click your mosaic dataset. Select "Manage Processing Templates". Click the hamburger menu button and select “Create New Template”. Under raster functions search for clip and add clip raster function to the raster function editor. Double clip the clip function to open the clip properties pan. Click the variables tab and set the appropriate GroupName variables as the "Raster" and "Clip" features, these variables will align with your "Tag" column in the raster attribute table. In my case the Raster to be clipped was the SpectralIndices and the clipping raster was the QA raster. Click Okay. 

Save the raster in the function editor. This will pull up the "Save" pane. Add desired name and description information. Set the "type" field to item group. Set the group field as "GroupName" and the tag field as "Tag". Uncheck the match variables option.




Example of the Clip Properties and Save panes


After saving the Clip Function, return to the Manage Processing Template pane and click to star to set it as your default template. Your mosaic dataset should be masked, but if for some reason the processing template is not applying you can make sure it is activated through the ribbon. With your mosaic dataset selected in your contents pane, select the "Data" tab at the top of  the ribbon. Under the "Processing" group select "Processing Templates" and make sure your masking template is selected.

Create a Multidimensional Dataset
To add multidimensional data to a mosaic dataset utilize the Build Multidimensional Information Tool. Set the variable field to the product name and set the variable name to the appropriate layer, in my case I set it to Spectral Index. Set the Dimension field to the Acquisition date.

After running this tool you should be able to adjust the slider along the top of the map view to view your masked data over time.


Finally, use the Copy Raster Tool to convert the multidimension dataset to a CRF file. Select the options to "Process as Multidimensional" and "Build Multidimensional Transpose". You now have a .CFR file suitable for time series analysis. 


The Copy Raster Tool converts the multidimensional dataset to the .CRF format to optimize for analysis.






Thursday, October 3, 2024

Module 6- Special Topics- Scale Effect and Spatial Data Aggregation

Our final lab for Special Topics began with exploring the effects of scale on vector data and resolution on raster imagery. We began with a hydrographic vector data set scaled to 1:1,200, 1:24,000, and 1:100,000 and calculated the area and perimeter of the polygon features as well as the count and total length of the line features. The result of scaling the feature classes differently was that as the scale decreased, variables calculated for the water features increased. In addition to the length of the water features being calculated at a higher number, the difference in the scale was visually noticeable as some hydrographic features were only visible at smaller scale.

A close up view of my hydrographic line features with yellow being the largest scale, and blue being the smallest scale. As you can see, the smaller the scale the finer the features that visible.


After exploring scale we resampled a DEM file to compare 6 different resolutions: 1m, 2m, 5m, 10m, 20m, 90m. Raster resolution is correlated with pixel size, so smaller resolution numbers indicate smaller, more detailed pixels, while a raster with larger pixel sizes would be expected to have less detail. We calculated the slope of each raster and examined the results which showed that as the resolution increased, the average slope also decreased.

For the second half of the lab, we explored the Modified Area Unit Problem by using census data to explore how the results of our data analysis can differ based on how we group our data for analysis. In this situation we were analyzing census data to determine how race affected poverty status, and we separately analyzed data by block groups, zip codes, housing voting districts and counties. We saw that the data could vary significantly based on which of the 4 units of analysis were used to analyze it.

Lastly, we explored gerrymandering. Gerrymandering is the process of manipulating the boundaries of voting districts in order to favor a certain political party. Gerrymandered districts tend to have very irregular boundaries and one way to measure this is the Polsby-Popper Test, which uses and equation to measure how compact a district is on a scale of 0 (least compact) to 1 (most compact), with the assumption that the most compact districts are the least gerrymandered. Here is an examples of an extremely gerrymandered district as determined by this method.



Tuesday, September 24, 2024

Lab 5- Interpolation- Special Topics

Interpolation is a way of making predictions based on known values. We interpolated the surface water quality of Tampa Bay using the BOD Mg/L variable from multiple sampling locations.

Interpolation methods explored were
        - Spline (regular)
        - Spline (tension
        - IDW
        - Thiessen polygons

IDW uses the distance of each data point to neighboring values to weight its predictions, whereas the Spline interpolation techniques fits through a set of input points to make its estimation. Spline is not constrained by the limits of the provided data and can give values greater or less than the highest and lowest data points, while IDW is constrained to the highest and lowest data point. 

Thiessen interpolation creates a series of polygons with each data point associated with the central location of a polygon. Because of this the size of the polygons is variable and dependent on the distance from other sampling locations. Each polygon is given the value of the central point and there is not estimation or continuity to the data. This method was not ideal for measuring water quality.

In this exercise my regular spline interpolation ended up displaying values that were not mathematically possible, giving me large swaths of negative value areas. It is highly unlikely for water quality to be at 0, and impossible for it to be a negative number. The tension method was a more accurate and aside from a greater range of values, data was closer to that displayed by the IDW. I personally chose to map the data along standard water quality monitoring guidelines using the following table for analysis:

and when using these guidelines the spline (tension) method only slightly differed from the IDW with the majority of the data falling into the "very good" range for both data sets, but a slightly bigger circle area falling under "fair" in the spline tension map.

IDW: "Fair" data is mapped in yellow and "very good" data in green

Spline tension: "Fair" data is mapped in yellow and "very good" data in green

Finally, here is more thoroughly symbolized view of my IDW map with BOD estimates. Although I would not necessarily need to use these number for water quality estimation, they give a good visual of how the IDW interpolation method calculated the water quality with regard to the data points.


 



Sunday, September 15, 2024

Special Topics- Lab 4- TINS and DEMS

 This week we explored utilizing ArcGIS Pro to create elevation models. Additionally we converted a DEM to a TIN in order to create a ski run suitability map that weighted aspect, slope and elevation and presented ideal locations for a ski slope.

TINs and DEMs are terrain models used to analyze topographic features. TIN data uses a type of vector data to model a 3D surface by linking a series of triangles of different sizes based on elevation point data. These data points vary in density in proportion to the terrain the terrain. More complex terrain contains more data points, while simpler terrain contains fewer data points. A DEM consists of raster data consisting of a regular grid pattern that models elevation. 

We used our TIN and DEM models to depict the contour lines and slope of our data. Although DEM contour lines are smoother and more reminiscent of a typical map, TIN contour lines are more accurate due to the ability of the data to represent various surface features, notably peaks and ridges.

The first image displays my TIN while the second image contrasts my DEM layer of the same data.





The biggest difference I noticed between the two layers was that the DEM seemed to over estimate the uppermost regions of the data, adding contour lines where they were absent from the TIN data.



Wednesday, September 4, 2024

Special Topics- Data Quality Assessment- Module 3

 This week we were asked to assess the quality of two road network data sets, Street Centerlines and Tiger, by comparing the completeness of the data on a grid-by-grid basis. We then mapped the resulting data onto a choropleth map.

To run this assessment, I split the data so that each grid could be analyzed separately.  I then used spatial join and summary statistics tools to further process the data. I exported my statistics to Excel to more easily analyze it and found that the Street Centerlines had no data for one of my grids. In total the Street Centerline data was 10,671.1 km in length with 134 of the grids being more complete than the Tiger data. The Tiger data was 11,253.4 km in length with 163 grids being more complete than the Street Centerline data. The Street Centerline data had 5.4% less road coverage than the Tiger data.

After assessing the data in Excel, I returned to ArcGIS and created a field to calculate the percentage difference between the datasets. There was an median of -0.18% difference in coverage between the Street Centerline and Tiger data.

I used this percentage difference field to create my choropleth map:





Tuesday, August 27, 2024

Special Topics- Data Quality- Standards- Module 2

 This week we used the standards set by the National Standard for Spatial Data Accuracy (NSSDA) to determine positional accuracy of a provided road network. The positional accuracy of the test data was compared to an established data set as well as to reference points obtained to orthographic images of the study area.


To determine accuracy we chose a sampling of 20 points meeting specific criteria (no less than 4 per quadrant, greater than 10% of the diameter in distance from other points) along intersections. We established reference and testing feature classes for each intersection. 





After creating our feature classes we added XY coordinates to the data. We used excel to calculate the RMSE and NSSDA values.

Based on my results I determined the following about the positional accuracy of each data set:

The ABQ street data tested  4.18 feet horizontal accuracy at 95% confidence level.

The Street Maps USA data tested 434.85 feet horizontal accuracy at 95% confidence level.


Wednesday, August 21, 2024

Special Topics- Calculating Metrics for Spatial Data Quality- Module 1

 This module covered spatial precision, accuracy and bias. We also learned how to calculate root-mean-square error and cumulative distribution function.

Accuracy refers to the closeness of a collected data to an accepted reference point, while precision refers to the agreement between the data points. 

To determine accuracy we created a feature class with a single feature that represented the average of the latitude and longitude of all the collected data. We then compared this with a provided reference point that represented the "true" value.

To determine precision we spatially joined the average point feature class with the original point data feature class to obtain a distance attribute calculation. We calculated the distance of 50, 68 and 95 percentiles of the data from the average location, and used the buffer tool to create a visual representation of the percentiles. After determining the horizontal precision and accuracy we then determined the vertical precision and accuracy using the altitude data.

Our horizontal accuracy was 2.97 meters while our horizontal precision was 4.17 meters. 

Sunday, August 4, 2024

Module 6- Least Cost and Corridor Analysis- Applications in GIS

 The second part of our final module in Applications covered least cost path and corridor analysis using cost surfaces. We worked with two scenarios. For the first scenario we analyzed slope, river crossings and river proximity to determine the best single possible location for a new pipeline within a given study area. We then took this information a step further and presented a corridor analysis. To do this we reclassified our features with their cost factor and utilized the Cost Distance and Cost Path tools.



Image 1


First we assessed for slope alone. As you can see this first image contains 4 water crossings. 

Image 2


After adding the addition cost value of the river crossing the adjusted pathway only contained two water crossings (yellow). However, we further adding a 3 raster feature layer to the cost analysis for river proximity. This gave us the final path in image 2 (red).
Image 3

    Finally, we used the corridor tool to get a corridor analysis of the data. Image 3 depicts a copy of the final least cost analysis overlaying the corridor analysis



    After establishing the basics of performing a corridor analysis we were tasked with determining the most likely corridor for black bear migration between two protected areas of Coronado National Forest. We evaluated suitability based on slope, proximity to roads, and landcover surveys. 
    After giving suitability ratings to each of my variables, I ran a weighted overlay to establish the importance of each variable for the cost surface. I ran my cost surface in the cost distance tool with each protected area to create two rasters for the corridor output. When running the corridor analysis I got a very widespread result that I wanted to narrow down. To do this I created an empty polygon feature class for my proposed corridor and drew a polygon around the most suitable of the corridors. I then clipped my raster to my proposed corridor.

Here is my final map:


 




Friday, August 2, 2024

Module 6- Suitability Analysis- Applications in GIS

This week we ran both vector and raster suitability analyses in ArcGIS Pro.

For Scenario 1, we were tasked with identifying suitable Mountain Lion habitat based on slope, landcover, and distance from rivers and highways. To do this we created slope and landcover Boolean grids as well as highway and river buffers. We ran the same data 2 different times to practice working with both raster and vector tools and methods of analysis. We combined our layers and assessed what polygons fit our suitability requirements.

Areas suitable for Mountain Lion habitat

For Scenario 2 we were given a study area and data and tasked with identifying how much land in the area was suitable for development. While the output of the prior exercise was just the polygons suitable for habitat, for this exercise we used a suitability rating. We reclassified our Land Cover classes based on suitability rating with agricultural and grassland landcover being most suitable for development and water, wetlands and urban areas classified as least suitable. We also gave suitability ratings to the soil class, slope and created buffers around the rivers and roads. After reclassifying our rasters, we used the Weighted Overlay tool to give weight to each class. We ran two scenarios, one with equal weight and an alternative scenario with more weight given to certain classes (slope) and less given to others (distance to roads). The weighted overlay tool gave me issues before I realized that it wasn’t keeping the suitability ratings I gave to my raster and was instead trying to reclassify them for an unknown reason.



Sunday, July 28, 2024

Module 5- Damage Assessment- Applications in GIS

This lab was a continuation of last week's as we again worked with Hurricane Sandy damage data. This time the output was hurricane track map as well as a structural damage assessment and analysis. To perform our damage assessment we created a feature class with all the attributes we wanted to collect data on. We created fields for structure damage, wind damage, inundation and structure type. These would be valuable data points to collect in the field, but for the purpose of this lab we were limited to what we could collect visually using remote imagery. We created raster mosaics for pre and post hurricane. Toggling between these two rasters, we created point features on each of the structures present, assessed and rated their level of damage on a scale of 0 (no damage) to 4 (completely destroyed) for a pre-defined area of interest. After completing and symbolizing my data I created a polyline feature class  to represent the coastline and parsed the data into damage category and distance from the coastline. My results are as follows:








Monday, July 22, 2024

Module 4- Coastal Flooding- Applications in GIS

 Increased occurrence of coastal flooding and sea level rise are two effects of climate change that threaten coastal cities. This week we performed a coastal flooding assessment to compare the rate of damage before and after Hurricane Sandy hit the New Jersey coastline. Then we used elevation models to delineate coastal flood zones in Naples, Florida.

For our hurricane damage assessment, we subtracted the pre-Sandy raster from the post-Sandy raster. It was very clear when inspecting the resulting rate of change raster what areas had the greatest concentration of damage. We then compared the resulting image to a building footprint from 2019 that showed what buildings were present at that time.



After learning how to use the reclassify and region grouping tools to create a predictive map of a storm surge, we created a map using two elevation models, a USGS DEM and a LiDAR derived DEM to predict areas and buildings effected by a 1-meter storm surge. We then analyzed the type of buildings affected and, presuming the LiDAR data was more accurate the errors of omission and errors of commission associated with the data.




Saturday, July 13, 2024

Module 3- Visibility Analysis- Applications in GIS

    This week’s lesson centered around 3D visualization techniques in ArcGIS as well as performing line of sight and viewshed analyses. Before working with 3D visualization there are several important core concepts to understand.

     We covered how to determine which of the 3 elevation types to utilize and how to set or change elevation type in ArcGIS Pro. The 3 elevation types are:

    - on the ground (typically used for vegetation or buildings)

                - relative to the ground (traffic cameras, subsurface features)

                -an absolute height (airplane paths, satellites)

    Other important terms are:

        -  cartographic offset, or adjusting the height of an entire layer so that the features are not obscured by others layers within the scene. In our case the houses were obscured by the trees, so we set the cartographic offset to 50 to make them visible.

        - vertical exaggeration, emphasizing vertical features on a map, particularly useful in cases where the horizontal extent is vast.

                          This image gives and examples of cartographic offset. The red dots represent houses in the  neighborhood. However, without sufficient cartographic offset some of the houses were obscured. 50 feet was sufficient to see all the houses clearly.

    We covered the process of extruding data. Extruding data from a 2D to a 3D feature can be a way to visualize more than just the literal dimensions of an object. For our exercise we extruded building using their absolute value in order to visualize the most valuable properties in a city.

For this map the yellow symbolizes residential properties, the pink represents commercial properties and the gray represents public housing. The height of the buildings isn't their actual height but instead representative of their absolute property value.

  Additionally we covered how to apply visual effects using symbology, and setting illumination properties for global and local scenes to see the effects of shadows and illumination on the scene. 

    After we covered introductory 3D concepts we performed both a line of sight analysis and a viewshed analysis. 

    The 3 main steps to performing a sight line analysis are to determine observers and targets, construct sight lines, and determine lines of sight. We used ArcGIS 3D analyst tools to complete these steps. We considered line of sight from 2 observation points along a parade route we considered only those with visibility within 600ft which left clear gaps in coverage from a security standpoint.

                        The centermost portion of the parade route was completely absent of coverage with the line of  sight analysis at 600ft.

For our viewshed analysis we assessed a proposed campground lighting system to determine what height was necessary to obtain sufficient campsite coverage.


Viewshed analysis photos assessing a proposed campground lighting system. Ideal coverage was more than 2 observers.
    
    Finally we covered how to create a site-specific 3D scene in ArcGIS Pro from 3D datasets. One important tip I took note of in this section is that when you are extruding features from 2D to 3D symbology (such as a building), one way to ensure accuracy is to extrude the features at an absolute height, and then convert the newly extruded features to multipatch features before switching the elevation type to "on the ground". Drawing at an absolute height ensures the slope of the terrain doesn't interfere with the rendering of the feature, and if you change the elevation type before converting the data to a new feature class it will not keep the features as they were drawn at an absolute height but will re-draw them at ground level. I also found it worth noting that extruding the features does not automatically make a new, shareable 3D feature class.

    Overall I feel like this exercise gave me new insight into what 3D tools and options are available to me with ArcGIS Pro.


-   

- 

Friday, July 5, 2024

Module 2- Applications in GIS- Forestry and LiDAR

    This week we worked with Virginia LiDAR data from Shenandoah National Park to create a DEM and DSM, forest height and forest biomass (canopy density) layers. I found the LiDAR data a bit tricky. The layers themselves flowed smoothly but, when viewing in 2D, I never could get my LiDAR data to populate on my map without zooming in so far that it rendered the visual pointless. Regardless, I was able to work around this by creating a 3D map with the LiDAR layer, the 3D model had less trouble populating than the 2D although I still couldn't view it zoomed out as much as I needed to for my final map.

We used the Point File Information tool to summarize the contents of the LiDAR layer and then created a DEM layer using the LAS Dataset to Raster tool with ground points. We created a DSM layer using Non-Ground Points. For the heigh layer we subtracted the DEM from the DSM using the minus tool.

To calculate biomass density, we used the LAS to multipoint tool and created a layer representing the ground and a layer representing the vegetation. We converted these layers to rasters with a “count” assignment. We used the IS NULL tool to create a binary file for each layer, then use the Con tool on these created layers to accept as true if value of 0 is encountered and to pull a value of 1 from the original raster to pull the ground and vegetation layers separately.

We used the Plus tool to combine these layers and the Float tool to transform the information from an integer to a float. Finally, we calculated density using the Divide tool to compare the vegetation raster that was created using the con tool with the float data. I realized ¾ of the way through this process that this would have been a great time to have used the Model Builder we learned about in GIS Programming last term, but since I had already created so many files it had become counterproductive to use it at this point. If I was doing these calculations frequently, I would create a model to use to make the process more efficient and leave less room for error. Eventually I had so many features I was working with, and I was trying to remember which one was from which step even with intentional naming patterns. A model would have been very useful.

Finally, we created a histogram chart to display the height data created earlier in the lab. The exercise had said negative values were in error, but I was having a hard time finding how to exclude the handful of negative data points. For our vector data we excluded the point in the symbology pane, but this wouldn’t work for the raster data set. Eventually I discovered a button called “Selection” which I could toggle on and off that, when combined with a SQL clause, allowed me to exclude data as needed. I used this to remove all data points below 0 from my histogram.

Here are 3 maps that I created from some of the many layers I created in this process.


Ideally I would have zoomed out a bit more for this lidar image but I this was the farthest I could zoom out without it switching to only showing the extent lines.

         






 

Sunday, June 30, 2024

Module 1- Applications in GIS- Crime Analysis

 A new term, a new course. We kicked off the Applications in GIS course learning about how GIS can be used in crime analysis. We made a choropleth map and a kernel density map depicting 2018 burglary rates in Washington DC. Then we created 3 hotspot maps (Grid Overlay, Kernel Density and Local Moran’s I) using 2017 homicide data for Chicago. We determined which analysis method was a better predictor of areas at higher risk of future homicide when compared to 2018 Chicago homicide data.

Crime density was highest within the Grid Overlay map, and lowest within the Local Moran’s I map. There was a correlation between crime density and total area of the of the hotspot, with Grid Overlay having the lowest total area since we set our parameters to consider only the top 20% of crime areas.

I did make an obvious mistake when I initially created my Grid Overlay map. I calculated the top 20% manually since there isn’t a tool for this task. There was no way to filter by attribute for this task either, but initially I used the select by attributes option and selected by objectID the last 62 features. I realized when I was completing my write up that even though I had sorted by homicide count in my attribute table, the object ID was a standard and would not have changed when I chose to sort by homicide count. There isn’t an option to select by the field number on the far left which would have been an accurate choice. I suppose I could have added a new field and numbered them that way but it was quicker to just manually select from 249 on towards the end after they were already sorted by homicide count. This was an obvious error, and I wasn’t sure how I overlooked it but fortunately I caught it because it would have greatly skewed my results. My initial (wrong) Grid Overlay had a significantly lower density than the other two analysis methods. One fact to consider when running these analyses is that the more manual tasks are involved in an analysis method, the more room there is for error.

Here are my 3 hotspot maps for the city of Chicago.





Monday, June 17, 2024

Module 6- Working With Geometries- GISProgramming

 This week we focused on working with geometries: reading geometries, working with multipart features and writing geometries. We got to work with the search cursor more but this time we worked with tuples which I found a bit more complicated when trying to print my script.

 

We worked with a rivers shapefile for this lab. Our first task was to create/open a new empty txt file that could be written in. The goal of this lab was to populate this text file with the name, x, y, coordinates, OID and to number the vertices for each row of the features in the rivers class.

We began with a search cursor. Initially when setting up my cursor I was not putting the search variables in the correct order. I put “NAME” first and when I tried to run my script I kept getting an integer error that cleared when I moved it to it’s proper order in the cursor.

 Once I got this sorted, I kept getting errors when trying to print the “NAME”. I tried using the getValue method that we used in the last lab to no avail. I kept getting an error that the “tuple” object has no attribute “getValue”. I also tried setting the NAME as a variable, like I did when I had issues in the last lab, but it wasn’t successful. I looked in the exercises we worked on before this assignment, but we never printed off any non-numerical variables, so I wasn’t sure how to approach this. I knew it was a tuple and I noticed as I reviewed last week’s script that last week’s search cursor was not so I tried variations on ways that can call a tuple value, but they didn’t work. Finally,  I referenced the documentation https://pro.arcgis.com/en/pro-app/latest/arcpy/data-access/searchcursor-class.htm and was able to print using the f’({})’ option they showed.

 

The goal was to populate a txt file, but to ensure I was printing the information properly without having to open the file each time I ran a matching print statement after my writing function. I focused on getting my print statement to work correctly while leaving the writing function commented out until I was ready to try to run it. When I finally got my print statement to print appropriately, I tried to move it to my txt file. I simply copied the entire parenthesis part of the statement and put it after my write to file function. However, I received an error that only one argument could be added. I was able to solve this by concatenating the individual statements as opposed to using a comma. After doing this I was able to run the script to add all the values that way, but my file was still blank when I checked to see if it filled in the correct data. I re-read the chapter on this and realized I left out my file “close” statement. I added the close statement, but I added it within the “for” loop instead of outside of it. This led to a value error that was resolved when I moved it outside of the loop. My txt file finally(!) populated but at this point it looked like it didn’t have the OID and Vertex numbers. I tried several options including str() before I realized it WAS giving me the first two numbers, but it was leaving out the space between them and the coordinates. I was easily able to resolve this by adding an extra space between each item I wanted in the write to file. I did not need this space for the print statement. It was very rewarding to see my populated text file.

 Here is a flowchart for my script along with an image of the resulting txt file.

                                    














GIS Portfolio

 We were tasked to create a GIS portfolio for our internship program. It was a great opportunity to put organize the work I have been doing....