About Me

My photo
Geógrafa pela Unicamp (2014), incluindo um ano de intercâmbio universitário na Universidade de Wisconsin (EUA). Possui experiência na área de geotecnologias, GIS e planejamento urbano, tendo realizado estágios na Agemcamp, American Red Cross e - atualmente - no Grupo de Apoio ao Plano Diretor da Unicamp.

Sunday, February 24, 2013

Distance-Azimuth Survey


Introduction

Nowadays, although technology is mainly used to spatial data collection, it’s not always available for everyone. Sometimes you can have the necessary equipment, but depending on regulations of the place the collection will be done, authorities can take it from you. In other occasions, the equipment cannot provide accuracy enough because of the natural conditions. Also, technology tends to be expensive, so not everyone is able to have access to it.

With that in mind, alternative equipment to collect data was presented to the students. The compass, distance finder or the laser device were used in the old days when the technology wasn’t as available as today. All the students were able to put the hands on the equipment and collect simple information outside, as a way to understand how the technique works. After that, the information was transferred to ArcGIS, where it was possible to analyze the points collected and to have an idea of the accuracy involved with the procedure and how it would be possible to improve it in a second collection.

Thus, each group chose one of the equipment, a site and a theme to map. This report will cover the collection of fifty trees in the Owen Park and its heights, using the laser device. The goals of this project are to acquire knowledge of how these alternative methods work and be able to understand and compare the pros and cons of each method.

Methodology

The equipment introduced give two main methods to acquire data: one is using the compass to get azimuth and a distance finder for the length between the observer and the object; in the other hand, the laser device gives both in the same equipment. Although there are technicalities that differentiate the methods, both lie on the concept of azimuth and distance. The idea is that as long as you have an accurate coordinate of your position, you can infer other positions using direction and length.

The direction is based on the azimuth, which is the clockwise angle between the north and your direction. The Earth magnetic field allows the compass to show where the magnetic north is, and by that, it’s possible to infer the azimuth. It’s important to understand that the magnetic north is different from the true north. The relation between them is called magnetic declination and it depends on the year and location you are, so adjustments have to be made. Since in Eau Claire the declination is close to zero, there are no big concerns in this matter, but it’s important to be aware of it.

Starting the first method, the compass will be corrected, if necessary, and it will be towards the object being mapped. The number observed will be the azimuth, and it will be noted in a table. Standing in the same position, one will hold the part I of the distance finder while the other will go to the object holding the other part of the device. The result will be the distance between the two parts, which will also be noted in the same table as the azimuth, but in a different field. Names and other attributes for each feature are collected at this time, using the table, to maintain organization.

The data collection in this project used the second method, which resembles the first, but it’s more convenient. The same data will be collected with the same organization in a table, however, with a different device. An internal compass provides the azimuth when directing the equipment to the target. For the distance, the laser emits infra-red energy pulses that will hit the target and return. The calculation of the time it takes, considering the speed of the pulse, will give the distance. Also, the laser device provides the option of calculating a vertical distance, which was used to acquire information about the tree heights. In this case, a tilt sensor calculates the angle between the straight line to the target, and the calculations result in its height.

Thereby, it was planned to collect fifty trees within the Owen Park between 2:30-4:00PM of February 20th, the decision of when to collect took in consideration not only the students availability, but also the outside conditions – as temperature and precipitation – to minimize its impacts on the collection. The temperature was approximately -10°C, being reasonable for collection and there was no precipitation at the time.

Four street corners were used as origin points (Figure 1) and marked in an aerial image taken to the field. The division of tasks were settle in a way that in 25 points, one would be using the device and the other taking the notes in a table, and in the other half, the tasks would be switched. The technical modes used on the device were azimuth (AZ), slope distance (SD) and vertical distance (VD), with a precision of one decimal place. In the AZ and SD mode, the device would be hold straight to the trees, targeting its trunk. For the VD mode, the crown of the tree would be targeted, trying to reach the most thick and high branch.

