Rubber plantations in the Mekong

In Thailand, Myanmar, Lao PDR, Cambodia and Vietnam

Rubber probability maps for the greater Mekong region.  Time series covers the years 2000 – 2017. Maps were created from landsat composites using a random forest classifier.

Copy the code below or click here.


/*Copyright (c) 2019 SERVIR-Mekong

Permission is hereby granted, free of charge, to any person obtaining a copy
of the data and associated documentation files, to deal in the data
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies, and to permit persons
to whom the data is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE DATA IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.*/

var mekongBuffer = ee.FeatureCollection('ft:1LEGeqwlBCAlN61ie5ol24NdUDqB1MgpFR_sJNWQJ');
var mekongRegion = mekongBuffer.geometry();

// import rubber primitive
var rubberCollection = ee.ImageCollection("projects/servir-mekong/yearly_primitives/rubber");

for (var year = 2000; year<2018; year++){.
   var startDate = ee.Date.fromYMD(year,1,1);
   var endDate = ee.Date.fromYMD(year,12,31);
   var rubber = ee.Image(rubberCollection.filterDate(startDate,endDate).first());
   Map.addLayer(rubber.clip(mekongRegion),{min:20,max:80,palette:"white,gray,black"},"rubber " + year.toString(),false);
}

// rubber reference data
var rubber = ee.FeatureCollection("users/servirmekong/shapefiles/ForestDataRubber");

// add to map
Map.addLayer(rubber.draw("red"),{},"reference data");

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s