Coder Social home page Coder Social logo

hhhaaaa / green-view-index-for-qgis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kowalski93/green-view-index-for-qgis

0.0 0.0 0.0 4.09 MB

A plugin to calculate Green View Index through Google Street View imagery for an Area of Interest in QGIS.

License: GNU General Public License v3.0

Shell 2.47% Python 78.90% Makefile 12.87% QML 1.58% Batchfile 4.17%

green-view-index-for-qgis's Introduction

Green View Index for QGIS

A QGIS plugin to easily calculate Green View Index through Google Street View images.

Overview

Green View Index (GVI) is an objective measurement of urban green, which utilizes street-level imagery. Most popularly, Google Street View images are used as input. Very simply put, the GVI for an image is the ratio of vegetation pixels to the total number of pixels of the image.

To calculate the GVI of a point, multiple images are acquired in different direction angles, and the GVIs of each image are summed.

The plugin performs the main operations required for Green View Index calculations of a given area. These operations are organized in three separate scripts:

  1. Generate Sample Points: Creates random points within an area. Those points can be used as input in the next tools
  2. Download Google Street View Images: For a point dataset, it downloads street view locations with parameters given by the user (such as field of view, image size and direction angles)
  3. Calculate Green View Index: For the images downloaded by the previous tool, the vegetation pixels are extracted and the Green View Index of its point is calculated

The plugin aims to popularize the Green View Index (GVI) among planners and researchers who are not well acquainted with code.

Installation - Requirements

The plugin has two dependencies: The python libraries scikit-image and gpsphoto. Both can easily be installed with OSGeo4W shell and pip. Simply run the two following commands:

pip install gpsphoto
pip install scikit-image

You also need to register to Google Cloud Console and generate a Street View API key. Instructions can be found here.

To install the plugin, use the plugin repository from QGIS (recommended), or download this repository as .zip file and use the option Install from ZIP from Plugin manager.

Full documentaion can be found in the pdf document of this repository. Make sure to read it carefully.

green-view-index-for-qgis's People

Contributors

kowalski93 avatar

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.