Figure 1 - Andrew using street corner as a reference.


After the collection, the data should be normalized to meet the standards of the tools used in ArcGIS: Bearing Distance to Line and Feature Vertices to Points. For that, a table in Microsoft Excel was created with the essential fields (Figure 2). The data related to the origin points were collected using Google Earth. The ArcGIS help doesn’t specific in which coordinate system and units the origin points should be, so the Geographic Coordinate System in degrees was tested and worked fine in the first test, so the same standard was used at this point as well.

Figure 2 - Table creation with appropriate fields.


The “bearing” field has the information in degrees about the azimuth. The command works by creating a line staring from the origin point in direction of the azimuth and having the length of the distance field, as presented in the Figure 3, where the “0 degrees” can be considered the true north.

Figure 3 - Geometric method to locate points with azimuth (bearing) and distance.


After running this command, the Feature Vertices to Points simply create points in the vertices of any feature inputted. The result, however, includes repeated origin points, since they were vertices of the previous feature. They should be deleted because the feature class is supposed to have only tree points.

Discussion

The collection section of this exercise can be considered successful, but some problems found should be discussed. Firstly, to target an exact point is necessary to keep the device totally still, which was compromised even by the slight shake (Figure 4). This problem would be increased when the trees were far or its trunks were thin. A simple way to solve this problem is to have some sort of mobile tripod, which would guarantee the stability of the equipment. Unfortunately, this problem was only noticed already in the field, so this extra equipment was not available.

Figure 4 - Beatriz trying to using the device without slight shakes.


A similar problem was increased when dealing with the vertical distance. At this time of the year, the crowns of the trees are totally without leaves, and the branches were extremely thin and similar between all the trees. Then, it was hard to identify while targeting, if the branches observed were from the target tree or from another in front of it. It was only possible to notice the errors after targeting, by obtaining some non-logical results as three meters for an extremely tall tree. The way found to solve this problem was to move closer to the trees targeted, since the height result is not compromised by the origin point.

Next, the information collected had to be transferred into ArcGIS. For that, it’s important to emphasize the importance of editing and using the default geodatabase in the document properties. Sometimes ArcGIS run in some problems with saving in a place other than your default geodatabase. If you are not aware of which geodatabase is being defaulted, you might encounter this problem.

The use of ArcHelp was essential to find the appropriate tools that would be used and understand the details pertinent to it, especially before building the excel table, so the coherence between the commands and the information provided in the table was guaranteed.

To obtain the origin points coordinates, it’s important to think about the units and precision being used. Usually, the standard is to use one or two decimal places of precision. However, the project is dealing with a large-scale map, so displacements are easier to be noticed. Also, the input of the coordinates is in degrees, which are not easily understandable as a distance measurement. Thus, it’s necessary to calculate the meaning of 0.1° in the site to be aware of how the precision can affect the results. That involves the extent of the circumference of the Earth and the latitude of the site. In Owen Park, 0.1° represents approximately 8km. Thus, if a precision of only one decimal place was used, the trees could be placed in the other side of the city. That’s why a precision of six decimal places were used in this project, which gave reasonable results (Figure 5)

Figure 5 - Trees Locations using ArcGIS tools

However, by analyzing the results, it’s possible to notice that they are not totally accurate: the trees 1, 2, 3, 6, 8, 26, 43, 44 and 46 were placed in the middle of the street, which doesn’t represent the real-world situation. Then, some explanations for the inaccuracy were considered.
At first, since the direction of the lines seemed incorrect, the precision of the azimuth was considered as an issue. It’s true that the lack of precision has more effect when the distance is higher, so it might have caused problems with the trees collected from further distance. However, after calculating the margin of error (Figure 6) of every three based on the 0.1 level of precision of azimuth, the maximum error would be only 10 cm, so another reason for the inaccuracy had to be found.

Figure 6 - Calculation of the Margin of Error (using trigonometry formulas)

