mapController

package
v0.0.0-...-016f475 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleRequest

func HandleRequest(writer http.ResponseWriter, request *http.Request)

Types

type Feature

type Feature struct {
	Type          string                 `json:"type"`
	Id            string                 `json:"id"`
	Geometry      Geometry               `json:"geometry"`
	Geometry_name string                 `json:"geometry_name"`
	Properties    map[string]interface{} `json:"properties"`
}

func GetParcelData

func GetParcelData(bbox []string) []Feature

type GeoRequest

type GeoRequest struct {
	// contains filtered or unexported fields
}

type GeoResponse

type GeoResponse struct {
	GeoType        string    `json:"type"`
	Features       []Feature `json:"features"`
	TotalFeatures  int       `json:"totalFeatures"`
	NumberMatched  int       `json:"numverMatched"`
	NumberReturned int       `json:"numberReturned"`
	TimeStamp      time.Time `json:"timeStamp"`
	Crs            string    `json:"crs"`
}

type Geometry

type Geometry struct {
	Type        string          `json:"type"`
	Coordinates [][][][]float64 `json:"coordinates"`
}

Jump to

Keyboard shortcuts

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