Documentation ¶
Index ¶
- func ConsumeFeatureAsGPX(filePath string, ch <-chan Bilderwunsch, wg *sync.WaitGroup)
- func ConsumeFeatureAsGeoJSON(filePath string, ch <-chan Bilderwunsch, wg *sync.WaitGroup)
- func ConsumeFeatureAsKML(filePath string, ch <-chan Bilderwunsch, wg *sync.WaitGroup)
- func ReadCsvFile(filePath string, channels []chan Bilderwunsch)
- type Bilderwunsch
- type Feature
- type FeatureCollection
- type GeoJSON
- type Geometry
- type Gpx
- type Kml
- type MediawikiDB
- type Placemark
- type Point
- type Properties
- type Wpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsumeFeatureAsGPX ¶
func ConsumeFeatureAsGPX(filePath string, ch <-chan Bilderwunsch, wg *sync.WaitGroup)
func ConsumeFeatureAsGeoJSON ¶
func ConsumeFeatureAsGeoJSON(filePath string, ch <-chan Bilderwunsch, wg *sync.WaitGroup)
func ConsumeFeatureAsKML ¶
func ConsumeFeatureAsKML(filePath string, ch <-chan Bilderwunsch, wg *sync.WaitGroup)
func ReadCsvFile ¶
func ReadCsvFile(filePath string, channels []chan Bilderwunsch)
Types ¶
type Bilderwunsch ¶
type Bilderwunsch struct {
// contains filtered or unexported fields
}
type Feature ¶
type Feature struct { Type string `json:"type"` Geometry Geometry `json:"geometry"` Properties Properties `json:"properties"` }
type FeatureCollection ¶
type GeoJSON ¶
type GeoJSON FeatureCollection
type Kml ¶
type Kml struct { XMLName xml.Name `xml:"kml"` Text string `xml:",chardata"` Xmlns string `xml:"xmlns,attr"` Document struct { Text string `xml:",chardata"` Folder struct { Text string `xml:",chardata"` Name string `xml:"name"` Placemark []Placemark `xml:"Placemark"` } `xml:"Folder"` } `xml:"Document"` }
type MediawikiDB ¶
type MediawikiDB struct {
// contains filtered or unexported fields
}
func OpenDB ¶
func OpenDB() *MediawikiDB
func (*MediawikiDB) CloseDB ¶
func (db *MediawikiDB) CloseDB()
func (*MediawikiDB) SelectBilderwuensche ¶
func (db *MediawikiDB) SelectBilderwuensche(channels []chan Bilderwunsch)
type Properties ¶
Click to show internal directories.
Click to hide internal directories.