The data related to the Area of Interest that support our analysis should be collected in a scale as big or similar as the site. However, the basemap used to compare the results obtained was probably produced in smaller scales, covering a much larger area. The basemap also was simply imported from ArcMap standard database, so there’s no information about the quality or scale. It’s not possible to determine if the process of orthorectification, where the aerial image would be geometrically corrected to have an uniform scale, was applied to the photograph. With that in mind, it leads to think that the aerial image is distorted in some way, especially when noticing that if the image was slightly rotated in the clockwise direction, all the trees placed in the streets would be in their real place.

Another reason that interfere the quality and accuracy might be the presence of particles in between the collector and the target, misguiding the equipment to hit a different target. The laser is based in infrared light, so the wavelength is somewhere in between 0.7µm and 1mm. Then, objects bigger than that might affect the result obtained. This reason was though because during class, it was snowing and some weird results were found. The size of a snowflake is usually higher than 1mm, so the odd results might be caused by that. Thinking that the air might contain particles in that range of size, which cannot be easily seen, it’s not impossible to consider that collection can be compromised by that as well.

For last, it’s interesting to notice the results related to the height of the trees (Figure 7). Since there was no supporting data as the basemap for the locations, it was not possible to test for inaccuracies, however, considering the range of sizes and their distribution, it can be said that the laser device worked reasonable to acquire that information.

Figure 7 -Heights of the trees in Owen Park


Conclusion

The use of technologies for data collection, as GPS, is doubtless more convenient, practical and fast. The test for accuracy can be done more easily, by checking the PDOP of each collection. However, there’s some situations where the alternative methods can be even more precise than the GPS. For instance, in a dense forest in a cloudy day, it would be extremely hard to obtain a reasonable PDOP for the collection. However, the methods described in this project are not affected by these variables, since there’s no signal coming from a satellite. The only thing that could compromise its work would be a magnetic change, which is not considerable, or the problems discussed before, about human limitations and the laser wavelength. However, the collection with this method is time demanding and requires more knowledge from the user.

Therefore, the method used for one collection should consider all these variables to reach to the decision of what better fits its purposes. Rarely the alternative methods would be used, it’s impossible to deny the predominance of GPS. However, it’s immensely important to be aware of those methods and know how to use them in case of the unforeseen. Technology should not be neglected, of course, but we should not rely totally on it. 

Sunday, February 17, 2013

Balloon Mapping I - Preparation



Introduction

Satellite images and aerial photography are used for mapping purposes mainly by government institutions and people in power. Thus, the general public usually depends on their releasing information, which can be distorted by different interests, since the obtainment of satellite and aerial photography is expensive. Also, the images are usually out of date and do not represent the current status of the land. Alternative sources as Google Earth are valuable; however, they’re not systematically collected nor released which doesn't meet the scientific purposes of a project.  

The Balloon Mapping Method consists in using a camera in the continuous mode elevated by a helium balloon to acquire aerial images of the surface. It’s a low-cost alternative to obtain updated and specific data of an area with a reasonable level of detail. In this project, the class is working together to build and organize the balloon mapping and the later High Altitude Balloon Launching.

Methodology
Figure 1 - Payload Weight


Different kinds of materials were gathered and the students had to find out, using their creativity and some tutorials available, how to create the equipment properly to flight with the appropriate conditions. There was different areas working separately with the construction of a mapping rig and of a High Altitude Balloon Launch (HABL) rig, testing the parachutes, weighting the payload of both HABL and mapping rig (Figure 1), designing and implementing continuous shot on the cameras, as well as implementing and testing the tracking device and planning how to fill the balloon and securing it to the rig.

Whereas the students divided themselves in different groups with different purposes that will be connected at the end, this report focuses mainly in the construction of the mapping rig as well as the design of implementing continuous shot on the cameras. The specific goal for this section was to build a structure that properly protect the camera in case of a fall, without compromising the picture frame and guaranteeing the continuous mode with an automatic trigger.

