Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppError ¶
func GdalDemHandler ¶
func GdalDemHandler(w http.ResponseWriter, r *http.Request) *AppError
GdalDemHandler handles PDAL jobs.
type FunctionFunc ¶
FunctionFunc defines the signature of our function creator.
func MakeFunction ¶
func MakeFunction(fn func(string, string, *json.RawMessage) ([]byte, error)) FunctionFunc
MakeFunction wraps the individual PDAL functions. Parse the input and output filenames, creating files as needed. Download the input data and upload the output data.
type InputMsg ¶
type InputMsg struct {
Source s3.Bucket `json:"source,omitempty"`
Function *string `json:"function,omitempty"`
Options *json.RawMessage `json:"options,omitempty"`
Destination s3.Bucket `json:"destination,omitempty"`
}
InputMsg defines the expected input JSON structure. We currently support S3 input (bucket/key), though provider-specific (e.g., GRiD) may be legitimate.
Click to show internal directories.
Click to hide internal directories.