chile

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Descriptor = &core.ScriptDescriptor{
	Name:        "chile",
	Description: "Chile: The Ministry of Public Works, The Water Division (DGA)",
	Mode:        core.OneByOne,
	DefaultOptions: func() interface{} {
		return &optionsChile{}
	},
	Factory: func(name string, options interface{}) (core.Script, error) {
		if _, ok := options.(*optionsChile); ok {
			return &scriptChile{
				name:            name,
				selectFormURL:   "http://dgasatel.mop.cl/filtro_paramxestac_new2.asp",
				webmapIDPageURL: "https://www.arcgis.com/sharing/rest/content/items/d508beb3a88f43d28c17a8ec9fac5ef0/data?f=json",
				webmapURLFormat: "https://www.arcgis.com/sharing/rest/content/items/%s/data?f=json",
				xlsURL:          "http://dgasatel.mop.cl/cons_det_instan_xls.asp",
			}, nil
		}
		return nil, fmt.Errorf("failed to cast %T", optionsChile{})
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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