Coder Social home page Coder Social logo

Comments (3)

NJTuley avatar NJTuley commented on June 30, 2024

This is the same bug (as far as I can tell) as with issue #35 and right now as far as I can tell this is an issue caused by citysdk sending us back a bad response (in which the datapoint values are empty. We get all the valid geojson data, but no datapoint values for whatever variable (i.e. population, etc.) we sent in the request. My way of fixing this is having the program check (inside the geocallback function) if the datapoints have values, and if they do not, go back and cancel this data request and the ensuing processing, and resend a new request to the citysdk, with the hope being that the second consecutive request will not also give a broken response

from cmv.

NJTuley avatar NJTuley commented on June 30, 2024

I have this fix implemented in my local files, but I want to test it at home (right now I am on campus and the internet won't let me consistently load maps). I should be able to close this within the week if we are ok with this kind of "patch-job" fix. I am ok with it because everything I am seeing says that this is caused by an error in the citysdk's request processing, and there isn't anything we can do to prevent it

from cmv.

hardnett avatar hardnett commented on June 30, 2024

okay. that sounds good. What we should probably do then is check the citySDK issues and see if there is an issue for this and if so then put our solution in there because it may help them. If not, then lets create an issue with the citySDK repository and put our sample code in the issue as well as what we are seeing on the debugging side of things so they have a clear picture of the problem.

from cmv.

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.