Giter Club home page Giter Club logo

Comments (7)

crisjf avatar crisjf commented on June 22, 2024 1

I think we can close this, right?

from cityscope.github.io.

RELNO avatar RELNO commented on June 22, 2024 1

Closing for now, @agrignard open at will.

from cityscope.github.io.

crisjf avatar crisjf commented on June 22, 2024

It is redundant, but it gives you the option of querying GEOGRID only once because it never changes and just calling GEOGRIDDATA when you detect the table update. Ignore the properties in GEOGRID and use the ones in GEOGRIDDATA. GEOGRID should be used when you need the coordinates of the table (you need them only at init) and to get the type definitions under GEOGRID/properties.

from cityscope.github.io.

RELNO avatar RELNO commented on June 22, 2024

Yes, as @crisjf mentioned the GEOGRID is state "0" of this table (i.e taboola rasa). Later states are GEOGRIDDATA

from cityscope.github.io.

agrignard avatar agrignard commented on June 22, 2024

OK

And is it necessary to store state 0 properties in GEOGRID? I mean in term of storing size (there was a time we were arguing wether we should use int or float to save space;-) )

Also Instead of writing issue for this kind of question is there an entry point for the meta structure of this json so I can look at it before to post an issue?

from cityscope.github.io.

RELNO avatar RELNO commented on June 22, 2024

And is it necessary to store state 0 properties in GEOGRID?

It's not about storing state 0. GEOGRID is the baseline data for both geometry and meta for each grid cell. This is how we initiate a table with all its data in one place (vs the multi fields we used to have).
GEOGRIDDATA is lighter, as it's only meta without geometry (think= old grid field). This allow iterations in real time with small(ish) overhead.

from cityscope.github.io.

crisjf avatar crisjf commented on June 22, 2024

So as we think about the Handler agent in GAMA, the GEOGRID endpoint should be called on init, and the GEOGRIDDATA endpoint should be used for everything else.

from cityscope.github.io.

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.