Giter Club home page Giter Club logo

geogrid's People

Contributors

franz-benjamin avatar mocnik-science avatar y-luis-rojo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geogrid's Issues

Unit test ISEA3Test.numberOfCellsByGrid fails

The numberofCellsByGrid test contains a loop testing resolutions [1,12]. The test fails on resolution values: 3, 4, 7, 8, and 9.

The values of 'cells' and 'cellsExpected' are always different by 4.

Example: at resolution 3, cells = 276, cellsExpected = 272. At resolution 9, cells = 196836, cellsExpected = 196832.

Leverage the structure of projection to get distance between two GridCells

Thanks for this implementation. Is there a way to get the distance between two grid cells without actually computing the distance (e.g., haversine, computationally a bit expensive) between their centre's lat lon ? I guess the cells are fairly regular (except perhaps the 12 pentagons) and equal area, hence couldn't the network of cells themselves serve as a measure of distance (instead of going through lat,lon). I apologise if the functionality is already there and i missed to notice it. Thanks again.

Unit of grid resolution

Reading the readme and the code it's not immediately obvious how should one interpret the resolution variable used at many places in the code.

Would it be possible to elaborate on it?

I found a table in this paper (Appendix D, page 26) that nicely summarizes the properties of each possible resolution.
Is that table correct? If so, would it be possible to add something similar to the readme?

Any proposed method to get parent child and heighbours

Hi,
Is it possible to get the parent of an hexagon cell from index value?lets say we have an id + 24 43125632 124326532 is there any way to get its parent hexagon?lets say in resolution 1?

also I was wondering to find a way to get neighbors around this hexagon. I was thinking of guessing them by distance of cell centers in that resolution but I have no idea if it works

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.