FAQ
I'm pleased to announce the initial open source release of the Go port
of the S2 geometry library:

https://code.google.com/p/gos2/
http://godoc.org/code.google.com/p/gos2/s2

(or "go get code.google.com/p/gos2/s2".)

/*
Package s2 implements types and functions for working with geometry in
S² (spherical geometry).

Its related packages, parallel to this one, are s1 (operates on S¹),
r1 (operates on ℝ¹) and r3 (operates on ℝ³).

This package provides types and functions for the S2 cell hierarchy
and coordinate systems. The S2 cell hierarchy is a hierarchical
decomposition of the surface of a unit sphere (S²) into “cells”; it is
highly efficient, scales from continental size to under 1 cm² and
preserves spatial locality (nearby cells have close IDs).

A presentation that gives an overview of S2 is
https://docs.google.com/presentation/d/1Hl4KapfAENAOf4gv-pSngKwvS_jwNVHRPZTTDzXXn6Q/view.
*/


Note that it is not as complete as the C++ version it is based on, but
it works well for what it does support, and is sufficient for geo
indexing and the like.

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Fumin Wang at Sep 14, 2014 at 2:51 pm
    This is great work and a much needed library, thanks a lot to you David and
    the other authors.
    However, this port apparently still lacks a major part of the original
    C++/Java implementation, such as the S2RegionCoverer class and intersect
    methods of the Cell and S2LatLngRect classes.

    I see that there are some attempts at completing this port including
    http://godoc.org/github.com/timehop/gos2/s2 but unfortunately none of them
    are on par.

    Any plans or suggestions to get the community help out and involve deeper
    with the project at https://code.google.com/p/gos2/ ?
    On Thursday, 14 March 2013 10:37:35 UTC+8, David Symonds wrote:

    I'm pleased to announce the initial open source release of the Go port
    of the S2 geometry library:

    https://code.google.com/p/gos2/
    http://godoc.org/code.google.com/p/gos2/s2

    (or "go get code.google.com/p/gos2/s2".)

    /*
    Package s2 implements types and functions for working with geometry in
    S² (spherical geometry).

    Its related packages, parallel to this one, are s1 (operates on S¹),
    r1 (operates on ℝ¹) and r3 (operates on ℝ³).

    This package provides types and functions for the S2 cell hierarchy
    and coordinate systems. The S2 cell hierarchy is a hierarchical
    decomposition of the surface of a unit sphere (S²) into “cells”; it is
    highly efficient, scales from continental size to under 1 cm² and
    preserves spatial locality (nearby cells have close IDs).

    A presentation that gives an overview of S2 is

    https://docs.google.com/presentation/d/1Hl4KapfAENAOf4gv-pSngKwvS_jwNVHRPZTTDzXXn6Q/view.

    */


    Note that it is not as complete as the C++ version it is based on, but
    it works well for what it does support, and is sufficient for geo
    indexing and the like.
    --
    You received this message because you are subscribed to the Google Groups "golang-nuts" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedMar 14, '13 at 2:37a
activeSep 14, '14 at 2:51p
posts2
users2
websitegolang.org

2 users in discussion

David Symonds: 1 post Fumin Wang: 1 post

People

Translate

site design / logo © 2021 Grokbase