<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Scratching Surfaces &#187; Acacia Trees</title>
	<atom:link href="http://www.surfaces.co.il/category/acacia-trees/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surfaces.co.il</link>
	<description>Open Source - GIS - Thoughts</description>
	<lastBuildDate>Wed, 22 May 2013 08:26:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
		<item>
		<title>Acacia seedling update</title>
		<link>http://www.surfaces.co.il/acacia-seedling-update/</link>
		<comments>http://www.surfaces.co.il/acacia-seedling-update/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 13:56:18 +0000</pubDate>
		<dc:creator>Micha Silver</dc:creator>
				<category><![CDATA[Acacia Trees]]></category>

		<guid isPermaLink="false">http://www.surfaces.co.il/?p=1137</guid>
		<description><![CDATA[I visited the growing acacia tree seedling, and took some measurements and photos this week. Here are the results compared to last year. &#160; I&#8217;ve started to measure the diameter of each of the main branches separately (even though they&#8217;re only twigs so far&#8230;). That should give a more accurate picture of how the plant [...]]]></description>
				<content:encoded><![CDATA[<p>I visited the growing acacia tree seedling, and took some measurements and photos this week. Here are the results compared to last year.</p>
<p><span id="more-1137"></span></p>
<h2 class="wp-table-reloaded-table-name-id-1 wp-table-reloaded-table-name">Acacia Seedling data</h2>

<table id="wp-table-reloaded-id-1-no-1" class="wp-table-reloaded wp-table-reloaded-id-1">
<thead>
	<tr class="row-1 odd">
		<th class="column-1">Date visited</th><th class="column-2">canopy width (cm.)</th><th class="column-3">height (max)</th><th class="column-4">trunk diameter (cm.)</th>
	</tr>
</thead>
<tbody>
	<tr class="row-2 even">
		<td class="column-1">April 2011</td><td class="column-2">58</td><td class="column-3">22</td><td class="column-4">1.4</td>
	</tr>
	<tr class="row-3 odd">
		<td class="column-1">Jan 2012</td><td class="column-2">68</td><td class="column-3">30</td><td class="column-4">0.8<br />
0.7<br />
0.63</td>
	</tr>
</tbody>
</table>
<span class="wp-table-reloaded-table-description-id-1 wp-table-reloaded-table-description">Physiological measurements of this tree <br />
located at:  Longitude 35d10'18.533"E and  Latitude 30d47'33.321"N <br />
Elevation -40 m </span>

<hr />
<p>&nbsp;</p>
<p>I&#8217;ve started to measure the diameter of each of the main branches separately (even though they&#8217;re only twigs so far&#8230;). That should give a more accurate picture of how the plant grows over the years.</p>
<p>The pix are a bit dim as it was a cloudy day. We&#8217;ll see how the fella is doing later in the spring, and try to bring back better portraits.</p>
<p>&nbsp;</p>
<div id="attachment_1139" class="wp-caption alignleft" style="width: 410px"><a href="http://www.surfaces.co.il/wp-content/uploads/2012/01/MyAcacia_012012a_sm.jpg"><img class=" wp-image-1139  " title="MyAcacia Jan 2012" src="http://www.surfaces.co.il/wp-content/uploads/2012/01/MyAcacia_012012a_sm-300x182.jpg" alt="MyAcacia Jan 2012" width="400" height="182" /></a><p class="wp-caption-text">MyAcacia Jan 2012</p></div>
<div id="attachment_1140" class="wp-caption aligncenter" style="width: 410px"><a href="http://www.surfaces.co.il/wp-content/uploads/2012/01/MyAcacia_012012b_sm.jpg"><img class=" wp-image-1140  " title="MyAcacia Jan 2012" src="http://www.surfaces.co.il/wp-content/uploads/2012/01/MyAcacia_012012b_sm-300x169.jpg" alt="MyAcacia Jan 2012" width="400" height="169" /></a><p class="wp-caption-text">MyAcacia Jan 2012</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.surfaces.co.il/acacia-seedling-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>My Acacia seedling</title>
		<link>http://www.surfaces.co.il/my-acacia-seedling/</link>
		<comments>http://www.surfaces.co.il/my-acacia-seedling/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 20:26:55 +0000</pubDate>
		<dc:creator>Micha Silver</dc:creator>
				<category><![CDATA[Acacia Trees]]></category>
		<category><![CDATA[Mountain Biking]]></category>

		<guid isPermaLink="false">http://www.surfaces.co.il/?p=1106</guid>
		<description><![CDATA[Last week&#8217;s bike ride was out to the wadi where &#8220;my&#8221; acacia seedling is struggling to survive. I was very satisfied to see that, with the cool winter weather, the plant has become green and seems to be doing well. On my last visit, during the scorching summer months, the seedling looked totally dried out [...]]]></description>
				<content:encoded><![CDATA[<p>Last week&#8217;s bike ride was out to the wadi where &#8220;my&#8221; acacia seedling is struggling to survive. I was very satisfied to see that, with the cool winter weather, the plant has become green and seems to be doing well. On my last visit, during the scorching summer months, the seedling looked totally dried out and dead, and I wasn&#8217;t sure it would pull thru. We haven&#8217;t had any rainfall yet, just the lower temperature was enough to allow the plant to start growing again. These thorny buggers have eons of evolution behind them, so I guess they know how to deal with the arid season.  I&#8217;ll visit again later during the winter and take measurements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surfaces.co.il/my-acacia-seedling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Are acacias really dying out?</title>
		<link>http://www.surfaces.co.il/are-acacias-really-dying-out/</link>
		<comments>http://www.surfaces.co.il/are-acacias-really-dying-out/#comments</comments>
		<pubDate>Fri, 06 May 2011 13:04:06 +0000</pubDate>
		<dc:creator>Micha Silver</dc:creator>
				<category><![CDATA[Acacia Trees]]></category>
		<category><![CDATA[Israel]]></category>

		<guid isPermaLink="false">http://www.surfaces.co.il/?p=994</guid>
		<description><![CDATA[The Acacia is one of the few indigenous trees that survives in the harsh conditions of the Arava region of southern Israel. With global warming accelerating, some environmentalists have voiced concern that acacia stands are drying up. However almost no research is being done on natural regrowth. Two species of acacia grow naturally in the [...]]]></description>
				<content:encoded><![CDATA[<p>The Acacia is one of the few indigenous trees that survives in the harsh conditions of the Arava region of southern Israel. With global warming accelerating, some environmentalists have voiced concern that acacia stands are drying up. However almost no research is being done on <strong>natural regrowth</strong>.<br />
<span id="more-994"></span><br />
Two species of acacia grow naturally in the Arava wadis: the <em>Acacia tortilis</em> and <em>Acacia raddiana</em>. A third, the <em>Acacia negevensis</em> grows only in the higher altitudes of the Negev mountains. Typically these trees will grow along the edges or on the banks of small wadis, where they won&#8217;t be disturbed by flash floods. And we often see groves of trees that seem to be about the same age. Acacias are photo-synthetically active all year, do not loose their leaves, and thus there is no banding in the trunk. So it&#8217;s hard to determine the actual age of a particular tree. But from roughly estimating the uniformity of  the trees&#8217; heights, diameter of the trunks, number of main branches, it seems that stands of acacia appear as a result of a particular climatic event which most likely included a suitable combination of rainfall and temperature to allow many new seedlings to sprout at the same time and survive.</p>
<p>The questions that come to my mind are &#8220;What are those ideal conditions for natural regrowth?&#8221; and &#8220;Where can we find new generations of acacias?&#8221;.  As for the required conditions, I don&#8217;t know, yet, but I have found some spots where new seedlings have sprouted and are surviving. In fact, in one such spot I located three new seedlings within a 100 m. stretch of a small wadi. And, interestingly, one was growing right at the feet of a grand-daddy tree that had fallen victim to old age. An unusual, but perhaps encouraging happenstance&#8230;</p>
<div id="attachment_996" class="wp-caption aligncenter" style="width: 829px"><a href="http://www.surfaces.co.il/wp-content/uploads/2011/05/Dead+Seedling.jpg"><img class="size-large wp-image-996 " title="Dead+Seedling" src="http://www.surfaces.co.il/wp-content/uploads/2011/05/Dead+Seedling-1024x784.jpg" alt="acacia seedling" width="819" height="627" /></a><p class="wp-caption-text">My acacia seedling</p></div>
<p>I chose one of the new seedlings as our &#8220;Family acacia&#8221; and I&#8217;ll try to follow its growth over the years. So here&#8217;s our start:<br />
</p>
<h2>Acacia status</h2>
<table class="wptable rowstyle-alt" id="wptable-3"  cellspacing="1">
	<thead>
	<tr>
		<th class="sortable" style="width:30px" align="center">Date</th>
		<th class="sortable" style="width:30px" align="right">Canopy Diameter</th>
		<th class="sortable" style="width:30px" align="right">Height</th>
		<th class="sortable" style="width:30px" align="right">Trunk diameter</th>
		<th class="sortable" style="width:40px" align="center">Longitude</th>
		<th class="sortable" style="width:40px" align="center">Latitude</th>
		<th class="sortable" style="width:30px" align="right">Elevation</th>
	</tr>
	</thead>
	<tr>
		<td style="width:30px" align="center">22/04/2011</td>
		<td style="width:30px" align="right">0.58 m</td>
		<td style="width:30px" align="right">0.22 m</td>
		<td style="width:30px" align="right">0.014 m</td>
		<td style="width:40px" align="center">35d10'18.533"E</td>
		<td style="width:40px" align="center">30d47'33.321"N</td>
		<td style="width:30px" align="right">-40 m</td>
	</tr>
</table><p>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surfaces.co.il/are-acacias-really-dying-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>The Mashak-Hatzeva bike route</title>
		<link>http://www.surfaces.co.il/the-mashak-hatzeva-biking-route/</link>
		<comments>http://www.surfaces.co.il/the-mashak-hatzeva-biking-route/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 20:33:30 +0000</pubDate>
		<dc:creator>Micha Silver</dc:creator>
				<category><![CDATA[Acacia Trees]]></category>
		<category><![CDATA[Mountain Biking]]></category>

		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=269</guid>
		<description><![CDATA[A great, challenging 30 km. ride. The kickstand version This routes takes you over barren hilltops and through typical Arava stream beds. You&#8217;ll have the chance to watch rock and cliff formations drift by, and to scan the whole panorama of the Northern Arava from atop one of the high ridges. The whole derailleur The [...]]]></description>
				<content:encoded><![CDATA[<p>A great, challenging 30 km. ride.</p>
<p><span style="text-decoration: underline;">The kickstand version</span></p>
<p>This routes takes you over barren hilltops and through typical Arava stream beds. You&#8217;ll have the chance to watch rock and cliff formations drift by, and to scan the whole panorama of the Northern Arava from atop one of the high ridges.</p>
<p><span style="text-decoration: underline;">The whole derailleur</span></p>
<p>The route as described is circular, beginning and ending at the Ein Hatzeva road stop.<br />
The trail begins right across the road from the gas station, passing to the left of the Bedouin camp and heading west and slightly south along Wadi Mashak. After about four kilometers you come to the &#8220;Springs Route&#8221; trail. (A large concrete block marks the entrance to an army firing zone, so this route is to be used only on weekends and holidays.)  You&#8217;ll cross the &#8220;Springs Route&#8221; road and continue west, on a less travelled path. Another kilometer or so will bring you to &#8220;Chameleon Rock&#8221; (my name). You&#8217;ll know it when you see it&#8230; Just past this rock the trail enters the narrower part of Wadi Mashak, and soon you&#8217;ll reach a fork. Taking the right hand branch, brings you to one of the springs, Ein Mashak, on the &#8220;Springs Route&#8221;.<br />
Now don&#8217;t expect an oasis flowing with clear water. This &#8220;spring&#8221; and all the others were once artesian, constantly bubbling up salty water, with dense reeds and some palm trees growing in the mud. But they all have been dry for some decades, leaving only the browned remains of the foliage that once grew there.<br />
Looking ahead and slightly to the left you&#8217;ll be able to make out the continuation of the road heading uphill.  (Another trail also continues to the right, past the dried spring and short-cuts back to the Springs Route, in case you&#8217;re having second thoughts). This first strenuous climb (by foot, for me) will take you to an altitude of +60 meters.  The road stop at Ein Hatzeva is at -145 meters (145 m. below sea level), so do the math&#8230;  When you get to the top, while catching your breath, be sure to turn around and take in the scenery.  On clear days, you can see as far north as the Dead Sea, and south beyond Sapir.</p>
<p>Now after climbing back into the saddle, you&#8217;ll glide downhill for a kilometer or so, cross an un-named wadi, and then take a left turn at the jeep road to begin the second ascent of this route. Alas, no rest for the weary.  You&#8217;ll climb, and climb, some by foot, and some peddling up to +160 m.  Once reaching the ridge, at about 13 kilometers from the start of the trip, you&#8217;ll find no trees or bushes at all, only rusted remains of some vehicles, apparently left by the army for training.  From this ridge, you&#8217;ll be able to view to the west the mountain range that borders the western side of Nahal Zin with it&#8217;s distinctive geological formations. And the canyon just below and to the west is Wadi Hatzeva.<br />
The road along the ridge bends to the south. Follow downhill for a short way, and keep your eye out on the right hand side for a sparsely traveled path which drops down a gully to the west. This path is almost a &#8220;single-track&#8221;.  At the bottom, turning to the right, you&#8217;ll be in Wadi Hatzeva. A short ride along the wadi will bring you past one of the &#8220;Oron&#8221; phosphate quarries.<br />
Wadi Hatzeva meanders northward then to the east, between sandstone cliffs for a pleasant downhill ride.  Acacia trees along the way offer a bit of shade for a rest and snack. After 5-6 kilometers, the wadi merges with another smaller, dry riverbed from the right.  At this point the trail climbs (just a bit), and carries on for about 2  kilometers till you reach another impressive vantage point, just before a short, steep drop. Taking in the view you&#8217;ll clearly see the communication towers at the Ein Hatzeva road stop, and the greenhouses beyond.  After riding down the steep descent, you&#8217;ll be at a second spring, Ein Tamid. From here it&#8217;s 15-20 minutes clear sailing back to the main road.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.surfaces.co.il/the-mashak-hatzeva-biking-route/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Analyzing acacia tree health in the Arava with GRASS GIS</title>
		<link>http://www.surfaces.co.il/analyzing-acacia-tree-health-in-the-arava-with-grass-gis/</link>
		<comments>http://www.surfaces.co.il/analyzing-acacia-tree-health-in-the-arava-with-grass-gis/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 13:31:30 +0000</pubDate>
		<dc:creator>Micha Silver</dc:creator>
				<category><![CDATA[Acacia Trees]]></category>
		<category><![CDATA[GIS]]></category>

		<guid isPermaLink="false">http://my.arava.co.il/~micha/blog/?p=3</guid>
		<description><![CDATA[Using the GRASS GIS image analysis modules and color aerial photos, it is possible to create sets of landscape ecology statistics regarding the spread of acacia trees. A  comparison of these statistics for different years will indicate how stable and sustainable the acacia growth is along a particular wadi. The workflow: Import a tiff format [...]]]></description>
				<content:encoded><![CDATA[<p>Using the GRASS GIS image analysis modules and color aerial photos, it is possible to create sets of landscape ecology statistics regarding the spread of acacia trees. A  comparison of these statistics for different years will indicate how stable and sustainable the acacia growth is along a particular wadi.</p>
<p><span style="text-decoration: underline;">The workflow:</span></p>
<ol>
<li>Import a tiff format aerial ortho-photo into GRASS</li>
<li>Using the ortho-photo image as a background, digitize a few training areas</li>
<li>Run the SMAP classifier to create a new landcover map</li>
<li>Isolate the &#8220;trees&#8221; class into a new map, and run a landscape ecology analysis on that map</li>
</ol>
<p><span style="text-decoration: underline;">Detailed instructions:</span></p>
<pre>Note: commands to be typed in at the terminal <span style="color: #0000ff;">are in blue</span><span style="color: #0000ff;"> mono typeface</span><span style="text-decoration: underline;">

</span></pre>
<h3 style="padding-left: 60px;"><strong><em>Step 1</em></strong><span style="text-decoration: underline;"><br />
</span></h3>
<p>Import the original tiff file</p>
<pre style="padding-left: 30px;">GRASS 6.3.0 (ITM):~ &gt;<span style="color: #0000ff;">r.in.gdal ortho/hatzeva_4_2007.tif out=hatzeva -o</span></pre>
<p>The import creates three raster layers for each of the three color bands, red, green, blue.</p>
<pre style="padding-left: 30px;">GRASS 6.3.0 (ITM):~ &gt; <span style="color: #0000ff;">g.mlist rast</span></pre>
<pre style="padding-left: 30px;">hatzeva.blue</pre>
<pre style="padding-left: 30px;">hatzeva.green</pre>
<pre style="padding-left: 30px;">hatzeva.red</pre>
<p>We set the region based on one of the rasters.</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">g.region rast=hatzeva.red</span></pre>
<p>Now let&#8217;s display a composite of the rasters (first start a monitor):</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">d.mon x0
</span>using default visual which is TrueColor
ncolors: 16777216
Graphics driver [x0] started
<span style="color: #0000ff;">d.rgb red=hatzeva.red green=hatzeva.green blue=hatzeva.blue</span></pre>
<p>Now we choose the analysis area, and reset the region to cover just that area. Run d.where and by clicking in the monitor, choose the north, south, east, west extents to cover an area of one square kilometer.</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">g.region -p w=223700 e=224700 s=517200 n=518200</span></pre>
<pre style="padding-left: 30px;">projection: 99 (Transverse Mercator)</pre>
<pre style="padding-left: 30px;">zone:       0</pre>
<pre style="padding-left: 30px;">datum:      towgs84=-48,55,52</pre>
<pre style="padding-left: 30px;">ellipsoid:  grs80</pre>
<pre style="padding-left: 30px;">north:      518200</pre>
<pre style="padding-left: 30px;">south:      517200</pre>
<pre style="padding-left: 30px;">west:       223700</pre>
<pre style="padding-left: 30px;">east:       224700</pre>
<pre style="padding-left: 30px;">nsres:      0.5</pre>
<pre style="padding-left: 30px;">ewres:      0.5</pre>
<pre style="padding-left: 30px;">rows:       2000</pre>
<pre style="padding-left: 30px;">cols:       2000</pre>
<pre style="padding-left: 30px;">cells:      4000000</pre>
<p>We&#8217;ll create a permanent composite raster, clipped to the analysis region, for use in digitizing:</p>
<pre style="padding-left: 30px;"> <span style="color: #0000ff;">r.composite red=hatzeva.red green=hatzeva.green blue=hatzeva.blue out=hatzeva</span></pre>
<p>The new raster will be clipped to the small region. Just to check, let&#8217;s display it:</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">d.rast hatzeva</span></pre>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<p style="padding-left: 60px;">
<h3 style="padding-left: 60px;"><em><strong>Step 2</strong></em></h3>
<p>Next we digitize some sample training areas for trees, wadi, and savanna. Run the digitizer starting a new vector layer and with the composite raster as the background.</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">v.digit -n train bgcmd="d.rast hatzeva"</span></pre>
<p>Some important tips when working with the digitizer.</p>
<ol>
<li>First, in the v.digit control panel window click the &#8220;Settings&#8221; button and go to the &#8220;Table&#8221; tab. Here enter the following columns for the training vector layer: &#8220;label&#8221; as type character, &#8220;label_id&#8221; as type integer, and grassrgb as type character.
<p><div id="attachment_14" class="wp-caption aligncenter" style="width: 310px"><img class="size-full wp-image-14" title="screenshot-settings" src="http://my.arava.co.il/~micha/blog/wp-content/uploads/2009/03/screenshot-settings.png" alt="v.digit setting windows" width="300" height="235" /><p class="wp-caption-text">v.digit setting windows</p></div></li>
<li>Because of the way the GRASS vector model is designed, each area feature is composed of both a boundary line <strong>and</strong> a centroid. Both must be digitized. First click the &#8220;Zoom in&#8221; button to zoom to a specific tree (note the use of the left and center mouse buttons for zooming). Then click the &#8220;Digitize new boundary&#8221; button.</li>
<li>The area attributes are attached to the area <strong>centroid</strong>, and not the boundary. Notice in the v.digit control panel window there is a drop down labeled &#8220;Mode&#8221;. When digitizing boundaries, this will be set to &#8220;No category&#8221;, and when digitizing the centroids, reset it to &#8220;Next not used&#8221;. Now  begin marking the edges of a tree with the mouse. Click the right mouse button to finish the feature. <img class="aligncenter size-full wp-image-60" title="screenshot-vdigit" src="http://my.arava.co.il/~micha/blog/wp-content/uploads/2009/03/screenshot-vdigit.png" alt="screenshot-vdigit" width="400" height="240" /></li>
<li>The boundary <strong>must</strong> be closed. The line will become green if the boundary is closed properly. If the end vertices stay red, then the boundary is not closed. Use the zoom in button to zoom very close to the end points, then use the &#8220;Move vertex&#8221; button to shift one exactly on top of the other. Now the line should become green.
<p><div id="attachment_17" class="wp-caption aligncenter" style="width: 430px"><img class="size-full wp-image-17" title="screenshot-vdigit-train1" src="http://my.arava.co.il/~micha/blog/wp-content/uploads/2009/03/screenshot-vdigit-train1.png" alt="A closed boundary" width="420" height="320" /><p class="wp-caption-text">A closed boundary</p></div></li>
<li>Now choose the &#8220;Digitize new centroid&#8221; button, change the mode to &#8220;Next not used&#8221; and click to mark a centroid inside the tree boundary. Now click the &#8220;Display attributes&#8221; button and click on the new centroid. In the attributes window enter &#8220;tree&#8221; as the label, &#8220;1&#8243; as the label_id and &#8220;050:160:085&#8243; as the grassrgb value.<img class="size-full wp-image-18 aligncenter" title="screenshot-form" src="http://my.arava.co.il/~micha/blog/wp-content/uploads/2009/03/screenshot-form.png" alt="screenshot-form" width="200" height="350" /></li>
<li>Continue in a similar fashion to digitize a few other trees, wadi areas and savanna areas. For wadis, enter the following values as centroid attributes: label=&#8221;wadi&#8221;, label_id=&#8221;2&#8243;, grassrgb=&#8221;255:255:210&#8243;. And for savanna areas enter the centroid attribute values: label=&#8221;savanna&#8221;, label_id=3, grassrgb=&#8221;250:150:040&#8243;.</li>
</ol>
<p>Now we can view the digitized training areas, overlayed on the aerial photo:</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">g.region rast=hatzeva</span></pre>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">d.rast hatzeva</span></pre>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">d.vect -a train rgb_col=grassrgb</span></pre>
<p>Finish this step by converting the vector to a raster map (by the same name):</p>
<pre style="padding-left: 30px;"> <span style="color: #0000ff;">v.to.rast in=train out=train use=attr type=area col=label_id rgbcolumn=grassrgb labelcolumn=label</span></pre>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
<h3 style="padding-left: 60px;"><em><strong>Step 3</strong></em></h3>
<p>Before running the classifier, a few preparatory steps are required. First define the group of raster images that will be used in the classification:</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">i.group group=hatzeva subgroup=hatzeva in=hatzeva.red,hatzeva.green,hatzeva.blue
</span>group [hatzeva] - does not yet exist. Creating...
Adding files to group [hatzeva]
Adding raster map [hatzeva.red]
Adding raster map [hatzeva.green]
Adding raster map [hatzeva.blue]
Writing group REF
Done.</pre>
<p>Next create a signature file using our training map.</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">i.gensigset trainingmap=train group=hatzeva subgroup=hatzeva signaturefile=hatzeva.sig</span></pre>
<p>The process will run for a few moments. After it finishes we start the actual classification:</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">i.smap group=hatzeva subgroup=hatzeva signaturefile=hatzeva.sig out=hatzeva_class</span></pre>
<p>This runs for a while, produing many rows of output as it progresses, and finally creates a classified raster called hatzeva_class with three landcover classifications. We set reasonable colors for the classes:</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">r.colors hatzeva_class col=rules
</span>Enter rules, "end" when done, "help" if you need it.
Data range is 1 to 3
&gt; <span style="color: #0000ff;">1 50:160:85</span>
&gt; <span style="color: #0000ff;">2 255:255:110</span>
&gt; <span style="color: #0000ff;">3 250:150:40</span>
&gt; <span style="color: #0000ff;">end</span>
Color table for &lt;hatzeva_class&gt; set to rules</pre>
<p>and display the landcover map to check results:</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">g.region -p rast=hatzeva_class</span></pre>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">d.erase</span></pre>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">d.rast hatzeva_class
</span><img class="size-full wp-image-24" title="screenshot-monitor1" src="http://my.arava.co.il/~micha/blog/wp-content/uploads/2009/03/screenshot-monitor1.png" alt="screenshot-monitor1" width="462" height="352" /></pre>
<p style="padding-left: 30px;">
<p style="padding-left: 60px;">
<h3 style="padding-left: 60px;"><em><strong>Step 4</strong></em></h3>
<p>At this point we can already see some basic statistical information about the classification:</p>
<pre style="padding-left: 30px;">GRASS 6.3.0 (ITM):~ &gt; <span style="color: #0000ff;">r.stats -a -p hatzeva_class</span></pre>
<pre style="padding-left: 30px;"> 100%</pre>
<pre style="padding-left: 30px;">1 16787.500000   1.68%</pre>
<pre style="padding-left: 30px;">2 606434.750000  60.64%</pre>
<pre style="padding-left: 30px;">3 376777.750000  37.68%</pre>
<p>Here we see the total area and percent area for each category where: 1=trees, 2=wadis, 3=savanna.</p>
<p>But we want to extract specific statistics attuned to landscape ecology analysis. The GRASS suite r.le.* offers several functions along this line. We begin by extracting a map of only the tree patches.</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">r.mapcalc trees="if( hatzeva_class==1, 1, null() )</span></pre>
<p>This function creates a new raster with pixel value &#8217;1&#8242; where the hatzeva classification value = 1, and NULL everywhere else.</p>
<p>Now we run the r.le.setup module to create a configuration file:</p>
<pre style="padding-left: 30px;"><span style="color: #0000ff;">r.le.setup map=trees</span></pre>
<p>This command opens the setup window where we choose the required options. The module allows defining a variety of analysis windows. We will simply use the (default) whole map as the analysis region.  First press &#8217;2&#8242; &#8220;Setup a sampling frame&#8221;. At the first question &#8220;Will the sampling frame use the whole map&#8221; press &#8216;y&#8217;. Press &#8216;y&#8217; a second time to refresh, and then press &#8217;7&#8242; to exit the setup.</p>
<p>Now we run the r.le.patch module. We will choose, as an example, to extract the standard deviation of patch size.</p>
<pre style="padding-left: 30px;">GRASS 6.3.0 (ITM):~ &gt; <span style="color: #0000ff;">r.le.patch map=trees sam=w siz=s1,s2
</span>
PARAMETER CHOICES:
    MAP:      trees
    SAMPLE:      whole map        TRACING:  8 neighbor
    SIZE MEASURES:
          mean patch size
          st. dev. patch size

R.LE.PATCH IS WORKING....;

Tracing patch    1327
R.LE.PATCH IS DONE;  OUTPUT FILES IN SUBDIRECTORY "r.le.out"</pre>
<p>The resulting calculation in placed into a directory &#8220;r.le.out&#8221; as a file named &#8220;s1-2.out&#8221; . The contents of the file look like:</p>
<pre style="padding-left: 30px;">GRASS 6.3.0 (ITM):~ &gt; <span style="color: #0000ff;">cat r.le.out/s1-2.out</span></pre>
<pre style="padding-left: 30px;">Scale  Unit  MN. PATCH SIZE   S.D. PATCH SIZE -- in pixels</pre>
<pre style="padding-left: 30px;">    1     1           50.603           91.082</pre>
<p>We see that the mean patch (tree) size is 50 sq.m. and the standard deviation is 91.  If a full report of statistics for each indiviual patch is required, we add to the r.le.patch command the &#8220;out=&#8230;&#8221; option to create detailed statistics for each tree:</p>
<pre style="padding-left: 30px;">GRASS 6.3.0 (ITM):~ &gt; <span style="color: #0000ff;">r.le.patch map=trees sam=w siz=s1,s2 out=trees.txt</span></pre>
<p>Now, in the r.le.out directory we find an additional text file &#8220;trees.txt&#8221; with a row for each patch including the patch size, perimeter, perimeter/area ratio and another landscape ecology measurement, the core perimeter/area ratio. This file can be imported into a spreadsheet program for further calculations and graphing.</p>
<pre style="padding-left: 30px;">ale  it    num   att    row  col     size     size     size      per    P/A   CP/A    RCC   number index</pre>
<pre style="padding-left: 30px;">  1   1      1     1.0    6  202      112        0        0       50  0.446  1.332    inf        0 0.000</pre>
<pre style="padding-left: 30px;">  1   1      2     1.0    8 1203       73        0        0      101  1.384  3.334    inf        0 0.000</pre>
<pre style="padding-left: 30px;">  1   1      3     1.0    5 1476       95        0        0       48  0.505  1.389    inf        0 0.000</pre>
<pre style="padding-left: 30px;">  1   1      4     1.0    4  608       12        0        0       18  1.500  1.465    inf        0 0.000</pre>
<p style="text-align: center; padding-left: 60px;">
]]></content:encoded>
			<wfw:commentRss>http://www.surfaces.co.il/analyzing-acacia-tree-health-in-the-arava-with-grass-gis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>
