<?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/"
	>

<channel>
	<title>Biospherica &#187; Land Cover Maps</title>
	<atom:link href="http://joewheatley.net/category/landcovermaps/feed/" rel="self" type="application/rss+xml" />
	<link>http://joewheatley.net</link>
	<description>Earth Vegetation</description>
	<lastBuildDate>Thu, 29 Jul 2010 15:16:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mapping Biomes</title>
		<link>http://joewheatley.net/mapping-biomes/</link>
		<comments>http://joewheatley.net/mapping-biomes/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 22:00:15 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Agriculture]]></category>
		<category><![CDATA[Land Cover Maps]]></category>
		<category><![CDATA[ecosystem model]]></category>
		<category><![CDATA[R]]></category>

		<guid isPermaLink="false">http://joewheatley.net/?p=915</guid>
		<description><![CDATA[Recently (2008) the European Space Agency produced GlobCover (ESA GlobCover Project, led by MEDIAS-France), the highest resolution (300m) global land cover map to date. GlobCover uses 21 primary land cover classes and many more sub-classes. Land cover classification (LCC) schemes divide the earth into biomes. Biomes are the simplest way to classify vegetation which can [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Recently (2008) the <em>European Space Agency</em> produced <strong><a href="http://ionia1.esrin.esa.int/" target="_blank">GlobCover</a></strong> (<span style="word-spacing: 1.5px; line-height: 1.5;"><span><em>ESA GlobCover Project</em>, led by MEDIAS-France</span></span>), the highest resolution (300m) global land cover map to date. GlobCover uses 21 primary land cover classes and many more sub-classes. Land cover classification (LCC) schemes divide the earth into <em>biomes</em>. Biomes are the simplest way to classify vegetation which can be applied globally. LCC makes sense because the boundaries between different ecosystems (<em>ecotones</em>) are sharp. However, definitions vary and there is no agreed standard set of biomes.<sup>[1]</sup></p>
<p style="text-align: left;">
<h3 style="text-align: left;">GlobCover Example</h3>
<p>Puntarenas is a province on the pacific coast of Costa Rica.  The province has a typical mix of tropical land cover. This includes some spectacular examples of Pacific Rainforest, notably on the Osa Peninsula. Puntarenas has an area of ≈ 11,000 sq. km or about 120,000 GlobCover pixels.</p>
<p style="text-align: center;">
<p>13 land cover types are present in the GlobCover map below. The barplot on the right shows the total amounts present in each class.</p>
<p style="text-align: center;"><a href="http://joewheatley.net/wp-content/uploads/2009/11/puntarenas.png"><img class="aligncenter size-large wp-image-1330" title="puntarenas" src="http://joewheatley.net/wp-content/uploads/2009/11/puntarenas-1024x825.png" alt="puntarenas" width="922" height="743" /></a></p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://joewheatley.net/wp-content/uploads/2009/11/legend1.png"><img class="aligncenter size-large wp-image-1212" title="legend" src="http://joewheatley.net/wp-content/uploads/2009/11/legend1-1023x362.png" alt="legend" width="716" height="253" /></a></p>
<p>The GlobCover legend (above) has mixed land cover classes, where more than one biome occurs  inside a map pixel. This is especially true in the man-made biomes (agriculture) . For example, there are three cropland land cover types depending on the relative amounts of other vegetation present.</p>
<h3 style="text-align: left;">GlobCover map making in <em>R</em></h3>
<p><em>R</em> is a programming language, not a specialised geographic information system (GIS) such as GRASS or commercial packages. However applications of <em>R</em> to spatial problems is a growth industry.<sup>[2]</sup> <a href="http://blog.revolution-computing.com/2009/10/geographic-maps-in-r.html" target="_blank"><br />
</a></p>
<p>A GlobCover map similar to the above can be produced for any area of interest. The <em>Geospatial Data Abstraction Library</em> (GDAL) should be installed on your system. <strong><a href="http://fwtools.maptools.org/" target="_blank">FWTools</a></strong> is the place to go. You also need <em>R</em> packages <em>sp</em> and <em>rgdal</em> installed. The regional GLOBCOVER map for Central America can be downloaded from ESA <strong><a href="ftp://us-ext-nas.eo.esa.int/regional/" target="_blank">here</a></strong>. GlobCover is in GeoTiff format i.e. a Tiff image file which contains georeferencing information. The following GDAL command (from command line, or run from R using <em>shell</em>) creates a 4° x 4° submap centred on Costa Rica.<br />
<code><br />
gdalwarp GLOBCOVER_200412_200606_V2.2_CentralAmerica_Reg.tif -te -86 8 -82 12 costaRica.tif<br />
</code></p>
<p style="text-align: left;"><em>costaRica.tif</em> is read into <em>R</em> using the <em>rgdal</em> package:</p>
<p><code>library(rgdal)<br />
costa &lt;- readGDAL("costaRica.tif")</code></p>
<p style="text-align: left;"><em>costa</em> has class <em>SpatialGridDataFrame</em>, which is a class defined in the package <em>sp</em> (loaded when <em>rgdal</em> is loaded).</p>
<p style="text-align: left;">Administative boundaries for Costa Rica were obtained from Global Administrative Areas <a href="http://www.gadm.org/" target="_blank">www.gadm.org</a> (see <strong><a href="http://blog.revolution-computing.com/2009/10/geographic-maps-in-r.html" target="_blank">Revolution R blog post</a></strong>)</p>
<p><code>con &lt;- url("http://gadm.org/data/rda/CRI_adm1.RData")<br />
load(con)<br />
close(con)</code></p>
<p style="text-align: left;">Costa Rican provinces are now contained in the object <em>gadm</em> of class <em>SpatialPolygonsDataFrame</em>. The boundaries of Puntarenas province (excluding Cocos Island) are extracted as follows:</p>
<p><code>Polygons(list(Polygon(gadm@polygons[[6]]@Polygons[[27]]@coords),Polygon(gadm@polygons[[6]]@Polygons[[25]]@coords)),"puntarenas")<br />
temp &lt;- SpatialPolygons(list(temp),proj4string=CRS(proj4string(gadm)))<br />
punt.sp &lt;- SpatialPolygonsDataFrame(temp, data.frame(cbind(2,2), row.names=c("puntarenas")))  # puntarenas<br />
</code></p>
<p style="text-align: left;">The <em>overlay()</em> method  is used to extract the land cover map <em>puntarenas</em> from <em>costa:</em><em> </em></p>
<p style="text-align: left;"><code>puntarenas &lt;- costa<br />
puntarenas.overlay &lt;- overlay(costa,punt.sp)  # 1 in interior of puntarenas polygons, 0 outside<br />
puntarenas$band1 &lt;- costa$band1*puntarenas.overlay</code></p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">Unfortunately <em>overlay() </em>is rather slow, because it applies <em>point.in.polygon()</em> to the entire raster. Eventually <em>puntarenas<em> </em></em>appears as a<em> SpatialGridDataFrame</em><em> </em>which can be plotted using standard <em>R</em> tools such as <em>image()</em>.</p>
<p style="text-align: left;">The code needed to generate the above plot is <strong><a href="http://joewheatley.net/wp-content/uploads/2009/11/costa.R" target="_blank">here</a></strong>.</p>
<h3 style="text-align: left;">footnotes</h3>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">[1] For example, the International Biosphere-Geosphere Programme (<strong><a href="http://www.igbp.net/">IGBP</a></strong>) land cover legend used 17 biomes. The University of Maryland map used 14 biomes. At much lower resolution, numerical weather forecasting models such as US National Center for Climate Prediction Global Forecasting System (NCEP-GFS) also use alternative schemes.</p>
<p style="text-align: left;">
<p style="text-align: center;"><a href="../wp-content/uploads/2009/11/LCTable.png"><img title="LCTable" src="../wp-content/uploads/2009/11/LCTable.png" alt="LCTable" width="526" height="306" /></a></p>
<p style="text-align: center;">
<p style="text-align: left;">[2] Roger S. Bivand, Edzer J. Pebesma, and Virgilio Gómez-Rubio.  <em>Applied Spatial Data Analysis with R</em>.  Springer, New York, 2008</p>
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://joewheatley.net/mapping-biomes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.536 seconds -->