Initially, the continuous mode needed to be found and evaluated in the available cameras. The type of picture taken and the shooting rate had to be considered to find the most appropriate mode for shooting. Plastic bottles were used to be the main protection for the camera; however, since there were different sizes of cameras and bottles, it was necessary to find the proper match between them.

Having that, duct tape, strings and rubber bands were used to hold the camera inside the bottle in a way it wouldn’t fall, but keeping in mind that the bottle must not appear in the picture frame, reason why, tests were made to guarantee that. Also, the permanence of the continuous mode depends on a trigger that keeps the button hold for the whole flight. Thus, the use of small eraser pieces and a knot in the rubber band were tested to find which one would work better to maintain the mode active.

Discussion

Firstly the continuous mode was being tested in three cameras. Since they have different software templates, this setting was displayed differently in each camera, thus, it took some time to set all of them in the same mode. 

After a size match with a two litter soda bottle, only one camera was the focus to further adaptations. The camera fitted inside the bottle tightly, reason why it was tested inside a bigger bottle as well, however, in the last one, since there’s more space available, the movement of the camera is increased, which can be cause blur in the pictures.
Figure 2  -  Second and bigger rig, it's possible to notice the space inside it, where the camera can move around.
Hence, there’s two options and their pros and cons: the first rig can provide stability of the camera, minimizing the blur of the movement, but the protection is minimized because it directly contacts the plastic; in the other hand, the second rig (Figure 2) can provide full protection, but the movement of the camera is higher, as well as the blur in the pictures. More tests related to the safety and picture quality have to be done to judge which one is more appropriate for the project purposes.

Something similar happened with the design of a trigger for the shooting button. At first, a small piece of eraser was used together with the rubber band to push the button continuously. However, with the strong pressure of the rubber band, it kept falling off repeated times. Then, it was decided to create a knot in the rubber band and test if that was enough to keep the button pressed, what resulted in a more convenient design. The only challenge in both cases was to deal with the zoom tool of the camera, placed together with the shooting button (Figure 3). All the times that the rubber band is being placed on the button, it activates the zoom mode, which is something not intended for the project. Hence, caution is necessary when activating the camera for shooting, so it doesn't activate the zoom as well.
Figure 3  - At the left, the eraser trigger causes prominence of the rubber band  on the button location, while at the right, the knot pushes the button without excessive pressure. In both cases, it's possible to notice the zoom tool attached to the button.



Conclusion

For the purposes of testing, planning and defining which materials and designs are more efficient and appropriate for the mapping and launch, the exercise was successful, although it’s necessary more adjusts and connection between each different section. It was a great exercise to organize a big group in a singular goal. The division of tasks worked effectively, yet not being totally separated: since everyone was together working at the same time, it was possible to presence other’s plans. Also, the flexibility and freedom to create the design for the rig exercised creativity by the trial and error of different ideas.

Though the exercise consisted more in planning the future mapping than actual collecting data, it’s important to realize the meaning of this project as the possibility of acquiring high resolution and significant images by the general population, instead of being concentrated only in positions of power. In this case, it’s only being used cameras with the visible portion of the electromagnetic spectrum, but the near infra-red could be used as well. Digital cameras are able to detect reflectance coming from this portion of the spectrum, but the manufacturers intentionally insert a NIR filter inside it. Its removal involves more complicated and technical – yet possible – procedures with the camera, reason why it was not included initially in this project. However, it’s an option that would give even more information, for instance, to detect vegetation health. Therefore, this project shows how the technical geographic knowledge allied with the creativity can enable the obtainment of valuable and extensive data with simple equipment.

Sunday, February 10, 2013

Sandbox Elevation Model Continued


 Introduction

