Mercurial > gemma
comparison pkg/models/imports.go @ 2022:213f79fde44a unify_imports
Moved fairway dimension import to imports file.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 24 Jan 2019 17:35:26 +0100 |
parents | aa74466feaa8 |
children | fc5c888428c8 |
comparison
equal
deleted
inserted
replaced
2021:aa74466feaa8 | 2022:213f79fde44a |
---|---|
89 // importing the waterway gauges. | 89 // importing the waterway gauges. |
90 SendEmail bool `json:"send-email"` | 90 SendEmail bool `json:"send-email"` |
91 // Attributes are optional attributes. | 91 // Attributes are optional attributes. |
92 Attributes common.Attributes `json:"attributes,omitempty"` | 92 Attributes common.Attributes `json:"attributes,omitempty"` |
93 } | 93 } |
94 | |
95 // FairwayDimensionImport specifies an import of the waterway axis. | |
96 FairwayDimensionImport struct { | |
97 // URL is the capabilities URL of the WFS. | |
98 URL string `json:"url"` | |
99 // FeatureType is the layer to use. | |
100 FeatureType string `json:"feature-type"` | |
101 // SortBy sorts the feature by this key. | |
102 SortBy string `json:"sort-by"` | |
103 // SendEmail is set to true if an email should be send after | |
104 // importing the axis. | |
105 SendEmail bool `json:"send-email"` | |
106 // LOS is the level of service provided by the wfs | |
107 LOS int `json:"los"` | |
108 // MinWidth is the minimum width of the fairway for the specified LOS | |
109 MinWidth int `json:"min-width"` | |
110 // MaxWidth is the maximum width of the fairway for the specified LOS | |
111 MaxWidth int `json:"max-width"` | |
112 // Depth is the minimum depth of the fairway for the specified LOS | |
113 Depth int `json:"depth"` | |
114 // SourceOrganization specifies the source of the entry | |
115 SourceOrganization string `json:"source-organization"` | |
116 // Attributes are optional attributes. | |
117 Attributes common.Attributes `json:"attributes,omitempty"` | |
118 } | |
94 ) | 119 ) |