postgis

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index struct {
	*pgxpool.Pool
}

Index using postgis.

func New

func New(ctx context.Context, logger log.Logger, dbURL string) (*Index, error)

func (*Index) Stab

func (idx *Index) Stab(lat, lng float64) (insideout.IndexResponse, error)

Stab returns polygon's ids we are inside and polygon's ids we may be inside in case of this index we are always in.

Jump to

Keyboard shortcuts

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