update

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: BSD-3-Clause Imports: 18 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFlagSet

func DefaultFlagSet(ctx context.Context) (*flag.FlagSet, error)

func Run

func Run(ctx context.Context) error

func RunWithFlagSet

func RunWithFlagSet(ctx context.Context, fs *flag.FlagSet) error

func RunWithOptions added in v0.9.0

func RunWithOptions(ctx context.Context, opts *RunOptions) error

Types

type RunOptions added in v0.9.0

type RunOptions struct {
	Writer                writer.Writer
	WriterURI             string
	Exporter              export.Exporter
	ExporterURI           string
	MapshaperServerURI    string
	SpatialDatabase       database.SpatialDatabase
	SpatialDatabaseURI    string
	TargetIteratorSources map[string][]string
	SourceIteratorSources map[string][]string
	SPRFilterInputs       *filter.SPRInputs
	SPRResultsFunc        hierarchy_filter.FilterSPRResultsFunc                   // This one chooses one result among many (or nil)
	PIPUpdateFunc         hierarchy.PointInPolygonHierarchyResolverUpdateCallback // This one constructs a map[string]interface{} to update the target record (or not)
	Verbose               bool
}

func RunOptionsFromFlagSet added in v0.9.0

func RunOptionsFromFlagSet(ctx context.Context, fs *flag.FlagSet) (*RunOptions, error)

Jump to

Keyboard shortcuts

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