comparison pkg/models/imports.go @ 2023:fc5c888428c8 unify_imports

Moved distance marks ashore import into imports file.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 24 Jan 2019 17:36:57 +0100
parents 213f79fde44a
children 6d9fbc62c5a6
comparison
equal deleted inserted replaced
2022:213f79fde44a 2023:fc5c888428c8
114 // SourceOrganization specifies the source of the entry 114 // SourceOrganization specifies the source of the entry
115 SourceOrganization string `json:"source-organization"` 115 SourceOrganization string `json:"source-organization"`
116 // Attributes are optional attributes. 116 // Attributes are optional attributes.
117 Attributes common.Attributes `json:"attributes,omitempty"` 117 Attributes common.Attributes `json:"attributes,omitempty"`
118 } 118 }
119
120 // DistanceMarksAshoreImport specifies an import of the distance marks.
121 DistanceMarksAshoreImport struct {
122 // URL is the capabilities URL of the WFS.
123 URL string `json:"url"`
124 // FeatureType is the layer to use.
125 FeatureType string `json:"feature-type"`
126 // SortBy sorts the feature by this key.
127 SortBy string `json:"sort-by"`
128 // SendEmail is set to true if an email should be send after
129 // importing the axis.
130 SendEmail bool `json:"send-email"`
131 // Attributes are optional attributes.
132 Attributes common.Attributes `json:"attributes,omitempty"`
133 }
119 ) 134 )