Code Monkey home page Code Monkey logo

Comments (4)

dfellis avatar dfellis commented on August 17, 2024 5

That depends on the particular use-case you're interested in.

Any grid system like H3 or S2 is a discretization of your data and some precision is going to be lost* versus the original coordinates. I would recommend looking at the table of resolution sizes and decide which hexagon size is the best fit for you.

But the lowest resolutions are generally the least useful, since res 0 is roughly continental in size. Resolution 7 is the first resolution that seems useful for human-scaled applications, in my opinion.

Resolution 7: Roughly city-sized
Resolution 8: Roughly neighborhood-sized
Resolution 9: Roughly 2-4 city blocks in size (different cities have different block sizes)
Resolution 10: Less than a city block in size
...
Resolution 15: Coffee table-sized

(I haven't really used resolutions 11-14, either, because they're too fine grained for vehicle map data, but they would probably have useful applications for mapping the interior of a building.)

*: Actually resolution 15 of H3 produces hexagons smaller than the accuracy of almost all GPS units, and so could be considered a form of lossless compression of the data versus the floats required to define lat, lng

from h3.

nrabinowitz avatar nrabinowitz commented on August 17, 2024 2

Answered here: https://stackoverflow.com/questions/50725530/how-to-choose-the-suitable-h3-resolutions-when-use-polyfill

from h3.

nrabinowitz avatar nrabinowitz commented on August 17, 2024 1

Closing this now - please use StackOverflow for further discussion (trying to move this kind of question to that platform). Thanks!

from h3.

LaughXP avatar LaughXP commented on August 17, 2024

@dfellis @nrabinowitz Thanks!

from h3.

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.