Versions in this module Expand all Collapse all v0 v0.1.0 Nov 10, 2019 Changes in this version + const EarthRadiusKm + const Helsinki + const Oxford + const OxfordPubs + const PointDelimiter + const PointsDelimiter + const Tolkien + var HelsinkiCenter = "60.1699::24.9384::Helsinki Center" + var HelsinkiExamplePoints = ... + var OxfordExamplePoints = ... + var OxfordPubExamplePoints = ... + var PointSplitterOpts = &SplitterOpts + var TolkiensHouse = "51.770903::-1.2626219::Tolkien's House" + func AngleToKm(angle s1.Angle) float64 + func ConvertLatLon(lat, lon string) (float64, float64) + func KmToAngle(km float64) s1.Angle + func PointsInCellID(s2cap s2.Cap, cov s2.CellID, center Point, points []Point) + func Run(opts *RunOptions) + func Splitter(s string, opts *SplitterOpts, vars ...*string) error + type Point struct + CellID s2.CellID + LatLon s2.LatLng + Name string + func NewPoint(lat, lon float64, name string) Point + func ParsePoint(delimited string) Point + func ParsePoints(delimited string) []Point + type RunOptions struct + CapRadius float64 + CenterPoint string + MaxCells int + MaxLevel int + Points string + type SplitterOpts struct + Delimiter string + MaxVars int + MinVars int