recon

package
v1.38.1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveCoordinates

func ResolveCoordinates(
	ctx context.Context, in *pb.ResolveCoordinatesRequest, store *store.Store) (
	*pb.ResolveCoordinatesResponse, error,
)

ResolveCoordinates implements API for ReconServer.ResolveCoordinates.

func ResolveEntities

func ResolveEntities(
	ctx context.Context, in *pb.ResolveEntitiesRequest, store *store.Store,
) (
	*pb.ResolveEntitiesResponse, error)

ResolveEntities implements API for ReconServer.ResolveEntities.

func ResolveIds

func ResolveIds(
	ctx context.Context, in *pb.ResolveIdsRequest, store *store.Store,
) (*pb.ResolveIdsResponse, error)

ResolveIds resolve entities based on IDs.

Types

type GeoJSON

type GeoJSON struct {
	Type         string          `json:"type"`
	Coordinates  json.RawMessage `json:"coordinates"`
	Polygon      Polygon         `json:"-"`
	MultiPolygon MultiPolygon    `json:"-"`
}

GeoJSON represents the geoJson data for a place.

type MultiPolygon

type MultiPolygon struct {
	Polygons [][][][]float64
}

MultiPolygon represents a list of polygons.

type Polygon

type Polygon struct {
	Loops [][][]float64
}

Polygon represents a polygon shape.

Jump to

Keyboard shortcuts

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