config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C struct {
	File       string
	Layer      string
	Coords     [3]int
	IsolateGeo int64
	ToClip     bool
	Basedir    string
	Extent     int64
	// contains filtered or unexported fields
}

func (*C) InitFlags

func (cfg *C) InitFlags()

func (*C) LoadProvider

func (cfg *C) LoadProvider() (pl ProviderLayer, err error)

func (*C) ProvderConfig

func (cfg *C) ProvderConfig() (c map[string]interface{}, err error)

func (*C) Provider

func (cfg *C) Provider() (p postgis.Provider, err error)

func (*C) ProviderName

func (cfg *C) ProviderName() (string, error)

func (*C) Tile

func (cfg *C) Tile() tegola.Tile

func (*C) X

func (cfg *C) X() int

func (*C) Y

func (cfg *C) Y() int

func (*C) Z

func (cfg *C) Z() int

type ProviderLayer

type ProviderLayer struct {
	Name     string
	Config   map[string]interface{}
	Provider postgis.Provider
}

Jump to

Keyboard shortcuts

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