models

package
v0.0.0-...-1f1c4a4 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeoDoc

type GeoDoc struct {
	Name         string      `json:"name"`
	Code         string      `json:"code"`
	Hierarchy    string      `json:"hierarchy"`
	LSOA11NM     string      `json:"lsoa11nm,omitempty"`
	LSOA11NMW    string      `json:"lsoa11nmw,omitempty"`
	MSOA11NM     string      `json:"msoa11nm,omitempty"`
	MSOA11NMW    string      `json:"msoa11nmw,omitempty"`
	LAD11CD      string      `json:"lad11cd,omitempty"`
	OA11CD       string      `json:"oa11cd,omitempty"`
	ShapeArea    float64     `json:"shape_area,omitempty"`
	ShapeLength  float64     `json:"shape_length,omitempty"`
	StatedArea   float64     `json:"stated_area,omitempty"`
	StatedLength float64     `json:"stated_length,omitempty"`
	TCITY15NM    string      `json:"tcity15nm,omitempty"`
	Location     GeoLocation `json:"location"`
}

type GeoDocs

type GeoDocs struct {
	Items []GeoDoc `json:"features"`
}

type GeoLocation

type GeoLocation struct {
	Type        string      `json:"type"`
	Coordinates interface{} `json:"coordinates"`
}

Jump to

Keyboard shortcuts

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