config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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