bsis

package
v0.0.0-...-441f3cd Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UrlApi = "https://bsis.aachen.de/geoserver/ows"
)

Variables

This section is empty.

Functions

func FetchConstructionSites

func FetchConstructionSites(c *colly.Collector, cb Callback, ecb cfac.ErrorCallback) *sync.WaitGroup

func NewMeasurable

func NewMeasurable() cfac.Measurable

Types

type Callback

type Callback func(*ConstructionSiteList)

type ConstructionSiteList

type ConstructionSiteList wfs.FeatureCollection

func (ConstructionSiteList) Measure

func (l ConstructionSiteList) Measure() []cfac.Measurement

type ConstructionSiteProperties

type ConstructionSiteProperties struct {
	GID            int         `json:"gid"`
	SbodGID1       int         `json:"sbod_gid1"`
	SdatenID       int         `json:"sdatenid"`
	Name           string      `json:"name"`
	Bereich        string      `json:"bereich"`
	Strassen       string      `json:"strassen"`
	Zeitraum       string      `json:"zeitraum"`
	Art            string      `json:"art"`
	Symbol         string      `json:"symbol"`
	Beschreibung   string      `json:"beschreibu"`
	Firma          string      `json:"firma,omitempty"`
	Bauherr        string      `json:"bauherr"`
	Kontakt        string      `json:"kontakt,omitempty"`
	Einschraenkung string      `json:"einschraen"`
	AachenDe       interface{} `json:"aachen_de"`
	ExternDe       interface{} `json:"extern_de"`
	Date           time.Time   `json:"date"`
	Hotlink        string      `json:"hotlink"`
	Von            time.Time   `json:"von"`
	Bis            time.Time   `json:"bis"`
	SortColumn     int         `json:"sort_column"`
}

type Measurable

type Measurable struct{}

func (*Measurable) Fetch

func (m *Measurable) Fetch(c *colly.Collector, cb cfac.MeasurementCallback, ecb cfac.ErrorCallback) *sync.WaitGroup

Jump to

Keyboard shortcuts

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