writer

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: BSD-3-Clause Imports: 22 Imported by: 1

Documentation

Index

Constants

View Source
const GEOTAG_LABEL string = "geotag-fov" // field of view
View Source
const GEOTAG_NS string = "geotag"
View Source
const GEOTAG_SRC string = "geotag"

Variables

This section is empty.

Functions

func FormatAltFeature

func FormatAltFeature(f *WhosOnFirstAltFeature) ([]byte, error)

func NewFeatureCollectionIOWriter added in v0.0.16

func NewFeatureCollectionIOWriter(ctx context.Context, uri string) (wof_writer.Writer, error)

func NewWhosOnFirstGeotagWriter

func NewWhosOnFirstGeotagWriter(ctx context.Context, uri string) (geotag_writer.Writer, error)

Types

type FeatureCollectionIOWriter added in v0.0.16

type FeatureCollectionIOWriter struct {
	wof_writer.Writer
	// contains filtered or unexported fields
}

func (*FeatureCollectionIOWriter) URI added in v0.0.16

func (*FeatureCollectionIOWriter) Write added in v0.0.16

type WhosOnFirstAltFeature

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

type WhosOnFirstGeotagWriter

type WhosOnFirstGeotagWriter struct {
	geotag_writer.Writer
	// contains filtered or unexported fields
}

func (*WhosOnFirstGeotagWriter) Close added in v0.0.17

func (*WhosOnFirstGeotagWriter) WriteFeature

func (wr *WhosOnFirstGeotagWriter) WriteFeature(ctx context.Context, uri string, geotag_f *geotag.GeotagFeature) error

Jump to

Keyboard shortcuts

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