Documentation ¶
Index ¶
- func ResolveCoordinates(ctx context.Context, in *pb.ResolveCoordinatesRequest, store *store.Store) (*pb.ResolveCoordinatesResponse, error)
- func ResolveEntities(ctx context.Context, in *pb.ResolveEntitiesRequest, store *store.Store) (*pb.ResolveEntitiesResponse, error)
- func ResolveIds(ctx context.Context, in *pb.ResolveIdsRequest, store *store.Store) (*pb.ResolveIdsResponse, error)
- type GeoJSON
- type MultiPolygon
- type Polygon
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.
Click to show internal directories.
Click to hide internal directories.