In this project, the preliminary data collection was analyzed using 3D tools, working with the different types of interpolations showing where improvements could be made. With that, the evaluation of how a re-survey refining our data would better work was made. The second collection was made and the data manipulation with ArcMap, ArcToolbox and ArcScene resulted in a consistent representation of the landscape designed inside the planter box.

Methods

After the data collection, it’s necessary to format the table using Microsoft Excel so each point has x, y and z columns. With this format ready, the creation of a feature class using this coordinates is possible in ArcCatalog or ArcMap.

With the point feature class in ArcMap, it’s time to create a raster related to the Z value of the points. Five interpolation methods were used with ArcToolbox to create rasters: IDW, Kriging, TIN, Natural Neighbor and Spline. These raster files are necessary to provide a 3D view using ArcScene.

The 3D view allows the analysis of the accuracy of the results in comparison with the real model in the planter box. With that, it’s possible to decide what might be changed in terms of density of points and which interpolation method best represent the features designed in the box.

With this in mind, a second collection is necessary to refine the data and obtain better results. For this survey, strings were used to create the grid where the points would be taken. Nails were placed with a hammer (Figure 1) to fix the strings, avoiding the latest problem where the negative temperature compromised the effectiveness of the tape that was being used. Also related to the temperatures, the day chosen to collect the data was warmer than last time and the strings were cut inside the building to minimize the amount of time outside.

Then, the same computer process was applied: formatting table, creating a feature class, transforming it into a raster and visualizing it in three dimensions with ArcScene. The final result will be a digital model that reasonably represents the landscape designed in the planter box with accuracy.


Figure 1 - Use of nails and hammer to fix the strings.
Results

As it was seen in the last report, the note-taking was made following the box shape, instead of having three different columns x, y and z for each point. Hence, it was necessary to create a table (Figure 2) in this format to allow the creation of a feature class with the data.

Figure 2 – Fixed format of coordinates.

Then, the feature class was created and used to create five rasters using the different methods of interpolation. Using ArcScene, the visualization in 3D (Figure 3) made it visible which methods represented better the surface and which features in the landscape needed more detail.

Figure 3 – Results in three dimensions.

Unfortunately, none of the methods were able to represent one of the features designed in the box: the river flowing in the right-upper corner of the Figure 4 was supposed to be represented with minor elevations in the left-lower corner of the 3D images in the Figure 3. Some points in this area does have the pattern of low elevations, however, they don’t have continuity as the river should have.  

Figure 4 - Landscape in the planter box with the river.
Therefore, the density of points being collected was the first change for the second survey. At the first survey, the point collection was being done starting from the origin with 6 inches intervals to east and north. Thus, the new collection was done starting from the origin with 8cm intervals. (Figure 5). The International System of Units was now applied since it fits better the scientific purposes of the project. (Figure 6)


Figure 5 – Comparison between data collection methodologies.

Figure 6 - Use of SI to measure the intervals.

Then, the collection was made collecting points of the strings’ intersections. (Figure 7)
Figure 7 - Elevation data collection.
With the data collected in the notebook, the table was formatted in Excel (Figure 8) and used to create the feature class. Using ArcToolbox, the different interpolation methods created five raster files that were visualized in 3D in ArcScene. (Figure 9)
Figure 8 - Notebook data formatted to an excel table.

Figure 9 - Visualization in 3D of different interpolation methods.

Conclusion

The analysis of the 3D model results indicate that the spline method was the one that best represented the surface designed in the box. The reason for that is that there’s a higher generalization in the unknown areas that smoothly represents the landscape. In the other methods, it’s easy to notice some geometric shapes that are repeated over the surface, which doesn’t represent the real-world. Besides the spline method, the natural neighbor method also represented reasonably the landscape.

Also, the increase of points collected clearly shows the improvement in the representation over the surface. The river is now well lineate and the heterogeneity of the surface is more apparent.

The project as a whole showed how a preliminary collection can improve fairly the final collection and result.

Sunday, February 3, 2013

Sandbox Elevation Model

Introduction

