Giter Site home page Giter Site logo

rastertoshapefiletocsv's Introduction

rastertoshapefiletocsv

Remote sensing raster values to shapefiles then creating .csv output of these data

The aim of the repository

Here, we have rasters of some satellite remote sensing images, such as Sentinel-2 MSI. We have shapefiles for our region of interests and we want to extract raster values in those regions, such as mean value of pixels in satellite bands. Then, we want to write all of them in a one single .csv file to later do some other works in possibly other softwares as well, like Microsoft Excel.

Description

Most of the required explanation is already written in the core code file. What you need to do is putting specific satellite remote sensing GeoTIFFs in a certain folder. You should work on one type of a satellite in a given operation with this code, as it wants to put all values on the same columns of wavelengths etc. Shapefiles might be in any other place but as in all of my codes, locations are explicitly written rather than working directory setting.

Limitations

As said, one satellite type in a single folder for this script to work smoothly. Additionally, we are getting summary of shapefile covered raster values, such as mean. You can change it to medians or standard deviations or such, but in this setting it will perform only fun = "type of the data summary" way here. Moreover, you can do this process with multiple shapefiles (regions) easily, but if you want to collect all these in a one big data frame there is a one line of code you need to use while working on, which is also illustrated in the code file itself.

rastertoshapefiletocsv's People

Contributors

torna4o avatar

Watchers

 avatar

Forkers

isabelbrandao

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.