Git Product home page Git Product logo

gaborone_lulc_change's Introduction

Gaborone_LULC_change

A comprehensive blog about this project has been published throgh story maps HERE

Random Forest Classification for Land Use Change in Gaborone, Botswana

Land Use Land Cover (LULC) Change VS Land Surface Temperature (LST)

Screenshot 2024-01-08 at 14 49 55 Screenshot 2024-01-08 at 14 50 17

This repository contains code for performing land use change classification using random forest algorithm in the Google Earth Engine platform. The classification is done using Landsat 8 and Landsat 7 imagery for the years 2005, 2010, 2015, and 2020. The study area for this analysis is Gaborone, the capital city of Botswana.

  1. Dataset The dataset used in this analysis consists of Landsat 8 and Landsat 7 satellite imagery. The Landsat images were selected based on their availability and suitability for land use change analysis. The dataset covers the years 2005, 2010, 2015, and 2020, providing a temporal perspective of land use changes in Gaborone.

  2. Pre-processing 2005 Image The 2005 Landsat image had some scan line errors that needed to be gap filled. Gap filling was performed using appropriate algorithms to fill in missing values and ensure a complete image. Additionally, the 2005 image was pan-sharpened to enhance its resolution for better classification accuracy.

  3. Classification The random forest algorithm was chosen for land use change classification due to its ability to handle multi-class classification problems effectively. The classification code provided in this repository is divided into separate scripts for each year: 2005, 2010, 2015, and 2020. This division allows for better organization and easier replication of results. The land use classes considered for classification are as follows:

  • Built-up
  • Water
  • Soil
  • Agriculture
  • Dense Vegetation
  • Mixed Grassland

The random forest model was trained using labeled samples from the different land use classes. Feature selection techniques and preprocessing steps were applied to prepare the input data for the classification model.

  1. Results The results of the land use change classification are presented in the form of classified maps for each year: 2005, 2010, 2015, and 2020, which can be viewed here Gaborone LULC Classification. The classified maps provide insights into the spatial distribution and changes in land use categories over time. Additionally, accuracy assessment metrics such as overall accuracy and kappa coefficient were calculated to evaluate the performance of the classification algorithm. These metrics give an indication of how well the model performs in classifying the different land use categories. Overall Accuracy Example

  2. Usage To run the code in this repository, you will need access to Google Earth Engine platform and the necessary permissions to access and analyze Landsat imagery. The code files are organized by year, and you can run each script independently to perform land use change classification for the corresponding year. You will need to create your own sampling datasets. Please make sure to update the necessary input file paths and parameters in the code before running the scripts. Additionally, refer to the comments provided within the code for further instructions and details about specific steps.

  3. License This project is licensed under the MIT License, which means you can freely use and modify the code for your own purposes. However, attribution is appreciated.

gaborone_lulc_change's People

Contributors

boineelomoyo avatar

Watchers

 avatar

gaborone_lulc_change's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.