api

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const GEOJSON string = "application/geo+json"

Variables

This section is empty.

Functions

func IntersectsHandler added in v0.5.0

func IntersectsHandler(app *spatial_app.SpatialApplication, opts *IntersectsHandlerOptions) (http.Handler, error)

func NewDataHandler

func NewDataHandler(r reader.Reader) (http.Handler, error)

func NewPlacetypesHandler added in v0.5.0

func NewPlacetypesHandler() (http.Handler, error)

func PointInPolygonTileHandler added in v0.6.0

func PointInPolygonTileHandler(app *spatial_app.SpatialApplication, opts *PointInPolygonTileHandlerOptions) (http.Handler, error)

func SpatialQueryFromRequest added in v0.6.1

func SpatialQueryFromRequest(req *http.Request) (*query.SpatialQuery, error)

Types

type IntersectsHandlerOptions added in v0.5.0

type IntersectsHandlerOptions struct {
	EnableGeoJSON bool
	LogTimings    bool
}

type PointInPolygonHandlerOptions

type PointInPolygonHandlerOptions struct {
	EnableGeoJSON bool
	LogTimings    bool
}

type PointInPolygonTileHandlerOptions added in v0.6.0

type PointInPolygonTileHandlerOptions struct{}

Jump to

Keyboard shortcuts

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