GithubHelp home page GithubHelp logo

API response: unsettled area about wopr HOT 1 CLOSED

wpgp avatar wpgp commented on June 8, 2024
API response: unsettled area

from wopr.

Comments (1)

doug-leasure avatar doug-leasure commented on June 8, 2024

This task_id gives an example of this issue (a polygon with no settled pixels):
https://api.worldpop.org/v1/tasks/2026f06d-9d0b-5f9d-8fb5-ef7fb1219d23

When a user queries a location with no settled area, they should return a population estimate of zero. In other situations, the API returns the same messages when there are actual errors and the user should receive a population estimate of NA.

The front end (wopr R package and woprVision web application) cannot distinguish between these situations from the current API error messaging and so a population estimate of zero will be returned in some situations when there has been a processing error on the API server. The following task_id gives an example of this situation:
https://api.worldpop.org/v1/tasks/de84962b-d980-5f49-881c-ad97fd7a5ab0

from wopr.

Related Issues (20)

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.