debug

package
v0.0.0-...-12b612f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

package debug expose tools to debug insideout indexed geo data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CellUnionToGeoJSON

func CellUnionToGeoJSON(cu s2.CellUnion) []byte

CellUnionToGeoJSON helpers to display s2 cells on maps with GeoJSON exports cell union into its GeoJSON representation.

func CellUnionToTokens

func CellUnionToTokens(cu s2.CellUnion) []string

CellUnionToTokens a cell union to a token string list.

func S2CellQueryHandler

func S2CellQueryHandler(w http.ResponseWriter, r *http.Request)

S2CellQueryHandler returns a GeoJSON containing the cells passed in the query ?cells=TokenID,...

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL