functions

package
v0.0.0-...-ee5a8af Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aspect

func Aspect(i, o string, options *json.RawMessage) ([]byte, error)

Aspect implements gdaldem aspect.

func HillshadeFunction

func HillshadeFunction(i, o string, options *json.RawMessage) ([]byte, error)

HillshadeFunction implements gdaldem hillshade.

func Roughness

func Roughness(i, o string, options *json.RawMessage) ([]byte, error)

Roughness implements gdaldem roughness.

func Slope

func Slope(i, o string, options *json.RawMessage) ([]byte, error)

Slope implements gdaldem slope.

func TPI

func TPI(i, o string, options *json.RawMessage) ([]byte, error)

TPI implements gdaldem TPI.

func TRI

func TRI(i, o string, options *json.RawMessage) ([]byte, error)

TRI implements gdaldem TRI.

Types

type AlgorithmOptions

type AlgorithmOptions struct {
	Alg string `json:"alg"`
}

AlgorithmOptions defines options for algorithms.

func NewAlgorithmOptions

func NewAlgorithmOptions() *AlgorithmOptions

NewAlgorithmOptions construct AlgorithmOptions with default values.

type AspectOptions

type AspectOptions struct {
	Trigonometric bool `json:"trigonometric"`
	ZeroForFlat   bool `json:"zero_for_flat"`
	GeneralOptions
	AlgorithmOptions
}

AspectOptions defines options for gdaldem aspect.

func NewAspectOptions

func NewAspectOptions() *AspectOptions

NewAspectOptions constructs AspectOptions with default values.

type GeneralOptions

type GeneralOptions struct {
	Format       string `json:"format"`
	ComputeEdges bool   `json:"compute_edges"`
	Band         int    `json:"band"`
	Quiet        bool   `json:"quiet"`
}

GeneralOptions defines options for multiple gdaldem functions.

func NewGeneralOptions

func NewGeneralOptions() *GeneralOptions

NewGeneralOptions constructs GeneralOptions with default values.

type HillshadeOptions

type HillshadeOptions struct {
	ZFactor  float64 `json:"zFactor"`
	Scale    float64 `json:"scale"`
	Azimuth  float64 `json:"azimuth"`
	Altitude float64 `json:"altitude"`
	Combined bool    `json:"combined"`
	GeneralOptions
	AlgorithmOptions
}

HillshadeOptions defines options for gdaldem hillshade.

func NewHillshadeOptions

func NewHillshadeOptions() *HillshadeOptions

NewHillshadeOptions constructs HillshadeOptions with default values.

type RoughnessOptions

type RoughnessOptions struct {
	GeneralOptions
}

RoughnessOptions defines options for gdaldem roughness.

func NewRoughnessOptions

func NewRoughnessOptions() *RoughnessOptions

NewRoughnessOptions constructs RoughnessOptions with default values.

type SlopeOptions

type SlopeOptions struct {
	Percent bool    `json:"percent"`
	Scale   float64 `json:"scale"`
	GeneralOptions
	AlgorithmOptions
}

SlopeOptions defines options for gdaldem slope.

func NewSlopeOptions

func NewSlopeOptions() *SlopeOptions

NewSlopeOptions constructs SlopeOptions with default values.

type TPIOptions

type TPIOptions struct {
	GeneralOptions
}

TPIOptions defines options for gdaldem TPI.

func NewTPIOptions

func NewTPIOptions() *TPIOptions

NewTPIOptions constructs TPIOptions with default values.

type TRIOptions

type TRIOptions struct {
	GeneralOptions
}

TRIOptions defines options for gdaldem TRI.

func NewTRIOptions

func NewTRIOptions() *TRIOptions

NewTRIOptions constructs TRIOptions with default values.

Jump to

Keyboard shortcuts

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