Git Product home page Git Product logo

Comments (2)

issa-tingzon avatar issa-tingzon commented on June 8, 2024

@mnitin59 Thanks for catching this. Fixed this bug in #16.
I added that bit of code as an afterthought, just to check the correlation between total population per cluster and cluster wealth. I realized I hadn't cleaned it properly. The graph is also properly labelled now.

Also added the OSM files here in the data directory. Let us know if you have any additional questions. Thanks!

from ph-poverty-mapping.

issa-tingzon avatar issa-tingzon commented on June 8, 2024

To generate report.csv, you'll need to uncomment the following section and download the images.
Note, you'll need to obtain an API key and a secret key to download Google Static Maps images. More information on that here. Unfortunately, we cannot redistribute the images under the Google Static Maps Terms of Services.
Please take note of the cost of obtaining images; downloading 1000 images costs around ~$1.6.

# Uncomment to download data
os.environ['GEO_AI_API_KEY'] = "INSERT API KEY HERE"
os.environ['GEO_AI_SECRET_KEY'] = "INSERT SECRET KEY HERE"

import data_download
data_download.get_satellite_images_with_labels(nightlights_bins_file, satellite_images_dir)

from ph-poverty-mapping.

Related Issues (17)

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.