mocnik-science / geogrid Goto Github PK
View Code? Open in Web Editor NEWLibrary for Discrete Global Grid Systems
License: MIT License
Library for Discrete Global Grid Systems
License: MIT License
I didn't find such a method in both CellGrid & ISEA3H classes, I believe there should be an opportunity to do this (e.g., for drawing/visualizing hexagons).
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.
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.
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.