package
0.21.2
Repository: https://github.com/go-spatial/tegola.git
Documentation: pkg.go.dev

# Packages

The debug provider returns features that are helpful for debugging a tile including a box for the tile edges and a point in the middle of the tile with z,x,y values encoded.

# Functions

Cleanup is called at the end of the run to allow providers to clean up.
ConvertFeatureID attempts to convert an interface value to an uint64.
Drivers returns a list of registered drivers.
For function returns a configure provider of the given type; The provider may be a mvt provider or a std provider.
MVTRegister the provider with the system.
NewTile creates a new slippy tile with a Buffer.
Register the provider with the system.

# Constants

TypeAll should be all the types.
TypeMvt declares a provider to be an mvt provider.
TypeStd declares a provider to be a standard provider.

# Variables

ErrCanceled is returned when cancel was requested.
ParameterTokenRegexp to validate QueryParameters.
ParamTypeDecoders is a collection of parsers for different types of user-defined parameters.

# Structs

ErrInvalidProviderType is return when the requested provider type is not known for the given name.
ErrInvalidRegisteredProvider is returned when something went wrong with the provider registration.
ErrProviderAlreadyExists is returned when the Provider being registered already exists in the registration system.
ErrUnknownProvider is returned when no providers are registered or requested provider is not registered.
Layer holds information about a query.
A Map represents a map in the Tegola Config file.
MapLayer represents a the config for a layer in a map.
QueryParameter represents an HTTP query parameter specified for use with a given map instance.
Query parameter holds normalized parameter data ready to be inserted in the final query.
TilerUnion represents either a Std Tiler or and MVTTiler; only one should be not nil.

# Interfaces

Layerer are objects that know about their layers.
LayerInfo is the important information about a layer.
Tile is an interface used by Tiler, it is an unnecessary abstraction and is due to be removed.
Tiler is a Layers that allows one to encode features in that layer.

# Type aliases

CleanupFunc is called to when the system is shutting down, this allows the provider to clean up.
InitFunc initialize a provider given a config map.
MVTInitFunc initialize a provider given a config map.