The first assignment of the class consisted of the construction of a fictitious landscape inside the Phillips's Courtdyard Garden Planter Boxes to model a real surface. It also included the later survey of coordinate points, including elevation (x,y,z), to transfer the elevation model to ArcGIS.

However, instead of having a step-by-step tutorial with all the procedures to complete the tasks, we were suppose to use our creativity, so we had freedom to decide how we would do this. 

The exercise worked as a miniature of a real fieldtrip, where you need to plan how you'll obtain your data, which tools you'll use, how the outside conditions may interferer in your collection and find out how you'll deal with that.

It will be possible to learn how to improve the data collection in a real-world situation, by the evaluation and experience obtained in this exercise.

Data Collection
Figure 1 - Data Collection
Methods

Firstly, it was necessary to plan how the data collection would be done. In a preliminar meeting, the group decided some specifications of the coordinates, such as where the origin would be located and which level of detail we would use, or in other words, how big the collection interval would be. Then, it was decided to create imaginary 6x6 inches boxes with the strings and collect the central point of these boxes. This model was drawn in a notebook where the elevation points would be written on.

For that, a big ruler, measuring tape, string and a knife were necessary. We went outside on January 31 afternoon, and then we started creating the landscape with the snow available. We created hills, mountains, rivers and plains. With the measuring tape and the knife, we marked the 6 inches interval points from the origin (Figure 1).

We tried to tie the strings in these marks, however, the tape we got for that didn't work as we expected, so the strings were not getting fixed in the wood.


Then, we took advantage of the big ruler we had, which could work as the string, and we positioned it in each two points of the planter box, so with the measuring tape, we could collect the points every 6 inches inside of that imaginary box.



After the collection, the data were typed in excel, following the idea of the boxes. With the data, it was possible to calculate the x and y coordinates. The numbers obtained for the elevation were multiplied by -1 to reflect the idea that the top of the planter box was the mean sea level.

In total, 98 points were collected, as it's possible to see in the Figure 2. The next step is to input this coordinates in a single table and import to ArcGIS, which will be done in the next exercise.

Discussion

This exercise was really productive considering the learning aspects. Since we had to figure out by ourselves the procedures, we had the opportunity to try different methods and notice the ones that would work better. The self-analysis is crucial in this step, because after the work was done, we had a lot of lessons.


The first big lesson was to be really aware not only of the outside conditions, but of the period of time you're going to be in these conditions. At the time we were collecting the data, it was -15ºC, which is an acceptable temperature to walk from a building to another. However, the collection last much longer than that, compromising our work. Thus, in the next projects, a good strategy is to be outside for a while to test how these conditions might compromise your work or not, and then, depending on how it's, to adapt - in this case with more layers and gloves - to avoid the loss of productivity.

Another important lesson is to plan ahead and leave everything prepared before you go to the field. That's more important when the outside conditions are challenging, but it's still truth in any occasion. We need to cut the string pieces with the right size for the box, but it was a lot of strings and we did that outside. Considering it was extremely cold, it would be better if we have got the right measurement and cut all the strings inside. So, it's really important to plan carefully and think about details like that, sometimes they're small and won't compromise the project, but in more challenging situations, it can be a real problem.

However, these obstacles we faced were seen by us as challenges that we felt happy to overcome and learn with them. It was a good experience to work as a connected group, despite the division of tasks. Also, the freedom of ways to collect the data made us more flexible. Hence, when a unforeseen problem happened - as the tape not fixing the strings - we could quickly improvise a different way that would work as much as the other. This allowed us to exercise our creativity and learn how to deal better with the unexpected things that happen in the field.

Conclusion

The exercise should be considered successful in its objectives. We were able to plan ahead and understand better which techniques we could use to collect data at the field. By executing, the challenges worked as a way to teach us different ways to deal with it and still get the necessary results. For last, by registering all the work in a report, it was possible to evaluate the experience as a whole and to learn better ways to collect the data in future field-works.