pip

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: BSD-3-Clause Imports: 18 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

func DefaultFlagSet

func DefaultFlagSet() *flag.FlagSet

func NewPointInPolygonCommand

func NewPointInPolygonCommand(ctx context.Context, cmd string) (wof.Command, error)

func RunWithOptions

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

Types

type PointInPolygonCommand

type PointInPolygonCommand struct {
	wof.Command
}

func (*PointInPolygonCommand) Run

func (c *PointInPolygonCommand) Run(ctx context.Context, args []string) error

type RunOptions

type RunOptions struct {
	// A list of URIs to perform point-in-polygon operations on.
	URIs []string
	// Write output to STDOUT
	Stdout bool
	// ...
	Export bool
	// ...
	Exporter export.Exporter
	// ...
	Placetype string
	// Resolver is a `PointInPolygonHierarchyResolver` instance which is what manages all the point-in-polygon operations and related decision making.
	Resolver *hierarchy.PointInPolygonHierarchyResolver
	// ResultsFunc is function used to derive a single `spr.StandardPlacesResult` from a list of `spr.StandardPlacesResult` instances (point-in-polygon candidates).
	ResultsFunc hierarchy_filter.FilterSPRResultsFunc
	// InputFilters are filterd used to limits the point-in-polygon candidates to consider.
	InputFilters *filter.SPRInputs
	// UpdateCallback is a function definition for a custom callback to convert point-in-polygon candidates in to a dictionary of properties containining hierarchy information
	UpdateCallback hierarchy.PointInPolygonHierarchyResolverUpdateCallback
}

Jump to

Keyboard shortcuts

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